Cisco Systems SPS224G4 Manual De Usuario

Descargar
Página de 552
VLAN Commands
switchport access vlan
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide
488
34
 
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
Private VLAN Edge (PVE) only operates on interfaces that do not have an IP 
address.
PVE only operates on interfaces that do not belong to VLANs that have IP 
addresses.
PVE supports private communication by isolating PVE-defined ports and 
ensuring that all Unicast, Broadcast and Multicast traffic from these ports is 
only forwarded to uplink ports.
PVE requires only one VLAN on each device, but not on every port; this 
reduces the number of VLANs required by the device. Private VLANs and 
the default VLAN function simultaneously in the same device.
Example
This example configures ethernet port 2 as a protected port, so that all traffic is 
sent to its uplink (Ethernet port 3).
Console(config)# interface ethernet 2
Console(config-if)# switchport protected ethernet 3
switchport access vlan
The switchport access vlan Interface Configuration mode command configures 
the VLAN ID when the interface is in access mode. Use the no form of this 
command to restore the default configuration.
Syntax
switchport access vlan {
vlan-id 
}
no switchport access vlan