Zte ZXR10 5900E Series Configuration Manual page 195

Easy-maintenance mpls routing switch (ipv4 routing)
Hide thumbs Also See for ZXR10 5900E Series:
Table of Contents

Advertisement

S4(config-bgp)#exit
Run the following commands on S4:
S4(config)#router bgp 2
S4(config-bgp)#redistribute static
S4(config-bgp)#neighbor 172.16.20.2 remote-as 1
S4(config-bgp)#aggregate-address 192.16.0.0 255.255.0.0 count 0
as-set summary-only
S4(config-bgp)#neighbor 172.16.20.2 route-map torouter1 out
S4(config-bgp)#exit
S4(config)#ipv4-access-list 1
S4(config-ipv4-acl)#rule 1 deny 170.16.10.0 0.0.0.255
S4(config-ipv4-acl)#rule 2 permit any
S4(config-ipv4-acl)#exit
S4(config)#route-map torouter1 permit 10
S4(config-route-map)#match ip address 1
S4(config-route-map)#exit
Run the following commands on S5:
S5(config)#ip route 173.16.0.0 255.255.0.0 183.16.20.1
S5(config)#router bgp 3
S5(config-bgp)#neighbor 173.16.20.2 remote-as 1
S5(config-bgp)#neighbor 173.16.20.2 ebgp-multihop ttl 2
Configuration Verification
Run the show ip bgp summary command to check the neighborhood on S4.
S4(config)#show ip bgp summary
Neighbor
172.16.20.2
Run the show ip bgp route command to check the BGP routing table on S4.
S4(config)#show ip bgp route
Status codes: *-valid, >-best, i-internal, s-stale
Origin codes: i-IGP, e-EGP, ?-incomplete
Network
*> 192.16.0.0/16
*> 192.16.20.0/24
*> 192.16.21.0/24
*> 192.16.22.0/24
*> 170.16.10.0/24
Run the show ip bgp summary command to check the neighborhood on S1.
S1(config)#show ip bgp summary
Neighbor
172.16.20.1
SJ-20150114102049-003|2015-01-15 (R1.0)
Ver
As
MsgRcvd
MsgSend
4
1
46
140
Next Hop
0.0.0.0
10.9.1.39
10.9.1.39
10.9.1.39
10.9.1.39
Ver
As
MsgRcvd
4
2
46
Up/Down(s)
State/PfxRcd
00:22:35
0
Metric
LocPrf
MsgSend
Up/Down(s)
140
00:22:35
5-71
ZTE Proprietary and Confidential
Chapter 5 BGP Configuration
RtPrf
Path
254
i
1
?
1
?
1
?
1
?
State/PfxRcd
1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents