ECS4660-28F_Management Guide-R03

Table Of Contents
C
HAPTER
51
| IP Routing Commands
Border Gateway Protocol (BGPv4)
– 1849
DEFAULT SETTING
No networks are configured.
COMMAND USAGE
Use this command to specify the networks to advertise to BGP
neighbors. BGP networks can be learned from directly connected
routes, dynamic routing, or static route sources.
BGP only sends and receives updates on interfaces specified by this
command. If a network is not specified, the interfaces in that network
will not be advertised in any BGP updates.
A backdoor network has an administrative distance of 200, making
routes learned through interior gateway protocols (RIP, OSPF, iBGP)
preferred. A backdoor network is treated as a local network, except
that it not advertised by the local router. A backdoor route should not
be sourced at the local router, but should be one that has been learned
from external neighbors. However, since these routes are treated as a
local network, they are given priority over routes learned through eBGP,
even if the distance of the external route is shorter.
EXAMPLE
Console(config-router)#network 172.16.0.0 255.255.0.0
Console(config-router)#
redistribute This command redistributes routes from one routing domain to another.
Use the no form to stop redistributing an previously configured entry.
SYNTAX
redistribute {connected | ospf | rip | static} [metric metric-value]
[route-map map-name]
no redistribute {connected | ospf | rip | static}
[metric metric-value] [route-map map-name]
connected - Imports routes that are established automatically just
by enabling IP on an interface.
ospf - External routes will be imported from the Open Shortest Path
First (OSPF) protocol into this routing domain.
rip - External routes will be imported from the Routing Information
Protocol (RIP) into this routing domain.
static - Static routes will be imported into this routing domain.
metric-value - Metric value assigned to all external routes for the
specified protocol. (Range: 1-16)
map-name – Name of the route map. The route map can be used to
filter the networks to advertise, and to modify their weight or other
attributes. (Range: 1-80 characters)