EasyManua.ls Logo

D-Link DGS-6600-48TS

D-Link DGS-6600-48TS
972 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
DGS-6604 m set ip default next-hop
CLI Reference Guide
559
set ip default next-hop
Use the command in route-map configuration mode to set the next hop to route
the packets that pass a match clause of a route map and there is no route for the
packets. To remove the setting, use the no form of the command to remove the
setting.
set ip default next-hop IP-ADDRESS
no set default next-hop [IP-ADDRESS]
Default Not configured
Command Mode Route-map configuration
Usage Guideline If other set clauses for policy based routing are used with the command, they will
be evaluated based on the following ordering:
1. set ip next-hop
2. set interface
3. set ip default next-hop
4. set default interface
With this ordering, the set next-hop clauses and the set interface clauses will be
evaluated before look up of the routing table. If route cannot be found for the
packets, the set ip default next-hop and set default interface command will be
evaluated.
Example In the following example, PBR will change the next-hop setting when the source
ip is 10.1.1.0/24,vlan is vlan100 and can not found the destination address in
routing table. We want to set next-hop of this route entry to 120.1.2.2. The steps
as follows:
At first, create an IP basic access list, named Strict-Control which permit prefix
10.1.1.0/24.
Secondly, create a route map, named myPolicy which define a match rule to
associate ip address prefix-list to the previously created access list, Strict-
Control.
Syntax Description
IP-ADDRESS Specify the next hop to route the packet. the next hop must be an adjacent
router.

Table of Contents

Other manuals for D-Link DGS-6600-48TS

Related product manuals