DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide
114
7-65 route-preference
This command is used to set the BGP route preference. Use the no form of this command to restore the default value
of the BGP route preference.
route-preference {ibgp | ebgp}
value
no route-preference
Parameters
ospf
Specifies to redistribute OSPF routes to BGP.
all
- Specifies to redistribute both OSPF AS-internal and OSPF AS-external
routes to BGP.
internal
- Specifies to redistribute only the OSPF AS-internal routes.
external
- Specifies to redistribute only the OSPF AS-external routes, including
type-1 and type-2 routes.
type_1
- Specifies to redistribute only the OSPF AS-external type-1 routes.
type_2
- Specifies to redistribute only the OSPF AS-external type-2 routes.
inter+e1
- Specifies to redistribute only the OSPF AS-external type-1 and OSPF
AS-internal routes.
inter+e2
- Specifies to redistribute only the OSPF AS-external type-2 and OSPF
AS-internal routes.
NUMBER
(Optional) Specifies the BGP metric value for the redistributed routes. Enter the
metric value used here. This value must be between 0 and 4294967295.
MAP-NAME
(Optional) Specifies a route map which will be used as the criteria to determine
whether to redistribute specific routes. Enter the route map name used here. This
name can be up to 16 characters long.
Default
By default, this option is disabled.
Command Mode
Router Configuration Mode.
Address Family Configuration Mode (IPv4 Unicast and VRF).
Command Default Level
Level: 8. (
EI Mode Only Command
)
Usage Guideline
When a switch supports multiple routing protocols, the coordination between these
protocols becomes an important task. This command is used for redistribute prefixes
from other routing protocols to BGP.
You can verify your settings by entering
show ip bgp
parameters command.
Example
This example shows how to redistribute RIP route to BGP and use the optional
parameters to modify the routes.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#router bgp 100
DXS-3600-32S(config-router)#redistribute rip metric 2000 route-map my-may
DXS-3600-32S(config-router)#
value
Specifies the preference of the BGP route. The value range is 1-999.
Default
The default route-preference for EBGP is 70 and IBGP is 130.
Command Mode
Router Configuration Mode.
Address Family Configuration Mode (VRF).
Command Default Level
Level: 8. (
EI Mode Only Command
)
Содержание DXS-3600-16S
Страница 1: ...CLI Reference Guide Product Model DXS 3600 Series Layer 2 3 Managed 10GbE Switch Release 1 10 ...
Страница 232: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 224 ...
Страница 301: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 293 ...
Страница 349: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 341 ...
Страница 494: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 486 ...
Страница 564: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 556 ...
Страница 649: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 641 ...