To do...
Configure the port as a trunk port
Assign the port to CVLANs
Apply the uplink policy to the
incoming traffic
Configuring the network-side port
Follow these steps to configure the network-side port:
To do...
Enter system view
Enter Ethernet interface view
Configure the port as a trunk port
Assign the port to SVLANs
VLAN mapping configuration examples
One-to-one VLAN mapping configuration example
Network requirements
As shown in
Each home is offered PC, VoD, and VoIP services, and connects to a wiring-closet switch through the
•
home gateway.
To meet the service provider's network design, assign a specific VLAN for each type of traffic (PC,
•
VoD, or VoIP traffic) from each home on the wiring-closet switch.
Figure
55:
Use the command...
port link-type trunk
port trunk permit vlan { vlan-id-list
| all }
qos apply policy policy-name
inbound
Use the command...
system-view
interface interface-type
interface-number
port link-type trunk
port trunk permit vlan { vlan-id-list
| all }
160
Remarks
Required
The default link type of an Ethernet
port is access.
Required
By default, a trunk port belongs to
VLAN 1 only.
Required
Remarks
—
—
Required
The default link type of an Ethernet
port is access.
Required
By default, a trunk port belongs to
VLAN 1 only.