SROS Command Line Interface Reference Guide
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. Refer to the show ip policy-sessions for 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>
ahp
esp
gre
icmp
tcp
udp
<protocol>
<source ip>
<source port>
<dest ip>
<dest port>
[destination | source] For NAT sessions, this specifies whether to select a NAT source or NAT
<nat ip>
<nat port>
Default Values
No default value necessary for this command.
Functional Notes
The second half of this command, beginning with the source IP address may be copied and pasted from a
row in the show ip policy-sessions table for easier use.
5991-2114
Alphanumeric descriptor for identifying the configured access policy (access
policy descriptors are not case-sensitive).
Specifies authentication header protocol (AHP).
Specifies encapsulating security payload protocol (ESP).
Specifies general routing encapsulation protocol (GRE).
Specifies Internet control message protocol (ICMP) protocol.
Specifies transmission control protocol (TCP).
Specifies universal datagram protocol (UDP).
Specifies protocol (valid range: 0 to 255).
Specifies the source IP address (format is A.B.C.D).
Specifies the source port (in hex format AHP, ESP, and GRE; decimal for all other
protocols).
Specifies the destination IP address (format is A.B.C.D).
Specifies the destination port (in hex format for AHP, ESP, and GRE; decimal for
all other protocols).
destination session.
For NAT sessions, this specifies the NAT IP address (format is A.B.C.D).
For NAT sessions, this specifies the NAT port (in hex format for AHP, ESP, and
GRE; decimal for all other protocols).
© Copyright 2007 Hewlett-Packard Development Company, L.P.
Enable Mode Command Set
42