Cisco Cisco ASR 5000

Page of 9109
  Firewall-and-NAT Access Ruledef Configuration Mode Commands 
ip protocol  ▀   
 
Command Line Interface Reference, StarOS Release 18  ▄  
 
   
5167 
ip protocol 
This command configures an access ruledef to analyze user traffic based on the protocol being transported by IP 
packets. 
Product
 
PSF 
NAT 
Privilege
 
Security Administrator, Administrator 
Mode
 
Exec > ACS Configuration > Firewall-and-NAT Access Ruledef Configuration 
active-charging service service_name > access-ruledef access_ruledef_name
 
Entering the above command sequence results in the following prompt: 
[local]host_name(config-acs-fw-ruledef)# 
Syntax
 
[ no ] ip protocol { { operator protocol protocol_assignment } } | { operator 
protocol_assignment 
} } 
no
 
Removes previously configured IP protocol address ruledef. 
operator protocol protocol_assignment }
 
operator
: Specifies how to logically match the IP protocol. 
operator
 must be one of the following: 
 
!=
: Does not equal 
 
=
: Equals 
protocol
: Specifies the protocol by name. 
protocol
 must be one of the following: 
 
ah 
 
esp 
 
gre 
 
icmp 
 
tcp 
 
udp 
protocol_assignment
: Specifies the protocol by assignment number. 
protocol_assignment
 must be 
an integer from 0 through 255 (for example, 1 for ICMP, 6 for TCP, and 17 for UDP). 
operator protocol_assignment
 
operator
: Specifies how to logically match the IP protocol. 
operator
 must be one of the following: