3Com Switch 4200G Configuration Guide

48 CHAPTER 10: MANAGEMENT VLAN CONFIGURATION
Configuring the
Management VLAN
To configure the management VLAN of a switch operating as a cluster
management device to be a cluster management VLAN (using the
management-vlan vlan-id command) successfully, make sure the vlan-id
argument provided in the management-vlan vlan-id command is consistent with
that of the management VLAN.
Shutting down or bringing up a management VLAN interface has no effect on the
up/down status of the Ethernet ports in the management VLAN.
Configuration Example Network requirements
The administrator wants to manage the switch S4200GA remotely through Telnet.
The requirements are as follows: S4200GA has an IP address, and the route between
S4200GA and the remote console is reachable.
You need to configure the switch as follows:
Assigning an IP address to the management VLAN interface
Configuring a default route
Table 34 Configure the management VLAN
Operation Command Description
Enter system view system-view -
Configure a specified
VLAN to be the
management VLAN
management-vlan vlan-id Required
By default, VLAN 1 operates as the
management VLAN.
Create the
management VLAN
interface and enter
VLAN interface view
interface vlan-interface vlan-id Required
Assign an IP address to
the management VLAN
interface
ip address { ip-address net-mask |
bootp-alloc | dhcp-alloc }
Required
By default, the management VLAN
interface has no IP address.
Provide a description
string for the
management VLAN
interface
description string Optional
By default, the description string of
the management VLAN interface is
Vlan-interface vlan-id Interface.
Add a default route ip route-static 0.0.0.0 0.0.0.0
{ interface-type interface-number |
gateway-address } [ preference
value ]
Required
Shut down the
management VLAN
interface
Shutdown Optional
By default, a management VLAN
interface is down if all the Ethernet
ports in the management VLAN are
down; a management VLAN
interface is up if one or more
Ethernet ports in the management
VLAN are up.
Bring up the
management VLAN
interface
undo shutdown