Huawei Quidway S7700 Configuration Manual - Ethernet page 203

Smart routing switch
Hide thumbs Also See for Quidway S7700:
Table of Contents

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - Ethernet
<SwitchB> system-view
[SwitchB] interface GigabitEthernet 1/0/2
[SwitchB-GigabitEthernet1/0/2] traffic-policy name1 inbound
[SwitchB-GigabitEthernet1/0/2] traffic-policy name2 outbound
Step 5 Verify the configuration.
The hosts in Enterprise A and the hosts in Enterprise B can communicate with each other.
----End
Configuration Files
l
#
sysname SwitchA
#
vlan batch 100
#
traffic classifier name1 operator and precedence 5
if-match 1 vlan-id 300
if-match 2 cvlan-id 30
traffic classifier name2 operator and precedence 10
if-match 1 vlan-id 100
if-match 2 cvlan-id 10
#
traffic behavior name1
remark vlan-id 100
remark cvlan-id 10
traffic behavior name2
remark vlan-id 300
remark cvlan-id 30
#
traffic policy name1
classifier name1 behavior name1
traffic policy name2
classifier name2 behavior name2
#
interface GigabitEthernet1/0/1
port link-type trunk
port trunk allow-pass vlan 100
traffic-policy name1 inbound
traffic-policy name2 outbound
#
return
l
#
sysname SwitchB
#
vlan batch 200
#
traffic classifier name1 operator and precedence 5
if-match 1 vlan-id 300
if-match 2 cvlan-id 30
traffic classifier name2 operator and precedence 10
if-match 1 vlan-id 200
if-match 2 cvlan-id 20
#
traffic behavior name1
remark vlan-id 200
remark cvlan-id 20
traffic behavior name2
remark vlan-id 300
remark cvlan-id 30
#
traffic policy name1
classifier name1 behavior name1
Issue 01 (2011-07-15)
Configuration file of SwitchA
Configuration file of SwitchB
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
4 VLAN Mapping Configuration
186

Advertisement

Table of Contents
loading

This manual is also suitable for:

Quidway s9300

Table of Contents