3com S7906E Manuel De Montage

Page de 2621
 
1-25 
 
# Enter system view. 
<DeviceB> system-view 
# Configure GigabitEthernet 2/0/1 to permit frames of VLAN 100 to pass through.  
[DeviceB] interface gigabitethernet 2/0/1 
[DeviceB-GigabitEthernet2/0/1] port link-type trunk 
[DeviceB-GigabitEthernet2/0/1] port trunk permit vlan 100 
[DeviceB-GigabitEthernet2/0/1] quit 
# Configure GigabitEthernet 2/0/2 to permit frames of VLAN 100 to pass through.  
[DeviceB] interface gigabitethernet 2/0/2 
[DeviceB-GigabitEthernet2/0/2] port link-type trunk 
[DeviceB-GigabitEthernet2/0/2] port trunk permit vlan 100 
3)  Configuration on Device C 
# Specify the original CVLAN and SVLAN in the VLAN mapping for VPN 1 traffic received on 
GigabitEthernet 2/0/1.  
<DeviceC> system-view 
[DeviceC] traffic classifier downlink_in 
[DeviceC-classifier-downlink_in] if-match customer-vlan-id 10 
[DeviceC-classifier-downlink_in] if-match service-vlan-id 100 
[DeviceC-classifier-downlink_in] quit 
# Specify the new SVLAN used for replacing the original SVLAN for incoming VPN 1 traffic on 
GigabitEthernet 2/0/1.  
[DeviceC] traffic behavior downlink_in 
[DeviceC-behavior-downlink_in] remark service-vlan-id 200 
[DeviceC-behavior-downlink_in] quit 
# Configure an uplink policy to map the original SVLAN and CVLAN to the new SVLAN.  
[DeviceC] qos policy downlink_in 
[DeviceC-qospolicy-downlink_in] classifier downlink_in behavior downlink_in 
[DeviceC-qospolicy-downlink_in] quit 
# Specify the new CVLAN and SVLAN in the VLAN mapping for outgoing VPN 1 traffic on 
GigabitEthernet 2/0/1.  
[DeviceC] traffic classifier downlink_out 
[DeviceC-classifier-downlink_out] if-match customer-vlan-id 30 
[DeviceC-classifier-downlink_out] if-match service-vlan-id 200 
[DeviceC-classifier-downlink_out] quit 
# Specify the original CVLAN and SVLAN for outgoing VPN 1 traffic on GigabitEthernet 2/0/1.  
[DeviceC] traffic behavior downlink_out 
[DeviceC-behavior-downlink_out] remark customer-vlan-id 10 
[DeviceC-behavior-downlink_out] remark service-vlan-id 100 
[DeviceC-behavior-downlink_out] quit 
# Configure a downlink policy to map the new CVLAN and SVLAN to the original CVLAN and SVLAN for 
the outgoing VPN 1 traffic on GigabitEthernet 2/0/1.  
[DeviceC] qos policy downlink_out