Command Manual – VLAN
H3C S7500E Series Ethernet Switches
Chapter 1 VLAN Configuration Commands
1-5
Description
Use the
interface Vlan-interface
command to enter the specified VLAN interface view.
Use the
undo interface Vlan-interface
command to delete the specified VLAN
interface. The VLAN interface must be created first before entering its view
Before creating a VLAN interface, make sure the corresponding VLAN has been
created; otherwise, the VLAN interface cannot be created.
Related commands:
display interface Vlan-interface
.
Examples
# Create VLAN interface 2.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2] quit
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2]
1.1.5 ip address
Syntax
ip
address
ip-address
{
mask | mask-length
} [
sub
]
undo ip address
[
ip-address
{
mask | mask-length
} [
sub
] ]
View
VLAN interface view
Parameters
ip-address
: IP address of a VLAN interface, in dotted decimal format.
mask
: Subnet mask that corresponds to the IP address of a VLAN interface, in dotted
decimal format.
mask-length
: Length of a sub-net mask, indicated by the number of “1”s. This argument
ranges from 0 to 32.
sub
: Indicates the address is a sub-IP address of the VLAN interface.
Description
Use the
ip address
command to specify the IP address and subnet mask for a VLAN
interface.
Use the
undo ip address
command to remove the IP address and sub-net mask for a
VLAN interface.
By default, no IP address is configured.