Cisco Systems WSC2960XR48FPSI Manual De Usuario
Purpose
Command or Action
Example:
Switch#
copy running-config startup-config
To save the private-VLAN configuration, you need to save the
VTP transparent mode configuration and private-VLAN
configuration in the switch startup configuration file.
Otherwise, if the switch resets, it defaults to VTP server mode,
which does not support private VLANs.
VTP transparent mode configuration and private-VLAN
configuration in the switch startup configuration file.
Otherwise, if the switch resets, it defaults to VTP server mode,
which does not support private VLANs.
Related Topics
Private VLAN Domains, on page 87
Configuring a Layer 2 Interface as a Private VLAN Host Port
Beginning in privileged EXEC mode, follow these steps to configure a Layer 2 interface as a private-VLAN
host port and to associate it with primary and secondary VLANs:
host port and to associate it with primary and secondary VLANs:
Isolated and community VLANs are both secondary VLANs.
Note
SUMMARY STEPS
1. configure terminal
2. interface interface-id
3. switchport mode private-vlan host
4. switchport private-vlan host-association primary_vlan_id secondary_vlan_id
5. end
6. show interfaces [interface-id] switchport
7. copy running-config startup config
DETAILED STEPS
Purpose
Command or Action
Enters global configuration mode.
configure terminal
Example:
Switch#
configure terminal
Step 1
Catalyst 2960-XR Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX1
96
OL-29440-01
Configuring Private VLANs
Configuring a Layer 2 Interface as a Private VLAN Host Port