Command Reference Guide Enable Mode Command Set
61200510L1-35E Copyright © 2005 ADTRAN 60
clear ip policy-sessions
Use the clear ip policy-sessions command to clear policy class sessions. You may clear all the sessions or
a specific session. Use the show ip policy-sessions command to view a current session listing. The
following lists the complete syntax for the clear ip policy-sessions commands:
clear ip policy-sessions
clear ip policy-sessions <classname> [ahp | esp | gre | icmp | tcp | udp | <protocol>] <source ip>
<source port><dest ip><dest port>
clear ip policy-sessions <classname> [ahp | esp | gre | icmp | tcp | udp | <protocol>] <source ip>
<source port><dest ip><dest port> [destination | source] <nat ip><nat port>
Syntax Description
<classname> Alphanumeric descriptor for identifying the configured access policy (access
policy descriptors are not case-sensitive).
ahp Specifies authentication header protocol (AHP).
esp Specifies encapsulating security payload protocol (ESP).
gre Specifies general routing encapsulation protocol (GRE).
icmp Specifies Internet control message protocol (ICMP) protocol.
tcp Specifies transmission control protocol (TCP).
udp Specifies universal datagram protocol (UDP).
<protocol> Specifies protocol (valid range: 0 to 255).
<source ip> Specifies the source IP address (format is A.B.C.D).
<source port> Specifies the source port (in hex format AHP, ESP, and GRE; decimal for all other
protocols).
<dest ip> Specifies the destination IP address (format is A.B.C.D).
<dest port> Specifies the destination port (in hex format for AHP, ESP, and GRE; decimal for
all other protocols).
[destination | source] For NAT sessions, this specifies whether to select a NAT source or NAT
destination session.
<nat ip> For NAT sessions, this specifies the NAT IP address (format is A.B.C.D).
<nat port> For NAT sessions, this specifies the NAT port (in hex format for AHP, ESP, and
GRE; decimal for all other protocols).
Default Values
No default value necessary for this command.
Applicable Platforms
This command applies to the NetVanta 300, 1000R, 2000, 3000, 4000, and 5000 and
Total Access 900 Series units.