match
Sets the match clauses. Each route map
entry has a set of match clauses used to segregate and filter packets. Packets can be
segregated using any one of the following criteria:The action taken for filtered packets is determined by the mark (action) clauses.
If no action is defined, the default is to fallback to destination-based routing for
packets satisfying the match criteria. For more information on configuring mark clauses,
see mark. And for more information on fallback action, see fallback.
Supported on the following devices:
- Access Points: AP5010, AP310i/e, AP410i/e, AP505i, AP510i, AP510e, AP560i, AP6522, AP6562, AP7161, AP7502,
AP7522, AP7532, AP7562, AP7602, AP7612, AP7622, AP763, AP7662, AP8163, AP8543,
AP8533.
- Service Platforms:
NX5500, NX7500, NX9500, NX9600
- Virtual Platforms: CX9000, VX9000
Syntax
match [incoming-interface|ip|ip-access-list|wireless-client-role|wlan]
match incoming-interface [<ROUTER-IF-NAME>|pppoe1|serial <SLOT-ID> <PORT-ID>
<CHANNEL-GROUP-ID>|vlan <1-4094>|wwan1]
match ip dscp <0-63>
match ip-access-list <IP-ACCESS-LIST-NAME>
match wireless-client-role <ROLE-POLICY-NAME> <ROLE-NAME>
match wlan <WLAN-NAME>
Parameters
match incoming-interface [<ROUTER-IF-NAME>|pppoe1|serial <SLOT-ID> <PORT-ID>
<CHANNEL-GROUP-ID>|vlan <1-4094>|wwan1]
incoming-interface |
Sets the incoming SVI match clause. Specify an interface name. |
<ROUTER-IF-NAME> |
Specifies the layer 3 interface name (route interface) |
pppoe1 |
Specifies the PPP over Ethernet interface |
serial <SLOT-ID> <PORT-ID>
<CHANNEL-GROUP-ID> |
Specifies the serial interface‘s slot, port, and
channel group IDs. |
vlan <1-4094> |
Specifies the VLAN interface ID
- <1-4094> – Specify a VLAN ID from 1 - 4094.
|
wwan1 |
Specifies the WAN interface name |
match ip dscp <0-63>
ip dscp <0-63> |
Sets the DSCP match clause
- <0-63> – Specify
a value from 0 - 63. The defined DSCP value is used as a matching
clause for this route map.
|
match ip-access-list <IP-ACCESS-LIST-NAME>
ip-access-list <IP-ACCESS-LIST-NAME> |
Sets the match clause using a pre-configured IP access list
- <IP-ACCESS-LIST-NAME> – Specify a pre-configured IP access list
name.
|
match wireless-client-role <ROLE-POLICY-NAME> <ROLE-NAME>
wireless-client-role <ROLE-POLICY-NAME> <ROLE-NAME> |
Sets the wireless client role match clause
- <ROLE-POLICY-NAME> – Specify a pre-configured role policy.
- <ROLE-NAME> – Specify a pre-configured role within
it.
|
match wlan <WLAN-NAME>
wlan <WLAN-NAME> |
Sets the incoming WLAN match clause
- <WLAN-NAME> –
Specify a WLAN name.
|
Examples
nx9500-6C8809(config-routing-policy-testpolicy-route-map-1)#match incoming-interface pppoe1
nx9500-6C8809(config-routing-policy-testpolicy-route-map-1)#show context
route-map 1
match incoming-interface pppoe1
default-next-hop wwan1
mark ip dscp 7
nx9500-6C8809(config-routing-policy-testpolicy-route-map-1)#