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

Sets the Layer 2 interface as access.

Usage

<interface xmlns="urn:brocade.com:mgmt:brocade-interface">
	<ethernet>
		<name>2/1</name>
		<switchport>
			<access>
				<accessvlan>20</accessvlan>
			</access>
		</switchport>
	</ethernet>
</interface>

Parameters

name
Specifies the interface name
accessvlan
Specifies the VLAN ID