display mvrp vlan-operation
Syntax
display mvrp vlan-operation interface interface-type interface-number [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
0: Visit level
Parameters
interface interface-type interface-number: Displays the dynamic VLAN operations of an interface specified its type and number.
|: 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 vlan-operation to display the dynamic VLAN operations of an interface.
These dynamic VLANs refer to the VLANs that are dynamically learned through MVRP and have not taken effect on the local device.
If a dynamic VLAN learned through MVRP is an existing static VLAN on the device or a VLAN reserved for a protocol, the dynamic VLAN does not take effect on the local device.
Examples
# Display the dynamic VLAN operations of Ethernet 1/0/1.
<Sysname> display mvrp vlan-operation interface ethernet 1/0/1 Dynamic VLAN operations on port Ethernet1/0/1 Operations of creating VLAN: 2-100 Operations of deleting VLAN: none Operations of adding VLAN to Trunk: 2-100 Operations of deleting VLAN from Trunk: none
Table 51: Command output
Field | Description |
---|---|
Operations of adding VLAN to Trunk | Operations of adding VLANs to trunk ports |
Operations of deleting VLAN from Trunk | Operations of removing VLAN from trunk ports |