192
[Sysname-GigabitEthernet1/0/1] port hybrid ip-subnet-vlan vlan 3
# Associate the Layer 2 aggregate interface Bridge-Aggregation 1 with the IP subnet-based VLAN 3.
<Sysname> system-view
[Sysname] vlan 3
[Sysname-vlan3] ip-subnet-vlan ip 192.168.1.0 255.255.255.0
[Sysname-vlan3] quit
[Sysname] interface bridge-aggregation 1
[Sysname-Bridge-Aggregation1] port link-type hybrid
[Sysname-Bridge-Aggregation1] port hybrid vlan 3 untagged
[Sysname-Bridge-Aggregation1] port hybrid ip-subnet-vlan vlan 3
Related commands
• display ip-subnet-vlan interface
• display ip-subnet-vlan vlan
• ip-subnet-vlan
Protocol-based VLAN commands
display protocol-vlan interface
Use display protocol-vlan interface to display information about protocol-based VLANs for the
specified ports.
Syntax
display protocol-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 protocol-based VLANs on all ports.
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 Status
2 0 IPv6 Active
2 1 N/A Inactive
4094 65535 IPv4 Inactive