Zte ZXR10 5900E Series Configuration Manual page 165

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

Advertisement

Configuration on S2:
S2(config)#router bgp 400
S2(config-bgp)#neighbor 192.168.1.1 remote-as 100
S2(config-bgp)#neighbor 192.168.1.1 activate
S2(config-bgp)#neighbor 192.168.2.1 remote-as 100
S2(config-bgp)#neighbor 192.168.2.1 activate
S2(config-bgp)#exit
To view BGP routing table on S2, use show ip bgp route.
S2(config-bgp)#show ip bgp route
Status codes: *valid, >best, i-internal
Origin codes: i-IGP, e-EGP, ?-incomplete
Network
*>10.0.1.0/24
*10.0.1.0/24
*>10.0.2.0/24
S2(config)#show ip bgp route detail 10.0.1.0 255.255.255.0
BGP routing table entry for 10.0.1.0/24
01:44:13 received from 192.168.2.1 (10.0.1.1)
origin i,nexthop 192.168.2.1,metric 50,
as path [100]
01:47:25 received from 192.168.1.1 (10.0.1.1)
origin i,nexthop 192.168.1.1,metric 100,
As path [100]
As4 path
Received label
By means of MED modification, S2 selects the link 1 (MED value is 50 smaller than
that of link 2) to route to AS 100 preferably.
l
Configuring BGP Community String Attributes
The community string attributes are optional transitive attributes. The community is a
group of destination routes with one or more common features. It has 4 bytes, the first
2 bytes are AS number and the last 2 bytes are identifier. When aggregate community
routes, the aggregated route inherits all the community attributes from all routes.
The definitions of several well-known community attributes are given as follows:
no-export: Advertisement to EBGP neighbors is disabled.
à
no-advertise: Advertisement to any BGP neighbors is disabled.
à
no-export-subconfed:
à
confederation outside.
local-AS: Advertise the route with this attribute to BGP neighbor routers in AS.
à
Internet: Advertise the route with this attribute to all other routers.
à
SJ-20150114102049-003|2015-01-15 (R1.0)
Next Hop
Metric
192.168.2.1
50
192.168.1.1
100
0.0.0.0
notag
Forbid to advertise the route with this attribute to
5-41
Chapter 5 BGP Configuration
LocPrf
RtPrf
Path
20
100 i
20
100 i
0
i
ZTE Proprietary and Confidential

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents