Network Cisco iOS Workshop @KTSI

Small CISCO Network iOS Workshop at KTSI

Set Switch IP

Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#interface vlan 1
Switch(config-if)#ip address 10.123.1.254 255.255.255.0
Switch(config-if)#exit
Switch(config)#exit
Switch#wr

Port Mirroring


Switch(config)#monitor session 1 source interface fastEthernet 0/1
Switch(config)#monitor session 1 destination interface fastEthernet 0/24
Switch(config)#no monitor session 1

MAC Address Security


Switch(config)#interface fastEthernet 0/1
--->Switch(config-if)#switchport port-security mac-address sticky
Switch(config-if)#switchport mode access
Switch(config-if)#switchport port-security
Switch#show port-security

Activate Port again


Switch(config-if)#shutdown
Switch(config-if)#exit
Switch(config-if)#no shutdown

Spanning Tree


Switch(config-if)#spanning-tree portfast
Switch(config)#no spanning-tree vlan 1v

CDP deactivate


Switch(config)#no cdp run

Activate Telnet


Switch(config)#line vty 0 15
Switch(config-line)#password ktsi
Switch(config-line)#login
Switch(config-line)#transport input telnet
Switch(config-line)#transport output telnet

Webbrowser Access


Switch(config)#ip http server