Port Hybrid Pvid 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
# Add Ethernet 2/0/1 to VLAN 3.
<Sysname> system-view
[Sysname] vlan 3
[Sysname-vlan3] quit
[Sysname] interface ethernet 2/0/1
[Sysname-Ethernet2/0/1] port access vlan 3

1.2.3 port hybrid pvid vlan

Syntax
port hybrid pvid vlan vlan-id
undo port hybrid pvid
View
Ethernet port view, port group view
Parameters
vlan-id : VLAN ID, in the range 1 to 4094.
Description
Use the port hybrid pvid vlan command to configure the default VLAN ID of the
Hybrid port.
Use the undo port hybrid pvid command to restore the default, VLAN 1.
Execution of the undo vlan command on a Hybrid port to remove the default VLAN
does not affect the default VLAN configuration. That is to say, the non-existent VLAN
can still be the default VLAN.
Execution of the above commands under Ethernet port view will apply to the current
port only whereas under port group view will apply to all ports in the port group view.
The default VLAN ID of local Hybrid port must be consistent with that of the peer;
otherwise, packets cannot be forwarded properly.
Related commands: port link-type.
Examples
# Configure the default VLAN ID for the Hybrid port Ethernet 2/0/1 to be 100.
<Sysname> system-view
[Sysname] vlan 100
[Sysname-vlan100] quit
[Sysname] interface ethernet 2/0/1
[Sysname-Ethernet2/0/1] port link-type hybrid
Chapter 1 VLAN Configuration Commands
1-10

Advertisement

Table of Contents
loading

Table of Contents