Concept Guide
Last read 00:00:00, Last write 00:00:07
Hold time is 90, keepalive interval is 30 seconds
Received 18 messages, 0 in queue
7 opens, 6 notifications, 0 updates
5 keepalives, 0 route refresh requests
Sent 26 messages, 0 in queue
7 opens, 0 notifications, 0 updates
19 keepalives, 0 route refresh requests
Route refresh request: received 0, sent messages 0
Minimum time between advertisement runs is 30 seconds
Minimum time before advertisements start is 0 seconds
For address family: IPv4 Unicast
BGP local RIB : Routes to be Added 0, Replaced 0, Withdrawn 0
InQ : Added 0, Replaced 0, Withdrawn 0
OutQ : Added 0, Withdrawn 0
Allow local AS number 0 times in AS-PATH attribute
Prefixes accepted 0, withdrawn 0 by peer, martian prefixes ignored 0
Prefixes advertised 0, denied 0, withdrawn 0 from peer
Connections established 0; dropped 0
Last reset never
No active TCP connection
Conguring a BGP peer
To congure BGP between two peers, use the following commands.
Following are the steps to congure a BGP peer. The following example conguration demonstrates how the congure a neighbor and IPv4
multicast address family. The default is IPv4 unicast address family.
• Enter the router conguration mode and the AS number.
CONFIG mode
router bgp as-number
• Add the IP address of the neighbor for the specied autonomous system.
CONFIG-ROUTER-BGP mode
neighbor {ip-address | ipv6–address | peer-group-name} remote-as as-number
• Enable the neighbor.
CONFIG-ROUTERBGP mode
neighbor ip-address | ipv6-address | peer-group-name no shutdown
• Specify the IPv4 address family conguration.
CONFIG-ROUTER-BGP mode
address-family ipv4 [multicast | vrf vrf-name]
multicast — Species the IPv4 multicast address family.
vrf vrf-name — Species the name of VRF instance associated with the IPv4 address-family conguration.
• Enable the neighbor to exchange prexes for IPv4 unicast address family.
CONFIG-ROUTER-BGP-AF (Address Family) mode
neighbor {ip-address | ipv6–address | peer-group-name} activate
NOTE
: Neighbors have to be activated using neighbor activate command in the respective address family to exchange
other address prex types such as IPv4 multicast and IPv6 unicast.
190 Border Gateway Protocol (BGP)