Reference Guide

Table Of Contents
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| 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.
The following sequence shows creating a route-map with “match” clause on ACL number and applying
that route-map on an interface.
(Extreme 220) (Config) #access-list 1 permit ip 10.1.0.0 0.0.255.255
(Extreme 220) (Config) #access-list 2 permit ip 10.2.0.0 0.0.255.255
(Extreme 220) (Config) #route-map equal-access permit 10
(Extreme 220) (config-route-map)#match ip address 1
(Extreme 220) (config-route-map)#set ip default next-hop 192.168.6.6
(Extreme 220) (config-route-map)#route-map equal-access permit 20
(Extreme 220) (config-route-map)#match ip address 2
(Extreme 220) (config-route-map)#set ip default next-hop 172.16.7.7
(Extreme 220) (Config) #interface 1/0/1
(Extreme 220) (Interface 1/0/1)#ip address 10.1.1.1 255.255.255.0
(Extreme 220) (Interface 1/0/1)#ip policy route-map equal-access
(Extreme 220) (Config) #interface 1/0/2
(Extreme 220) (Interface 1/0/2)#ip address 192.168.6.5 255.255.255.0
(Extreme 220) (Config) #interface 1/0/3
(Extreme 220) (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.
Rest all packets are forwarded as per normal L3 destination-based routing.
This example illustrates the scenario where IP ACL referenced by a route-map is removed or rules are
added or deleted from that ACL, this is how configuration is rejected:
(Extreme 220) (Routing) #show ip access-lists
Current number of ACLs: 9 Maximum number of ACLs: 100
ACL ID/Name Rules Direction Interface(s) VLAN(s)
------------------------------- ----- --------- ---------------- ----------
1 1
2 1
3 1
4 1
5 1
madan 1
(Extreme 220) (Routing) #show mac access-lists
Routing Commands
ExtremeSwitching 200 Series: Command Reference Guide for version 01 .02.04.0007 538