Switchport - Motorola WS5100 Series Cli Reference Manual

Hide thumbs Also See for WS5100 Series:
Table of Contents

Advertisement

12.1.19 switchport

Interface Config Commands
Sets switching mode characteristics for the selected interface
Syntax
switchport(access|mode|trunk)
switchport access vlan <1-4094>
switchport mode(access|trunk)
switchport trunk(allowed|native)
switchport trunk allowed vlan(add|none|remove)[VLAN_ID]
switchport trunk native(tagged|vlan<1-4094>)
Parameters
access
mode
Configures the access VLAN of an access-mode port
• vlan <1-4094> – Sets the VLAN when interface is in
access mode
Sets the mode of the interface to access or trunk mode. Can
only be used on physical (layer2) interfaces
• access – If
access
automatically set to VLAN1. In this mode, only untagged
packets in the access VLAN (vlan1) are accepted on this
port. All tagged packets are discarded
• trunk – If
mode is selected, tagged VLAN packets
trunk
VLANs are accepted. The native VLAN is automatically
set to VLAN1. Untagged packets are placed in the native
VLAN by the switch. Outgoing packets in the native
VLAN are sent untagged
is the default mode for both ports
trunk
interface Instance
mode is selected, the access VLAN is
12-19

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents