NETGEAR M6100 Series Reference Manual page 660

Hide thumbs Also See for M6100 Series:
Table of Contents

Advertisement

If there are duplicate IP access-list numbers/names in this command, the duplicate
configuration is ignored.
Default
No match criteria are defined by default.
Format
match ip address {access-list-number | access-list-name}
[...access-list-number | access-list-name]
Mode
Route Map Configuration
Parameter
Description
access-list-number
The access-list number that identifies an access-list configured through access-list CLI
configuration commands. This number is 1 to 99 for standard access list number. This number is
100 to 199 for extended access list number.
access-list-name
The access-list name that identifies named IP ACLs. Access-list name can be up to 31
characters in length. A maximum of 16 ACLs can be specified in this match clause.
Command example:
The following example creates a route-map with a match clause on ACL number and applies
that route-map on an interface:
(NETGEAR Routing) (config)#access-list 1 permit ip 10.1.0.0 0.0.255.255
(NETGEAR Routing) (config)#access-list 2 permit ip 10.2.0.0 0.0.255.255
(NETGEAR Routing) (config)#route-map equal-access permit 10
(NETGEAR Routing) (config-route-map)#match ip address 1
(NETGEAR Routing) (config-route-map)#set ip default next-hop 192.168.6.6
(NETGEAR Routing) (config-route-map)#route-map equal-access permit 20
(NETGEAR Routing) (config-route-map)#match ip address 2
(NETGEAR Routing) (config-route-map)#set ip default next-hop 172.16.7.7
(NETGEAR Routing) (config)#interface 1/0/1
(NETGEAR Routing) (Interface 1/0/1)#ip address 10.1.1.1 255.255.255.0
(NETGEAR Routing) (Interface 1/0/1)#ip policy route-map equal-access
(NETGEAR Routing) (config)#interface 1/0/2
(NETGEAR Routing) (Interface 1/0/2)#ip address 192.168.6.5 255.255.255.0
(NETGEAR Routing) (config)#interface 1/0/3
(NETGEAR Routing) (Interface 1/0/3)#ip address 172.16.7.6 255.255.255.0
The ip policy route-map equal-access command is applied to interface 1/0/1. All
packets coming inside 1/0/1 are policy-routed.
Sequence number 10 in route map equal-access is used to match all packets sourced from
any host in subnet 10.1.0.0. If there is a match, and if the router has no explicit route for the
packet's destination, it is sent to next-hop address 192.168.6.6.
Sequence number 20 in route map equal-access is used to match all packets sourced from
any host in subnet 10.2.0.0. If there is a match, and if the router has no explicit route for the
packet's destination, it is sent to next-hop address 172.16.7.7.
M6100 Series Switches
Routing Commands
660

Advertisement

Table of Contents
loading

Table of Contents