interface/{interface-type}/{interface-name}/switchport/mode

Sets the mode of the Layer 2 interface.

Usage

<interface xmlns="urn:brocade.com:mgmt:brocade-interface">
	<ethernet>
		<name>1/0/2</name>
		<switchport>
			<port-security>
				<oui>1122.2233.3322</oui>
			</port-security>
		</switchport>
	</ethernet>
</interface>

Parameters

name
Specifies the interface name
vlan-mode
Sets the mode
access
Sets the Layer 2 interface as access. Access mode assigns the port to a VLAN
trunk
Sets the Layer 2 interface as trunk. Trunk mode makes the port linkable to other switches and routers