VLAN Commands
4-237
4
This section describes commands used to configure private VLANs.
To configure primary/secondary associated groups, follow these steps:
1.
Use the
private-vlan
command to designate one or more community VLANs
and the primary VLAN that will channel traffic outside of the community groups.
2.
Use the
private-vlan association
command to map the community VLAN(s) to
the primary VLAN.
3.
Use the
switchport mode private-vlan
command to configure ports as
promiscuous (i.e., having access to all ports in the primary VLAN) or host (i.e.,
community port).
4.
Use the
switchport private-vlan host-association
command to assign a port
to a secondary VLAN.
5.
Use the
switchport private-vlan mapping
command to assign a port to a
primary VLAN.
6.
Use the
show vlan private-vlan
command to verify your configuration settings.
To configure isolated VLANs, follow these steps:
1.
Use the
private-vlan
command to designate an isolated VLAN that will contain
a single promiscuous port and one or more isolated ports.
2.
Use the
switchport mode private-vlan
command to configure one port as
promiscuous (i.e., having access to all ports in the isolated VLAN) one or more
ports as host (i.e., isolated port).
3.
Use the
switchport private-vlan isolated
command to assign a port to an
isolated VLAN.
4.
Use the
show vlan private-vlan
command to verify your configuration settings.
Table 4-67 Private VLAN Commands
Command
Function
Mode
Page
Edit Private VLAN Groups
private-vlan
Adds or deletes primary, community, or isolated VLANs
VC
4-238
private-vlan association
Associates a community VLAN with a primary VLAN
VC
4-239
Configure Private VLAN Interfaces
switchport mode
private-vlan
Sets an interface to host mode or promiscuous mode
IC
4-239
switchport private-vlan
host-association
Associates an interface with a secondary VLAN
IC
4-240
switchport private-vlan
isolated
Associates an interface with an isolated VLAN
IC
4-241
switchport private-vlan
mapping
Maps an interface to a primary VLAN
IC
4-241
Display Private VLAN Information
show vlan private-vlan
Shows private VLAN information
NE,
PE
4-242
Содержание 6128PL2
Страница 2: ......
Страница 8: ...viii ...
Страница 26: ...Contents xviii ...
Страница 30: ...Tables xxii ...
Страница 52: ...Initial Configuration 2 10 2 ...
Страница 308: ...Configuring the Switch 3 256 3 ...
Страница 473: ...SNMP Commands 4 165 4 ...
Страница 644: ...Command Line Interface 4 336 4 ...
Страница 648: ...Software Specifications A 4 A ...
Страница 663: ......