S5#Sh run | b macro

macro name PortSetup
no  macro description
 switchport mode access
switchport access vlan $V
 switchport port-security
 switchport port-security max $M
storm-control broadcast level 25
switchport protected
macro descr PortSetup
@
!
interface FastEthernet0/13
 switchport access vlan 24
 switchport mode access
 switchport protected
 switchport port-security maximum 6
 switchport port-security
 speed 100
 duplex full
 macro description PortSetup
 storm-control broadcast level 25.00
 spanning-tree portfast