Command Reference Guide

SROS Command Line Interface Reference Guide Enable Mode Command Set
5991-2114 © Copyright 2005 Hewlett-Packard Development Company, L.P. 35
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> Alphanumeric descriptor for identifying the configured access policy (access
policy descriptors are not case-sensitive).
<protocol> A specific protocol (valid range: 0-255).
<source ip> Specifies the source IP address (format is A.B.C.D).
<source port> Specifies the source port (in hexadecimal format for 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.
Command Modes
# Enable Command Mode
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.