Configuring an IP address to a VLAN interface
Table 1-3 Configure an IP address to a VLAN interface(S3100-SI)
Operation
Enter system view
Configure a specified VLAN to
be the management VLAN
Enter the corresponding VLAN
interface view
Assign an IP address to the
VLAN interface
To create the VLAN interface for the management VLAN on a switch operating as the management
device in a cluster, make sure that the management VLAN ID is consistent with the cluster
management VLAN ID configured with the management-vlan vlan-id command. Otherwise, the
configuration fails. Refer to the Cluster Operation Manual for detailed introduction to the cluster.
Refer to the VLAN module for detailed introduction to VLAN interfaces.
Table 1-4 Configure an IP address to a VLAN interface(S3100-EI)
Operation
Enter system view
Enter VLAN interface view
Assign an IP address to the
VLAN interface
Displaying IP Addressing Configuration
After the above configuration, you can execute the display command in any view to display the
operating status and configuration on the interface to verify your configuration.
Table 1-5 Display IP addressing configuration
Operation
Display information about a
specified or all Layer 3 interfaces
Command
system-view
management-vlan vlan-id
interface vlan-interface
vlan-id
ip address ip-address { mask |
mask-length }
Command
system-view
interface vlan-interface
vlan-id
ip address ip-address { mask |
mask-length }
Command
display ip interface
[ interface-type interface-number ]
1-4
Remarks
—
Required
By default, VLAN 1 operates as
the management VLAN.
Required
Required
By default, no IP address is
assigned to the management
VLAN interface.
Remarks
—
Required
Required
No IP address is assigned by
default.
Remarks
Available in any view