S5#sh run | b macro ! macro name PortSetup switchport mode access switchport access vlan $V switchport port-security switchport port-security maximum $M storm-control broadcast level 25 switchport protected @ ! ! interface FastEthernet0/12 switchport access vlan 22 switchport mode access switchport protected switchport port-security maximum 4 switchport port-security speed 100 duplex full macro description PortSetup | PortSetup | PortSetup | PortSetup | PortSetup storm-control broadcast level 25.00 spanning-tree portfast ! 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 !