Step
3.
Configure the link type of
the port.
4.
Assign the port to all
CVLANs.
5.
Enable customer-side
QinQ.
6.
Apply the uplink policy
to incoming traffic.
Configuring the network-side port
Step
1.
Enter system view.
2.
Enter interface view.
3.
Configure the link type of
the port.
4.
Assign the port to all
CVLANs.
5.
Configure the port as a
DHCP snooping trusted
port.
6.
Configure the port as an
ARP trusted port.
7.
Enable network-side
QinQ.
Command
•
Configure the port as a trunk port:
port link-type trunk
•
Configure the port as a hybrid port:
port link-type hybrid
•
As a trunk port:
port trunk permit vlan { vlan-list |
all }
•
As a hybrid port:
port hybrid vlan vlan-list tagged
qinq enable downlink
qos apply policy policy-name inbound
Command
system-view
•
Enter Layer 2 Ethernet interface view:
interface interface-type
interface-number
•
Enter Layer 2 aggregate interface
view:
interface bridge-aggregation
interface-number
•
Configure the port as a trunk port:
port link-type trunk
•
Configure the port as a hybrid port:
port link-type hybrid
•
As a trunk port:
port trunk permit vlan { vlan-list |
all }
•
As a hybrid port:
port hybrid vlan vlan-list tagged
dhcp-snooping trust
arp detection trust
qinq enable uplink
189
Remarks
Use one of the commands.
The default link type of an Ethernet
port is access.
Use one of the commands.
By default:
•
A trunk port is assigned to only
VLAN 1.
•
A hybrid port is an untagged
member of VLAN 1.
By default, customer-side QinQ is
disabled on all ports.
N/A
Remarks
N/A
N/A
Use one of the commands.
The default link type of an Ethernet
port is access.
Use one of the commands.
By default:
•
A trunk port is assigned to only
VLAN 1.
•
A hybrid port is an untagged
member of VLAN 1.
By default, all ports are DHCP
snooping untrusted ports.
By default, all ports are ARP
untrusted ports.
By default, network-side QinQ is
disabled on all ports.