Cisco Cisco ASR 5000

Page of 9109
  Context Configuration Mode Commands N-R 
router  ▀   
 
Command Line Interface Reference, StarOS Release 18  ▄  
 
   
2769 
router 
Enables BGP, Open Shortest Path First (OSPF) or OSPF version 3 (OSPFv3) routing functionality and enters the 
corresponding Configuration Mode. Refer to the BGP Configuration Mode CommandsOSPF Configuration Mode 
Commands
 or OSPFv3 Configuration Mode Commands chapter for details on associated Configuration mode 
commands. 
Product
 
PDSN 
HA 
GGSN 
P-GW 
SAEGW 
Privilege
 
Security Administrator, Administrator 
Mode
 
Exec > Global Configuration > Context Configuration 
configure > context context_name
 
Entering the above command sequence results in the following prompt: 
[context_name]host_name(config-ctx)# 
Syntax
 
[ no ] router { bgp as_number | ospf | ospfv3 | rip } 
no
 
Disables the specified routing support in the current context. 
bgp as_number
 
Enables a BGP routing service for this context and assigns it the specified Autonomous System (AS) number 
before entering the BGP Configuration mode. 
as_number
 must be an integer from 1 through 4294967295. 
Important:
  BGP routing is supported only for use with the HA. 
ospf
 
Enables OSPF routing in this context and enters OSPF Configuration mode. 
ospfv3
 
Enables OSPFv3 routing in this context and enter OSPFv3 Configuration mode. 
Usage 
Use this command to enable and configure OSPF and BGP routing in the current context.