Switchport Mode - Cisco 220 Series Smart Plus Reference Manual

Smart plus switches command line interface
Hide thumbs Also See for 220 Series Smart Plus:
Table of Contents

Advertisement

VLAN Commands

switchport mode

switchport mode
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
switchxxxxxx(config-if)# switchport general allowed vlan add 2 untagged
Example 4—The following example configures VLAN on gi21 as untagged on
input and tagged on output:
switchxxxxxx(config)# interface gi21
switchxxxxxx(config-if)# switchport mode general
switchxxxxxx(config-if)# switchport general pvid 2
switchxxxxxx(config-if)# switchport general allowed vlan add 2 tagged
Example 5—The following example configures VLAN on gi 1 1 as tagged on input
and tagged on output:
switchxxxxxx(config)# interface gi11
switchxxxxxx(config-if)# switchport mode general
switchxxxxxx(config-if)# switchport general allowed vlan add 2 tagged
switchxxxxxx(config-if)#
Example 6—The following example configures VLAN on gi23 as tagged on input
and untagged on output:
switchxxxxxx(config)# interface gi23
switchxxxxxx(config-if)# switchport mode general
switchxxxxxx(config-if)# switchport general allowed vlan add 2 tagged
switchxxxxxx(config-if)#
To configure the VLAN membership mode (access, trunk, general, or dot1q-tunnel)
for a port, use the switchport mode Interface Configuration mode command.
To revert to its default setting, use the no form of this command.
Syntax
switchport mode {access | trunk | general | dot1q-tunnel}
no switchport mode
41
517

Advertisement

Table of Contents
loading

Table of Contents