User's Manual
Switch configuration
Technical User Manual
InfiLINK XG – CLI commands
6
port [PORT_SET] [-access=TAG]
Example:
port 0 -access=50 -mode=access
sets the access mode for the port GE0 and defines VLAN 50 for operation of this
port.
If you want to define VLANs for the port operation in trunk mode, use the
command:
port [PORT_SET] [-allow={RANGELIST}]
Example:
port 1 -allow=50-55 -mode=trunk
sets the trunk mode for the port GE1 and allows operations with VLAN
50,51,52,53,54,55.
If you need to set VLAN for operation as a Native VLAN for the port in trunk
mode, use the command:
port [PORT_SET] [-native=TAG]
In order to remove the selected VLANs from the port, use the command:
port [PORT_SET] [-disallow={RANGELIST}]
If you need to set on the selected port the limit for outgoing traffic (traffic shaper) in
Mbps, ranging from 1 to 100 in increments of 1 or from 100 to 1000 in increments
of 10, use the command:
port [PORT_SET] [-limit={RATE_LIMIT}]
Example:
port 0,1 -limit=120
sets the limit of 120 Mbps on the ports GE0 and GE1.
In order to remove the limits of throughput on the port, use the command:
port [PORT_SET] [-nolimit]
In order to select the QoS policy for the port (WRR is used by default), use the
following command:
port [PORT_SET] [-qosmode={wrr|st3|st23|strict}]
Use these commands to get statistics data and information about current
parameters of the device operation: