Cisco Systems IOS XR User Manual Page 92

  • Download
  • Add to my manuals
  • Print
  • Page
    / 282
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 91
Implementing BGP on Cisco IOS XR Software
Configuration Examples for Implementing BGP on Cisco IOS XR Software
RC-76
Cisco IOS XR Routing Configuration Guide
Configuration Examples for Implementing BGP on Cisco IOS XR
Software
This section provides the following configuration examples:
Enabling BGP: Example, page RC-76
Displaying BGP Update Groups: Example, page RC-77
BGP Neighbor Configuration: Example, page RC-78
BGP Confederation: Example, page RC-78
BGP Route Reflector: Example, page RC-79
Enabling BGP: Example
The following shows how to enable BGP.
prefix-set static
2020::/64,
2012::/64,
10.10.0.0/16,
10.2.0.0/24
end-set
route-policy pass-all
pass
end-policy
route-policy set_next_hop_agg_v4
set next-hop 10.0.0.1
end-policy
route-policy set_next_hop_static_v4
if (destination in static) then
set next-hop 10.1.0.1
else
drop
endif
end-policy
route-policy set_next_hop_agg_v6
set next-hop 2003::121
end-policy
route-policy set_next_hop_static_v6
if (destination in static) then
set next-hop 2011::121
else
drop
endif
end-policy
router /jointfilesconvert/86220/bgp 65000
/jointfilesconvert/86220/bgp fast-external-fallover disable
/jointfilesconvert/86220/bgp confederation peers
65001
65002
/jointfilesconvert/86220/bgp confederation identifier 1
/jointfilesconvert/86220/bgp router-id 1.1.1.1
address-family ipv4 unicast
aggregate-address 10.2.0.0/24 route-policy set_next_hop_agg_v4
aggregate-address 10.3.0.0/24
redistribute static route-policy set_next_hop_static_v4
Page view 91
1 2 ... 87 88 89 90 91 92 93 94 95 96 97 ... 281 282

Comments to this Manuals

No comments