Professional Documents
Culture Documents
Switch
Switch
S1(config)#line console 0 S1(config-line)#pass cisco S1(config-line)#login S1(config-line)#exit S1(config)#vlan 99 S1(config-vlan)# %LINK-5-CHANGED: Interface Vlan99, changed state to up
S1(config-vlan)#exit S1(config)#int vlan99 S1(config-if)#ip add 10.0.4.130 255.255.255.128 S1(config-if)#no shutdown S1(config-if)#ip default-gateway 10.0.4.129 S1(config)#exit S1# %SYS-5-CONFIG_I: Configured from console by console S1#config t Enter configuration commands, one per line. End with CNTL/Z. S1(config)#int f0/1 S1(config-if)#swit S1(config-if)#switchport access vlan 99 S1(config-if)# %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan99, changed state to up
S1(config-if)#exit
S1#copy run st Destination filename [startup-config]? Building configuration... [OK] S1# config t Enter configuration commands, one per line. End with CNTL/Z. S1(config)#int f0/2 S1(config-if)#switch S1(config-if)#switchport access vlan 99 S1(config-if)#exit S1(config)#int f0/3 S1(config-if)#switch S1(config-if)#switchport access vlan 99 S1(config-if)#exit S1(config)#line vty 0 15 S1(config)#pass cisco S1(config)#login S1(config)#exit S1#