HP 7000 dl Router manual Clear ip policy-sessions

Models: 7000 dl Router

1 941
Download 941 pages 13.02 Kb
Page 35
Image 35

SROS Command Line Interface Reference Guide

Enable Mode Command Set

 

 

clear ip policy-sessions

Use the clear ip policy-sessionscommand to clear policy class sessions. You may clear all the sessions or a specific session. Refer to the show ip policy-sessionsfor a current session listing. The following lists the complete syntax for the clear ip policy-sessionscommands:

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-sessionstable for easier use.

5991-2114

© Copyright 2005 Hewlett-Packard Development Company, L.P.

35

Page 35
Image 35
HP 7000 dl Router manual Clear ip policy-sessions