EasyManuals Logo

H3C S7500E Series Command Reference

H3C S7500E Series
368 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #282 background imageLoading...
Page #282 background image
13-26
Use the undo vlan precedence command to restore the default.
By default, VLANs are matched based on MAC addresses preferentially.
Note that this command only applies to VLANs based on a single MAC address and IP subnet-based
VLANs. If both the MAC address-based VLAN function and the IP subnet-based VLAN function are
created on a port, MAC address-to-VLAN mappings are matched preferentially, and the left VLAN
entries (VLAN entries based on a single MAC address and IP subnet-based VLANs) are matched as
configured by the vlan precedence command.
Examples
# Configure to match VLANs based on MAC addresses preferentially on GigabitGigabitEthernet 2/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] vlan precedence mac-vlan
Protocol-Based VLAN Configuration Commands
display protocol-vlan interface
Syntax
display protocol-vlan interface { interface-type interface-number1 [ to interface-type
interface-number2 ] | all } [ | { begin | exclude | include } regular-expression ]
View
Any view
Default Level
2: System level
Parameters
interface-type interface-number1: Specifies an interface by its type and number.
interface-type interface-number1 to interface-type interface-number2: Specifies an interface range.
all: Displays information about protocol-based VLANs on all ports.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see CLI Configuration in the Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays the 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, which is a case sensitive string of 1 to 256
characters.
Description
Use the display protocol-vlan interface command to display information about protocol-based
VLANs for the specified port(s).
Examples
# Display protocol-based VLAN information on GigabitEthernet 2/0/1.
[Sysname] display protocol-vlan interface gigabitethernet 2/0/1
Interface: GigabitEthernet2/0/1

Table of Contents

Other manuals for H3C S7500E Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the H3C S7500E Series and is the answer not in the manual?

H3C S7500E Series Specifications

General IconGeneral
BrandH3C
ModelS7500E Series
CategorySwitch
LanguageEnglish

Related product manuals