Zte ZXR10 5900E series Configuration Manual page 46

Easy-maintenance mpls routing switch
Hide thumbs Also See for ZXR10 5900E series:
Table of Contents

Advertisement

ZXR10 5900E Series Configuration Guide (VPN)
PE2(config-if-vlan3)#ip address 10.0.0.2 255.255.255.0
PE2(config-if-vlan3)#exit
PE2(config)#mpls ldp
PE2(config-ldp-1)#interface vlan3
PE2(config-ldp-1-if-vlan3)#exit
PE2(config-ldp-1)#exit
PE2(config)#mpls interface vlan3
PE2(config)#router ospf 1
PE2(config-ospfv-1)#router-id 1.1.1.2
PE2(config-ospf-1)#network 1.1.1.2 0.0.0.0 area 0.0.0.0
PE2(config-ospf-1)#network 10.0.0.0 0.0.0.255 area 0.0.0.0
PE2(config-ospf-1)#exit
PE2(config)#mpls ldp instance 1
PE2(config-ldp-1)#router-id loopback1
PE2(config-ldp-1)#exit
PE2(config)#router bgp 100
PE2(config-bgp)#neighbor 1.1.1.1 remote-as 100
PE2(config-bgp)#neighbor 1.1.1.1 update-source loopback1
PE2(config-bgp)#address-family vpnv4
PE2(config-bgp-af-vpnv4)#neighbor 1.1.1.1 activate
PE2(config-bgp-af-vpnv4)#exit
Configuration Check
View VRF routing table on PE1. Here, both the sub-routes and the aggregated route can
be viewed.
PE1(config)#show ip protocol routing
Routes of vpn:
status codes: *valid, >best, s-stale
Dest
*>
150.0.0.0/8
*>
150.1.0.0/16
*>
150.2.0.0/16
View PE2 routing table. Here, only the aggregated route can be viewed.
PE2(config)#show ip protocol routing
Routes of vpn:
status codes: *valid, >best, s-stale
Dest
*> 150.0.0.0/8
SJ-20150114102049-016|2015-03-10 (R1.0)
instance 1
vrf test1
NextHop
Intag
0.0.0.0
87
20.0.0.2
86
30.0.0.2
85
vrf test1
NextHop
Intag
1.1.1.1
165366
1-40
Outtag
RtPrf
Protocol
notag
254
bgp-aggr-discard
notag
20
bgp-ext
notag
20
bgp-ext
Outtag
RtPrf
Protocol
87
200
bgp-int
ZTE Proprietary and Confidential

Advertisement

Table of Contents
loading

Table of Contents