Tecrst-2310 (2017) LV
Tecrst-2310 (2017) LV
Operation of BGP
How
1. Find this session in the Cisco Live Mobile App
2. Click “Join the Discussion”
3. Install Spark or go directly to the space
4. Enter messages/questions in the space
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 3
Agenda • Controlling Traffic
• Controlling Outbound Traffic
• BGP General Operation • BGP Multipath
• Overview • Controlling Inbound Traffic
• eBGP
• iBGP • Route Reflectors
• Attributes and Best Path Selection Algorithm • Convergence
• Route Origination • Initial Convergence
• AS-PATH • BGP Routing Convergence
• NEXTHOP
• Communities • High Availability
• Show and Tell/Demo Lab
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
General Operation
Routing Protocol Background
• Routing protocols share the same fundamental, essential components.
• Establish Communication
• Who are they exchanging information with, and how?
• Exchange Routes
• What information is sent, and how?
• Perform Computation
• What algorithm is used to compute loop free paths?
• Route Installation
• What routes are the best? Can we install them?
• BGP is no exception!
• Understanding how BGP implements each of these will help us learn, use, and
operate networks with BGP.
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 6
IGP vs. EGP
• Form follows Function
• IGP – Interior Gateway Protocol
• Exchange routes within an Autonomous Systems
• Limited Scalability
• Sub-second convergence
• EIGRP, ISIS, OSPF etc.
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 7
BGP General Operation
Peering
• BGP peers with other BGP
speakers R2 R_20
• Peer is also called “neighbor”
• Uses TCP port 179
Peering
• BGP peers exchange routes
• Picks the best path
R3
• Installs in the routing/forwarding table
• Advertises to BGP peers via
UPDATEs
• UPDATEs have Attributes
• Routing policies tweak attributes to
influence best path selection
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
Incremental Updates
• Once BGP sends a route to a peer, it assumes the peer will keep it
• There is no periodic refresh
• New UPDATEs are sent when
• Bestpath change
• Peer bounces
• Route-Refresh
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 9
Autonomous System
AS 10 AS 20
R2 R_20
R1
Internet
AS 40
R_30
R3
AS30 • AS Numbers
• Historically 2 bytes
• A network sharing the same routing policy • 1 to 65535
•
Possibly multiple IGPs • 64512 to 65535 are private
• Usually under single administrative control • Running out of AS numbers…
• An AS originates their routes into BGP • RFC 4893
• 4-byte AS number
• Unique AS for every IPv4 address
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 10
Overview
R2
ASR1K
BGP Router_20
ASR1K
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
Overview R2 BGP
ASR1K
Router_20
ASR1K
ASR1K
BGP Table
40.40.40.0/24
Path #1: via Router_20
Path #2: via Router_3
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 12
Overview R2 BGP
ASR1K
Router_20
ASR1K
ASR1K
BGP Table 2001:db8:100:100::40/64
2001:db8:100:100::/64
Path #1: via Router_20
Path #2: via Router_3
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 13
Address-Family-Identifier Syntax
• In the beginning BGP only supported IPv4 Unicast
• IPv4 is the AFI, Unicast is the SAFI
• Today there are many supported AFI/SAFIs
• IPv6 Unicast, VPNv4, IPv4 Multicast, etc
• AFI/SAFI specific configuration happens in a sub-context
• Network statements, route-maps on neighbors, etc
• Non AFI/SAFI configuration still happens directly under ‘router bgp’
• Remote-as, update-source, keepalive timers, etc
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
Address-Family-Identifier Syntax
Original syntax AFI/SAFI syntax
router bgp 20
router bgp 20
bgp router-id 20.100.100.20
bgp router-id 20.100.100.20
bgp log-neighbor-changes
bgp log-neighbor-changes
neighbor 5.20.40.40 remote-as 40
neighbor 5.20.40.40 remote-as 40
!
neighbor 5.20.40.40 send-community
address-family ipv4
network 20.100.100.20 mask 255.255.255.255
network 20.100.100.20 mask 255.255.255.255
neighbor 5.20.40.40 activate
neighbor 5.20.40.40 send-community
exit-address-family
!
address-family vpnv4
neighbor 5.20.40.40 activate
neighbor 5.20.40.40 send-community extended
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 15
BGP Peering
BGP Peering
Internal vs External
• Often confusing: iBGP, eBGP – not a different protocol
• Different rules for communicating BETWEEN Autonomous Systems and
WITHIN an Autonomous System
• Trust
• Complexity
• Depending on who we’re talking to, some of the characteristics of the peering
communication change by default.
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 17
eBGP Peering
eBGP - External BGP
• Neighbor in different AS
• Usually directly connected AS 20 AS 40
• Next Hop set to self R_20
External
eBGP Internet
AS #s ≠
(Autonomous System Numbers)
TTL 1 (default)
(Time to Live) R_30
Next Hop Change
AS 30
Directly Connected Check Enabled
(default)
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 19
eBGP - External BGP
Configuration
AS 20 AS 40
R_20
router bgp 20
bgp router-id 20.100.100.20 R_20
neighbor 5.20.40.40 remote-as 40
neighbor 5.20.40.40 send-community
Internet
Internet
router bgp 40
router-id 40.100.100.40 R_30
neighbor 5.20.40.20 remote-as 20
address-family ipv4 unicast
send-community AS 30
Router_20#sh ip bgp summary
BGP router identifier 20.100.100.20, local AS number 20
<snip>
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
5.20.40.40 4 40 8256 9102 4 0 0 5d17h 3
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 20
eBGP Multihop
• Peer between loopbacks
• Often used to load-balance traffic over multiple links
R_2 AS 10
router bgp 10
AS 20
neighbor 10.1.20.1 remote-as 20
neighbor 10.1.20.1 update-source loop0
neighbor 10.1.20.1 ebgp-multihop 2 R2 R20
ip route 10.1.20.1 255.255.255.255 s0/0
ip route 10.1.20.1 255.255.255.255 s1/0
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 21
eBGP Multihop
• Peer between loopbacks
• Often used to load-balance traffic over multiple links
R_2 AS 10
router bgp 10
AS 20
neighbor 10.1.20.1 remote-as 20
neighbor 10.1.20.1 update-source loop0
neighbor 10.1.20.1 disable-connected-check R2 R20
ip route 10.1.20.1 255.255.255.255 s0/0
ip route 10.1.20.1 255.255.255.255 s1/0
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 22
iBGP Peering
iBGP - Internal BGP
R2
• Neighbor in same AS
• NEXTHOP is unchanged AS 10
• Peer to loopbacks
Internal R3
iBGP
AS #s =
(Autonomous System Numbers) Note: iBGP connections allow BGP
TTL 255 Attributes to be preserved and carried
(Time to Live) across and through an Autonomous System
Next Hop unchanged
Directly Connected Check disabled
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 24
iBGP - Internal BGP
• Cannot advertise route received from
one iBGP peer to another iBGP peer AS 10
• Full iBGP mesh is required
• n(n-1)/2 peering mesh – scaling
problem! R2
• Route-Reflectors relax this constraint
R1
R3
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
iBGP – Loopback Peering
• Best Practice
• Loopbacks should be /32s
R2
• Have an IGP route to loopbacks
• Configuration
R_2 AS 10
router bgp 10
bgp router-id 10.100.100.2
neighbor 10.100.100.3 remote-as 10
neighbor 10.100.100.3 update-source Loopback0 R3
neighbor 10.100.100.3 next-hop-self
R3
router bgp 10
bgp router-id 10.100.100.3
neighbor 10.100.100.2 remote-as 10
neighbor 10.100.100.2 update-source Loopback0
neighbor 10.100.100.2 next-hop-self
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 26
iBGP – Loopback Peering
• Loopback peering promotes stability
• There are two paths between R1 and R2
• If the link between them fails R2
• Peering with interface IP would bring down
the BGP session
• Peering to a loopback allows the session to
stay up R1
R3
AS 10
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 27
Overview – eBGP and iBGP Peering
AS 20
R2
ASR1K
EBGP Router_20
ASR1K 40.40.40.0/24
Internet
IBGP N7K
EBGP Router_30
AS 40
ASR9K
R3
ASR1K
AS30
AS 10
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 28
Attributes and Best Path
Selection Algorithm
Attributes
• IGP
• Primary attribute is a cost/metric
• The path with the lowest metric is the best…nice and easy
• BGP
• Routing Policy between AS is usually more complex
• Shortest path is not necessarily the best one
• Has many attributes to describe reachability to a destination
• The “Best Path Algorithm” compares attributes between different paths to select the best
• Route-policies are used tweak attributes to influence outcome of Best Path: routing
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 30
Attributes and Best Path Algorithm
How does BGP decide what routes are best?
• First, a sanity check
• If the UPDATE is not valid, do not waste time doing anything more. Drop it, Move on.
• If the UPDATE is valid, is it the BEST?
• Well, If there’s only one PATH to a network, nothing to compare. As long as it is
valid, it’s the lone winner.
• But, more often than not, we learn about the same network (same prefix, same
mask) from more than one place. We need to determine which is Best => Best
Path Algorithm
• Compare any new PATH to the current BEST, Attribute by Attribute, until a
tiebreaker is found.
• Continue until all PATHS are considered. Then move to the next Prefix, repeat.
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 31
BGP Route vs. BGP Path
• BGP can have multiple paths per route
• Here we have 2 paths to the 40.40.40.0/24 prefix
R2#show ip bgp 40.40.40.0
BGP routing table entry for 40.40.40.0/24
Paths: (2 avail, best #2, table default)
30 40
10.100.100.3 (metric 2) from 10.100.100.3
Origin IGP, metric 0, localpref 100, valid, internal
20 40
20.2.20.20 from 20.2.20.20 (20.100.100.20)
Origin IGP, localpref 100, valid, external, best
Community: 40:1
R2#
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 32
BGP Route vs. BGP Path
• “show ip bgp summary” provides the total number of routes and paths
• Paths and routes both consume memory
• The more paths you have per route, the more memory consumed
R3#show ip bgp summary
BGP router identifier 10.100.100.3, local AS number 10
BGP table version is 4, main routing table version 4
3 network entries using 432 bytes of memory
6 path entries using 480 bytes of memory
5/3 BGP path/bestpath attribute entries using 800 bytes of memory
2 BGP AS-PATH entries using 48 bytes of memory
1 BGP community entries using 24 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 1784 total bytes of memory
BGP activity 9/6 prefixes, 28/22 paths, scan interval 60 secs
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 33
BGP Path Selection Algorithm
Attribute Logic
1 Weight Higher is better. Local to the router…not really an attribute.
2 Local Preference Local to an AS…higher is better
3 Locally Originated Corner case…”network 10.0.0.0” vs. “aggregate 10.0.0.0”
vs. “redistribute” on the same router
4 AS-PATH Shorter AS-PATH is better
5 ORIGIN IGP < EGP < Incomplete
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 34
BGP Path Selection Algorithm (contd)
Attribute Logic
9 Lowest Router ID Lower is better
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 35
BGP Path Selection Algorithm
• Hard to remember“Denise”ism
BGP Attribute
all of that?
Weight Wise
AS-PATH Apply
ORIGIN Oral
MED Medication
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 36
AS 20
BGP Attributes R2 EBGP
ASR1K
Router_20
ASR1K 40.40.40.0/24
Internet
IBGP N7K
AS 40
I am AS 40 and I own 40.40.40.0/24
router bgp 40
Internet
router-id 40.100.100.40
address-family ipv4 unicast
network 40.40.40.0/24
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 39
Route Origination – Network Statements
• Easiest/Cleanest method
• Network 40.40.40.0 mask 255.255.255.0
• Requires 40.40.40.0/24 to be in the RIB
• Floating static route to Null0 is common
• Originates 40.40.40.0/24
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 40
Route Origination – Network Statements
Router# show ip bgp 40.40.40.0
BGP routing table information for VRF default, address family IPv4
Unicast
BGP routing table entry for 40.40.40.0/24, version 27
Paths: (1 available, best #1)
Flags: (0x080002) on xmit-list, is not in urib
Advertised path-id 1
Path type: local, path is valid, is best path
AS-Path: NONE, path locally originated
0.0.0.0 (metric 0) from 0.0.0.0 (40.100.100.40)
Origin IGP, MED not set, localpref 100, weight 32768
Path-id 1 advertised to peers:
5.20.40.20 5.30.40.30
Router# The Origin is IGP
Weight is 32768
“0.0.0.0 from 0.0.0.0”
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 41
Route Origination – Redistribution
• Routes can be redistributed into BGP
• Pros
• Easy to configure and setup
• Cons
• IGP instability is passed along to BGP
• Isn’t always obvious what routes you are originating
• “Redistribute static” is especially dangerous
• What if someone configures a static route for Google’s address space?
• You could blackhole Google’s traffic
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 42
Route Origination – Redistribution
• Things to note
• The nexthop for the OSPF route is 10.1.1.14
• The OSPF metric is 11
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 43
Route Origination – Redistribution
• NEXTHOP uses the IGP nexthop of 10.1.1.14
• ORIGIN is set to “Incomplete”
• “metric” here means MED
• Uses the IGP metric of 11
• Weight is 32768
R10#show ip bgp 10.1.1.3
BGP routing table entry for 10.1.1.3/32, version 5
Paths: (1 available, best #1, table default)
Advertised to update-groups:
9
Local
10.1.1.14 from 0.0.0.0 (10.1.1.2)
Origin incomplete, metric 11, localpref 100, weight
32768, valid, sourced, best
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 44
Route Origination – Aggregation
• Typically used by ISPs to summarize their address space
• Reduces number of routes in global BGP table
• Adds AGGREGATOR attribute
• Contains Router-ID and AS of the router that did the aggregation
• Used for troubleshooting
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 45
Route Origination – Aggregation
Configure an “aggregate- Check for component route(s)
address” statement AS 100
R11#show ip bgp 10.1.0.0 255.255.0.0 longer
BGP table must have R11 10.1.1.0/24, 10.1.2.0/24, etc listed here
R11#
component route(s)
NLRI: 10.1.1.0/24,
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 46
Route Origination – Aggregation
• Adding the keyword
summary-only
causes BGP to
suppress AS 100 Check for component route(s)
the components of R11#show ip bgp 10.1.0.0 255.255.0.0 longer
the aggregate R11 10.1.1.0/24, 10.1.2.0/24, etc listed here
• Suppressed route: R11#
NLRI: 10.1.1.0/24,
use it, but do not 10.1.2.0/24, etc
AS-PATH: 10 200 300 400
advertise it to any router bgp 10
NLRI: 10.1.0.0/16
peer AS-PATH: 10
aggregate-address 10.1.0.0 255.255.0.0 summary-only
AGGREGATOR AS: 10
AGGREGATOR ID:
!
10.1.1.1
R12
AS 200
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 47
AS-PATH
AS-PATH
• The AS-PATH tells the story of which AS a route has traversed
• AS-Path is used for loop detection on the border of the AS
• BGP drops an external update if it sees its own AS in the path
• When viewing the AS-PATH, the most recent AS is on the left, the originating
AS is on the far right
• BGP prepends his own AS# to the AS-PATH when advertising to an eBGP peer
• Shortest AS-PATH is often the tie-breaker for best path selection
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 49
AS-PATH
AS 10 AS 20 AS 40
R2 R20
Internet
R3 R30
AS 30
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 50
AS-PATH
R2#show ip bgp 40.1.1.0
BGP routing table entry for 40.1.1.0/24, version 6
Paths: (2 available, best #2, table default)
Advertised to update-groups:
14
Refresh Epoch 1
30 40
10.100.100.3 (metric 2) from 10.100.100.3
(10.100.100.3)
Origin IGP, metric 0, localpref 100, valid, internal
rx pathid: 0, tx pathid: 0
Refresh Epoch 1
20 40
20.2.20.20 from 20.2.20.20 (20.100.100.20)
Origin IGP, localpref 100, valid, external, best
rx pathid: 0, tx pathid: 0x0
R2#
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 51
NEXTHOP
NEXTHOP
• NEXTHOP is the address that we must route towards in order to reach
the BGP prefix
• Paths where the next-hop is unreachable are not considered for best-path
calculation
• eBGP does “next-hop-self” automatically
• Multiple eBGP peers on the same subnet is an exception
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 53
iBGP without next-hop-self
NEXTHOP does not
change AS 10
AS 10’s IGP must have R2
route to 30.1.1.9
Adds many /30s to IGP
R1
E0/0
30.1.1.9
R3 R5
AS 30
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 54
iBGP with next-hop-self
R3 changes NEXTHOP
to his “update-source” AS 10
interface R2
iBGP should always
use loopback peering
AS 10’s IGP has a R1
route to R3’s loopback
10.1.1.3
E0/0
30.1.1.9
R3 R5
Loop0
10.1.1.3 AS 30
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 55
Communities
Communities
• A COMMUNITY is an Attribute that stores a number
• 4-byte number that is usually displayed in X:Y notation
• “ip bgp-community new-format” triggers X:Y notation
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 57
Sending Communities
R2#
router bgp 20
neighbor 10.1.1.2 remote-as 10 AS 20
neighbor 10.1.1.2 send-community
neighbor 10.1.1.2 route-map TAG_MY_ROUTES out
! R2
ip bgp-community new-format
!
route-map TAG_MY_ROUTES permit 10
AS 10
set community 10:1
! R1
R2#
R3
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 58
Receiving Communities
• Applying Policy towards communities does impact routing
• Use route-maps and community-list to
• Match against a certain community
• Modify a BGP attribute as a result
• LOCALPREF, ASPATH prepending, etc
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 59
Communities
R1#
router bgp 10
neighbor 20.1.1.1 description R2_PEER
neighbor 20.1.1.1 route-map R2_OR_R3 in
neighbor 30.1.1.1 description R3_PEER
neighbor 30.1.1.1 route-map R2_OR_R3 in AS 20
ip community-list standard VIA_R2 permit 100:1
ip community-list standard VIA_R3 permit 100:2 R2
AS 30
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 60
Well Known Communities
• “A community by itself does nothing”
• There are exceptions to every rule
• Well Known Communities do have an automatic impact
Community Impact
local-AS Do not send to EBGP peers
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 61
Controlling Outbound Traffic
Local Preference
• An Attribute used to influence outbound traffic
• Identifies the preferred exit point of your Autonomous System
• Higher LOCAL_PREF is preferred
• Is compared very early in the Best Path Algorithm
• Is local to an AS
• Local preference is never transmitted to an eBGP peer
• A default LP of 100 is applied to routes from eBGP peers
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 63
Local Preference
• Default behavior…LOCALPREF 100
• R2 and R3 prefer eBGP path
• R1 prefers path from R2 over R3 (lower neighbor IP)
AS 10 AS 20 AS 40
R2 R4
R1
R6
R3 R5
AS 30
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 64
Local Preference
• R2 advertises LOCALPREF of 200
• R1, R2, and R3 all prefer the R2 exit
AS 10 AS 20 AS 40
R2 R4
R1
R6
R3 R5
AS 30
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 65
Local Preference
R2#
AS 10 !
R2 router bgp 10
neighbor 10.1.1.1 remote-as 10
neighbor 10.1.1.1 route-map SET_LOCAL_PREF out
neighbor 10.1.1.3 remote-as 10
neighbor 10.1.1.3 route-map SET_LOCAL_PREF out
!
R1 route-map SET_LOCAL_PREF permit 10
set local-preference 200
!
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 66
Alternatives to Local Preference
BGP
• Local preference is a very “heavy handed” attribute to influence Attribute
Local
• Especially with Internet routing, AS path length is very important (how Preference
“far” is the destination) Locally
Originated
• Hence, evaluate attributes for best path manipulation for your design AS-PATH
• No one size fits all, there are lots of ways to implement BGP routing ORIGIN
policies… MED
NEXTHOP IGP
Cost
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 67
Applying BGP Policy
• Policy based on various attributes:
• ASPATH
• Community
• Destination prefix
• Many, many others…
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 68
Policy Control - Prefix List
• Per-peer prefix filter, inbound or router bgp 200
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 69
Policy Control - Prefix List
a.b.c.d/x [ge | eq | le] y
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 70
Policy Control - Filter List
• Filter routes based on AS path
• Inbound or Outbound
• Example Configuration:
!
router bgp 100
neighbor 220.200.1.1 filter-list 5 out
neighbor 220.200.1.1 filter-list 6 in
!
ip as-path access-list 5 permit ^200$
ip as-path access-list 6 permit ^150$
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 71
Policy Control - Regular Expressions
• Simple Examples
• .* Match anything
• ^$ Match routes local to this AS (as-path is empty)
• _1800$ Originated by 1800 (as-path ends with 1800)
• ^1800_ Received from 1800 (as-path starts with 1800)
• _1800_ AS 1800 is somewhere in the as-path
• _790_1800_ Passing through 790 then 1800
• 1800 Literal “1800” is somewhere, also matches 21800, 18001, etc.
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 72
BGP Multipath
BGP Multipath
• R1 receives two paths from AS20 (via R2 and
R3)
AS 20
• Best-path algorithm selects one and installs it
in routing table
• Assuming all attributes are equal, uses the one R4
from the lower neighbour IP address
• By default, all of the traffic goes via one link
only R1
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 74
eBGP Multipath
• Enable eBGP multipath on R1 to install both
paths
router bgp 10 AS 20
maximum-paths 2
• Multipath selection is part of the Best Path R4
algorithm
• Evaluated before the more arbitrary tie breakers
like IP address/etc. R1
• Only paths with identical ASPATH will be
considered
R5
• Hidden knob “bgp bestpath as-path multipath
relax” changes this, but be aware of what you’re AS 10
doing
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 75
iBGP Multipath
• In this topology, eBGP Multipath will
not help AS 10 AS 20
• R1 will choose one of the internal
paths, and will select one R2 or R3 R2 R4
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 76
Controlling Inbound Traffic
Controlling Inbound Traffic
• The first rule of controlling inbound traffic…
• You do not have ultimate control of how traffic enters your AS
• Your peers may have outbound policies that will override all of your attempts to
influence inbound traffic
• That said, what are your options?
• Leaking more-specific routes
• MED
• AS-PATH Prepending
• Community/Local Pref agreement
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 79
Leaking Specific Routes
• A RIB lookup always looks for the most specific match
• A route for 10.1.1.1/32 will be used over 10.1.1.0/24
• You can leak more specific routes to one ISP but not the other
• If the routes are not filtered this will draw the traffic in through the preferred ISP
• Some argue: Advertising more specifics to the global Internet is not “nice” as it
causes the Internet BGP table to bloat, and everyone has to bear the costs..
• Many ISPs filter routes that are too specific
• You can’t advertise /32s for your entire address space
• These will obviously be filtered
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 80
Leaking Specific Routes
• You are AS 10
AS 10 AS 20
• AS 10 owns 10.1.1.0/24
10.1.1.0/24 R2 R4
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 81
Leaking Specific Routes
• Split your /24 in two /25s
• R2
• advertise 10.1.1.0/25
10.1.1.0/25
• suppress 10.1.1.128/25 AS 10 AS 20
• R3 R2 R4
• suppress 10.1.1.0/25
• advertise 10.1.1.128/25
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 82
Leaking Specific Routes
• Will inbound traffic split
50/50 on your two links?
10.1.1.0/25
• Maybe…maybe not AS 10 AS 20
www.espn.com
R2 R4
• In this case the R2 link will 10.1.1.10
receive much more traffic
than the R3 link
R1
www.watching-
paint-dry.com R3
10.1.1.140
Traffic
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 83
MED
• Officially “Multi Exit
Discriminator”
• An attribute used to
influence inbound traffic 10.1.2.0/24
AS 10 MED: 1 AS 20
• Lower MED is better 10.1.3.0/24
MED: 2
• MED is designed to be a R1 R2 R5
reflection of IGP metrics
• A lower IGP metric is
always preferred 10.1.2.0/24
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 84
MED
MEDs can be set manually
“set metric-type internal” sets MED dynamically
Uses IGP cost to prefix as the MED value
R2 has an IGP cost of 1 to 10.1.2.0 10.1.2.0/24
R4 R3
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 85
MED
• Traffic for 10.1.2.0/24 uses the R2 link
• Traffic for 10.1.3.0/24 uses the R3 link
10.1.2.0/24
AS 10 MED: 1 AS 20
10.1.3.0/24
MED: 2
R1 R2 R5
10.1.2.1
10.1.2.0/24
10.1.3.0/24
R4 R3
Traffic
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 86
MED – bgp always-compare-med
MEDs are only compared if received from the same AS
Makes sense as you can’t necessarily compare routing policies across different AS
R6 does not compare MEDs for the paths received from AS20 and AS30 unless “bgp
always-compare-med” is configured
AS 10 AS 20 AS 40
R2 R4
R1
R6
R3 R5
AS 30
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 87
AS-PATH Prepending
• AS 10 can force traffic into R3 by prepending from R2 R4
• A shorter ASPATH is preferred
AS 10 AS 20 AS 40
R2 R4
R1
R6
R3 R5
AS 30
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 88
AS-PATH Prepending
R2#
router bgp 10
neighbor 10.1.1.4 remote-as 20
neighbor 10.1.1.4 route-map PREPEND_3X out
!
route-map PREPEND_3X permit 10
set as-path prepend 10 10 10
!
AS 10 AS 20
R2 R4
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 89
Community/Local Pref Agreement
• Many providers accept communities
from their customers to give customers
some control on inbound traffic.
AS 10 AS 20
• Example R1 R3
• Customer sends community 20:80, ISP
sets the LOCALPREF to 80
• Customer sends community 20:120, ISP
sets the LOCALPREF to 120
R2 R4
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 90
Community/LOCALPREF Agreement
R1#
router bgp 10
neighbor 10.1.1.3 remote-as 20
neighbor 10.1.1.3 route-map SET_COMMUNITY out
neighbor 10.1.1.3 send-community
! AS 10 AS 20
route-map SET_COMMUNITY permit 10
set community 20:120 R1 R3
!
R2 R4
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 91
Community/LOCALPREF Agreement
R3#
router bgp 20
neighbor 10.1.1.1 remote-as 10
neighbor 10.1.1.1 route-map COMMUNITY_TO_LOCALPREF in
!
ip community-list standard LP_80 permit 20:80
ip community-list standard LP_120 permit 20:120 AS 20
!
route-map COMMUNITY_TO_LOCALPREF permit 10 R1 R3
match community LP_80
set local-preference 80
!
route-map COMMUNITY_TO_LOCALPREF permit 20
match community LP_120 AS 10
set local-preference 120
!
route-map COMMUNITY_TO_LOCALPREF permit 30
!
R2 R4
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 92
Troubleshooting BGP
Vinit Jain
@vinugenie
[email protected]
BRKRST-2330
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 94
Agenda • Controlling Traffic
• Controlling Outbound Traffic
• BGP General Operation • BGP Multipath
• Overview • Controlling Inbound Traffic
• eBGP
• iBGP • Route Reflectors
• Attributes and Best Path Selection Algorithm • Convergence
• Route Origination • Initial Convergence
• AS-PATH • BGP Routing Convergence
• NEXTHOP
• Communities • High Availability
• Show and Tell/Demo Lab
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
Route Reflectors
Full iBGP Mesh Rule
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 97
Route Reflectors
R2
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 98
Route Reflector Basics
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 101
Route Reflector Basics
• A non-client is any iBGP peer that is Route reflectors
not a route reflector client
Non-client
• Each route reflector is also a non-
client of each other route reflector in Cluster
this network
• Route reflectors must be fully iBGP
meshed
A
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 102
Route Reflector – Advertisement Rules
eBGP peer
If a Route Reflector Receives a Route
from an eBGP Peer what will it do?
RR Send
• Send the route to ALL BGP peers (iBGP
and eBGP) Send
Send
Non-client
iBGP peer
Client
Client
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 103
Route Reflector – Advertisement Rules
If a Route Reflector Receives a Route
eBGP peer
from a Client what will it do?
Send
• Reflect the route to all clients
RR Reflect
• Reflect the route to all non-clients
Reflect
Non-client
• Send the route to all eBGP peers iBGP peer
Client
Client
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 104
Route Reflector – Advertisement Rules
Non-client
If a Route Reflector Receives a Route iBGP peer
eBGP peer
from a Non-Client what will it do?
Send
• Reflect the route to all clients
RR
• Send the route to all eBGP peers Reflect
Reflect
Non-client
iBGP peer
Client
Client
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 105
Route Reflector Design and Redundancy
A client may peer with more than one reflector
• A client that peers to only one reflector has a single point of failure
Questions:
• How many reflectors should a single client be peered to?
• Where should the RRs be placed in the network?
• How many RRs are needed?
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 106
Route Reflector Design and Redundancy
• Redundancy is needed but….
• Too much burns memory on RRCs because the client learns the same
information from each RR
• Also burns memory on the RRs because they learn multiple paths for each route
introduced by a RRC
• Two route reflectors per client should be plenty…
• …but this is not a hard and fast rule
• As with everything else…”it depends”
• PEs, RRs, SLAs, network size, network topology, etc.
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 107
A word of reason
• Most routers sold in the last decade can easily run 100 or more sessions (all
depends on number of prefixes carried)
• ASR1000-RP2 scales to thousands of sessions (Isocore tested 20 Million routes
with 1000 RR clients)
• So RP performance is often not the limiting factor of a full iBGP mesh, it’s rather
the manageability adding/removing nodes from the mesh
• So don’t over-engineer it…
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 108
A Note about RRs
• RRs can lead to suboptimal routing because they can hide full path information
from clients
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 109
Initial Convergence
BGP Convergence
• Initial startup
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 111
Convergence: Initial Startup
Initial convergence happens when:
• A router boots
• RP failover
• clear ip bgp *
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 112
Convergence: Initial Startup
Question: During initial convergence, what work needs to be done?
• Accept routes from all peers
• Not too difficult
• Calculate bestpaths
• This is pretty easy
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 113
Convergence: Key Variables
• BGP Variables
• The number of routes
• The number of peers
• The number of update-groups
• The ability to advertise routes to each peer/update-group efficiently
• Router Variables
• CPU horsepower
• Code version
• Interface bandwidth and input & output queues
• Network Variables
• Health of underlying network and transport
• MTU
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 114
Convergence: Key Variables
• BGP Variables
• The number of routes
• The number of peers
• The number of update-groups
• The ability to advertise routes to each peer/update-group efficiently
• Router Variables
• CPU horsepower
• Code version
• Interface bandwidth and input & output queues
• Network Variables
• Health of underlying network and transport
• MTU
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 115
Convergence: UPDATE Packing
• UPDATE contains a set of Attributes and a list of prefixes (NLRI)
• BGP starts an UPDATE by building an attribute set
• BGP then packs as many destinations (NLRIs) as it can into the UPDATE
• Only NLRI with a matching attribute set can be placed in the UPDATE
• NLRI are added to the UPDATE until it is full (4096 bytes max)
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 116
Convergence: UPDATE Packing
• The fewer attribute sets you have the better
• More NLRI will share an attribute set
• Fewer UPDATEs to converge
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 117
Convergence
TCP MSS – Max Segment Size
TCP MSS (max segment size) is also a factor in convergence times. The larger the
MSS the fewer TCP packets it takes to transport the BGP updates. Fewer packets
means less overhead and faster convergence.
Increased MSS IP Header TCP Header Attribute NLRI ..NLRIs.. NLRI ..NLRIs.. NLRI
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 118
Convergence
TCP MSS – Max Segment Size
• MSS – Max Segment Size
• Limit on packet size for a TCP socket
• 536 bytes by default
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 119
Convergence
Update Groups
• BGP must create updates based on the policies
towards each peer Less Efficient – Two peers in different
update-groups
• Peers with a common outbound policy are Attribute NLRI NLRI
members of the same update-group
• iBGP vs. eBGP Attribute NLRI NLRI
• Outbound route-map, prefix-lists, etc
• UPDATEs are generated for one member of an More Efficient – Two peers in
update-group and then replicated to the other the same update-group
members
Attribute NLRI NLRI
• Back in the old days, these “update-groups” had to
be created specifically, using “peer-groups”.
They’re still widely deployed…
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 120
Convergence: Key Variables
• BGP Variables
• The number of routes
• The number of peers
• The number of update-groups
• The ability to advertise routes to each peer/update-group efficiently
• Router Variables
• CPU horsepower
• Code version
• Interface bandwidth and input & output queues
• Network Variables
• Health of underlying network and transport
• MTU
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 121
Convergence
Dropping TCP Acks
Primarily an issue on RRs (Route Reflectors) with RR
• One or two interfaces connecting to the core
• Hundreds of RRCs (Route Reflector Clients) BGP UPDATEs
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 122
Convergence
Dropping TCP Acks
• Interface input queue fills up…TCP ACKs are dropped
• Each time a TCP packet is dropped, the session goes into slow start
• It takes a good deal of time for a TCP session to come out of slow start
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 123
Convergence
Question: How do you know if BGP has converged?
Answer: BGP Table Version
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 124
Convergence
Question: How do you know if BGP has converged?
• Watch the global table version
• Increases by 1 for every bestpath change
• In the lab: Table version stabilizes
• In the real world: Reaches your “normal” rate of change
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 125
BGP Table Version
• Understanding the BGP Table Version – Part 1: Introduction to BGP
Table Version
http://www.networkingwithfish.com/understanding-the-bgp-table-version-part-1-introduction-to-bgp-
table-version/
• Understanding the BGP Table Version – Part 3: BGP Table Version &
Troubleshooting
http://www.networkingwithfish.com/understanding-the-bgp-table-version-part-3-bgp-table-version-
troubleshooting/
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 126
Convergence
Initial Convergence Summary
• Initial convergence time is a factor of the amount of work that needs to be done
and the router/network’s ability to do this fast and efficiently
• Reduce the number of attributes sets in BGP
• Use next-hop-self, don’t send/accept communities you don’t need, etc.
• Reduce the number of unique outbound policies towards all peers
• Try to find a small set of common policies, rather than individualizing policies per peer
• The fewer update-groups the better
• MSS/PMTU
• Efficient packaging of BGP messages in TCP
• Stop TCP ACK drops
• Increase interface input queues on RRs
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 127
BGP Routing Convergence
IGP vs. BGP Convergence
• IGP (OSPF/ISIS) deals with hundreds routes
• Max a few thousands, but only a few hundreds are really important/relevant
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 129
BGP Control-Plane Convergence Components
• Failure Detection
• Reaction to Failure
• Failure Propagation
Convergence =
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 130
Failure Detection (Edge)
• Problem: Detect an eBGP neighbour
failure
• Available Methods router bgp …
[no] bgp fast-external-fallover
• Fast External Fallover – monitors line interface …
protocol for directly connected ip bgp fast-external-fallover {permit|deny}
neighbours (default behaviour)
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 131
Failure Detection – Next-Hop Failure
• Goal: Detect next-hop failures (as carried in IGP)
• Methods:
• Next-hop Tracking, enabled by default
• BGP scanner (legacy, very slow reaction)
• Note: On most cases, we do not want to use iBGP hellos to detect iBGP
neighbor failures, and rely on next-hop reachability checks
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 132
Update Propagation
• Once failed paths are identified and best-path has been run,
updates/withdrawals need to be sent to peers
• Goal: maximize TCP throughput and update packing/replication
• Design Guidance:
• Reduce minimum advertisement interval to zero
(already default in many recent releases)
neighbor x.x.x.x advertisement-interval 0
ip tcp path-mtu-discovery
ip tcp window-size 65535
• Use peer-groups/peer-templates
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 133
High Availability
What is Routing High Availability?
• Routing HA
• Set of technologies & features to
enable traffic to continue to flow
through a device during a fault
• Routing HA maintains the logical
network topology while the faulty
device recovers
• Routing HA helps to address
failures within the control plane of
a routing device
• Routing HA increases the
resiliency of a single system
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 135
Behaviour without Non-Stop Forwarding (NSF)
• Router A loses its control plane for
some period of time
Control Data A
• It will take some time for Router B to
recognize this failure, and react to it
Control Data B
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 136
Behaviour without Non-Stop Forwarding (NSF)
• During the time that A has failed, and B Reset
has not detected the failure, B will
continue forwarding traffic through A Control Data A
• Once the control plane resets, the data
plane will reset as well, and this traffic
will be dropped
• NSF reduces or eliminates the traffic
dropped while A’s control plane is down
Control Data B
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 137
Graceful-Restart/NSF Fundamentals
• If A is NSF capable, the control No reset
plane will not reset the data plane
when it restart Control Data A
• Instead, the forwarding information
in the data plane is marked as stale
• Any traffic B sends to A will still be
switched based on the last known
forwarding information
• This is the Non-Stop Forwarding Control Data B
behaviour
Mark forwarding
information as stale
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 138
GR/NSF Fundamentals
• While A’s control plane is down, the
routing protocol hold timer on B counts
down.... Control Data A
• A has to come back up and signal B
before B’s hold timer expires, or B will
route around it
• When A comes back up, it signals B that
it is still forwarding traffic, and would like
to resync
Control Data B
• This is the first step in Graceful Restart
(GR)
Hold Timer: 15
6
7
8
9
10
11
12
13
14
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 139
GR/NSF Fundamentals
• The second GR phase deals with neighbors
updating the restarting router’s routing table
• This involves new protocol mechanisms Control Data A
• BGP Protocol extensions detailed in RFC 4724
I’m restarting
send routes
Ok, fine, I’ll
• BGP GR has to be explicitly enabled on both ends of
the connection
router bgp …
bgp graceful-restart
....
Control Data B
• But neighbours could be outside my administrative
domain? Like other SPs or customers?
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 140
Non-stop Routing – NSR
• Idea: Why not sync all routing protocol
state to the standby RP (or standby
process)?
• Restarting RP could pick up right where
the primary left off
• No need to refresh any information, no
need for the neighbour to know that
anything happened
• Easy idea – challenging implementation Forwarding
Routing
No Link Flap Adjacency
• Now we absolutely need to avoid anything to Continues Maintained to
let the neighbour know Neighbours
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 141
Non-stop Routing – NSR
• BGP RIB, TCP Session state is synced
to standby RP/process
• Router can restart without neighbour’s
interaction
• No upgrade/changes on peers required
router bgp …
bgp graceful-restart
address-family ipv4 vrf ..
neighbor x.x.x.x ha-mode sso
.... Routing
Forwarding No Link Flap Adjacency
Continues Maintained to
# show ip bgp vpnv4 all sso summary Neighbors
# show tcp ha connections
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 142
Wrapping up
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 144
“Show and Tell”
Loop0 Loop0
10.100.100.2 20.100.100.20
AS 10 2001:db8:2:2::2/128 2001:db8:20:20::20/128
20.2.20.0
G0/3 G0/0/0
R2 R20
IOSv .2 2001:db8:2:20:: .20 IOS XE
G0/0/1
10.1.2.0 G0/1 .20
G0/2
2001:db8:1:2:: .2
Gig0/1
.2
AS 20 G0/1
AS 40
.1 .40
R1 10.2.3.0
2001:db8:2:3:: Internet
Loop0 G0/2
10.100.100.1 IOSv
2001:db8:3:3::3/128
10.1.3.0 G0/1 G0/2 AS30 G0/2
.40
Loop0
40.100.100.40
2001:db8:1:3:: .3 .3
2001:db8:40:40::40/128
G0/3 G0/0/0/0
R3 R30 G0/0/0/1
IOSv .3 .30 IOS XR .30
30.3.30.0
Loop0 2001:db8:3:30::
Loop0
10.100.100.3
30.100.100.30
2001:db8:3:3::3/128
2001:db8:30:30::30/128
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 146
BGP Show and Tell: Beginners
https://www.youtube.com/playlist?list=PLVuziKl5zsd6VW41lIl3SWC3nT1oISZBj
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 147
Complete Your Online
Session Evaluation
• Give us your feedback to be
entered into a Daily Survey
Drawing. A daily winner will
receive a $750 gift card.
• Complete your session surveys
through the Cisco Live mobile
app or on www.CiscoLive.com/us.
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
Continue Your Education
• Demos in the Cisco campus
• Walk-in Self-Paced Labs
• Table Topics
• Meet the Engineer 1:1 meetings
• Related sessions
TECRST-2310 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 149
Thank you