The switch can operate in one of the following modes: "isolate" or "transparent".
In "isolate" mode, packet switching is based on the port isolation rules. External ports are isolated from each other and traffic from each of them is redirected to the internal ports according to the port isolation rules, so that any direct traffic between the external ports is impossible. This is the basic mode, used by default, including situations when there are no any VLAN settings or 802.1Q-support is disabled in "transparent" mode.
In "transparent" mode, direct traffic transmission between external ports (without involving the internal ones) is possible, packet switching is performed according to the VLAN-tags and internal “port - VLAN-tag” correspondence table, if it exists.
Use this command for the built-in switch management.
Syntax:
#1> port [arguments]
port [-scheme=SCHEME] [-mgmt=PORT_SET] [-radio=PORT_SET] port -d1q[=[disable|enable]] port -vlan={RANgeLIST} [{-priority=PRIO|-nopriority}] port -vlan={RANgeLIST} [-stp] [-nostp] [{-spriority=STPPRIO|-nospriority}] [-sforward[=enable|disable]] port -vlan={RANgeLIST} -remove={RANgeLIST} port [PORT_SET] [-access=TAG] [-native=TAG] [-mode={access|trunk}] port [PORT_SET] [-allow={RANgeLIST}] [-disallow={RANgeLIST}] port [PORT_SET] [-limit={RATE_LIMIT}] [-nolimit] [-qosmode={wrr|st3|st23|strict}] port [PORT_SET] stat|clear|vtt|stt [VID]|fdb-show|dump RANgeLIST: RANge[,RANge...] RANge: {TAG[-TAG]|all} PRIO: {0..7} - DOT1P frame priority RATE_LIMIT: {0..1000} - port egress rate limit in Mbit/sec STPPRIO: {0..15} | {0,4096,8192...61440} Port set <PORT_SET>: enumeration of {[ge]0..[ge]1,s[fp],m,r}|*, for example 0,ge1,m Adjacency scheme <SCHEME>: {isolate, transparent} |
Command arguments description is given in the table below:
|
Configure the switch for operation in "isolate" mode. It is the default mode. If you need to switch from "transparent" mode, use the command:
Configure the port isolation rules for traffic redirection from external physical interfaces "ge0", "ge1" and/or "sfp" to the interfaces "radio" or "mgmt":
Assign access to the management interface through the "ge0" port:
Assign the port "ge1" for data transfer to the port "radio":
Configure the switch for operation in "transparent" mode.
See VLAN-based switching matrix with default settings below:
port vtt VID 0 1 2 r m STP Prio ==== = = = = = === ==== 1 N N N N N - ---- |
In order to switch to "transparent" mode, execute the command:
Configuring of the switch starts with adding VLANs, which are necessary for data transfer and device management:
port -vlan=30,100 port vtt VID 0 1 2 r m STP Prio ==== = = = = = === ==== 1 N N N N N - ---- 30 t t t t t - ---- 100 t t t t t - ---- |
Set the parameters of processing of tagged or/and untagged traffic for each port.
Set access of untagged packets to VLAN 30 on the management interface "mgmt":
port m -access=30 -mode=access port vtt VID 0 1 2 r m STP Prio ==== = = = = = === ==== 1 N N N N - - ---- 30 t t t t A - ---- 100 t t t t - - ---- |
Set access of untagged packets only to VLAN 30 on the port "ge0":
port 0 -access=30 -mode=access port vtt VID 0 1 s r m STP Prio ==== = = = = = === ==== 1 - N N N - - ---- 30 A t t t A - ---- 100 - t t t - - ---- |
Set the "ge1" port for processing of tagged packets of the VLAN 30 only ("trunk" mode):
port 1 -allow=30 -mode=trunk port vtt VID 0 1 s r m STP Prio ==== = = = = = === ==== 1 - - N N - - ---- 30 A t t t A - ---- 100 - - t t - - ---- |
Set the port "sfp" for processing of tagged packets of the VLAN 100 only ("trunk" mode):
port s -allow=100 -mode=trunk port vtt VID 0 1 s r m STP Prio ==== = = = = = === ==== 1 - - - N - - ---- 30 A t - t A - ---- 100 - - t t - - ---- |
Set the port "radio" for processing of tagged packets of the VLAN 30 and VLAN 100 ("trunk" mode):
portr -allow=30,100 -mode=trunk port vtt VID 0 1 s r m STP Prio ==== = = = = = === ==== 30 A t - t A - ---- 100 - - t t - - ---- |