498
VLAN Commands
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Dell Contax
CLI\files\VLAN_ISCLI_Only.fm
D E L L C O N F ID E N T IA L – P R E L IM I N A RY 5 / 1 5 /1 2 - F O R P R O O F O N LY
switchport community
Use the
switchport community
Interface Configuration mode command to
associate a protected port with a community. Use the
no
form of this
command to return to default.
Syntax
switchport community
community
no switchport community
Parameters
community
—Specifies the community number. (Range:
1 - 30
)
Default Configuration
The port is not associated with any community.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
The command is relevant only when the port is defined as a protected port.
Use the s
witchport protected-port
Interface Configuration command to
define a port as a protected port.
Example
console(config)# interface gigabitethernet 1/0/1
console(config-if)#
switchport community
1
show interfaces protected-ports
Use the
show interfaces protected-ports
EXEC mode command to show
protected ports configuration.
Syntax
show interfaces protected-ports [
interface-id
]