Configuring the Switch 83
This example will use port g1.
3
Ensure (on the ASCII terminal) that the interface status changed to “up” and that the STP
status is forwarding (after 30 seconds) as shown below:
Console#
01-Jan-2000 01:43:03 %LINK-I-Up: Vlan 1
01-Jan-2000 01:43:03 %LINK-I-Up: g1
01-Jan-2000 01:43:34 %STP-I-PORTSTATUS: Port g1: STP status
Forwarding
4
Enter the
config
command at the console to enter the Configuration screen mode as follows:
console# config
5
Enter the
interface vlan
command at the console to enter the VLAN Configuration screen
mode through the default VLAN 1 (tag = 1) as follows:
console(config)# interface vlan 1
console (config-if)#
6
Define an IP address on the device by assigning an IP address (in this example 50.1.1.1) to the
VLAN containing the interface connected to the management station . If the management
station is connected directly to the interface, the IP address on the VLAN must have the same
subnet as the management station.
console(config)#
console(config-if)# ip address 50.1.1.1 225.0.0.0
console(config-if)#
7
If the management station is a member of a remote network, and is not directly connected to
the interface, configure a static route.
The configured IP address must belong to the same subnet as one of the device IP interfaces.
In this example the static address is 50.1.1.100.
console(config-if)# exit
console(config)# ip route 0.0.0.0.0.0.0.0 50.1.1.100
console(config)#
8
Ping the management station from the switch to make sure that connectivity has been
achieved.
Wait 30 seconds for port to be in STP forwarding before pinging the management station.
Management station IP is (in this example) 50.1.1.2:
console(config)#