2950 Switch Configuration Example
% Please answer 'yes' or 'no'.
Would you like to enter the initial configuration dialog? [yes/no]: n
Press RETURN to get started!
Switch>
Switch>en
Switch#
Switch#vlan database
Switch(vlan)#
Switch(vlan)#vlan 11 name voip
Switch(vlan)#exit
APPLY completed.
Exiting....
Switch#
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#
Switch(config)#hostname sw1
sw1(config)#
sw1(config)#int vlan 1
sw1(config-if)#ip addr 172.16.1.2 255.255.0.0
sw1(config-if)#no shutdown
Switch(config-if)#
00:04:06: %LINK-3-UPDOWN: Interface Vlan1, changed state to up
00:04:07: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
Switch(config-if)#exit
sw1(config)#
sw1(config)#int fa0/1
sw1(config-if)#switchport access vlan 11
Switch(config-if)#^Z
sw1#
00:05:04: %SYS-5-CONFIG_I: Configured from console by console
|
|