Last Updated on August 1, 2021 by Admin 1
You need to configure eBGP on the rtrA and rtrB routers, as shown in the following image:
You have configured eBGP on rtrA through the following commands:
rtrA(config)# router bgp 501 rtrA(config)# neighbor 201.60.3.2 remote-as 505
While configuring eBGP on rtrB, you need to ensure that updates about the 192.168.58.0/24 and the 192.168.127.0/24 subnets are sent to rtrA with a metric of 300. In addition, rtrB should send updates about the 172.161.94.0/24 subnet are sent with a metric of 500.
Which of the following set of commands would NOT be part of the set used to correctly configure eBGP on rtrB?
- access-list 1 permit 192.168.0.0 0.0.255.255
access-list 2 permit 172.161.94.0 0.0.0.255
router bgp 505
neighbor 201.60.3.1 remote-as 501
neighbor 201.60.3.1 route-map change_parameters in - access-list 1 permit 192.168.0.0 0.0.255.255
access-list 2 permit 172.161.94.0 0.0.0.255
router bgp 505
neighbor 201.60.3.1 remote-as 501
neighbor 201.60.3.1 route-map change_parameters out - route-map change_parameters permit 10
match ip-address 2
set metric 500 - route-map change_parameters permit 20
match ip-address 1
set metric 300
The following command set would NOT be used because it only applies the access list route-map change_parameters inbound instead of outbound, as would be required:
The ACL 1 allows the 192.168.58.0/24 and the 192.168.127.0/24 subnets, while the ACL 2 allows the 172.161.94.0/24 subnet. The neighbor route-map command specifies a route-map named change_parameters for the 201.60.3.1 BGP peer. The out keyword at the end of the command indicates that the route-map is applied only to the updates sent by rtrB, and not received by rtrB.
In the following command, the route map change_parameters is defined with the permit keyword. The permit keyword indicates that if a match occurs, the actions specified in the set sub-command are executed:
route-map change_parameters permit 10
match ip-address 2
set metric 500
In this case, this command checks if the IP address of the subnets advertised to rtrA is in the 172.161.94.0/24 subnet (specified by ACL 2). If the IP address matches, then the metric of those routes are set to 500.
In the following command, the route map change_parameters is defined with the permit keyword:
route-map change_parameters permit 20
match ip-address 1
set metric 300
In this case, this command checks if the IP address of the subnets advertised to rtrA is in the 192.168.58.0/24 or the 192.168.127.0/24 subnets (specified by ACL 1) If the IP address matches, then the metric of those routes are set to 300.
Objective:
Layer 3 Technologies
Sub-Objective:
Configure and verify eBGP (IPv4 and IPv6 address families)