Border Gateway Protocol IPv4 (BGPv4) | 365
Parameters
Defaults
Not configured.
Command Modes
ROUTER BGP
Usage
Information
With FTOS version 8.3.1.0 and later, the redistribute command can be used to advertise the IGP cost as 
the MED on redistributed routes. When the route-map is set with metric-type internal and applied 
outbound to an EBGP peer/peer-group, the advertised routes corresponding to those peer/peer-group 
will have IGP cost set as MED.
When you enter redistribute isis process-id command without any other parameters, FTOS 
redistributes all OSPF internal routes, external type 1 routes, and external type 2 routes. This feature is 
not supported by an RFC.
Command
History
router bgp 
c e s
Enter ROUTER BGP mode to configure and enable BGP.
Syntax
router bgp as-number
To disable BGP, use the no router bgp as-number command.
Parameters
 
Defaults
Not enabled.
Command Modes
CONFIGURATION
Example
Figure 12-4.  Command Example: router bgp 
process-id 
Enter the number of the OSPF process.
Range: 1 to 65535
match external {1 | 2} 
(OPTIONAL) Enter the keywords match external to redistribute OSPF 
external routes. You can specify 1 or 2 to redistribute those routes only.
match internal (OPTIONAL) Enter the keywords match internal to redistribute OSPF 
internal routes only.
route-map map-name  (OPTIONAL) Enter the keywords route-map followed by the name of a 
configured Route map.
Version 8.3.1.0 Introduced ability to substitute IGP cost for MED when a peer/peer-group 
outbound route-map is set as internal.
Version 7.8.1.0 Introduced support on S-Series
Version 7.7.1.0 Introduced support on C-Series
as-number
Enter the AS number.
Range: 1 to 65535 (2-Byte) or 1-4294967295 (4-Byte) 
or
0.1-65535.65535 (Dotted format)
(conf)#router bgp 3
(conf-router_bgp)#