Configuring an ip address to a vlan interface, Displaying ip addressing configuration – H3C Technologies H3C S3100 Series Switches User Manual
Page 112

1-4
Configuring an IP address to a VLAN interface
Table 1-3 Configure an IP address to a VLAN interface(S3100-SI)
Operation
Command
Remarks
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.
Enter the corresponding VLAN
interface view
interface vlan-interface
vlan-id
Required
Assign an IP address to the
VLAN interface
ip address ip-address { mask |
mask-length }
Required
By default, no IP address is
assigned to the management
VLAN interface.
z
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.
z
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
Command
Remarks
Enter system view
system-view
—
Enter VLAN interface view
interface vlan-interface
vlan-id
Required
Assign an IP address to the
VLAN interface
ip address ip-address { mask |
mask-length }
Required
No IP address is assigned by
default.
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
Command
Remarks
Display information about a
specified or all Layer 3 interfaces
display ip interface
[ interface-type interface-number ]
Available in any view