1- L3 interface
2- BGP
On spine01
Code Block | ||||
---|---|---|---|---|
| ||||
interface Ethernet3 no switchport ip address 10.1.2.1/30 ! interface Loopback0 ip address 10.0.0.1/32 ! ip routing ! router bgp 65000 router-id 10.0.0.1 neighbor 10.1.2.2 remote-as 65000 neighbor 10.1.2.2 maximum-routes 12000 network 10.0.0.1/32 ! |
show ip bgp summary
show ip bgp neighbors
show ip bgp neighbors 10.1.2.2 routes
show ip bgp neighbors 10.1.2.2 advertised-routes
show ip bgp neighbors 10.1.2.2 received-routes
Code Block | ||||
---|---|---|---|---|
| ||||
spine01#show ip bgp summary BGP summary information for VRF default Router identifier 10.0.0.1, local AS number 65000 Neighbor Status Codes: m - Under maintenance Neighbor V AS MsgRcvd MsgSent InQ OutQ Up/Down State PfxRcd PfxAcc 10.1.2.2 4 65000 39 44 0 0 00:34:00 Estab 1 1 spine01#show ip bgp neighbors BGP neighbor is 10.1.2.2, remote AS 65000, internal link BGP version 4, remote router ID 10.0.0.2, VRF default Negotiated BGP version 4 Last read 00:00:10, last write 00:00:10 Hold time is 180, keepalive interval is 60 seconds Configured hold time is 180, keepalive interval is 60 seconds Connect timer is inactive Idle-restart timer is inactive BGP state is Established, up for 00:35:10 . . . . spine01#show ip bgp neighbors 10.1.2.2 routes BGP routing table information for VRF default Router identifier 10.0.0.1, local AS number 65000 Route status codes: s - suppressed, * - valid, > - active, # - not installed, E - ECMP head, e - ECMP S - Stale, c - Contributing to ECMP, b - backup, L - labeled-unicast Origin codes: i - IGP, e - EGP, ? - incomplete AS Path Attributes: Or-ID - Originator ID, C-LST - Cluster List, LL Nexthop - Link Local Nexthop Network Next Hop Metric LocPref Weight Path * > 10.0.0.2/32 10.1.2.2 0 100 0 i spine01#show ip bgp neighbors 10.1.2.2 advertised-routes BGP routing table information for VRF default Router identifier 10.0.0.1, local AS number 65000 Route status codes: s - suppressed, * - valid, > - active, # - not installed, E - ECMP head, e - ECMP S - Stale, c - Contributing to ECMP, b - backup, L - labeled-unicast, q - Queued for advertisement Origin codes: i - IGP, e - EGP, ? - incomplete AS Path Attributes: Or-ID - Originator ID, C-LST - Cluster List, LL Nexthop - Link Local Nexthop Network Next Hop Metric LocPref Weight Path * > 10.0.0.1/32 10.1.2.1 - 100 - i spine01#show ip bgp neighbors 10.1.2.2 received-routes BGP routing table information for VRF default Router identifier 10.0.0.1, local AS number 65000 Route status codes: s - suppressed, * - valid, > - active, # - not installed, E - ECMP head, e - ECMP S - Stale, c - Contributing to ECMP, b - backup, L - labeled-unicast Origin codes: i - IGP, e - EGP, ? - incomplete AS Path Attributes: Or-ID - Originator ID, C-LST - Cluster List, LL Nexthop - Link Local Nexthop Network Next Hop Metric LocPref Weight Path * > 10.0.0.2/32 10.1.2.2 - 100 - i |