Switchport protected – ADTRAN 1000R Series User Manual

Page 652

Advertising
background image

Command Reference Guide

Ethernet Interface Configuration Command Set

61200510L1-35E

Copyright © 2005 ADTRAN

652

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.

Syntax Description

No subcommands.

Default Values

This command is disabled by default.

Applicable Platforms

This command applies to the NetVanta 1000 and 1000R Series units.

Command History

Release 10.1

Command was introduced.

Usage Example

In the example below, all three of the ports are on VLAN 3, and eth 0/1 and eth 0/2 are designated as
protected ports. Eth 0/3 is unprotected. Eth 0/1 and eth 0/2 will be allowed to send traffic to eth 0/3, but
traffic traveling between eth 0/1 and eth 0/2 will be blocked.

#configure terminal

(config)#interface eth 0/1

(config-eth 0/1)#switchport access vlan 3

(config-eth 0/1)#switchport protected

(config-eth 0/1)#exit

(config)#interface eth 0/2

(config-eth 0/2)#switchport access vlan 32

(config-eth 0/2)#switchport protected

(config-eth 0/1)#exit

(config)#interface eth 0/3

(config-eth 0/3)#switchport access vlan 3

Advertising