для Cisco Cisco Packet Data Gateway (PDG)
Routing
BGP-4 Routing ▀
ASR 5500 System Administration Guide, StarOS Release 17 ▄
247
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.