Port Hybrid Pvid - H3C S7500E Series Command Reference Manual

Lan switching
Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

View
Ethernet interface view, Ethernet subinterface view, port group view, Layer 2 aggregate interface view
Default Level
2: System level
Parameters
vlan-id: VLAN ID, in the range of 1 to 4094. Be sure that the VLAN specified by the VLAN ID already
exists.
Description
Use the port access vlan command to assign the current access port(s) to the specified VLAN.
Use the undo port access vlan command to restore the default.
By default, all access ports belong to VLAN 1.
You can assign an access port to only one VLAN. When doing that, note the following:
In port group view, this command applies to all ports in the port group. For more information about
port groups, see Ethernet Interface Configuration in the Layer 2 – LAN Switching Configuration
Guide.
In Layer 2 aggregate interface view, this command applies to the Layer 2 aggregate interface and
all its member ports. After you perform the configuration, the system starts applying the
configuration to the aggregate interface and its aggregation member ports. If the system fails to do
that on the aggregate interface, it stops applying the configuration to the aggregation member
ports. If it fails to do that on an aggregation member port, it simply skips the port and moves to the
next port. For more information about Layer 2 aggregate interfaces, see Ethernet Link
Aggregation Configuration in the Layer 2 – LAN Switching Configuration Guide.
Examples
# Assign GigabitEthernet 2/0/1 to VLAN 3.
<Sysname> system-view
[Sysname] vlan 3
[Sysname-vlan3] quit
[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] port access vlan 3
# Assign Layer 2 aggregate interface Bridge-aggregation 1 and its member ports to VLAN 3.
<Sysname> system-view
[Sysname] vlan 3
[Sysname-vlan3] quit
[Sysname] interface bridge-aggregation 1
[Sysname-Bridge-Aggregation1] port access vlan 3

port hybrid pvid

Syntax
port hybrid pvid vlan vlan-id
undo port hybrid pvid
View
Ethernet interface view, port group view, Layer 2 aggregate interface view
13-13

Advertisement

Table of Contents
loading

Table of Contents