Set Ip Next-Hop - D-Link xStack DGS-3620 Series Reference Manual

Layer 3 managed stackable
Hide thumbs Also See for xStack DGS-3620 Series:
Table of Contents

Advertisement

DGS-3620 m/ mSW Rls. 1.02.000

14-14 set ip next-hop

set ip next-hop {IP-ADDRESS | peer-address}
no set ip next-hop
Syntax Description
IP-ADDRESS
peer-address
Default
Command Mode
Usage Guideline
Examples
Switch# configure terminal
Switch(config)# ip standard access-list Strict-Control
Switch(config-ip-acl)# permit 10.1.1.0/24
Switch(config-ip-acl)# exit
Switch(config)# route-map mapnexthop permit 10
Switch(config-route-map)# match ip address Strict-Control
Switch(config-route-map)# set ip next-hop 120.1.2.2
Switch(config-route-map)#
CLI Reference Guide
Use this command to add a set command to modify the next hop of routes. Use
the no form of this command to delete this set command.
Specifies the IP address the next hop.
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.
None
Route map configuration mode.
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.
To add a set command to modify the next hop of route 10.1.1.0/24:
set ip next-hop
455

Advertisement

Table of Contents
loading

Table of Contents