Huawei quidway s7700 Configuration Manual page 457

Smart routing switch
Hide thumbs Also See for quidway s7700:
Table of Contents

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
Configuration Files
l
l
Issue 01 (2011-07-15)
If CE1 and CE2 can ping each other, it indicates that the route reflection function is
configured successfully.
Configuration file of PE1
#
sysname PE1
#
ipv6
#
vlan batch 10 30
#
ipv6 vpn6-instance VPNA
route-distinguisher 100:1
vpn-target 1:1 export-extcommunity
vpn-target 1:1 import-extcommunity
#
mpls lsr-id 1.1.1.9
mpls
#
mpls ldp
#
interface Vlanif10
ip address 100.1.2.1 255.255.255.0
mpls
mpls ldp
#
interface Vlanif30
ipv6 enable
ipv6 binding vpn6-instance VPNA
ipv6 address 2001::2/64
#
interface GigabitEthernet1/0/0
port hybrid pvid vlan 10
port hybrid untagged vlan 10
#
interface GigabitEthernet2/0/0
port hybrid pvid vlan 30
port hybrid untagged vlan 30
#
interface LoopBack1
ip address 1.1.1.9 255.255.255.255
#
bgp 100
peer 2.2.2.9 as-number 100
peer 2.2.2.9 connect-interface LoopBack1
#
ipv4-family unicast
undo synchronization
peer 2.2.2.9 enable
#
ipv6-family vpnv6
policy vpn-target
peer 2.2.2.9 enable
#
ipv6-family vpn6-instance VPNA
peer 2001::1 as-number 65410
import-route direct
#
ospf 1
area 0.0.0.0
network 1.1.1.9 0.0.0.0
network 100.1.2.0 0.0.0.255
#
return
Configuration file of RR
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
4 BGP MPLS IPv6 VPN Configuration
442

Advertisement

Table of Contents
loading

Table of Contents