# Configure customer-side port Ethernet 1/0/2 as a trunk port, assign the port to CVLANs 4 through 6
and SVLAN 102, and apply uplink policy
p2
to the incoming traffic of the port.
[SwitchA] interface ethernet 1/0/2
[SwitchA-Ethernet1/0/2] port link-type trunk
[SwitchA-Ethernet1/0/2] port trunk permit vlan 4 5 6 102
[SwitchA-Ethernet1/0/2] qos apply policy p2 inbound
[SwitchA-Ethernet1/0/2] quit
# Configure network-side port Ethernet 1/0/3 as a trunk port, and assign it to all SVLANs.
[SwitchA] interface ethernet 1/0/3
[SwitchA-Ethernet1/0/3] port link-type trunk
[SwitchA-Ethernet1/0/3] port trunk permit vlan 101 102
164