display gvrp state

Syntax

display gvrp state interface interface-type interface-number vlan vlan-id [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

0: Visit level

Parameters

interface interface-type interface-number: Specifies an interface by its type and number.

vlan vlan-id: Specifies a VLAN ID, ranging from 1 to 4094.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

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.

Description

Use display gvrp state to display GVRP state machines in a specified VLAN on a port.

Examples

# Display GVRP state machines in VLAN 2 on port Ethernet 1/0/1.

<Sysname> display gvrp state interface ethernet 1/0/1 vlan 2
        GVRP state of VLAN 2 on port Ethernet1/0/1

                 Applicant state machine      : VP
                 Registrar state machine      : MTR

Table 40: Command output

Field

Description

GVRP state of VLAN 2 on port Ethernet1/0/1

Information about the GVRP state machines in VLAN 2 on port Ethernet 1/0/1.

Applicant state machine

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

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.