5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
688
Default
The default is None.
Command Mode
Route Map Config
7-65
set interface
If the network administrator does not want to revert to normal forwarding but instead wants to drop a
packet that does not match the specified criteria, a set statement needs to be configured to route the
packets to interface null 0 as the last entry in the route-map.
set interface null0
needs to be configured
in a separate statement. It should not be added along with any other statement having other match/set
terms.
A route-map statement that is used for PBR is configured as permit or deny. If the statement is marked as
deny, traditional destination-based routing is performed on the packet meeting the match criteria. If the
statement is marked as permit, and if the packet meets all the match criteria, then set commands in the
route-map statement are applied. If no match is found in the route-map, the packet is not dropped,
instead the packet is forwarded using the routing decision taken by performing destination-based routing.
set interface null0
Parameters
None
Default
The default is None.
Command Mode
Route Map Config
7-66
set ip next-hop
Specify the adjacent next-hop router in the path toward the destination to which the packets should be
forwarded. If more than one IP addres
s is specified, the first IP address associated with a currently up-
connected interface is used to route the packets.
This command affects all incoming packet types and is always used if configured. If configured next-hop
is not present in the routing table, an ARP request is sent from the router.
In a route-map statement, ‘set ip next-hop’ and ‘set ip default next-hop’ terms are mutually exclusive.
However, a ‘set ip default next-hop’ can be configured in a separate route-map statement.
No
command removes a
set
command from a route map.
set ip next-hop ip-address [ip-address…]
no set ip next-hop ip-address [ip-address…]
Содержание 5000 Series
Страница 1: ...Draft 1 2 1 ...
Страница 141: ...5000 Series Layer 2 3 Managed Data Center Switch CLI Reference Guide 135 ...