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 ]
| 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. |
- |
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.
# 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
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:
|
INTERFACE |
Outbound interface |
LEFT-TIME(s) |
Remaining time of sticky session entries |