118
begin
: Displays the first line that matches the specified regular expression and all lines that follow.
exclude
: Displays all lines that do not match the specified regular expression.
include
: Displays all lines that match the specified regular expression.
regular-expression
: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display GVRP state machines in VLAN 2 on port Ethernet 1/1.
<Sysname> display gvrp state interface ethernet 1/1 vlan 2
GVRP state of VLAN 2 on port Ethernet1/1
Applicant state machine : VP
Registrar state machine : MTR
Table 26 Command output
Field Description
GVRP state of VLAN 2 on port Ethernet1/1
Information about the GVRP state machines in VLAN 2 on
port Ethernet 1/1.
Applicant state machine
The Applicant state machine handles attribute
declarations. Its state can be VA, AA, QA, LA, VP, AP, QP,
VO, AO, QO, LO, VON, AON, and QON. Each state
consists of two or three letters with the following meanings:
•
The first letter indicates the state: V for Very anxious,
A for Anxious, Q for Quiet, and L for Leaving.
•
The second letter indicates the membership state: A
for Active member, P for Passive member, and O for
Observer.
•
The third letter N (if any) stands for Non-participant.
For example, VP indicates "Very anxious, Passive
member."
Registrar state machine
The Registrar state machine records the registration of
attributes declared by other participants. Its state can be
INN, LV, L3, L2, L1, MT, INR, LVR, L3R, L2R, L1R, MTR,
INF, LVF, L3F, L2F, L1F, and MTF. Each state consists of
two or three letters or numbers with the following
meanings:
•
The first two letters or numbers indicate the state: IN
stands for In; LV, L3, L2, and L1 all stand for Leaving,
and L3, L2, L1 are three sub-states of LV; MT stands
for Empty.
•
The third letter indicates the registration mode: N (if
any) for Normal registration, R for Registration fixed,
and F for Registration forbidden.
For example, MTR stands for "Empty, Registration fixed,"
indicating the fixed registration mode in Empty state.
display gvrp statistics
Use
display gvrp statistics
to display the GVRP statistics of the specified trunk ports. If no ports are
specified, this command displays the GVRP statistics for all trunk ports.
Syntax
display gvrp statistics
[
interface interface-list
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]