217
Use
undo private-vlan
to dissociate the specified secondary VLANs from a primary VLAN.
Syntax
private-vlan secondary
vlan-id-list
undo private-vlan
[
secondary
vlan-id-list
]
Default
A primary VLAN is not associated with any secondary VLANs.
Views
VLAN view
Predefined user roles
network-admin
Parameters
secondary
vlan-id-list
: Specifies a space-separated list of up to 10 secondary VLAN items. Each
item specifies a secondary VLAN ID or a range of secondary VLAN IDs in the form of
vlan-id1
to
vlan-id2
. The value range for secondary VLAN IDs is 1 to 4094. The value for the
vlan-id2
argument
must be equal to or greater than the value for the
vlan-id1
argument. Though the system default
VLAN (VLAN 1) is in the valid value range, it cannot be configured in the command.
Usage guidelines
A primary VLAN can be associated with multiple secondary VLANs. When you execute this
command in the same VLAN view multiple times, all the specified secondary VLANs are associated
with the primary VLAN.
The configuration synchronization is triggered based on the interface configuration when the
following conditions exist:
•
This command is configured for a primary VLAN.
•
Ports on the device are promiscuous, trunk promiscuous, or host ports.
For more information, see the
port private-vlan host
,
port private-vlan promiscuous
, or
port
private-vlan trunk promiscuous
command.
When you execute the
undo private-vlan
command, follow these guidelines:
•
If you specify the
secondary vlan-id-list
option, this command dissociates the specified
secondary VLANs from the current primary VLAN.
•
If you do not specify the
secondary vlan-id-list
option, this command dissociates all secondary
VLANs from the current primary VLAN.
Examples
# Associate primary VLAN 2 with secondary VLANs 3 and 4.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2] private-vlan primary
[Sysname-vlan2] private-vlan secondary 3 to 4
Related commands
•
port private-vlan host
•
port private-vlan promiscuous
•
port private-vlan trunk promiscuous
•
port private-vlan trunk secondary
•
primary-vlan
primary
Содержание FlexNetwork 5130 HI series
Страница 293: ...285 Sysname GigabitEthernet1 0 1 lldp agent nearest customer tlv enable dot1 tlv link aggregation ...
Страница 302: ...294 ...