Cisco Cisco Packet Data Interworking Function (PDIF) Guía De Administador
Routing
BGP-4 Routing ▀
Cisco ASR 5500 System Administration Guide ▄
245
Configuring BGP
This section describes how to configure and enable basic BGP routing support in the system.
config
context context_name
router bgp AS_number
neighbor ip_address remote-as AS_num
Notes:
A maximum of 64 BGP peers are supported per context.
Save your configuration as described in the Verifying and Saving Your Configuration chapter.
Redistributing Routes Into BGP (Optional)
Redistributing routes into BGP simply means that any routes from another protocol that meet a specified criterion, such
as a route type, or a rule within a route-map, are redistributed through the BGP protocol to all BGP areas. This is an
optional configuration.
as a route type, or a rule within a route-map, are redistributed through the BGP protocol to all BGP areas. This is an
optional configuration.
config
context context_name
router bgp as_number
redistribute bgp { bgp | connected | static } [ metric metric_value ]
[ metric-type { 1 | 2 } ] [ route-map route_map_name ]
[ metric-type { 1 | 2 } ] [ route-map route_map_name ]
Notes:
The redistribution options are connected, ospf, rip, or static. Refer to the Border Gateway Protocol
Configuration Mode Commands chapter of the Command Line Interface Reference for details on the
redistribute command.
redistribute command.
A maximum of 64 route-maps are supported per context.
Save your configuration as described in the Verifying and Saving Your Configuration chapter.
ICSR and SRP Groups
BGP is employed with Interchassis Session Recovery (ICSR) configurations linked via Service Redundancy Protocol
(SRP). By default an ICSR failover is triggered when all BGP peers within a context are down.
(SRP). By default an ICSR failover is triggered when all BGP peers within a context are down.
Optionally, you can configure SRP peer groups within a context. ICSR failover would then occur if all peers within a
group fail. This option is useful in deployments in which a combination of IPv4 and IPv6 peers are spread across
multiple paired VLANs, and IPv4 or IPv6 connectivity is lost by all members of a peer group.
group fail. This option is useful in deployments in which a combination of IPv4 and IPv6 peers are spread across
multiple paired VLANs, and IPv4 or IPv6 connectivity is lost by all members of a peer group.
For additional information refer to Interchassis Session Recovery in this guide and the description of the monitor bgp,
monitor diameter and monitor authentication-probe commands in the Service Redundancy Protocol Configuration
Mode Commands chapter of the Command Line Interface Reference.
monitor diameter and monitor authentication-probe commands in the Service Redundancy Protocol Configuration
Mode Commands chapter of the Command Line Interface Reference.