476
reset session table ipv4
Use reset session table ipv4 to clear IPv4 session entries.
Syntax
MSR1000/MSR2000/MSR3000:
reset session table ipv4 [ destination-ip destination-ip ] [ destination-port destination-port ] [ protocol
{ dccp | icmp | raw-ip | sctp | tcp | udp | udp-lite } ] [ source-ip source-ip ] [ source-port source-port ]
[ vpn-instance vpn-instance-name ]
MSR4000:
reset session table ipv4 ] [ destination-ip destination-ip ] [ destination-port destination-port ] [ protocol
{ dccp | icmp | raw-ip | sctp | tcp | udp | udp-lite } ] [ slot slot-number ] [ source-ip source-ip ]
[ source-port source-port ] [ vpn-instance vpn-instance-name ]
Views
User view
Predefined user roles
network-admin
Parameters
slot slot-number: Specifies a card by its slot number. If no card is specified, this command clears the IPv4
session entries that match specific criteria on all cards. (MSR4000.)
source-ip source-ip: Specifies a source IPv4 address. The source-ip argument specifies the source IPv4
address of a session from the initiator to the responder.
destination-ip destination-ip: Specifies a destination IPv4 address. The destination-ip argument specifies
the destination IPv4 address of a session from the initiator to the responder.
protocol { dccp | icmp | raw-ip | sctp | tcp | udp | udp-lite }: Specifies an IPv4 transport layer protocol,
including DCCP, ICMP, RawIP, SCTP, TCP, UDP, and UDP-Lite.
source-port source-port: Specifies a source port by its number. The source-port argument specifies the
source port of a session from the initiator to the responder. The value range for the source-port argument
is 0 to 65535.
destination-port destination-port: Specifies a destination port by its number. The destination-port
argument specifies the destination port of a session from the initiator to the responder. The value range
for the destination-port argument is 0 to 65535.
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string
of 1 to 31 characters. If you want to clear IPv4 session entries on the public network, do not specify this
option.
Usage guidelines
If no parameter is provided, this command clears all IPv4 session entries on the public network.
Examples
# Clear all IPv4 session entries.
<Sysname> reset session table ipv4
# Clear the IPv4 session entries with the source IP address of 10.10.10.10.
<Sysname> reset session table ipv4 source-ip 10.10.10.10