Brocade Mobility RFS Controller CLI Reference Guide (Supporting software release 5.5.0.0 and later) User Manual
Page 686
Brocade Mobility RFS Controller CLI Reference Guide
673
53-1003098-01
7
switchport mode [access|trunk]
switchport trunk allowed vlan [
switchport trunk native [tagged|vlan <1-4094>]
Usage Guidelines:
Interfaces ge1 - ge4 can be configured as trunk or in access mode. An interface configured as
“trunk” allows packets (from the given list of VLANs) to be added to the trunk. An interface
configured as “access” allows packets only from native VLANs.
Use the [no] switchport (access|mode|trunk)to undo switchport configurations
Example
rfs7000-37FABE(config-profile-default-rfs7000-if-ge1)#switchport trunk native
tagged
rfs7000-37FABE(config-profile-default-rfs7000-if-ge1)#switchport access vlan
1
rfs7000-37FABE(config-profile-default-rfs7000-if-ge1)#show context
interface ge1
description This\ is\ GigabitEthernet\ interface\ for\ Royal\ King
speed 10
duplex full
switchport mode access
switchport access vlan 1
spanning-tree bpduguard enable
spanning-tree bpdufilter disable
mode [access|trunk]
Sets the interface mode to access or trunk (can only be used on physical - layer 2 - interfaces)
•
access – If access mode is selected, the access VLAN is 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 trunk mode is selected, tagged VLAN packets are accepted. The native VLAN is
automatically set to VLAN1. Untagged packets are placed in the native VLAN by the wireless controller
or service platform. Outgoing packets in the native VLAN are sent untagged. The default mode for
both ports is trunk.
trunk
Sets trunking mode characteristics of the port
allowed
Configures trunk characteristics when the port is in trunk mode
vlan
[
add
none|
remove
Sets allowed VLAN options. The options are:
•
(55-60) or a comma-separated list (35, 41 etc.)
•
none – Allows no VLANs to transmit or receive through the layer 2 interface
•
add
•
comma separated IDs (35, 41 etc.)
•
remove
•
comma separated IDs (35, 41 etc.)
trunk
Sets trunking mode characteristics of the switchport
native
[tagged|vlan <1-4094>]
Configures the native VLAN ID for the trunk-mode port
•
tagged – Tags the native VLAN
•
vlan <1-4094> – Sets the native VLAN for classifying untagged traffic when the interface is in
trunking mode. Specify a value from 1 - 4094.