Step 1 |
show bgp l2vpn evpn
RP/0/RSP0/CPU0:router# show bgp l2vpn evpn
Fri Aug 21 00:24:10.773 PDT
BGP router identifier 30.30.30.30, local AS number 100
BGP generic scan interval 60 secs
Non-stop routing is enabled
BGP table state: Active
Table ID: 0x0 RD version: 0
BGP main routing table version 16
BGP NSR Initial initsync version 1 (Reached)
BGP NSR/ISSU Sync-Group versions 16/0
BGP scan interval 60 secs
Status codes: s suppressed, d damped, h history, * valid, > best
i - internal, r RIB-failure, S stale, N Nexthop-discard
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 100:1
*>i[2][10000][48][0226.51bd.c81c][32][200::1001]/232
11.0.0.1 100 0 i
*>i[2][10000][48][0226.51bd.c81c][32][200:1::1001]/232
11.0.0.1 100 0 i
*>i[2][10000][48][0226.51bd.c81c][32][200.1.1.1]/136
11.0.0.1 100 0 i
*>i[2][10000][48][0226.51bd.c81c][32][200.1.1.2]/136
11.0.0.1 100 0 i
*>i[5][4231][32][100.1.1.1]/80
11.0.0.1 100 0 i
*>i[5][4231][32][100.1.1.2]/80
11.0.0.1 100 0 i
*>i[5][4231][112][fec0::1001]/176
11.0.0.1 100 0 i
*>i[5][4232][112][fec0::1:1001]/176
11.0.0.1 100 0 i
Processed 8 prefixes, 8 paths
|
Displays a
summary of the BGP information advertised from the EVPN BGP neighbor.
|
Step 2 |
show bgp l2vpn evpn rd rd-id
l2vpn-evpn-prefix detail
RP/0/RSP0/CPU0:router# show bgp l2vpn evpn rd 100:1 [5][4231][112][fec0::1001]/176 detail
Fri Aug 21 00:34:43.747 PDT
BGP routing table entry for [5][4231][112][fec0::1001]/176, Route Distinguisher: 100:1
Versions:
Process bRIB/RIB SendTblVer
Speaker 5 5
Flags: 0x04040001+0x00000000;
Last Modified: Aug 21 00:16:58.000 for 00:17:46
Paths: (1 available, best #1)
Not advertised to any peer
Path #1: Received by speaker 0
Flags: 0x4000600025060005, import: 0x3f
Not advertised to any peer
Local
11.0.0.1 (metric 2) from 20.0.0.1 (11.0.0.1)
Received Label 16001
Origin IGP, localpref 100, valid, internal, best, group-best, import-candidate, reoriginate, not-in-vrf
Received Path ID 0, Local Path ID 1, version 5
Extended community: Flags 0x2: Encapsulation Type:8 Router MAC:aabb.ccdd.eeff RT:65540:1 RT:40.40.40.40:1 RT:100:1
Originator: 11.0.0.1, Cluster list: 20.20.20.20
EVPN ESI: ffff.ffff.ffff.ffff.ff01, Gateway Address : fec0::254
|
Displays
detailed information for a specific prefix advertised from an EVPN BGP
neighbor.
|
Step 3 |
show bgp l2vpn evpn neighbors neighbor-ip-address detail
RP/0/RSP0/CPU0:router# show bgp l2vpn evpn neighbors 20.0.0.1 detail
Fri Aug 21 00:25:37.383 PDT
BGP neighbor is 20.0.0.1
Remote AS 100, local AS 100, internal link
Remote router ID 20.20.20.20
BGP state = Established, up for 00:08:58
NSR State: NSR Ready
Last read 00:00:34, Last read before reset 00:00:00
Hold time is 180, keepalive interval is 60 seconds
Configured hold time: 180, keepalive: 60, min acceptable hold time: 3
Last write 00:00:36, attempted 19, written 19
Second last write 00:01:36, attempted 143, written 143
Last write before reset 00:00:00, attempted 0, written 0
Second last write before reset 00:00:00, attempted 0, written 0
Last write pulse rcvd Aug 21 00:25:03.667 last full not set pulse count 33
Last write pulse rcvd before reset 00:00:00
Socket not armed for io, armed for read, armed for write
Last write thread event before reset 00:00:00, second last 00:00:00
Last KA expiry before reset 00:00:00, second last 00:00:00
Last KA error before reset 00:00:00, KA not sent 00:00:00
Last KA start before reset 00:00:00, second last 00:00:00
Precedence: internet
Non-stop routing is enabled
Entered Neighbor NSR TCP mode:
TCP Initial Sync : Aug 21 00:18:07.291
TCP Initial Sync Phase Two : Aug 21 00:18:07.319
TCP Initial Sync Done : Aug 21 00:18:08.334
Multi-protocol capability received
Neighbor capabilities: Adv Rcvd
Route refresh: Yes Yes
4-byte AS: Yes Yes
Address family VPNv4 Unicast: Yes No
Address family VPNv6 Unicast: Yes No
Address family L2VPN EVPN: Yes Yes
Message stats:
InQ depth: 0, OutQ depth: 0
Last_Sent Sent Last_Rcvd Rcvd
Open: Aug 21 00:16:38.087 1 Aug 21 00:16:40.123 1
Notification: --- 0 --- 0
Update: Aug 21 00:24:01.421 9 Aug 21 00:24:03.652 13
Keepalive: Aug 21 00:25:01.434 8 Aug 21 00:25:03.667 9
Route_Refresh: Aug 21 00:24:01.377 3 --- 0
Total: 21 23
Minimum time between advertisement runs is 0 secs
Inbound message logging enabled, 3 messages buffered
Outbound message logging enabled, 3 messages buffered
For Address Family: VPNv4 Unicast
BGP neighbor version 35
Update group: 0.3 Filter-group: 0.1 No Refresh request being processed
Advertise Reorigination Enabled
Advertise AFI EoR can be sent
Route refresh request: received 0, sent 0
0 accepted prefixes, 0 are bestpaths
Cumulative no. of prefixes denied: 0.
Prefix advertised 4, suppressed 0, withdrawn 0
Maximum prefixes allowed 2097152
Threshold for warning message 75%, restart interval 0 min
AIGP is enabled
An EoR was not received during read-only mode
Last ack version 35, Last synced ack version 35
Outstanding version objects: current 0, max 1
Additional-paths operation: None
Send Multicast Attributes
For Address Family: VPNv6 Unicast
BGP neighbor version 29
Update group: 0.3 Filter-group: 0.1 No Refresh request being processed
Advertise Reorigination Enabled
Advertise AFI EoR can be sent
Route refresh request: received 0, sent 0
0 accepted prefixes, 0 are bestpaths
Cumulative no. of prefixes denied: 0.
Prefix advertised 0, suppressed 0, withdrawn 0
Maximum prefixes allowed 1048576
Threshold for warning message 75%, restart interval 0 min
AIGP is enabled
An EoR was not received during read-only mode
Last ack version 29, Last synced ack version 29
Outstanding version objects: current 0, max 0
Additional-paths operation: None
Send Multicast Attributes
Advertise VPNv4 routes enabled with Reoriginate,Local with stitching-RT option
For Address Family: L2VPN EVPN
BGP neighbor version 18
Update group: 0.2 Filter-group: 0.1 No Refresh request being processed
Route refresh request: received 0, sent 3
8 accepted prefixes, 8 are bestpaths
Cumulative no. of prefixes denied: 0.
Prefix advertised 4, suppressed 0, withdrawn 6
Maximum prefixes allowed 2097152
Threshold for warning message 75%, restart interval 0 min
AIGP is enabled
An EoR was received during read-only mode
Last ack version 18, Last synced ack version 18
Outstanding version objects: current 0, max 2
Additional-paths operation: None
Send Multicast Attributes
Advertise VPNv4 routes enabled with Reoriginate, option
Advertise VPNv6 routes is enabled with Reoriginate, option
Import Stitching is enabled for this neighbor address-family
Import Reoriginate is enabled for this neighbor address-family
Connections established 1; dropped 0
Local host: 30.0.0.1, Local port: 59405, IF Handle: 0x00000000
Foreign host: 20.0.0.1, Foreign port: 179
Last reset 00:00:00
|
Displays a
detailed information of the specified L2VPN EVPN BGP neighbor.
|
Step 4 |
show bgp sessions
RP/0/RSP0/CPU0:router# show bgp sessions
Fri Aug 21 00:25:57.216 PDT
Neighbor VRF Spk AS InQ OutQ NBRState NSRState
20.0.0.1 default 0 100 0 0 Established NSR Ready[PP]
32.0.0.2 default 0 200 0 0 Established NSR Ready
|
Displays
current BGP sessions.
|
Step 5 |
show bgp vpnv4 unicast
RP/0/RSP0/CPU0:router# show bgp vpnv4 unicast
Fri Aug 21 00:28:41.253 PDT
BGP router identifier 30.30.30.30, local AS number 100
BGP generic scan interval 60 secs
Non-stop routing is enabled
BGP table state: Active
Table ID: 0x0 RD version: 0
BGP main routing table version 39
BGP NSR Initial initsync version 4 (Reached)
BGP NSR/ISSU Sync-Group versions 39/0
BGP scan interval 60 secs
Status codes: s suppressed, d damped, h history, * valid, > best
i - internal, r RIB-failure, S stale, N Nexthop-discard
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 1:1
*> 1.1.1.0/24 32.0.0.2 0 200 300 i
*> 1.1.2.0/24 32.0.0.2 0 200 300 i
Route Distinguisher: 30.30.30.30:0 (default for vrf foo)
*> 1.1.1.0/24 32.0.0.2 0 200 300 i
*> 1.1.2.0/24 32.0.0.2 0 200 300 i
*>i100.1.1.1/32 11.0.0.1 100 0 i
*>i100.1.1.2/32 11.0.0.1 100 0 i
*>i200.1.1.1/32 11.0.0.1 100 0 i
*>i200.1.1.2/32 11.0.0.1 100 0 i
|
Displays summary
information of unicast BGP prefixes. The
show bgp
vpnv6 unicast provides similar output information for IPv6 prefixes.
|
Step 6 |
show bgp vpnv4 unicast rd-id vpnv4-prefix detail
RP/0/RSP0/CPU0:router# show bgp vpnv4 unicast rd 30.30.30.30:0 1.1.1.0/24 detail
Fri Aug 21 00:28:57.824 PDT
BGP routing table entry for 1.1.1.0/24, Route Distinguisher: 30.30.30.30:0
Versions:
Process bRIB/RIB SendTblVer
Speaker 26 26
Flags: 0x04103001+0x00000000;
Last Modified: Aug 21 00:24:01.000 for 00:04:58
Paths: (1 available, best #1)
Advertised to peers (in unique update groups):
20.0.0.1
Path #1: Received by speaker 0
Flags: 0x4000c00005060001, import: 0x80
Advertised to peers (in unique update groups):
20.0.0.1
200 300
32.0.0.2 from 32.0.0.2 (40.40.40.40)
Received Label 24001
Origin IGP, localpref 100, valid, external, best, group-best, import-candidate, imported, reoriginated with stitching-rt
Received Path ID 0, Local Path ID 1, version 26
Extended community: RT:100:2
Source AFI: VPNv4 Unicast, Source VRF: default, Source Route Distinguisher: 1:1
|
Displays
detailed information of specified VPNv4 prefixes. The
show
bgp vpnv6 unicast provides similar output information for VPNv6
prefixes.
|
Step 7 |
show bgp vrf foo
RP/0/RSP0/CPU0:router# show bgp vrf foo
Fri Aug 21 00:24:36.523 PDT
BGP VRF foo, state: Active
BGP Route Distinguisher: 30.30.30.30:0
VRF ID: 0x60000002
BGP router identifier 30.30.30.30, local AS number 100
Non-stop routing is enabled
BGP table state: Active
Table ID: 0xe0000011 RD version: 35
BGP main routing table version 35
BGP NSR Initial initsync version 4 (Reached)
BGP NSR/ISSU Sync-Group versions 31/0
Status codes: s suppressed, d damped, h history, * valid, > best
i - internal, r RIB-failure, S stale, N Nexthop-discard
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 30.30.30.30:0 (default for vrf foo)
*> 1.1.1.0/24 32.0.0.2 0 200 300 i
*> 1.1.2.0/24 32.0.0.2 0 200 300 i
*>i100.1.1.1/32 11.0.0.1 100 0 i
*>i100.1.1.2/32 11.0.0.1 100 0 i
*>i200.1.1.1/32 11.0.0.1 100 0 i
*>i200.1.1.2/32 11.0.0.1 100 0 i
Processed 6 prefixes, 6 paths
|
Displays summary
information of prefixes in the specified VRF instance BGP table.
|
Step 8 |
show bgp vrf foo ipv4 unicast 100.1.1.1/32 detail
RP/0/RSP0/CPU0:router# show bgp vrf foo ipv4 unicast 100.1.1.1/32 detail
Mon Dec 8 23:24:50.243 PST
BGP routing table entry for 100.1.1.1/32, Route Distinguisher:
30.30.30.30:0
Versions:
Process bRIB/RIB SendTblVer
Speaker 43 43
Local Label: 24001 (with rewrite);
Flags: 0x05081001+0x00000200;
Last Modified: Dec 8 18:04:21.000 for 05:20:30
Paths: (1 available, best #1)
Advertised to PE peers (in unique update groups):
32.0.0.2
Path #1: Received by speaker 0
Flags: 0x400061000d060005, import: 0x80
Advertised to PE peers (in unique update groups):
32.0.0.2
Local
11.0.0.1 (metric 2) from 20.0.0.1 (11.0.0.1)
Received Label 1234
Origin IGP, localpref 100, valid, internal, best, group-best, import-candidate, imported, reoriginated
Received Path ID 0, Local Path ID 1, version 43
Extended community: Encapsulation Type:8 Router MAC:aabb.ccdd.eeff RT:1:2
Originator: 11.0.0.1, Cluster list: 20.20.20.20
RIB RNH: table_id 0xe0000011, Encap 8, VNI 1234, MAC Address: aabb.ccdd.eeff, IP Address: 11.0.0.1, IP table_id 0xe0000000
Source AFI: L2VPN EVPN, Source VRF: default, Source Route
Distinguisher: 100:1
|
Displays
detailed information for a specified prefix in the specified VRF instance BGP
table.
|
Step 9 |
show bgp vpnv4 unicast update-group
RP/0/RSP0/CPU0:router# show bgp vpnv4 unicast update-group
Fri Aug 21 00:27:57.910 PDT
Update group for VPNv4 Unicast, index 0.1:
Attributes:
Outbound policy: pass
First neighbor AS: 200
Send communities
Send GSHUT community if originated
Send extended communities
4-byte AS capable
Send Re-originated VPN routes
Send multicast attributes
Minimum advertisement interval: 30 secs
Update group desynchronized: 0
Sub-groups merged: 0
Number of refresh subgroups: 0
Messages formatted: 8, replicated: 8
All neighbors are assigned to sub-group(s)
Neighbors in sub-group: 0.2, Filter-Groups num:1
Neighbors in filter-group: 0.2(RT num: 0)
32.0.0.2
Update group for VPNv4 Unicast, index 0.3:
Attributes:
Neighbor sessions are IPv4
Internal
Common admin
First neighbor AS: 100
Send communities
Send GSHUT community if originated
Send extended communities
4-byte AS capable
Send AIGP
Send Re-originated VPN routes
Send multicast attributes
Minimum advertisement interval: 0 secs
Update group desynchronized: 0
Sub-groups merged: 0
Number of refresh subgroups: 0
Messages formatted: 2, replicated: 2
All neighbors are assigned to sub-group(s)
Neighbors in sub-group: 0.1, Filter-Groups num:1
Neighbors in filter-group: 0.1(RT num: 0)
20.0.0.1
|
Displays
update-group details for BGP VPNv4 unicast address-family.
|
Step 10 |
show bgp l2vpn evpn update-group
RP/0/RSP0/CPU0:router# show bgp l2vpn evpn update-group
Fri Aug 21 00:27:42.786 PDT
Update group for L2VPN EVPN, index 0.2:
Attributes:
Neighbor sessions are IPv4
Internal
Common admin
First neighbor AS: 100
Send communities
Send GSHUT community if originated
Send extended communities
4-byte AS capable
Send AIGP
Send multicast attributes
Minimum advertisement interval: 0 secs
Update group desynchronized: 0
Sub-groups merged: 0
Number of refresh subgroups: 0
Messages formatted: 4, replicated: 4
All neighbors are assigned to sub-group(s)
Neighbors in sub-group: 0.1, Filter-Groups num:1
Neighbors in filter-group: 0.1(RT num: 0)
20.0.0.1
|
Displays
update-group details for BGP L2VPN EVPN address-family.
|