02-21-2014 04:53 AM
hello All,
I have on my network an ASR 9000 and want to configure an access-list. But is there any command to refer an ACL via object network as ASA do.
and which is the command that refer to it?
So is it possible to create objects and then to refer at the acl
Regards,
mery
Solved! Go to Solution.
02-23-2014 07:27 AM
Hi Mery,
here is an example.
RP/0/RSP0/CPU0:ASR9K-PE2-R1#show configuration commit changes last 1
Mon Feb 24 00:06:10.681 UTC
Building configuration...
!! IOS XR Configuration 5.1.0
object-group network ipv4 real
host 100.1.1.1
!
ipv4 access-list real
10 permit icmp any any
20 permit tcp any net-group real eq www
30 permit tcp any net-group real eq www log
40 permit tcp any net-group real eq ftp
50 permit tcp any net-group real eq telnet
60 permit tcp any net-group real eq pop3
70 permit tcp any net-group real eq smtp
80 permit tcp any net-group real eq domain
90 permit tcp any net-group real eq ftp-data
100 permit tcp any net-group real established
110 permit tcp any net-group real eq 389
111 permit udp any net-group real eq 389
120 permit tcp any net-group real eq 636
121 permit udp any net-group real eq 636
200 permit ipv4 any any
!
end
RP/0/RSP0/CPU0:ASR9K-PE2-R1#
02-21-2014 05:18 PM
Hi Mery,
ASAIk ,object-group based ACL is not supported yet.
Support for this will be added in XE 3.12 (ETA March 2014).
Thanks-
Afroz
[Do rate the useful post]
****Ratings Encourages Contributors ****
02-21-2014 08:20 PM
Actually it is supported. You will find it in the acl config guide. Support came in IOS XR 431. Let me know if you can't find it.
Regards
Eddie.
Sent from Cisco Technical Support iPhone App
02-21-2014 08:31 PM
http://www.cisco.com/c/en/us/td/docs/routers/asr9000/software/asr9k_r4-3/addr_serv/configuration/guide/b_ipaddr_cg43xa9k/b_ipaddr_cg42a9k_chapter_01.html#task_A3E3C33145EA4333B518FDAFE9AADBB3
Sent from Cisco Technical Support iPhone App
02-22-2014 03:59 AM
yes i saw that but how is the net-group
network-group-west
created? So if i have to add an ip on this group how can i do that?
10 permit tcp net-group network-group-west net-group network-group-east port-group
mery
02-23-2014 07:27 AM
Hi Mery,
here is an example.
RP/0/RSP0/CPU0:ASR9K-PE2-R1#show configuration commit changes last 1
Mon Feb 24 00:06:10.681 UTC
Building configuration...
!! IOS XR Configuration 5.1.0
object-group network ipv4 real
host 100.1.1.1
!
ipv4 access-list real
10 permit icmp any any
20 permit tcp any net-group real eq www
30 permit tcp any net-group real eq www log
40 permit tcp any net-group real eq ftp
50 permit tcp any net-group real eq telnet
60 permit tcp any net-group real eq pop3
70 permit tcp any net-group real eq smtp
80 permit tcp any net-group real eq domain
90 permit tcp any net-group real eq ftp-data
100 permit tcp any net-group real established
110 permit tcp any net-group real eq 389
111 permit udp any net-group real eq 389
120 permit tcp any net-group real eq 636
121 permit udp any net-group real eq 636
200 permit ipv4 any any
!
end
RP/0/RSP0/CPU0:ASR9K-PE2-R1#
02-24-2014 02:03 AM
Thank you very much for your help.
I really appreciate
regards,
01-11-2015 04:03 PM
A note for application is that Trident LC don't support object-groups.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide