DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide
531
53-14 set ip next-hop
This command is used to add a set command to modify the next hop of routes. Use the no form of this command to
delete this set command.
set ip next-hop {
IP-ADDRESS
| peer-address}
no set ip next-hop
Parameters
53-15 set local-preference
This command is used to add a set command to modify the local preference attribute of routes. Use the no form of this
command to delete this set command.
set local-preference
NUMBER
no set local-preference
Example
This example shows how to add a set command to modify the dampening
parameters of route 120.1.1.0/24.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#ip standard access-list Strict-Control
DXS-3600-32S(config-ip-acl)#permit 120.1.1.0/24
DXS-3600-32S(config-ip-acl)#exit
DXS-3600-32S(config)#route-map rmap1 permit 10
DXS-3600-32S(config-route-map)#match ip address Strict-Control
DXS-3600-32S(config-route-map)#set dampening 14 500 900 60 15
DXS-3600-32S(config-route-map)#
IP-ADDRESS
Specifies the IP address the next hop.
peer-address
This setting will take effect for both the ingress and egress directions. When set next
hop to peer’s address, for ingress direction, the next hop will be set to the neighbor
peer address. For egress direction, the next hop associated with the route in the
packet will be local router id.
Default
None.
Command Mode
Route Map Configuration Mode.
Command Default Level
Level: 8
Usage Guideline
Use this command to modify the next hop of route when match conditions are met.
You can verify your settings by entering the
show route-map
command.
Example
This example shows how to add a set command to modify the next hop of route
10.1.1.0/24.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#ip standard access-list Strict-Control
DXS-3600-32S(config-ip-acl)#permit 10.1.1.0/24
DXS-3600-32S(config-ip-acl)#exit
DXS-3600-32S(config)#route-map mapnexthop permit 10
DXS-3600-32S(config-route-map)#match ip address Strict-Control
DXS-3600-32S(config-route-map)#set ip next-hop 120.1.2.2
DXS-3600-32S(config-route-map)#
Содержание 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 ...