H3C S7500E Series Command Manual page 51

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – VLAN
H3C S7500E Series Ethernet Switches
Normally, a VLAN interface has one IP address. To enable a device to connect to
multiple subnets through a VLAN, you can assign multiple IP addresses to a VLAN
interface, among which one is the primary IP address and the rest are secondary IP
addresses. On an S7500E series Ethernet switch, you can assign up to five IP
addresses to a VLAN interface. As for the primary and secondary IP addresses of a
VLAN interface, note that:
A newly configured main IP address will replace the original one, if there is one.
Using the undo ip address command without any parameter indicates that all IP
addresses will be deleted from the VLAN interface.
Use the undo ip address ip-address { mask | mask-length } command to delete
the main IP address.
Use the undo ip address ip-address { mask | mask-length } sub command to
delete a sub-interface.
Note that before deletion of the main IP address you must first delete the sub-IP
address.
Examples
# Specify the IP address as 1.1.0.1, the sub-net mask as 255.255.255.0 for the VLAN
interface 1.
<Sysname> system-view
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface1] ip address 1.1.0.1 255.255.255.0
1.1.6 shutdown
Syntax
shutdown
undo shutdown
View
VLAN interface view
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, the VLAN interface is down if all ports in the VLAN are down, as long as one
port in the VLAN is up, the VLAN interface will be up
Chapter 1 VLAN Configuration Commands
1-6

Advertisement

Table of Contents
loading

Table of Contents