![Huawei S6700 Series Скачать руководство пользователя страница 663](http://html.mh-extra.com/html/huawei/s6700-series/s6700-series_configuration-manual_169517663.webp)
Configuration Files
l
Configuration file of the MCE
#
sysname MCE
#
vlan batch 10 20 30 40
#
ip vpn-instance vpna
route-distinguisher 100:1
#
ip vpn-instance vpnb
route-distinguisher 100:2
#
interface Vlanif10
ip binding vpn-instance vpnb
ip address 192.168.1.1 255.255.255.0
#
interface Vlanif20
ip binding vpn-instance vpna
ip address 192.168.2.1 255.255.255.0
#
interface Vlanif30
ip binding vpn-instance vpnb
ip address 172.18.1.2 255.255.0.0
#
interface Vlanif40
ip binding vpn-instance vpna
ip address 172.19.1.2 255.255.0.0
#
interface XGigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 30 40
#
interface XGigabitEthernet0/0/3
port link-type trunk
port trunk allow-pass vlan 10
#
interface XGigabitEthernet0/0/4
port link-type trunk
port trunk allow-pass vlan 20
#
ospf 100 vpn-instance vpna
area 0.0.0.0
network 172.19.0.0 0.0.255.255
network 192.168.2.0 0.0.0.255
#
ospf 200 vpn-instance vpnb
area 0.0.0.0
network 172.18.0.0 0.0.255.255
network 192.168.1.0 0.0.0.255
#
return
l
Configuration file of PE2
#
sysname PE2
#
ip vpn-instance vpna
route-distinguisher 100:1
#
ip vpn-instance vpnb
route-distinguisher 100:2
#
interface GigabitEthernet1/0/1.1
vlan-type dot1q 30
ip binding vpn-instance vpnb
ip address 172.18.1.1 255.255.0.0
#
S6700 Series Ethernet Switches
Configuration Guide - IP Routing
11 MCE Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
644