cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1948
Views
0
Helpful
5
Replies

address-family ipv6 labeled-unicast

Hi,

    I am seeing below error while apply the labeled-unicast config. Please let me know what is wrong with this config.

RP/0/RSP0/CPU0:ios(config-bgp-nbr)#address-family ipv6 labeled-unicast
RP/0/RSP0/CPU0:ios(config-bgp-nbr-af)#

RP/0/RSP0/CPU0:ios(config-bgp-nbr-af)#commit
Thu Jun 29 13:56:08.123 UTC

% Failed to commit one or more configuration items during a pseudo-atomic operation. All changes made have been reverted. Please issue 'show configuration failed [inheritance]' from this session to view the errors
RP/0/RSP0/CPU0:ios(config-bgp-nbr-af)#

RP/0/RSP0/CPU0:ios(config-bgp-nbr-af)#show config failed
Thu Jun 29 14:04:17.809 UTC
!! SEMANTIC ERRORS: This configuration was rejected by
!! the system due to semantic errors. The individual
!! errors with each failed configuration command can be
!! found below.


router bgp 1
neighbor 2001::1
address-family ipv6 labeled-unicast
!!% Change would result in neighbor (2001::1) being activated with an invalid address family
!
!
!
end

RP/0/RSP0/CPU0:ios(config-bgp-nbr-af)#

RP/0/RSP0/CPU0:ios(config-bgp-nbr-af)#show run router bgp
Thu Jun 29 14:05:33.525 UTC
router bgp 1
address-family ipv4 unicast
redistribute connected
allocate-label all
!
address-family ipv6 unicast
redistribute connected
allocate-label all
!
neighbor 1.1.1.2
remote-as 1
address-family ipv4 unicast
!
address-family ipv4 labeled-unicast
!
!
neighbor 2001::1
remote-as 1
address-family ipv6 unicast
!
!

Thanks

5 Replies 5

Hi

It address-family ipv4 labeled-unicast should be at the end, for example:

router bgp 1
address-family ipv6 unicast
neighbor 2001::1
remote-as 1
address-family ipv6 labeled-unicast

then commit

and once completed this part you can add other commands or attributes:

router bgp 1
address-family ipv6 unicast
redistribute connected
allocate-label all
address-family ipv6 labeled-unicast

commit

Hope it is useful

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Hi,

   Thanks for your time. But I still see this. Please let me know if I am missing something here.

RP/0/RSP0/CPU0:ios(config)#no router bgp 1
RP/0/RSP0/CPU0:ios(config)#commit
Thu Jun 29 17:15:30.819 UTC
RP/0/RSP0/CPU0:ios(config)#router bgp 1
RP/0/RSP0/CPU0:ios(config-bgp)#address-family ipv6 unicast
RP/0/RSP0/CPU0:ios(config-bgp-af)#exit
RP/0/RSP0/CPU0:ios(config-bgp)#commit
Thu Jun 29 17:15:49.534 UTC
RP/0/RSP0/CPU0:ios(config-bgp)#neighbor 2001::1
RP/0/RSP0/CPU0:ios(config-bgp-nbr)#remote-as 1
RP/0/RSP0/CPU0:ios(config-bgp-nbr)#address-family ipv6 labeled-unicast
RP/0/RSP0/CPU0:ios(config-bgp-nbr-af)#commit
Thu Jun 29 17:16:18.141 UTC

% Failed to commit one or more configuration items during a pseudo-atomic operation. All changes made have been reverted. Please issue 'show configuration failed [inheritance]' from this session to view the errors
RP/0/RSP0/CPU0:ios(config-bgp-nbr-af)#

P/0/RSP0/CPU0:ios(config-bgp-nbr-af)#show config fa
Thu Jun 29 17:17:17.719 UTC
!! SEMANTIC ERRORS: This configuration was rejected by
!! the system due to semantic errors. The individual
!! errors with each failed configuration command can be
!! found below.


router bgp 1
neighbor 2001::1
address-family ipv6 labeled-unicast
!!% Change would result in neighbor (2001::1) being activated with an invalid address family
!
!
!
end

RP/0/RSP0/CPU0:ios(config-bgp-nbr-af)#

Thanks

Hi

You are welcome, you should have the following config, Just for curious you are configuring 6PE, right?   ipv6 labeled can be assigned to ipv4 only into ipv6 environment. I have used it just for 6PE deployments, to pass ipv6 addresses over ipv4 networks.

router bgp 1
address-family ipv4 unicast
!
address-family ipv6 unicast
!
neighbor 1.1.1.2
remote-as 1
address-family ipv4 unicast
!
address-family ipv6 labeled-unicast
!
!
neighbor 2001::1
remote-as 1
address-family ipv6 unicast

Other example

router bgp 1
address-family ipv4 unicast
!
address-family ipv6 unicast
!
neighbor 1.1.1.2
remote-as 1
address-family ipv4 unicast
!
address-family ipv6 labeled-unicast
!
!
neighbor 2.2.2.2
remote-as 2
address-family ipv6 labeled-unicast
!
!
neighbor 2001::1
remote-as 1
address-family ipv6 unicast

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Oh....I did not know that "ipv6 labeled-unicast" is not supported for ipv6 neighbors. Thanks for the info. I will try this option with ipv4 neighbors.

Thanks

Hi, 

It is usually used to transport IPv6 traffic over MPLS IPv4.




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<
Review Cisco Networking products for a $25 gift card