Switchport Access Vlan - Cisco SPS2024 Reference Manual

Cisco systems ethernet switch reference guide
Hide thumbs Also See for SPS2024:
Table of Contents

Advertisement

VLAN Commands

switchport access vlan

switchport access vlan
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide
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
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 {
no switchport access vlan
vlan-id
}
34
488

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sps224g4Sps208g

Table of Contents