User Manual

Table Of Contents
If this command is executed with the "no" syntax, deletes the processing content (IPv6 forwarding destination) for route map
entries.
[Note]
On entries with “set ipv6 next-hop” settings, packets received that match the application parameters (match) will be forwarded
to the next hop.
However, when the IPv6 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 ipv6 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 3ffe:506::/32 to the next hop
2001:db8:1::1.
SWX3220(config)#access-list 3001 permit 3ffe:506::/32
SWX3220(config)#route-map 100 permit 10
SWX3220(config-route-map)#match access-list 3001
SWX3220(config-route-map)#set ipv6 next-hop 2001:db8:1::1
SWX3220(config-route-map)#exit
7.15.6 Processing content (packet discard) settings for route map entries
[Syntax]
set interface null
no set interface [null]
[Input mode]
Route map mode
[Description]
Sets the processing content (packet discard) for route map entries.
If this command is executed with the "no" syntax, the processing content (packet discard) is deleted from the route map entry.
[Note]
On entries with “set interface null” settings, packets received that match the application parameters (match) will be discarded.
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 interface null” 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,
discarding everything else.
SWX3220(config)#access-list 1 permit any 192.168.1.0 0.0.0.255 any
SWX3220(config)#access-list 2 permit any any 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
SWX3220(config)#route-map 100 permit 20
SWX3220(config-route-map)#match access-list 2
SWX3220(config-route-map)#set interface null
SWX3220(config-route-map)#exit
7.15.7 Applying a route map to the interface (for IPv4)
[Syntax]
ip policy route-map route-map-id
340 | Command Reference | Layer 3 functions