Assigning An Access Port To A Vlan - H3C SR8800 Configuration Manual

10g core routers layer 2 - lan switching
Hide thumbs Also See for SR8800:
Table of Contents

Advertisement

Port type
Trunk
Hybrid

Assigning an access port to a VLAN

You can assign an access port to a VLAN in VLAN view, interface view (including Ethernet interface view,
Layer 2 aggregate interface view, and Layer 2 VE interface view), or port group view.
To assign one or multiple access ports to a VLAN in VLAN view:
Step
1.
Enter system view.
2.
Enter VLAN view.
3.
Assign one or multiple access
ports to the VLAN.
To assign an access port (in interface view) or a group of ports (in port group view) to a VLAN:
Step
1.
Enter system view.
Actions (in the inbound direction)
Untagged frame
Check whether the PVID
is permitted on the port:
If yes, tag the frame
with the PVID tag.
If not, drop the frame.
Command
system-view
vlan vlan-id
port interface-list
Command
system-view
Tagged frame
Receive the frame if its
VLAN is carried on the
port.
Drop the frame if its VLAN
is not carried on the port.
8
Actions (in the outbound
direction)
Remove the tag and send the
frame if the frame carries the
PVID tag and the port
belongs to the PVID.
Send the frame without
removing the tag if its VLAN
is carried on the port but is
different from the default
one.
Send the frame if its VLAN is
carried on the port. The frame is
sent with the VLAN tag removed
or intact depending on your
configuration with the port
hybrid vlan command. This is
true of the PVID.
Remarks
N/A
If the specified VLAN does not
exist, this command creates the
VLAN first.
By default, all ports belong to
VLAN 1.
Remarks
N/A

Advertisement

Table of Contents
loading

Table of Contents