Information Technology Reference
In-Depth Information
Another Example of BGP Capabilities (Continued)
Example 2-4
Index 1, Offset 0, Mask 0x2
Uses NEXT_HOP attribute for MBGP NLRIs
Route refresh request: received 0, sent 0
0 accepted prefixes consume 0 bytes
Prefix advertised 0, suppressed 0, withdrawn 0
...
Example 2-5 shows the output of debug ip bgp during session establishment. Within the
Open message, a Capabilities field is included in the Option parameter. Within the field, all
supported capabilities are exchanged. The following capabilities are exchanged:
Multiprotocol extension, code 1: IPv4 Unicast (AF/SAFI codes 1/1), VPN IPv4 (1/128),
IPv4 Multicast (1/2)
Old form route refresh, code 128
New form route refresh, code 2
Example 2-5
Output of debug ip bgp for Session Establishment
*Oct 16 16:00:06.682: BGP: 192.168.100.2 went from Idle to Active
*Oct 16 16:00:06.694: BGP: 192.168.100.2 open active, delay 7887ms
*Oct 16 16:00:14.602: BGP: 192.168.100.2 open active, local address 192.168.100.1
*Oct 16 16:00:14.654: BGP: 192.168.100.2 went from Active to OpenSent
*Oct 16 16:00:14.654: BGP: 192.168.100.2 sending OPEN, version 4, my as: 100
*Oct 16 16:00:14.674: BGP: 192.168.100.2 send message type 1, length
(incl. header) 69
*Oct 16 16:00:14.802: BGP: 192.168.100.2 rcv OPEN, version 4
*Oct 16 16:00:14.802: BGP: 192.168.100.2 rcv OPEN w/ OPTION parameter len: 32
*Oct 16 16:00:14.802: BGP: 192.168.100.2 rcvd OPEN w/ optional parameter type 2
(Capability) len 6
*Oct 16 16:00:14.802: BGP: 192.168.100.2 OPEN has CAPABILITY code: 1, length 4
*Oct 16 16:00:14.802: BGP: 192.168.100.2 OPEN has MP_EXT CAP for afi/safi: 1/1
*Oct 16 16:00:14.802: BGP: 192.168.100.2 rcvd OPEN w/ optional parameter type 2
(Capability) len 6
*Oct 16 16:00:14.802: BGP: 192.168.100.2 OPEN has CAPABILITY code: 1, length 4
*Oct 16 16:00:14.802: BGP: 192.168.100.2 OPEN has MP_EXT CAP for afi/safi: 1/128
*Oct 16 16:00:14.802: BGP: 192.168.100.2 rcvd OPEN w/ optional parameter type 2
(Capability) len 6
*Oct 16 16:00:14.802: BGP: 192.168.100.2 OPEN has CAPABILITY code: 1, length 4
*Oct 16 16:00:14.802: BGP: 192.168.100.2 OPEN has MP_EXT CAP for afi/safi: 1/2
*Oct 16 16:00:14.802: BGP: 192.168.100.2 rcvd OPEN w/ optional parameter type 2
(Capability) len 2
*Oct 16 16:00:14.802: BGP: 192.168.100.2 OPEN has CAPABILITY code: 128, length 0
*Oct 16 16:00:14.802: BGP: 192.168.100.2 OPEN has ROUTE-REFRESH capability(old)
for all address-families
*Oct 16 16:00:14.802: BGP: 192.168.100.2 rcvd OPEN w/ optional parameter type 2
(Capability) len 2
*Oct 16 16:00:14.802: BGP: 192.168.100.2 OPEN has CAPABILITY code: 2, length 0
Search WWH ::




Custom Search