match interface
Use this command to define the interface match criterion. This command specifies the next-hop interface name of a route to be matched.
Use the no parameter with this command to remove the specified match criterion.
Command Syntax
match interface IFNAME
no match interface (IFNAME|)
Parameter
IFNAME
Interface name.
Default
By default, match interface is disabled
Command Mode
Route-map mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#route-map mymap1 permit 10
(config-route-map)#match interface eth0
Last modified date: 10/16/2023