Re: When configuring MPLS VPNs, and you accidentally type ipv4

From: Thomas Fowles (tfowles@gmail.com)
Date: Fri Apr 18 2008 - 02:05:22 ART


Darth-

It seems that typing "address-family ipv4" acheives the same result as
typing "bgp upgrade-cli", which upgrades your config from NLRI to AFI
format. I tried it myself ... prior to typing "address-family ipv4", the
"bgp upgrade-cli" command is available; if I put the address-family command
in, the upgrade-cli command option disappears.

http://www.cisco.com/en/US/docs/ios/12_3t/ip_route/command/reference/ip2_b1gt.html#wp1084709

Once your BGP config is in "upgraded" AFI format, the only way to revert is
to delete the BGP process and "re-initialize" it (type/paste it back in NLRI
mode).

-Tom
CCIE#18762

On Thu, Apr 17, 2008 at 11:32 PM, darth router <darklordrouter@gmail.com>
wrote:

> I know it doesn't matter that it's there, but it's clutter. I can't remove
> it with the no address-family ipv4 command. I can kill it by killing
> everything with no router bgp 1, then redoing. I'm just curious why you
> can't "no" it out of the config once you accidentally put in the command.
>
> router bgp 1
> bgp log-neighbor-changes
> neighbor 150.1.4.4 remote-as 1
> neighbor 150.1.4.4 update-source Loopback0
> !
> address-family ipv4
> neighbor 150.1.4.4 activate
> neighbor 150.1.4.4 next-hop-self
> no auto-summary
> no synchronization
> exit-address-family
> !
> address-family vpnv4
> neighbor 150.1.4.4 activate
> neighbor 150.1.4.4 send-community both
> exit-address-family
>
>
> Pass the CCIE in six weeks, Guaranteed!
> http://www.certscience.com/CCIE
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html

Pass the CCIE in six weeks, Guaranteed!
http://www.certscience.com/CCIE



This archive was generated by hypermail 2.1.4 : Thu May 01 2008 - 08:25:51 ART