Users Guide

Layer 3 Routing Commands 1515
console(config)#interface vlan 12
console(config-if-vlan12)#ip address 10.1.1.1 255.255.255.0
console(config-if-vlan12)#ip policy route-map equal-access
console(config)#interface vlan 13
console(config-if-vlan13)#ip address 192.168.6.5 255.255.255.0
console(config)#interface vlan 16
console(config-if-vlan16)#ip address 172.16.7.6 255.255.255.0
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:
console#show ip access-lists
Current number of ACLs: 9 Maximum number of ACLs: 100
ACL ID/Name Rules Interface(s) Direction Count
------------------------------- ----- ----------- ---------- ----------
1 1
2 1
3 1
4 1
5 1
madan 1
console#show mac access-lists
Current number of all ACLs: 9 Maximum number of all ACLs: 100
MAC ACL Name Rules Interface(s) Direction Count
------------------------------- ----- ------------ --------- ----------
madan 1
mohan 1
goud 1
console#configure
console(config)#route-map madan
console(route-map)#match ip address 1 2 3 4 5 madan
console(route-map)#match mac-list madan mohan goud
console(route-map)#exit
console(config)#exit
console #show route-map
route-map madan permit 10
Match clauses:
ip address (access-lists) : 1 2 3 4 5 madan
mac-list (access-lists) : madan mohan goud
Set clauses: