User Manual

Table Of Contents
SWX3220(config-route-map)#set ip next-hop 10.0.0.1
SWX3220(config-route-map)#exit
7.15.4 Processing content (IPv4 forwarding destination) settings for route map entries
[Syntax]
set ip next-hop ip_address
no set ip next-hop [ip_address]
[Parameter]
ip_address : A.B.C.D
IPv4 address for forwarding
[Initial value]
none
[Input mode]
Route map mode
[Description]
Sets the processing content (IPv4 forwarding destination) for route map entries.
If this command is executed with the "no" syntax, deletes the processing content (IPv4 forwarding destination) for route map
entries.
[Note]
On entries with “set ip next-hop” settings, packets received that match the application parameters (match) will be forwarded to
the next hop.
However, when the IPv4 address of the next hop does not exist in the ARP cache, packets are forwarded using the usual routing
function.
Only one processing content (set) can be set for the entry, and an error will occur if the command is executed in the case where
processing contents are already set.
If the processing content (set) is not configured for the entry, the entry will be regarded as invalid. Note that “set” may be
omitted for “deny” entries.
“set ip next-hop” can also be set for “deny” entries, but the processing cannot be executed.
[Example]
This creates a route map used to forward communications from the segment of source 192.168.1.0/24 to the next hop 10.0.0.1.
SWX3220(config)#access-list 1 permit any 192.168.1.0 0.0.0.255 any
SWX3220(config)#route-map 100 permit 10
SWX3220(config-route-map)#match access-list 1
SWX3220(config-route-map)#set ip next-hop 10.0.0.1
SWX3220(config-route-map)#exit
7.15.5 Processing content (IPv6 forwarding destination) settings for route map entries
[Syntax]
set ipv6 next-hop ipv6_address
no set ipv6 next-hop [ipv6_address]
[Parameter]
ipv6_address : X:X::X:X
IPv6 address for forwarding
[Initial value]
none
[Input mode]
Route map mode
[Description]
Sets the processing content (IPv6 forwarding destination) for route map entries.
Command Reference | Layer 3 functions | 339