Per address-family BGP router-id (bug ?)

I am going through a lab where the solution guide, says to create bgp peering between two vfr (by way of a GRE tunnel), in this it show setting the bgp router-id per address-family.  I am running 12.4(15)T15 code, but on both my 2811 and 1841s, when I enter the command under the address-family, it configures it globally.  

Can some else comment/test on this feature, at 12.4(15)T ?

Rack15R3(config)#ip vrf test
Rack15R3(config-vrf)#rd 5:5
!
Rack15R3(config-vrf)#router bgp 100
Rack15R3(config-router)#address-family ipv4 vrf test
Rack15R3(config-router-af)#bgp ?
  redistribute-internal  Allow redistribution of iBGP into IGPs (dangerous)
  suppress-inactive      Suppress routes that are not in the routing table
!
Rack15R3(config-router-af)#bgp router-id 1.1.1.1
Rack15R3(config-router)#
!
Rack15R3(config-router)#do show run | sec router bgp
router bgp 100
 no synchronization
 bgp router-id 1.1.1.1
 bgp log-neighbor-changes
 no auto-summary
Rack15R3(config-router)#


Rack15R3(config-router)#do show ver | i IOS
Cisco IOS Software, 2800 Software (C2800NM-ADVENTERPRISEK9-M), Version 12.4(15)T15, RELEASE SOFTWARE (fc3)
Rack15R3(config-router)#

Comments

  • No, but thanks for the suggestion. 

    Rack15R3(config)#router bgp 100
    Rack15R3(config-router)#bgp router-id ?
      A.B.C.D  Manually configured router identifier

    Rack15R3(config-router)#bgp router-id vrf ?
    % Unrecognized command
    Rack15R3(config-router)#bgp router-id vrf

  • Bummer.  Does globally configuring "no bgp default ipv4-unicast" give you a per-AF option?  Those would have been my two guesses.



  • Humm, good notion...I will give that a try in a min or two.

     

    Thanks for the suggestions.

    K

  • No luck...and I have try this on three different builds of 12.4(15)T.

    Version 12.4(15)T10
    Version 12.4(15)T15
    Verison 12.4(15)T17

     

    Rack15R3(config)#ip vrf test
    Rack15R3(config-vrf)#rd 100:100
    Rack15R3(config-vrf)#router bgp 100
    Rack15R3(config-router)#add
    Rack15R3(config-router)#address-family ipv4 vrf test
    Rack15R3(config-router-af)#bgp ?
      redistribute-internal  Allow redistribution of iBGP into IGPs (dangerous)
      suppress-inactive      Suppress routes that are not in the routing table
    Rack15R3(config-router-af)#bgp router-id 1.1.1.1
    Rack15R3(config-router)#bgp router-id ?
      A.B.C.D  Manually configured router identifier
    Rack15R3(config-router)#no bgp def ipv4-unicast
    Rack15R3(config-router)#bgp router-id ?
      A.B.C.D  Manually configured router identifier

  • I just tested with 12.4(24)T...it has the command.

     

    Rack15R6(config-vrf)#router bgp 100
    Rack15R6(config-router)#address-family ipv4 vrf test2
    Rack15R6(config-router-af)#
    Rack15R6(config-router-af)#
    Rack15R6(config-router-af)#bgp router-id ?
      A.B.C.D      Manually configured router identifier
      auto-assign  Automatically assign bgp router id

    Rack15R6(config-router-af)#bgp router-id
    % Incomplete command.

    Rack15R6(config-router-af)#
    Rack15R6(config-router-af)#
    Rack15R6(config-router-af)#bgp router-id 2.2.2.2
    Rack15R6(config-router-af)#
    Rack15R6(config-router-af)#exit
    Rack15R6(config-router)#bgp router-id ?
      A.B.C.D  Manually configured router identifier
      vrf      vrf-specific router id configuration

    Rack15R6(config-router-af)#
    Rack15R6(config-router-af)#do show ver | i IOS
    Cisco IOS Software, 1841 Software (C1841-ADVENTERPRISEK9-M), Version 12.4(24)T7, RELEASE SOFTWARE (fc2)
    Rack15R6(config-router-af)#

Sign In or Register to comment.