![HP FlexNetwork 5130 HI series Command Reference Manual Download Page 186](http://html.mh-extra.com/html/hp/flexnetwork-5130-hi-series/flexnetwork-5130-hi-series_command-reference-manual_165888186.webp)
178
Default
All access ports belong to VLAN 1.
Views
Layer 2 Ethernet interface view, Layer 2 aggregate interface view
Predefined user roles
network-admin
Parameters
vlan-id
: Specifies a VLAN by its ID in the range of 1 to 4094.
Usage guidelines
Before assigning an access port to a VLAN, make sure the VLAN has been created.
•
The configuration made in Layer 2 Ethernet interface view applies only to the port.
•
The configuration made in Layer 2 aggregate interface view applies to the aggregate interface
and its aggregation member ports.
{
If the system fails to apply the configuration to the aggregate interface, it stops applying the
configuration to aggregation member ports.
{
If the system fails to apply the configuration to an aggregation member port, it skips the port
and moves to the next member port.
Examples
# Assign GigabitEthernet 1/0/1 to VLAN 3.
<Sysname> system-view
[Sysname] vlan 3
[Sysname-vlan3] quit
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] port access vlan 3
port hybrid pvid
Use
port hybrid pvid
to configure the PVID of a hybrid port.
Use
undo port hybrid pvid
to configure the PVID of a hybrid port as 1.
Syntax
port hybrid pvid vlan vlan-id
undo port hybrid pvid
Default
The PVID of a hybrid port is the ID of the VLAN to which the port belongs when its link type is
access
.
Views
Layer 2 Ethernet interface view, Layer 2 aggregate interface view
Predefined user roles
network-admin
Parameters
vlan-id
: Specifies a VLAN by its ID in the range of 1 to 4094.
Summary of Contents for FlexNetwork 5130 HI series
Page 302: ...294 ...