Port Hybrid Ip-Subnet-Vlan Vlan - H3C S7500E Series Command Manual

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – VLAN
H3C S7500E Series Ethernet Switches
Examples
# Configure VLAN 3 to be an IP-subnet-based VLAN. Associate it with the
192.168.1.0/24 network segment.
<Sysname> system-view
[Sysname] vlan 3
[Sysname-vlan3] ip-subnet-vlan ip 192.168.1.0 255.255.255.0

1.4.4 port hybrid ip-subnet-vlan vlan

Syntax
port hybrid ip-subnet-vlan vlan vlan-id
undo port hybrid ip-subnet-vlan { vlan vlan-id | all }
View
Ethernet port view, port group view
Parameters
vlan-id: VLAN ID, in the range of 1 to 4,094.
all: All VLANs.
Description
Use the port hybrid ip-subnet-vlan vlan command to associate the current Ethernet
port with an IP-subnet-based VLAN.
Use the undo port hybrid ip-subnet-vlan vlan command to remove the association
between the current Ethernet port and an IP-subnet-based VLAN.
Execution of the above commands in Ethernet port view will apply the configurations to
the current port only whereas under port group view will apply the configurations to all
ports in the port group.
Note that only the Hybrid port supports the above feature at the moment. Before issuing
this command, ensure that the port has been added to the IP-subnet-based VLAN to be
associated with. Otherwise, the port cannot be associated with the VLAN.
Related commands: display ip-subnet-vlan interface.
Examples
# Associate Ethernet 2/0/1 with VLAN 3 (assuming that VLAN 3 is an IP-subnet-based
VLAN).
<Sysname> system-view
[Sysname] vlan 3
[Sysname-vlan3] ip-subnet-vlan ip 192.168.1.0 255.255.255.0
[Sysname-vlan3] quit
Chapter 1 VLAN Configuration Commands
1-23

Advertisement

Table of Contents
loading

Table of Contents