Assigning A Hybrid 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

Step
2.
Enter interface view or port
group view.
3.
Configure the link type of the
port or ports as trunk.
4.
Assign the trunk port(s) to the
specified VLAN(s).
5.
Configure the PVID of the trunk
port(s).
NOTE:
To change the link type of a port from trunk to hybrid or vice versa, you must set the link type to access
first.
After configuring the PVID for a trunk port, you must use the port trunk permit vlan command to
configure the trunk port to allow packets from the PVID to pass through, so that the egress port can
forward packets from the PVID.

Assigning a hybrid port to a VLAN

A hybrid port can carry multiple VLANs. You can assign it to a VLAN in interface view (including Ethernet
interface view, Layer 2 aggregate interface view, and Layer 2 VE interface view) or port group view.
To assign a hybrid port to one or multiple VLANs:
Step
1.
Enter system view.
Command
Enter Ethernet interface view:
interface interface-type
interface-number
Enter Layer 2 aggregate
interface view:
interface bridge-aggregation
interface-number
Enter Layer 2 virtual Ethernet
interface view:
interface ve-bridge
interface-number
Enter port group view:
port-group manual
port-group-name
port link-type trunk
port trunk permit vlan { vlan-id-list |
all }
port trunk pvid vlan vlan-id
Command
system-view
10
Remarks
Use any one of the commands.
N/A
By default, a trunk port carries
only VLAN 1.
Optional.
By default, the PVID is VLAN 1.
Remarks
N/A

Advertisement

Table of Contents
loading

Table of Contents