[c-nsp] "split" BGP config
Steve Lalonde
steve at enta.net
Mon Jul 3 03:45:07 EDT 2006
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
unfortunately there is no easy way to convert back
--
Steve Lalonde RTFM
Chief Technical Officer
Entanet International Ltd
http://www.enta.net/
More information about the cisco-nsp
mailing list