6-22
created on a port, MAC address-to-VLAN entries configured with the
mask
keyword specified 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 GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/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
}
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.
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 1/0/1.
[Sysname] display protocol-vlan interface gigabitethernet 1/0/1
Interface: GigabitEthernet1/0/1
VLAN ID Protocol Index Protocol Type
======================================================
3 0 ipv4
Table 6-5
display protocol-vlan interface command output description
Field
Description
Interface
Interface of which you want to view the information
VLAN ID
ID of the protocol-based VLAN bound with the port
Protocol Index
Protocol template index
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...