By default, no IP address is assigned to any VLAN interface.
When a VLAN connects to one subnet, you need to assign only one IP address for its VLAN interface.
When the VLAN connects to multiple subnets, you need to assign multiple IP addresses for the VLAN
interface. On an S7900E series Ethernet switch, you can assign up to five IP addresses to a VLAN
interface.Among these IP addresses, one is primary and the others are secondary.
When configuring IP addresses for a VLAN interface, consider the following:
You can assign only one primary IP address to an interface.
Before removing the primary IP address, remove all secondary IP addresses.
To remove all IP addresses, use the undo ip address command without any parameter.
To remove the primary IP address, use the undo ip address ip-address { mask | mask-length }
command.
To remove a secondary IP address, use the undo ip address ip-address { mask | mask-length }
sub command.
Related commands: display ip interface (IP Address Commands in the IP Services Volume).
Examples
# Specify the IP address as 1.1.0.1, the subnet mask as 255.255.255.0 for VLAN-interface 1.
<Sysname> system-view
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface1] ip address 1.1.0.1 255.255.255.0
shutdown
Syntax
shutdown
undo shutdown
View
VLAN interface view
Default Level
2: System level
Parameters
None
Description
Use the shutdown command to shut down a VLAN interface.
Use the undo shutdown command to bring up a VLAN interface.
By default, a VLAN interface is up except when all ports in the VLAN are down.
You can use the undo shutdown command to bring up a VLAN interface after configuring related
parameters and protocols for the VLAN interface. When a VLAN interface fails, you can shut down the
interface with the shutdown command and then bring it up with the undo shutdown command. In this
way, the interface may resume.
The state of any Ethernet port in a VLAN is independent of the VLAN interface state.
1-6
Need help?
Do you have a question about the S7906E and is the answer not in the manual?
Questions and answers