Professional Documents
Culture Documents
Switch>enable
Switch#
Switch#show running-config
Switch#show startup-config
Switch(config)#hostname ALSwitch
ALSwitch(config)#exit
ALSwitch#show running-config
ALSwitch(config)#line con 0
ALSwitch(config-line)#password cisco
ALSwitch(config-line)#login
(Optional)
ALSwitch(config-line)#line vty 0 15
ALSwitch(config-line)#password cisco
ALSwitch(config-line)#login
(Optional)
ALSwitch(config-line)#exit
ALSwitch(config)#interface VLAN 1
ALSwitch(config-if)#ip address 192.168.1.2 255.255.255.0
ALSwitch(config-if)#exit
ALSwitch(config)#interface VLAN 1
ALSwitch(config-if)#no shutdown
ALSwitch(config-if)#exit
ALSwitch#show startup-config
IF PORT SECURITY AT THE END DOES NOT SHOW STATIC AND MAC
ADDRESS DOES NOT SHOW PING PC0 TO PC 1 THEN AGAIN CHECK IT
SHOWS.
DO these 2 times until port security has static
ALSwitch#clear mac-address-table