EasyManua.ls Logo

HP FlexNetwork 5130 HI series - IP Subnet-Based VLAN Commands; Display Ip-Subnet-Vlan Interface

HP FlexNetwork 5130 HI series
306 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
Loading...
188
Syntax
vlan precedence { mac-vlan | ip-subnet-vlan }
undo vlan precedence
Default
A port matches VLANs based on MAC addresses preferentially.
Views
Layer 2 Ethernet interface view
Predefined user roles
network-admin
Parameters
mac-vlan: Matches VLANs based on MAC addresses preferentially.
ip-subnet-vlan: Matches VLANs based on IP subnets preferentially.
Usage guidelines
This command takes effect only on MAC-based VLANs and IP subnet-based VLANs.
As a best practice, configure the vlan precedence mac-vlan command to ensure the priority of
MAC-based VLAN matching when you enable dynamic MAC-based VLAN assignment. If you
execute the vlan precedence ip-subnet-vlan command, the command will not take effect.
Examples
# Configure GigabitEthernet 1/0/1 to match VLANs based on MAC addresses preferentially.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] vlan precedence mac-vlan
IP subnet-based VLAN commands
display ip-subnet-vlan interface
Use display ip-subnet-vlan interface to display IP subnet-based VLANs that are associated with
the specified ports.
Syntax
display ip-subnet-vlan interface { interface-type interface-number1 [ to interface-type
interface-number2 ] | all }
Views
Any view
Predefined user roles
network-admin
network-operator
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 IP subnet-based VLANs that are associated with all ports.

Table of Contents

Related product manuals