Cisco Cisco Packet Data Gateway (PDG)

Seite von 453
  Routing 
BGP-4 Routing  ▀   
 
ASR 5000 System Administration Guide, StarOS Release 18  ▄  
 
   
287 
Important:
  If a BGP task restarts because of a processing card failure, a migration, a crash, or the removal of a 
processing card, all peering session and route information is lost. 
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. 
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 ] 
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. 
 
A maximum of 64 route-maps are supported per context. 
 
Save your configuration as described in the Verifying and Saving Your Configuration chapter.