EasyManua.ls Logo

Huawei quidway s7700 - Page 203

Huawei quidway s7700
648 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
<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 Configuration file of SwitchA
#
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 Configuration file of SwitchB
#
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
Quidway S7700 Smart Routing Switch
Configuration Guide - Ethernet 4 VLAN Mapping Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
186

Table of Contents

Other manuals for Huawei quidway s7700

Related product manuals