D-Link DXS-3600 Series Cli Reference Manual page 1148

Layer 2/3 managed 10gigabit
Hide thumbs Also See for DXS-3600 Series:
Table of Contents

Advertisement

DXS-3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide
This command is used to configure the next-hop of routers to route the packets that passes the match
clauses of the configured route-map sequences. Use the no command to remove specific default next-
hops.
set ip default next-hop IP-ADDRESS [...IP-ADDRESS]
no set ip default next-hop IP-ADDRESS [...IP-ADDRESS]
Parameters
IP-ADDRESS
Default
None.
Command Mode
Route-map Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
This command can be used to specify multiple default next hop routers. If default next hops are already
configured, the default next hops configured later will be added to the default next hop list. When the first
default next hop router specified is down, the next default next hop router specified is tried in turn to route
the packet.
Example
This example shows how to configure that PBR will policy route the packets to the next-hop 120.1.2.2
when the source ip is 10.1.1.0/24. The receiving interface is VLAN 100 and cannot find the route in
routing table to route the packet. At first, create an IP basic access list, named "Strict-Control" which
permits the prefix 10.1.1.0/24. Secondly, create a route map, named "myPolicy" which defines a match
rule to associate the IP address prefix-list to the previously created access list, Strict-Control. Lastly, in
the VLAN interface configuration mode set the IP policy base route to use the route-map, myPolicy.
Switch# configure terminal
Switch(config)# ip access-list Strict-Control
Switch(config-ip-acl)# permit 10.1.1.0 0.0.0.255 any
Switch(config-ip-acl)# exit
Switch(config)# route-map myPolicy permit 1
Switch(config-route-map)# match ip address Strict-Control
Switch(config-route-map)# set ip default next-hop 120.1.2.2
Switch(config-route-map)# exit
Switch(config)# interface vlan100
Switch(config-if)# ip policy route-map myPolicy
Switch(config-if)#
91-10
set ip next-hop
This command is used to configure the next-hop router to route the packet that passes the match clauses
of the configured route map sequence. Use the no command to remove the clause.
set ip next-hop {IP-ADDRESS [...IP-ADDRESS] | peer-address | recursive IP-ADDRESS}
Specifies the IP address for the next-hop or route entry.
1143

Advertisement

Table of Contents
loading

Table of Contents