Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

address-family context

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).

1 REPLY

Re: address-family context

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.

126
Views
10
Helpful
1
Replies