< Home

display session persistence table

Function

The display session persistence table command displays the sticky session table.

Format

display session persistence table [ source source-ip source-mask | destination destination-ip destination-mask ] *

display session persistence table [ interface interface-type interface-number ]

display session persistence table [ rulename rulename ]

display session persistence table [ slot slot-id cpu cpu-id ]

Parameters

Parameter Description Value

source-ip

Specifies the source IP address.

The value is in dotted decimal notation.

source-mask

Specifies the source subnet mask length.

The value is an integer ranging from 1 to 32.

destination-ip

Specifies the destination IP address.

The value is in dotted decimal notation.

destination-mask

Specifies the destination subnet mask length.

The value is an integer ranging from 1 to 32.

interface-type interface-number

Specifies the interface type and number.

-

rulename

Specifies the name of the PBR rule.

-

slot-id

Specifies the slot ID.

Only the USG6635E/6655E, USG6680E and USG6712E/6716E support this parameter.

-

cpu-id

Specifies the CPU ID.

Only the USG6635E/6655E, USG6680E and USG6712E/6716E support this parameter.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

If the source source-ip source-mask parameter is specified, the sticky session entries with source IP addresses in the same subnet are displayed.

If the destination destination-ip destination-mask parameter is specified, the sticky session entries with destination IP addresses in the same subnet are displayed.

If the interface interface-type interface-number parameter is specified, the sticky session entries with the same outbound interface are displayed.

If the rulename rulename parameter is specified, the sticky session entries with the same PBR rule are displayed.

Example

# Display all sticky session entries.

<sysname> display session persistence table
 Current Total Session Persistence table: 6
--------------------------------------------------------------------------------
RULE/ID SRCIP/MASK         DSTIP/MASK         MODE  INTERFACE         LEFT-TIME(s)
--------------------------------------------------------------------------------
policy/1 10.3.1.1/0       3.3.3.3/32     DST  GigabitEthernet0/0/1 300
policy/1 10.3.1.2/0       6.6.6.6/32     DST  GigabitEthernet0/0/1 300
policy/1 10.3.1.3/0      7.7.7.7/32     DST  GigabitEthernet0/0/1 300
Table 1 Description of the display session persistence table command output

Item

Description

Current Total Session Persistence table

Total number of current sticky session entries

RULE/ID

Name and ID of the intelligent route selection policy.

This field is empty for global route selection policies.

SRCIP/MASK

Source IP address and source subnet mask length.

If the MODE field is set to DST, that is, the sticky session mode is destination IP address-based, the source subnet mask length is 0. Source IP addresses are not matched when the sticky session mode is destination-ip.

DSTIP/MASK

Destination IP address and destination subnet mask length.

If the MODE field is set to SRC, that is, the sticky session mode is source IP address-based, the destination subnet mask is 0. Destination IP addresses are not matched when the sticky session mode is source-ip.

MODE

Sticky session mode:

The value can be:
  • SRC: source IP address-based
  • DST: destination IP address-based
  • S+D: source and destination IP address-based

INTERFACE

Outbound interface

LEFT-TIME(s)

Remaining time of sticky session entries

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >