- Preface
- Cisco XML API Overview
- Cisco XML Router Configuration and Management
- Cisco XML Operational Requests and Fault Management
- Cisco XML and Native Data Operations
- Cisco XML and Native Data Access Techniques
- Cisco XML and Encapsulated CLI Operations
- Cisco XML and Large Data Retrieval
- Cisco XML Security
- Cisco XML Schema Versioning
- Alarms
- Error Reporting in Cisco XML Responses
- Summary of Cisco XML API Configuration Tags
- Cisco XML Transport and Event Notifications
- Cisco XML Schemas
- Network Configuration Protocol
- Cisco IOS XR Perl Scripting Toolkit
- Sample BGP Configuration
- Glossary
- Index
Sample BGP Configuration
The following excerpt displays the relevant portions of the CLI configuration, which is used as a basis for the Border Gateway Protocol (BGP) examples contained within this document:
router bgp 3
timers bgp 60 180
bgp router-id 10.1.0.1
bgp update-delay 55
bgp cluster-id 10.1.0.2
bgp graceful-restart purge-time 300
default-information originate
bgp graceful-restart restart-time 180
bgp log neighbor changes disable
default-metric 10
bgp graceful-restart stalepath-time 300
bgp graceful-restart
bgp as-path-loopcheck
socket send-buffer-size 131072
bgp bestpath med always
bgp bestpath compare-routerid
bgp bestpath med missing-as-worst
socket receive-buffer-size 131072
address-family ipv4 unicast
distance bgp 140 145 150
bgp dampening 1 1400 1800 2
bgp scan-time 30
network 10.100.1.0/24
network 10.100.2.0/24
aggregate-address 10.100.0.0/16 summary-only
redistribute connected route-map MATCH_ONE_CONNECT
redistribute static route-map MATCH_ONE_STATIC
exit
address-family ipv4 multicast
distance bgp 120 125 130
maximum-paths 6
bgp dampening 2 2400 2800 3
bgp scan-time 40
network 10.10.1.0/24
network 10.10.2.0/24
aggregate-address 80.100.0.0/16 summary-only
redistribute connected
exit
.
.
.
neighbor 10.0.101.1
remote-as 1
ebgp-multihop 255
address-family ipv4 unicast
send-community-ebgp
route-map EBGP_IN_1 in
exit
address-family ipv4 multicast
send-community-ebgp
route-map EBGP_IN_1 in
exit
exit
neighbor 10.0.101.2
remote-as 2
ebgp-multihop 255
address-family ipv4 unicast
send-community-ebgp
capability orf prefix-list receive
route-map EBGP_IN_1 in
exit
address-family ipv4 multicast
send-community-ebgp
route-map EBGP_IN_1 in
exit
exit
neighbor 10.0.101.3
remote-as 3
address-family ipv4 unicast
route-map IBGP_IN_1 in
exit
address-family ipv4 multicast
route-map IBGP_IN_1 in
exit
exit
neighbor 10.0.101.4
remote-as 4
ebgp-multihop 255
address-family ipv4 unicast
route-map EBGP_IN_2 in
exit
address-family ipv4 multicast
route-map EBGP_IN_2 in
exit
exit
neighbor 10.0.101.5
remote-as 5
ebgp-multihop 255
address-family ipv4 unicast
route-map EBGP_IN_3 in
exit
address-family ipv4 multicast
route-map EBGP_IN_3 in
exit
exit
neighbor 10.0.101.6
remote-as 6
ebgp-multihop 255
address-family ipv4 unicast
prefix-list orf in
capability orf prefix-list both
exit
address-family ipv4 multicast
prefix-list orf in
exit
exit
neighbor 10.0.101.7
remote-as 7
ebgp-multihop 255
address-family ipv4 unicast
prefix-list orf in
capability orf prefix-list send
exit
address-family ipv4 multicast
prefix-list orf in
exit
exit
neighbor 10.0.101.8
remote-as 8
ebgp-multihop 255
address-family ipv4 multicast
exit
exit
.
.
.
exit