BGP Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

PDF

BGP Link-State

Want to summarize with AI?

Log in

Overview

Explains the protocol extension that distributes IGP link-state information via BGP, improves network topology visibility, and uses a dedicated AFI/SAFI to encode link-state attributes.



Procedure

1.

Run the configure comamnd to enter configuration mode.

Example:

Router# configure
2.

Specify the BGP AS number and enter BGP configuration mode.

Example:

Router(config)# router bgp 100
3.

Configure the neighbor using its IP address.

Example:

Router(config-bgp)# neighbor 10.0.0.2
4.

Set the remote AS number for the neighbor and enter the link-state address family.

Example:

Router(config-bgp-nbr)# remote-as 1
Router(config-bgp-nbr)# address-family link-state link-state
Router(config-bgp-nbr)# commit

Configure a unique domain distinguisher (four-octet ASN)

Assign a unique identifier (domain distinguisher) for BGP Link-State using a four-octet ASN.

The domain distinguisher helps differentiate routing domains when distributing link-state information.

Follow these steps to configure the domain distinguisher.

Procedure

1.

In configuration mode, specify the BGP AS number and enter BGP configuration mode.

Example:

Router# configure
Router(config)# router bgp 100
2.

Enter the link-state address family configuration mode.

Example:

Router(config-bgp)# address-family link-state link-state
3.

Assign a unique domain distinguisher.

Example:

Router(config-bgp-af)# domain-distinguisher 1234
Router(config-bgp-af)# commit

Possible range of domain-distinguisher: 1 to 4294967295

The router uses the specified four-octet ASN as the domain distinguisher for BGP-LS.