Download as rtf, pdf, or txt
Download as rtf, pdf, or txt
You are on page 1of 2

Switch>enable Switch#conf t Switch(config)#interface fastEthernet 0/1 Switch(config-if)#switchport mode access Switch(config-if)#switchport port-security mac-address 0090.0C60.

9EB9 Switch#sho po Switch#sho port-security ad Switch#sho port-security address Secure Mac Address Table ------------------------------------------------------------------------------Vlan Mac Address Type Ports Remaining Age (mins) --------------------------------1 0090.0C60.9EB9 SecureConfigured FastEthernet0/1 -----------------------------------------------------------------------------Total Addresses in System (excluding one mac per port) :0 Max Addresses limit in System (excluding one mac per port) : 1024 Switch#conf t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#inter Switch(config)#interface fa Switch(config)#interface fastEthernet 0/2 Switch(config-if)#swi Switch(config-if)#switchport mode ac Switch(config-if)#switchport mode access Switch(config-if)#swi Switch(config-if)#switchport port Switch(config-if)#switchport port-security Switch(config-if)#switchport port-security ? mac-address Secure mac address maximum Max secure addresses violation Security violation mode <cr> Switch(config-if)#switchport port-security maxi Switch(config-if)#switchport port-security maximum 2 Switch(config-if)#switchport port-security macSwitch(config-if)#switchport port-security mac-address sti Switch(config-if)#switchport port-security mac-address sticky Switch(config-if)#exit Switch(config)#exit Switch# %SYS-5-CONFIG_I: Configured from console by console Switch#wr Switch#conf t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#int Switch(config)#interface fas Switch(config)#interface fastEthernet 0/1

Switch(config-if)#shut Switch(config-if)#shut Switch(config-if)#shutdown %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to administratively down Switch(config-if)#no shut Switch(config-if)#no shutdown

You might also like