![Edge-Core ES3628EA Скачать руководство пользователя страница 341](http://html1.mh-extra.com/html/edge-core/es3628ea/es3628ea_user-manual_2359702341.webp)
341
Command: set ip next-hop <ip_addr>
no set ip next-hop [<ip_addr>]
Function:
Configure the next-hop of the route. The “
no set ip next-hop [<ip_addr>]
”
command deletes the configuration.
Parameter: <ip_addr >
is the ip address of next-hop shown with dotted decimal notation.
Command Mode:
route-map mode
Usage Guide:
Example:
Switch#config terminal
Switch(config)#route-map r1 permit 5
Switch(config-route-map)#set ip next-hop 10.2.2.2
13.2.3.19 set local-preference
Command: set local-preference <pre_val>
no set local-preference [<pre_val>]
Function:
Configure the local priority of BGP route. The “
no set local-preference
[<pre_val>]
” command deletes this configuration.
Parameter: <pre_val >
is the value of local priority, ranging between 0
~
4294967295.
Command Mode:
route-map mode
Usage Guide:
The local priority attribute is the priority level of a route. A route with a
higher local priority level when compared with other route of the same destination, will be
more preferred than other route. The local priority validates only within this AS and will
not be transported to EBGP neighbors. To use this command, one match clause should
at first be defined.
Example:
Switch#config terminal
Switch(config)#route-map r1 permit 5
Switch(config-route-map)#set local-preference 60
13.2.3.20 set metric
Command: set metric < +/- metric_val | metric_val>
no set metric [+/- metric_val | metric_val]
Function:
Configure the metric value of the route. The “
no set metric [+/- metric_val |
metric_val]
” command deletes the configuration.
Parameter: <metric_val >
is the metric value, ranging between 1
~
4294967295, +/-
means plus or minus the set metric value.
Command Mode:
route-map mode
Usage Guide:
The metric value only affects the path option from external neighbors to