------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 15 Routes : 16
Destination/Mask Proto Pre Cost Flags NextHop Interface
1.5.1.0/24 Direct 0 0 D 1.5.1.1 Vlanif1001
1.5.1.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
1.5.1.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
1.6.1.0/24 BGP 255 0 D 10.1.1.2 Vlanif101
BGP 255 0 D 10.2.1.2 Vlanif102
10.1.1.0/30 Direct 0 0 D 10.1.1.1 Vlanif101
10.1.1.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
10.1.1.3/32 Direct 0 0 D 127.0.0.1 InLoopBack0
10.2.1.0/30 Direct 0 0 D 10.2.1.1 Vlanif102
10.2.1.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
10.2.1.3/32 Direct 0 0 D 127.0.0.1 InLoopBack0
10.3.1.0/30 BGP 255 0 D 10.1.1.2 Vlanif101
10.4.1.0/30 BGP 255 0 D 10.2.1.2 Vlanif102
127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
----End
Configuration Files
l
Configuration file of CE1
#
sysname CE1
#
vlan batch 101 102 1001
#
interface Vlanif101
ip address 10.1.1.1 255.255.255.252
#
interface Vlanif102
ip address 10.2.1.1 255.255.255.252
#
interface Vlanif1001
ip address 1.5.1.1 255.255.255.0
#
interface GigabitEthernet1/0/0
port hybrid pvid vlan 101
port hybrid untagged vlan 101
#
interface GigabitEthernet2/0/0
port hybrid pvid vlan 102
port hybrid untagged vlan 102
#
interface GigabitEthernet3/0/0
port hybrid pvid vlan 1001
port hybrid untagged vlan 1001
#
bgp 65410
peer 10.1.1.2 as-number 100
peer 10.2.1.2 as-number 100
#
ipv4-family unicast
undo synchronization
import-route direct
maximum load-balancing 2
peer 10.1.1.2 enable
peer 10.2.1.2 enable
#
return
l
Configuration file of PE1
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
3 BGP MPLS IP VPN Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
285