3com S7906E Manuel De Montage

Page de 2621
 
1-26 
 
[DeviceC-qospolicy-downlink_out] classifier downlink_out behavior downlink_out 
[DeviceC-qospolicy-downlink_out] quit 
# Specify the original CVLAN and the new SVLAN in the VLAN mapping for outgoing VPN 1 traffic on 
GigabitEthernet 2/0/2.  
[DeviceC] traffic classifier uplink_out 
[DeviceC-classifier-uplink_out] if-match customer-vlan-id 10 
[DeviceC-classifier-uplink_out] if-match service-vlan-id 200 
[DeviceC-classifier-uplink_out] quit 
# Specify the new CVLAN used for replacing the original CVLAN for outgoing VPN 1 traffic on 
GigabitEthernet 2/0/2.  
[DeviceC] traffic behavior uplink_out 
[DeviceC-behavior-uplink_out] remark customer-vlan-id 30 
[DeviceC-behavior-uplink_out] quit 
# Configure an uplink policy to map the original CVLAN and the new SVLAN to the new CVLAN for 
outgoing VPN 1 traffic on GigabitEthernet 2/0/2.  
[DeviceC] qos policy uplink_out 
[DeviceC-qospolicy-uplink_out] classifier uplink_out behavior uplink_out 
[DeviceC-qospolicy-uplink_out] quit 
# Apply uplink and downlink policies to GigabitEthernet 2/0/1 and GigabitEthernet 2/0/2.  
[DeviceC] interface gigabitethernet 2/0/1 
[DeviceB-GigabitEthernet2/0/1] port link-type trunk 
[DeviceB-GigabitEthernet2/0/1] port trunk permit vlan 200 
[DeviceC-GigabitEthernet2/0/1] qos apply policy downlink_in inbound 
[DeviceC-GigabitEthernet2/0/1] qos apply policy downlink_out outbound 
[DeviceC-GigabitEthernet2/0/1] quit 
[DeviceC] interface gigabitethernet 2/0/2 
[DeviceB-GigabitEthernet2/0/2] port link-type trunk 
[DeviceB-GigabitEthernet2/0/2] port trunk permit vlan 200 
[DeviceC-GigabitEthernet2/0/2] qos apply policy uplink_out outbound 
[DeviceC-GigabitEthernet2/0/2] quit 
4)  Configuration on Device D 
# Configure an uplink policy nest to add outer VLAN tag 200 to the traffic tagged with VLAN 30.  
<DeviceD> system-view 
[DeviceD] traffic classifier nest 
[DeviceD-classifier-nest] if-match customer-vlan-id 30 
[DeviceD-classifier-nest] quit 
[DeviceD] traffic behavior nest 
[DeviceD-behavior-nest] nest top-most vlan-id 200 
[DeviceD-behavior-nest] quit 
[DeviceD] qos policy nest 
[DeviceD-qospolicy-nest] classifier nest behavior nest 
[DeviceD-qospolicy-nest] quit 
# Configure GigabitEthernet 2/0/1 to permit frames of VLAN 200 to pass through.