[c-nsp] "split" BGP config

Ed Butler ed.butler at rapidswitch.com
Sun Jul 2 15:14:20 EDT 2006


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

RapidSwitch Ltd, 5th Floor, Sovereign House, 227 Marsh Wall, London, E14
9SD

This email message is intended only for the addressee(s) and contains
information that may be confidential and/or copyright.  If you are not
the intended recipient please notify the sender by reply email and
immediately delete this email. Use, disclosure or reproduction of this
email by anyone other than the intended recipient(s) is strictly
prohibited. No representation is made that this email or any attachments
are free of viruses. Virus scanning is recommended and is the
responsibility of the recipient. 



More information about the cisco-nsp mailing list