
NOTE
To set the local preference for individual routes, use route maps.
To change the default local preference to 200, enter the following command.
device(config-bgp)# default-local-preference 200
Syntax:
[no] default-local-preference
num
The
num
parameter indicates the preference and can be a value from 0 - 4294967295.
Using the IP default route as a valid next-hop for a BGP4 route
By default, the device does not use a default route to resolve a BGP4 next-hop route. If the IP route lookup for the BGP4 next-hop does
not result in a valid IGP route (including static or direct routes), the BGP4 next-hop is considered to be unreachable and the BGP4 route
is not used.
In some cases, such as when the device is acting as an edge device, you can allow the device to use the default route as a valid next-hop.
To do so, enter the following command at the BGP4 configuration level of the CLI.
device(config-bgp)# next-hop-enable-default
Syntax:
[no] next-hop-enable-default
Changing the default MED (Metric) used for route redistribution
The Brocade device can redistribute directly connected routes, static IP routes, RIP routes, and OSPF routes into BGP4. The MED
(metric) is a global parameter that specifies the cost that will be applied to all routes by default when they are redistributed into BGP4.
When routes are selected, lower metric values are preferred over higher metric values. The default BGP4 MED value is 0 and can be
assigned a value from 0 through 4294967295.
NOTE
RIP and OSPF also have default metric parameters. The parameters are set independently for each protocol and have different
ranges.
To change the default metric to 40, enter the following command.
device(config-bgp-router)# default-metric 40
Syntax:
default-metric
num
The
num
indicates the metric and can be a value from 0 through 4294967295.
Enabling next-hop recursion
For each BGP4 route learned, the device performs a route lookup to obtain the IP address of the next-hop for the route. A BGP4 route is
eligible for addition in the IP route table only if the following conditions are true:
•
The lookup succeeds in obtaining a valid next-hop IP address for the route.
•
The path to the next-hop IP address is an IGP path or a static route path.
By default, the software performs only one lookup for the next-hop IP address for the BGP4 route. If the next-hop lookup does not result
in a valid next-hop IP address, or the path to the next-hop IP address is a BGP4 path, the software considers the BGP4 route destination
to be unreachable. The route is not eligible to be added to the IP route table.
Optional BGP4 configuration tasks
FastIron Ethernet Switch Layer 3 Routing
382
53-1003627-04
Summary of Contents for FastIron SX 1600
Page 2: ...FastIron Ethernet Switch Layer 3 Routing 2 53 1003627 04 ...
Page 16: ...FastIron Ethernet Switch Layer 3 Routing 16 53 1003627 04 ...
Page 20: ...FastIron Ethernet Switch Layer 3 Routing 20 53 1003627 04 ...
Page 142: ...FastIron Ethernet Switch Layer 3 Routing 142 53 1003627 04 ...
Page 150: ...FastIron Ethernet Switch Layer 3 Routing 150 53 1003627 04 ...
Page 200: ...FastIron Ethernet Switch Layer 3 Routing 200 53 1003627 04 ...
Page 214: ...FastIron Ethernet Switch Layer 3 Routing 214 53 1003627 04 ...
Page 350: ...FastIron Ethernet Switch Layer 3 Routing 350 53 1003627 04 ...
Page 476: ...FastIron Ethernet Switch Layer 3 Routing 476 53 1003627 04 ...
Page 588: ...FastIron Ethernet Switch Layer 3 Routing 588 53 1003627 04 ...