PLANET XGS3-24040 User Manual

Page 321

Advertising
background image

Chapter 39 BGP

39-15

17 Configure Path-selected rules

Command

Explanation

BGP configuration mode

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. Configure redistribution of OSPF routing to BGP

(1) Enable redistribution of OSPF routing to BGP

Command

Explanation

Router BGP Configuration Mode

redistribute ospf [<process-id>]

[route-map<word>]

no redistribute ospf [<process-id>]

To enable or disable the redistribution of

OSPF routing to BGP.

(2)Display and debug the information about configuration of redistribution of OSPF routing to BGP

Command

Explanation

Admin Mode and Configuration Mode

show ip bgp redistribute

To enable or disable the redistribution of

OSPF routing to BGP.

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.

Advertising