interface/{interface-type}/{interface-name}/switchport/port-security/violation

Configures the violation response options for port security on an interface.

Usage

<interface xmlns="urn:brocade.com:mgmt:brocade-interface">
	<ethernet>
		<name>1/2</name>
		<switchport>
			<port-security>
				<port-sec-violation>restrict</port-sec-violation>
			</port-security>
		</switchport>
	</ethernet>
</interface>

Parameters

name
Specifies the interface name
port-sec-violation
Specifies the violation response
restrict
Drops packets with unknown source addresses until you remove a sufficient number of secure MAC addresses to drop below the maximum value
shutdown
Puts the interface into the error-disabled state for a predetermined amount of time