H3C S3600V2 SERIES Layer 2-Lan Switching Configuration Manual page 238

Hide thumbs Also See for S3600V2 SERIES:
Table of Contents

Advertisement

Configure PE 3:
3.
# Configure an uplink policy down_uplink for customer-side port Ethernet 1/0/1 to substitute
SVLAN ID 200 for the SVLAN ID in the incoming traffic tagged with CVLAN 10 and SVLAN 100.
<PE3> system-view
[PE3] traffic classifier down_uplink
[PE3-classifier-down_uplink] if-match customer-vlan-id 10
[PE3-classifier-down_uplink] if-match service-vlan-id 100
[PE3-classifier-down_uplink] quit
[PE3] traffic behavior down_uplink
[PE3-behavior-down_uplink] remark service-vlan-id 200
[PE3-behavior-down_uplink] quit
[PE3] qos policy down_uplink
[PE3-qospolicy-down_uplink] classifier down_uplink behavior down_uplink
[PE3-qospolicy-down_uplink] quit
# Configure a downlink policy down_downlink for customer-side port Ethernet 1/0/1 to substitute
CVLAN 10 and SVLAN 100 for traffic tagged with CVLAN 30 and SVLAN 200.
[PE3] traffic classifier down_downlink
[PE3-classifier-down_downlink] if-match customer-vlan-id 30
[PE3-classifier-down_downlink] if-match service-vlan-id 200
[PE3-classifier-down_downlink] quit
[PE3] traffic behavior down_downlink
[PE3-behavior-down_downlink] remark customer-vlan-id 10
[PE3-behavior-down_downlink] remark service-vlan-id 100
[PE3-behavior-down_downlink] quit
[PE3] qos policy down_downlink
[PE3-qospolicy-down_downlink] classifier down_downlink behavior down_downlink
[PE3-qospolicy-down_downlink] quit
# Configure an uplink policy up_uplink for network-side port Ethernet 1/0/2 to substitute CVLAN
30 for the CVLAN ID of the outgoing traffic tagged with CVLAN 10 and SVLAN 200.
[PE3] traffic classifier up_uplink
[PE3-classifier-up_uplink] if-match customer-vlan-id 10
[PE3-classifier-up_uplink] if-match service-vlan-id 200
[PE3-classifier-up_uplink] quit
[PE3] traffic behavior up_uplink
[PE3-behavior-up_uplink] remark customer-vlan-id 30
[PE3-behavior-up_uplink] quit
[PE3] qos policy up_uplink
[PE3-qospolicy-up_uplink] classifier up_uplink behavior up_uplink
[PE3-qospolicy-up_uplink] quit
# Set customer-side port Ethernet 1/0/1 as a trunk port, assign it to VLAN 200, and apply uplink
policy down_uplink to the incoming traffic and downlink policy down_downlink to the outgoing
traffic on the port.
[PE3] interface ethernet 1/0/1
[PE3-Ethernet1/0/1] port link-type trunk
[PE3-Ethernet1/0/1] port trunk permit vlan 200
[PE3-Ethernet1/0/1] qos apply policy down_uplink inbound
[PE3-Ethernet1/0/1] qos apply policy down_downlink outbound
[PE3-Ethernet1/0/1] quit
223

Advertisement

Table of Contents
loading

Table of Contents