44 CHAPTER 3: CONFIGURING A WX SWITCH FOR BASIC SERVICE
The default VLAN listed in the sample display vlan output is present in a
WX switch’s configuration by default but does not contain any ports
unless you add them. 3Com recommends that you do not use the default
VLAN (VLAN 1) for user traffic or rename the default VLAN. Instead,
configure other VLANs and use those VLANs for user traffic. This is
because the default VLAN might not be in the same subnet on each
switch.
The following commands configure IP addresses on some of the VLANs.
(MSS does not require an IP address on every VLAN.)
WX1200# set interface mgmt ip 10.10.10.4/24
success: change accepted.
WX1200# set interface blue ip 10.10.20.2/24
success: change accepted.
WX1200# display interface
VLAN Name Address Mask Enabled State
---- --------------- --------------- --------------- ------- -----
2 mgmt 10.10.10.4 255.255.255.0 YES Up
4 blue 10.10.20.2 255.255.255.0 YES Up
Configuring a Default
Route
If 3WXM or Web Manager and a WX switch are in different subnets, you
need to configure a default route on the WX switch. To configure a
default route, use the following command:
set ip route default gateway metric
To verify the change, use the following command:
display ip route
The following commands add a default route that uses gateway
10.10.20.19 with a path cost of 1, and verify the change: