Command Reference Guide
Ethernet Interface Command Set
switchport protected
Use the switchport protected command to prevent the port from transmitting traffic to all other protected
ports. A protected port can only send traffic to unprotected ports. Use the no form of this command to
disable this feature.
Syntax Description
No subcommands.
Default Values
This command is disabled by default.
Command History
Release 10.1
Command was introduced.
Usage Examples
In the example below, all three of the ports are on virtual local area network (VLAN) 3, and Ethernet 0/1
and Ethernet 0/2 are designated as protected ports. Ethernet 0/3 is unprotected. Ethernet 0/1 and Ethernet
0/2 will be allowed to send traffic to Ethernet 0/3, but traffic traveling between Ethernet 0/1 and Ethernet
0/2 will be blocked.
(config)#interface ethernet 0/1
(config-eth 0/1)#switchport access vlan 3
(config-eth 0/1)#switchport protected
(config-eth 0/1)#exit
(config)#interface ethernet 0/2
(config-eth 0/2)#switchport access vlan 3
(config-eth 0/2)#switchport protected
(config-eth 0/2)#exit
(config)#interface ethernet 0/3
(config-eth 0/3)#switchport access vlan 3
60000CRG0-35E
Copyright © 2012 ADTRAN, Inc.
1727
Need help?
Do you have a question about the AOS Version R10.1.0 and is the answer not in the manual?
Questions and answers