Cisco Cisco ASR 5000

Page of 9109
  Context Configuration Mode Commands I-M 
ip access-group  ▀   
 
Command Line Interface Reference, StarOS Release 18  ▄  
 
   
2541 
ip access-group 
Configures an access group with an Access Control List (ACL) for IP traffic for the current context. The Context-level 
ACL is applied only to outgoing packets. 
Product
 
All 
Privilege
 
Security Administrator, Administrator 
Mode
 
Exec > Global Configuration > Context Configuration 
configure > context context_name
 
Entering the above command sequence results in the following prompt: 
[context_name]host_name(config-ctx)# 
Syntax
 
ip access-group name [ in | out ] priority_value ] 
no ip access-group name [ in | out ] 
no
 
Indicates the specified ACL rule is to be removed from the group. 
name
 
Specifies the ACL rule to be added/removed from the group. 
In Release 8.1 and later, 
name
 is an alphanumeric string of 1 through 47 characters. 
In Release 8.0, 
name
 is an alphanumeric string of 1 through 79 characters. 
Important:
  Up to eight ACLs can be applied to a group provided that the number of rules configured within the 
ACL(s) does not exceed the 256-rule limit for the context. 
in | out
 
The 
in
 and 
out
 keywords are deprecated and are only present for backward compatibility. The Context-level 
ACL are applied only to outgoing packets. 
priority_value
 
Specifies the priority of the access group. 0 is the highest priority. If 
priority_value
 is not specified, the 
priority is set to 0. 
priority_value
 must be an integer from 0 through 4294967295. Default: 0 
If access groups in the list have the same priority, the last one entered is used first. 
Usage 
Use this command to add IP access lists (refer to the 
ip access-list
 command) configured with in the 
same context to an ACL group.