Command Reference Guide
BGP Address Family Command Set
Redistributing OSPF routes imports those routes into BGP without specifying those subnets with a network
statement. The OSPF routes imported this way are not covered by a network command.
If redistribute ospf is enabled and no metric value is specified, the value defaults to 0.
Usage Examples
The following example imports OSPF routes into the IPv4 BGP AF on the default VRF instance:
(config)#router bgp 100
(config-bgp)#address-family ipv4
(config-bgp-ipv4)#redistribute ospf
The following example imports OSPF routes into the IPv4 BGP AF on the nondefault VRF instance named
RED1:
(config)#vrf RED1 route-distinguisher ip 192.17.250.24:33
(config)#router bgp 100
(config-bgp)#vrf RED1
(config-bgp-vrf)#address-family ipv4
(config-bgp-vrf-ipv4)#redistribute ospf
60000CRG0-35E
Copyright © 2012 ADTRAN, Inc.
2911