background image
70
Chapter 2
Connecting the Switch Block
IP address information is set so that you can either manage the switch via
Telnet or other management software or configure the switch with different
VLANs and other network functions.
5000 Series Set-Based Switch
To set the IP address information on a 5000 series switch, configure the
supervisor engine that is plugged into slot one of every switch. This is called
the in-band logical interface. Use the command set interface sc0:
Todd5000> (enable) set int sc0 172.16.10.17 255.255.255.0
Interface sc0 IP address and netmask set.
By default, the switch is configured for VLAN 1, which can be seen by
using the show interface command. Notice also that the broadcast address
for the subnet shows up and that you can change that by entering it with the
set int sc0
command (but we can think of only one reason you would
want to change that--to mess with the people in your MIS department):
Todd5000> (enable) sh int
sl0: flags=51<UP,POINTOPOINT,RUNNING>
slip 0.0.0.0 dest 0.0.0.0
sc0: flags=63<UP,BROADCAST,RUNNING>
vlan 1 inet 172.16.10.17 netmask 255.255.255.0 broadcast
172.16.10.255
Todd5000> (enable)
If you wanted to have the switch in a different VLAN, instead of the
default VLAN 1, you can use the set int sc0 command:
Todd5000> (enable) set int sc0 2
Interface sc0 vlan set.
Todd5000> (enable) sh int
sl0: flags=51<UP,POINTOPOINT,RUNNING>
slip 0.0.0.0 dest 0.0.0.0
sc0: flags=63<UP,BROADCAST,RUNNING>
vlan 2 inet 172.16.10.11 netmask 255.255.255.0 broadcast
172.16.10.255
Todd5000> (enable)
Copyright ©2000 SYBEX , Inc., Alameda, CA
www.sybex.com