Port Hybrid Pvid Vlan - H3C s3100 series Command Manual

Hide thumbs Also See for s3100 series:
Table of Contents

Advertisement

By default, all access ports belong to VLAN 1. You cannot assign an access port to or remove an
access port from VLAN 1 with the port access vlan command or its undo form. To assign an access
port that has been assigned to a VLAN other than VLAN 1, you can use the undo port access vlan
command.
Description
Use the port access vlan command to assign the current access port to the specified VLAN.
Use the undo port access vlan command to remove the access port from the specified VLAN. After
that, the access port joins VLAN 1 automatically.
Examples
# Assign Ethernet 1/0/1 to VLAN 3.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] port access vlan 3

port hybrid pvid vlan

Syntax
port hybrid pvid vlan vlan-id
undo port hybrid pvid
View
Ethernet port view
Parameters
vlan-id: Specifies the default VLAN ID of the current hybrid port, in the range of 1 to 4094. The specified
VLAN can be one already created or not.
Description
Use the port hybrid pvid vlan command to set the default VLAN ID of the hybrid port.
Use the undo port hybrid pvid command to restore the default VLAN ID of the hybrid port.
If the specified default VLAN has been removed or is not carried on the hybrid port, the port will be
unable to receive VLAN untagged packets. You can configure a hybrid port to permit the packets of its
default VLAN to pass through with the port hybrid vlan command.
Related commands: port link-type, port hybrid vlan.
1-10

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents