display mvrp state

Syntax

display mvrp 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: Displays the MVRP state of an interface specified by its type and number.

vlan vlan-id: Displays the MVRP state of an interface in an VLAN specified by its VLAN ID, which ranges 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 mvrp state to display the MVRP state of an interface in a VLAN.

Examples

# Display the MVRP state of port Ethernet 1/0/1 in VLAN 2.

<Sysname> display mvrp state interface ethernet 1/0/1 vlan 2
MVRP state of VLAN 2 on port Eth1/0/1
    Port      VLAN   App-state   Reg-state
 ----------- ------ ----------- -----------
 Eth1/0/1      2       VP          IN

Table 49: Command output

Field

Description

MVRP state of VLAN 2 on port Eth1/0/1

MVRP state of Ethernet 1/0/1 in VLAN 2.

App-state

Declaration state, which indicates the state of the attribute that the local participant declares to the remote participant. The state can be VO, VP, VN, AN, AA, QA, LA, AO, QO, AP, QP, or LO. Each state consists of two letters.

The first letter indicates the state:

  • V—Very anxious, which means that the local participant has not declared the attribute or has not received any Join message containing the attribute.

  • A—Anxious, which means that the local participant has declared the attribute once or has received one Join message containing the attribute.

  • Q—Quiet, which means that the local participant has declared the attribute two times, the local participant has declared the attribute once and has received one Join message containing the attribute, or the local participant has received two Join messages containing the attribute.

  • L—Leaving, which means that the local participant is deregistering the attribute.

The second letter indicates the membership state:

  • A—Active member, which means that the local participant is declaring the attribute, has sent at least one Join message containing the attribute, and may receive Join messages.

  • P—Passive member, which means that the local participant is declaring the attribute, has received Join messages containing the attribute, but has not sent Join messages containing the attribute.

  • O—Observer, which means that the local participant is not declaring the attribute but is monitoring the attribute.

  • N—New, which means that the local participant is declaring the attribute, is receiving the Join message containing the attribute, but is not sending Join messages for the attribute.

For example, VP indicates "Very anxious, Passive member".

Reg-state

Registration state of the attribute declared by remote participants on the local participant. The state can be IN, LV, or MT:

  • IN—Registered.

  • LV—Previously registered, but now being timed out.

  • MT—Not registered.