IP Routing: BGP Configuration Guide – Configuring a Basic BGP Network [Cisco ASR 1000 Series Aggregation Services Routers] – Cisco

Step 1 enable

Example:


Device> enable
Enables privileged EXEC modality .

Step 2 configure terminal

Example:


Device# configure terminal
Enters global configuration manner . Step 3 router bgp autonomous-system-number

Example:


Device(config)# router bgp 45000
Enters router configuration modality for the stipulate rout procedure . Step 4 no bgp default ipv4-unicast

Example:


Device(config-router)# no bgp default ipv4-unicast
Disables the IPv4 unicast address family for the BGP spread-eagle summons .

Note  Routing data for the IPv4 unicast address syndicate is advertised by default for each BGP routing school term configured with the neighbor remote-as router configuration instruction unless you configure the no bgp default ipv4-unicast router configuration command before configuring the neighbor remote-as command. Existing neighbor configurations are not affected .
Step 5 neighbor { ip-address | peer-group-name } remote-as autonomous-system-number

Example:


Device(config-router)# neighbor 192.168.3.2 remote-as 50000
Adds the IP address of the neighbor in the specified autonomous system to the IPv4 multiprotocol BGP neighbor table of the local device . Step 6 neighbor { ip-address | peer-group-name } description textbook

Example:


Device(config-router)# neighbor 192.168.3.2 description finance
( Optional ) Associates a textbook description with the specified neighbor . Step 7 address-family ipv4 [ unicast | multicast | vrf vrf-name ]

Example:


Device(config-router)# address-family ipv4 multicast
Specifies the IPv4 address family and enters address syndicate shape mood .

  • The unicast keyword specifies the IPv4 unicast address family. By default, the device is placed in configuration mode for the IPv4 unicast address family if the unicast keyword is not specified with the address-family ipv4 command .
  • The multicast keyword specifies IPv4 multicast address prefixes .
  • The vrf keyword and vrf-name argumentation specify the mention of the VRF example to associate with subsequent IPv4 address family configuration mode commands .
Step 8 network network-number [ masquerade network-mask ] [ route-map route-map-name ]

Example:


Device(config-router-af)# network 172.17.1.0 mask 255.255.255.0
( Optional ) Specifies a network ampere local to this autonomous system and adds it to the BGP route table.

  • For exterior protocols the network control controls which networks are advertised. Interior protocols use the network command to determine where to send updates .
Step 9 neighbor { ip-address | peer-group-name } activate

Example:


Device(config-router-af)# neighbor 192.168.3.2 activate
Enables the substitution of information with a BGP neighbor . Step 10 neighbor { ip-address | peer-group-name } advertisement-interval seconds

Example:


Device(config-router-af)# neighbor 192.168.3.2 advertisement-interval 25
( Optional ) Sets the minimum interval between the commit of BGP routing updates . Step 11 neighbor { ip-address | peer-group-name } default-originate [ route-map map-name ]

Example:


Device(config-router-af)# neighbor 192.168.3.2 default-originate
( Optional ) Permits a BGP speaker — the local device — to send the default route 0.0.0.0 to a peer for practice as a default road . Step 12 exit-address-family

Example:


Device(config-router-af)# exit-address-family
Exits address class shape mode and enters router configuration mood . Step 13 neighbor { ip-address | peer-group-name } closure

Example:


Device(config-router)# neighbor 192.168.3.2 shutdown
( Optional ) Disables a BGP peer or peer group .

Note  If you perform this tone you will not be able to run either of the subsequent show dominate steps because you have disabled the neighbor .
Step 14 end

Example:


Device(config-router)# end
Exits router configuration mode and enters privileged EXEC mode . Step 15 show ip bgp ipv4 multicast [ command ]

Example:


Device# show ip bgp ipv4 multicast
( Optional ) Displays IPv4 multicast database-related information .

Step 16 show ip bgp neighbors [ neighbor-address ] [ received-routes | routes | advertised-routes | paths regexp | dampened-routes | received prefix-filter ]

Example:


Device# show ip bgp neighbors 192.168.3.2
( Optional ) Displays information about the TCP and BGP connections to neighbors .
reservoir : https://thefartiste.com
Category : Tech

About admin

I am the owner of the website thefartiste.com, my purpose is to bring all the most useful information to users.

Check Also

articlewriting1

Manage participants in a zoom meeting webinar

Call the people who attend the meet as follows Alternate host host Who scheduled the …

Leave a Reply

Your email address will not be published.