[c-nsp] "split" BGP config

Jared Mauch jared at puck.nether.net
Mon Jul 3 17:53:27 EDT 2006


On Mon, Jul 03, 2006 at 08:45:07AM +0100, Steve Lalonde wrote:
> Ed Butler wrote:
> > There's an annoying configuration format I can't work out how to get rid
> > of on one of our Sup720s. 
> > 
> > Basically the config looks like this:
> > ==========================
> > router bgp 1234
> >  neighbor 3.4.5.6 remote-as 5678
> >  neighbor 3.4.5.6 password 7 15401804052318312B3B3A
> >  !
> >  address-family ipv4
> >  neighbor 3.4.5.6 activate
> >  neighbor 3.4.5.6 soft-reconfiguration inbound
> >  neighbor 3.4.5.6 route-map TRANSIT-AS5678-IN in
> >  neighbor 3.4.5.6 route-map TRANSIT-AS5678-OUT out
> > ==========================
> > 
> > And on all our other 6500s the same config would look like this:
> > ==========================
> > router bgp 1234
> >  neighbor 3.4.5.6 remote-as 5678
> >  neighbor 3.4.5.6 password 7 15401804052318312B3B3A
> >  neighbor 3.4.5.6 soft-reconfiguration inbound
> >  neighbor 3.4.5.6 route-map TRANSIT-AS5678-IN in
> >  neighbor 3.4.5.6 route-map TRANSIT-AS5678-OUT out
> > ==========================
> > 
> > I find the latter the easier one to work with, how would you get the
> > config back to this format?
> > 
> > Regards,
> > 
> > Ed Butler
> > RapidSwitch Ltd
> > DDI: 020 7106 0731
> > 
> 
> 
> 
> I would get used to the new format you will have to as soon as you start
>  using IPv6 or Multicast :)
> 
> you can convert the other router the the new format with this command
> bgp update-cli

	Also some cisco teams have stopped testing the
"older" style configs, so it's possible to see crashes if you're
not entering the configs in "bgp reorg" style.

	- jared

-- 
Jared Mauch  | pgp key available via finger from jared at puck.nether.net
clue++;      | http://puck.nether.net/~jared/  My statements are only mine.


More information about the cisco-nsp mailing list