get-interface-switchport

Returns switch-port or Layer 2 characteristics of all the interfaces in the managed device.

Usage

<get-interface-switchport></get-interface-switchport>


<rpc-reply message-id="303" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
	<switchport xmlns="urn:brocade.com:mgmt:brocade-brocade-interface-ext">
		<interface-name>2/1</interface-name>
		<interface-type>ethernet</interface-type>
		<mode>access</mode>
		<ingress-filter-enabled>true</ingress-filter-enabled>
		<acceptable-frame-type>admit-all</acceptable-frame-type>
		<default-vlan>1</default-vlan>
		<active-vlans>
			<vlanid>1</vlanid>
		</active-vlans>
	</switchport>
</rpc-reply>

Parameters

interface-name
Specifies the interface value.
interface-type
Displays the type of the interface.
mode
Displays the mode of the port-channel.
ingress-filter-enabled
Indicates if the 'Ingress filtering' is enabled for the interface.
acceptable-frame-type
The switch-port ingress Frame admission policy - whether only tagged Frames are allowed or all.
default-vlan
Displays 'default vlan' identifier value for this switch-port.
vlanid
Displays the list of active VLAN identifiers.