S5#sh run | b macro macro name PortSetup switchport mode access switchport access vlan $VLAN switchport port-security switchport port-security maximum $MAX storm-control broadcast level 25 switchport protected @ ! S5#sh run int fa 0/12 Building configuration... Current configuration : 235 bytes ! interface FastEthernet0/12 switchport access vlan 22 switchport mode access switchport protected switchport port-security maximum 4 switchport port-security macro description PortSetup storm-control broadcast level 25.00 end S5#sh run int fa 0/13 Building configuration... Current configuration : 235 bytes ! interface FastEthernet0/13 switchport access vlan 24 switchport mode access switchport protected switchport port-security maximum 6 switchport port-security macro description PortSetup storm-control broadcast level 25.00 end S5#