Edge-Core ECS4660-28F Management Manual page 1914

Layer 3
Hide thumbs Also See for ECS4660-28F:
Table of Contents

Advertisement

| IP Routing Commands
C
51
HAPTER
Policy-based Routing for BGP
set local-preference
set metric
E
XAMPLE
Console(config)#route-map RD permit 14
Console(config-route-map)#match peer 192.168.0.99
Console(config-route-map)#set ip next-hop 192.168.0.254
Console(config-route-map)#
This command sets the priority within the local AS for a routing message.
Use the no form to remove this entry from a route map.
S
YNTAX
set local-preference preference
no set local-preference
preference – Degree of preference iBGP peers give local routes
during BGP best path selection. The higher the value, the more the
route is to be preferred. (Range: 1-4294967295)
C
M
OMMAND
ODE
Route Map
C
U
OMMAND
SAGE
The preference is sent only to routers in the local autonomous system.
To specify the metric for inter-autonomous systems, use the
command.
A route with a higher local priority level when compared with other
routes to the same destination will be preferred over other routes.
E
XAMPLE
Console(config)#route-map RD permit 15
Console(config-route-map)#match peer 192.168.0.99
Console(config-route-map)#set local-preference 2
Console(config-route-map)#
This command sets the metric value of a route to external neighbors. Use
the no form to restore the default value.
S
YNTAX
set metric [+ | -]metric-value
no set metric
metric-value – Metric value assigned to all external routes for
the specified protocol. (Range: 0-4294967295)
D
S
EFAULT
ETTING
The dynamically learned metric value.
– 1914 –
set metric

Advertisement

Table of Contents
loading

Table of Contents