CORRECT TEXT Your task is to configure the PE7 router per the following requirement:

CORRECT TEXT



Your task is to configure the PE7 router per the following requirement:

CORRECT TEXT



Your task is to configure the PE7 router per the following requirement:

Answer: See the explanation.

Explanation:
Here is the solution.
conf t
int loopback 0
no shut
ipv4 address 10.7.1.1 255.255.255.255
ipv6 address 2001:db8:10:7:1::1/128
int Gi0/0/0/1
no shut
ipv4 address 192.168.178.70 255.255.255.0
ipv6 address 2001:DB8:192:168:178::70/64
commit
router bgp 65001
address-family ipv4 unicast
redistribute connected
neighbor 10.8.1.1
remote-as 65001
update-source loopback 0
commit
exit
address family ipv6 unicast
redistribute connected
neighbor 2001:db8:10:8:1::1
remote-as 65001
update-source loopback 0
commit



Leave a Reply 5

Your email address will not be published. Required fields are marked *


jslaven

jslaven

show bgp | begin Network

jslaven

jslaven

In IOS XR there is no concept of default address family. An address family must be explicitly configured under the BGP router configuration for the address family to be activated in BGP.

Similarly, an address family must be explicitly configured under a neighbor for the BGP session to be activated under that address family.

PE7(config)#interface lo0
PE7(config-if)#ipv4 address 10.7.1.1/32
PE7(config-if)#ipv6 address 2001:db8:10:7:1::1/128
PE7(config-if)#no shutdown
PE7(config-if)#commit
PE7(config)#interface Gi0/0/0/1
PE7(config-if)#ipv4 address 192.168.178.70/24
PE7(config-if)#ipv6 address 2001:db8:192:168:178::70/64
PE7(config-if)#no shutdown
PE7(config-if)#commit

PE7(config)#router bgp 65001
PE7(config-bgp)#bgp router-id 10.8.1.1
PE7(config-bgp)#address-family ipv4 unicast
PE7(config-bgp-af)#redistribute connected
PE7(config-bgp-af)#exit
PE7(config-bgp)#neighbor 10.1.1.2
PE7(config-bgp-nbr)#remote-as 65001
PE7(config-bgp-nbr)#update-source lo0
PE7(config-bgp-nbr)#address-family ipv4 unicast
PE7(config-bgp-nbr)#exit

PE7(config-bgp)#address-family ipv6 unicast
PE7(config-bgp-af)#redistribute connected
PE7(config-bgp-af)#exit
PE7(config-bgp)#neighbor 2001:db8:10.8:1::1
PE7(config-bgp-nbr)#remote-as 65001
PE7(config-bgp-nbr)#update-source lo0
PE7(config-bgp-nbr)#address-family ipv6 unicast

PE7(config-bgp-nbr-af)#commit

waseem

waseem

you appear to have incorrect neighbor IP for PE8 Lo0

waseem

waseem

there appears to be some limitation when it comes to configure simulation;

agreed, you do have to configure address-family explicitly when it comes to BGP sessions under neighbor however you can’t ‘redistribute connected’ and no need for ‘bgp router-id.’

waseem

waseem

conf t
PE7(config)#interface loopback 0
PE7(config-if)#ipv4 address 10.7.1.1 255.255.255.255
PE7(config-if)#ipv6 address 2001:db8:10:7:1::1/128
PE7(config-if)#no shut
PE7(config-if)#commit
!
PE7(config)#interface gi0/0/0/1
PE7(config-if)#ipv4 address 192.168.178.70 255.255.255.0
PE7(config-if)#ipv6 address 2001:db8:192:168:178::70/64
PE7(config-if)#no shut
PE7(config-if)#commit
!
PE7(config)#router bgp 65001
!
PE7(config-bgp)#address-family ipv4 unicast
PE7(config-bgp)#neighbor 10.8.1.1
PE7(config-bgp-nbr)#remote-as 65001
PE7(config-bgp-nbr)#update-source loopback0
PE7(config-bgp-nbr)#address-family ipv4 unicast
PE7(config-bgp-nbr)#exit
!
PE7(config-bgp)#address-family ipv6 unicast
PE7(config-bgp)#neighbor 2001:db8:10:8:1::1
PE7(config-bgp-nbr)#remote-as 65001
PE7(config-bgp-nbr)#update-source loopback0
PE7(config-bgp-nbr)#address-family ipv6 unicast
PE7(config-bgp-nbr)#exit
commit

show route