Specifications
match ip address Configuring Policy-Based Routing
Enterasys Matrix N Standalone (NSA) Series Configuration Guide 8-51
Defaults
•Ifpermitordenyisnotspecified,thiscommand willenableroutemaporpolicybased
routingconfigurationmode.
•Ifsequence‐numberisnotspecified,10willbeapplied.
Mode
Routercommand,Globalconfiguration:Matrix>Router(config)#
Usage
Usethiscommandtoaddaroutemaptoanexistingroutemaplistbyspecifyingthelist’sid‐
numberandanewsequence‐number.
The“no”formofthiscommandremovesthespecifiedroutemaplist:.
Example
Thisexampleshowshowtocreateroutemap101withasequenceorderof20:
Matrix>Router(config)#route-map 101 permit 20
match ip address
UsethiscommandtomatchapacketsourceIPaddressagainstaPBRaccesslist.Upto5access
listscanbematched.
Syntax
match ip address access-list-number
no match ip address access-list-number
Parameters
Defaults
None.
Mode
Policy‐basedroutingconfiguration:Matrix>Router(config‐route‐map‐pbr)#
Usage
The“no”formofthiscommandremovesthematchbetweenanaccesslistandthisroutemap.
Example
ThisexampleshowshowtomatchapacketsourceIPaddresstoaccesslist1:
Matrix>Router(config)#route-map 101 Matrix>Router(config-route-map-pbr)#match ip
address 1
ipaddress MatchespacketsourceIPaddressestothespecifiedaccesslist.
access‐list‐number SpecifiesanaccesslisttomatchtothepacketsourceIPaddress.Valid
valuesare1‐199.