Activate the address-family for the BGP neighbor with the BGP neighbor configuration command address-family afi safi.Įxample 1-4 displays the BGP configuration for R1 if it was running NX-OS. Identify the BGP neighbor’s IP address and autonomous system number with the BGP router configuration command neighbor ip-address remote-as as-number. The steps for configuring BGP on an NX-OS device are as follows: Example 1-3 IOS XR BGP Configuration IOS XR The RID is set on R1 because that router does not have any loopback interfaces. The RID needs to be set manually with the BGP router configuration command bgp router-id.Įxample 1-3 displays the BGP configuration for R1 if it was running IOS XR. IOS XR nodes do not establish a BGP session if the RID is set to zero, because the dynamic RID allocation did not find any up loopback interfaces. If a route policy is not configured in the appropriate address-family, then NLRIs are discarded upon receipt and no NLRIs are advertised to EBGP peers.Īn inbound and outbound route policy is configured with the command route-policy policy-name under the BGP neighbor address-family configuration. IOS XR requires a routing policy to be associated to an EBGP peer as a security measure to ensure that routes are not accidentally accepted or advertised. Activate the address-family for the BGP neighbor with the BGP neighbor configuration command address-family afi safi. Identify the BGP neighbor’s autonomous system number with the BGP neighbor configuration command remote-as as-number. Identify the BGP neighbor’s IP address with the BGP router configuration command neighbor ip-address. Initialize the address-family with the BGP router configuration command address-family afi safi so it can be associated to a BGP neighbor. Initialize the BGP process with the global configuration command router bgp as-number. The steps for configuring BGP on an IOS XR router are as follows: R2 (Default IPv4 Address-Family Disabled) Example 1-2 IOS Basic BGP Configuration R1 (Default IPv4 Address-Family Enabled) ![]() R1 is configured using the default IPv4 address-family enabled, and R2 disables IOS’s default IPv4 address-family and manually activates it for the specific neighbor 10.1.12.1. The address-family modifier is required on IOS XR nodes.Įxample 1-2 demonstrates how to configure R1 and R2 using the IOS default and optional IPv4 AFI modifier CLI syntax. On IOS routers, the default address-family modifier for the IPv4 and IPv6 address families is unicast and is optional. Identify the BGP Neighbor’s IP address and Autonomous System Number. Initialize the BGP process with the global command router bgp as-number. ![]() The steps for configuring BGP on an IOS router are as follows: Other address families are throughout the book. The router’s IP address is added to the neighbor table, and BGP attempts to establish a BGP session or accepts a BGP session initiated from the peer router.įor the remainder of this chapter, the BGP context is directed toward IPv4 routing. ![]() For a session to initiate, one address-family for that neighbor must be activated. ![]() Networks advertisement and summarization occur within the address-family.Īctivate the Address-Family on the BGP Peer: Activate the address-family on the BGP peer. Session settings include the ASN of the BGP peer, authentication, and keepalive timers.Īddress-Family Initialization: The address-family is initialized under the BGP router configuration mode. BGP router configuration requires the following components:īGP Session Parameters: BGP session parameters provide settings that involve establishing communication to the remote BGP neighbor. When configuring BGP, it is best to think of the configuration from a modular perspective.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |