address-family context

Unanswered Question
Apr 24th, 2008

Is there a way to find out in which address-family context we are currently configure ?

R2(config-router-af)#

Is this af A:B or C:D ?

Sometimes it is hard to keep track of what af was entered, especially if we do a lot of "do show xy).

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
mohammedmahmoud Thu, 04/24/2008 - 11:34

Hi,

You can simply do show history to see your recent entered commands, and to check into which address-family you have entered, and further on you can increase the history buffer:

R5(config)#ip vrf abc

R5(config-vrf)#rd 1:1

R5(config-vrf)#route

R5(config-vrf)#route-target bot

R5(config-vrf)#route-target both 1:1

R5(config-vrf)#router bgp 1

R5(config-router)#address

R5(config-router)#address-family ipv

R5(config-router)#address-family ipv4

R5(config-router)#address-family ipv4 vrf

R5(config-router)#address-family ipv4 vrf abc

R5(config-router-af)#do sh hist

ip vrf abc

rd 1:1

route-target both 1:1

router bgp 1

address-family ipv4 vrf abc

do sh hist

BR,

Mohammed Mahmoud.

Actions

This Discussion