cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1417
Views
0
Helpful
1
Replies

Route-map config: use of object-groups

frekes
Level 1
Level 1

We have a need to use PBR and route-maps in our environment. The ACL in which we reference the route map looks like

ip access-list extended Live-PBR-1
permit ip host 172.19.0.20 192.0.0.254 30.255.255.0

we have noticed that in testing we only see half the subnets as working. Consistently the odd subnets are unavailable.

We believe our testing has shown that each classfull network needs to be described and using a wildcard mask such as this doesn't work.

Q1. Can we create an object-group on our 65K   12.2(33)SXI to use in the ACL referenced by the PBR config

Q2. Is it possible to use the range command or does each network have to be described with its mask. (we have to desc quite a large range of networks)

Many thanks,

     Steve

1 Reply 1

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Steve,

IP ACLs use wildcard masks a bit set to 0 means must match a bit set to 1 means don't care

so an ACL like yours:

ip access-list extended Live-PBR-1
permit ip host 172.19.0.20 192.0.0.254 30.255.255.0

matches only hosts with 4 byte = 254 with any octet in 2md and third position

you may want to rewrite it as :

permit ip host 172.19.0.20 192.0.0.254 x.255.255.255

x may be 31

Hope to help

Giuseppe

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card