
183
bgp always-compare-med
no bgp always-compare-med
bgp bestpath as-path ignore
no bgp bestpath as-path ignore
bgp bestpath compare-confed-aspath
no bgp bestpath
compare-confed-aspath
bgp bestpath compare-routerid
no bgp bestpath compare-routerid
bgp bestpath med {[confed]
[missing-is-worst]}
no bgp bestpath med {[confed]
[missing-is-worst]}
BGP may change some path-select rules
by configuration to change the best
selection and compare MED under EBGP
environment through these command,
ignore the AS-PATH length, compare the
confederation as-path length, compare the
route identifier and compare the
confederation MED etc. Its format “no”
recovers the default route path-selected
rules.
18
.
Redistribution of OSPF Routing to BGP
(
1
)
To enable redistribution of OSPFv2 routing to BGP
Command
Notes
Router bgp configuration mode
redistribute ospf [<process-id>]
[route-map<word>]
no redistribute ospf [<process-id>]
To enable or disable redistribution of
OSPFv2 routing to BGP.
(
2
)
Display the information about configuration of redistribution of OSPF routing to BGP
Command
Notes
Admin mode and configuration mode
show ip bgp redistribute
To display BGP routing which is
redistributed from other routing protocols.
Admin mode
debug bgp redistribute message
send
no debug bgp redistribute message
send
debug bgp redistribute route receive
no debug bgp redistribute route
receive
To enable or disable debugging messages
sent by BGP for redistributing OSPF
routing.
To enable or disable debugging messages
received from NSM for redistributing
OSPF routing.
1.8.3 Commands for BGP