SCX CLI...
Command Line Interface (CLI):
Commands for the Smart Camera Box
Data sheet
109009_en_00
1
© PHOENIX CONTACT 2021-03-10
Description
Command Line Interface (CLI) is a text-based option for
switch configuration and diagnostics. You can access the
CLI via Telnet or SSH.
To use the CLI, you must first enable it in the web-based
management of the Smart Camera Box. To do so, observe
the information in the user manual UM EN SCX XPOE...
This document is valid for the following products:
– SCX 4POE 2LX, 1102626
– SCX 2POE 2LX, 1108543
– SCX 4POE 2T, 1108542
– SCX 2POE 2T, 1108544
This application note does not replace the device-specific documents. Please follow the safety notes on the
associated packing slips and in the user manual.
Make sure you always use the latest documentation.
It can be downloaded from the product at phoenixcontact.net/products.
SCX CLI...
2
Table of contents
2
Table of contents ..................................................................................................................... 2
1
3
4
5
6
7
8
Description .............................................................................................................................. 1
Command Line Interface (CLI)................................................................................................. 3
3.1
Access .............................................................................................................................. 3
3.2
CLI commands.................................................................................................................... 4
3.3
Syntax .............................................................................................................................. 4
3.4
Help ................................................................................................................................. 4
3.5
Autocomplete ..................................................................................................................... 5
3.6
CLI Network Scripting UI ....................................................................................................... 6
General commands ................................................................................................................. 7
System commands .................................................................................................................. 8
Event Table commands......................................................................................................... 10
MAC Address Table commands............................................................................................ 10
FW Image Handling commands ............................................................................................ 11
9
Script Handling commands ................................................................................................... 11
11
FLOS Services commands .................................................................................................... 14
10
12
Network commands............................................................................................................... 12
LLDP commands ................................................................................................................... 15
13
Port Features commands ...................................................................................................... 18
15
VLAN commands .................................................................................................................. 23
14
16
17
18
19
Port Mirroring commands ...................................................................................................... 22
Multicast commands.............................................................................................................. 28
RSTP commands .................................................................................................................. 33
Security Context commands.................................................................................................. 38
DHCP commands.................................................................................................................. 39
20
QoS commands..................................................................................................................... 46
22
FLOS MTU commands.......................................................................................................... 50
21
23
24
Trap Manager commands ..................................................................................................... 48
PoE commands ..................................................................................................................... 50
SCX I/O commands ............................................................................................................... 53
109009_en_00
PHOENIX CONTACT
2/54
SCX CLI...
3
Command Line Interface (CLI)
3.1
Access
The CLI is accessed via a Telnet or SSH connection from a management host, e.g. a PC. You can use the Windows®
command prompt or the PuTTY freeware tool as an input terminal.
The device requires an IP address and a subnet mask in order to access the CLI. The user manual UM EN SCX XPOE...
contains a description of how to configure the parameters.
Figure 1
Configuration of a Telnet connection in PuTTY
Figure 2
Command terminal in PuTTY
Figure 3
Establishing a Telnet connection via Windows® command prompt
Figure 4
Command terminal in Windows® command prompt
109009_en_00
PHOENIX CONTACT
3/54
SCX CLI...
3.2
CLI commands
The parameters of a command may be mandatory, optional, or a selection of values.
Character Example
[]
[Value]
{}
|
[{ }]
3.3
Description
Mandatory parameters: You must enter the parameter.
Optional parameters: You can enter the parameter instead of
the brackets.
You must select the value from a specific list of values.
The hyphen separates mutually exclusive selection options.
Selection from a list of values within an optional parameter
{choice1 | choice2}
choice1 | choice2
[{choice1 | choice2}]
Syntax
A command consists of one or more words that can be followed by one or more parameters. The parameters can be
mandatory or optional values.
Some commands, e.g., show network and clear, do not need a parameter. Other commands, e.g., network parms, need
values after the command name. You must enter the parameters in the specified order. Mandatory parameters must always
be entered first, and then the optional parameters.
network parms
network parms
network parms
network parms
network parms
network parms
3.4
Mandatory
192.168.10.42
192.168.10.42
192.168.10.42
255.255.255.0
Mandatory
255.255.255.0
255.255.255.0
255.255.255.0
192.168.10.42
[gateway]
Optional
192.168.10.0
= Correct
= False
Help
To have all currently available commands displayed, enter a question mark in the command prompt. If you type a question
mark after every entry, all the commands available after that point will be displayed.
Figure 5
109009_en_00
Available command designations or parameters
PHOENIX CONTACT
4/54
SCX CLI...
If Help displays a parameter in angle brackets, you must replace the parameter with a value.
Figure 6
Mandatory parameter
If at any point there are no further command names or parameters available, or if further parameters are optional, the following
message will appear as output.
Figure 7
3.5
Press Enter
Autocomplete
If you have entered enough letters to uniquely identify a command, press the space bar or tab. Autocomplete will supplement
the command.
Figure 8
109009_en_00
Autocomplete
PHOENIX CONTACT
5/54
SCX CLI...
3.6
CLI Network Scripting UI
The CLI Network Scripting UI enables CLI commands from scripts to be loaded onto the device via the network. You can
configure and diagnose the device as is with a PC via URL or from a controller. In the process, the device will confirm each
command entry.
Command type
config
show
Switch response
OK
Switch data output
The command must fulfill a specific syntax:
http://ipaddress/php/command.php?usr=username&pwd=password&cmd=cli_command_1 | cli_command_2 | ....
Examples of commands with the correct syntax
Change device name:
http://192.168.10.42/php/command.php?usr=admin&pwd=private&cmd=device-identity name Switch2000
Figure 9
Change device name
Display network parameters, change user password:
http://192.168.10.42/php/command.php?usr=admin&pwd=private&cmd=show network | users passwd private2
Figure 10
109009_en_00
Display network parameters, change user password
PHOENIX CONTACT
6/54
SCX CLI...
4
General commands
ID
Command
GCom001 reload
Description
Device restart
Example
reload
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Value range
Value range
ID
Command
Value range
GCom004 quit
Description
Exit the CLI session (unsaved changes will be lost).
Example
quit
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
109009_en_00
Answer
OK
As of firmware version
1.00
1.01
ID
Command
Value range
GCom002 logout
Description
Exit the CLI session (unsaved changes will be lost).
Example
logout
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
ID
Command
GCom003 help
Description
Open the CLI help
Example
help
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Default
Default
Answer
As of firmware version
1.00
1.01
Default
Answer
Commandline help
As of firmware version
1.00
1.01
Default
Answer
As of firmware version
1.00
1.01
PHOENIX CONTACT
7/54
SCX CLI...
ID
Command
GCom006 users passwd
Value range
Current user
name
Current
password
New
password (8 - 64 chars)
Description
Change a user password
Example
user passwd admin private Switch123 Switch123
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
5
Default
= admin
= private
Answer
OK
As of firmware version
1.00
1.01
System commands
ID
Command
Value range
SCom001 show version
Description
Display the device description and hardware information:
Serial number
Hardware version
Firmware version
Bootloader version
Example
show version
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
ID
Command
SCom002 show sys-info
Description
System information display:
Device name
Object ID
Device description
Contact person
Device location
System runtime
Example
show sys-info
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
109009_en_00
Value range
Default
Answer
ERROR
As of firmware version
1.00
1.01
Default
Answer
OK + Parameter
Liste
As of firmware version
1.00
1.01
PHOENIX CONTACT
8/54
SCX CLI...
ID
Command
SCom003 device-identity name
Description
Change the device name
Example
device-identity name Switch2008_2
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Value range
max. 256 chars
ID
Command
SCom004 device-identity description
Description
Change the device description
Example
device-identity description Switch 2008
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Value range
max. 256
chars
Default
= leer
As of firmware version
1.00
1.01
Default
= leer
Answer
OK
As of firmware version
1.00
1.01
ID
Command
Value range
SCom005 device-identity location
Description
Change the device location
Example
device-identity location Building 2
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Default
= leer
ID
Command
SCom006 device-identity contact
Description
Change the contact person
Example
device-identity contact Mr. Doe
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Default
= leer
109009_en_00
Answer
OK
Value range
max. 256 chars
Answer
OK
As of firmware version
1.00
1.01
Answer
OK
As of firmware version
1.00
1.01
PHOENIX CONTACT
9/54
SCX CLI...
6
Event Table commands
ID
Command
Value range
ETab001 show event-table
Description
Display the event table with the following columns:
Index
Event
Device runtime
Example
show event-table
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
ID
Command
ETab002 clear event-table
Description
Delete/clear the event table
Example
clear event-table
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
7
Value range
Default
Answer
Entries of event table
As of firmware version
1.00
1.01
Default
Answer
OK
As of firmware version
1.00
1.01
MAC Address Table commands
ID
MTab001
Command
management-access {enable | disable}
Description
Display the MAC address table
Example
show mac-address-table
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
109009_en_00
Value range
Default
Answer
OK + MAC address
table
As of firmware version
1.00
1.01
PHOENIX CONTACT
10/54
SCX CLI...
ID
MTab002
Command
wlan global-activation
Value range
enable: WLAN on
disable: WLAN off
Description
Enable/disable WLAN
The “LNK” LED lights up when the WLAN interface is enabled
Example
wlan global-activation enable
Device range
FLOS product range FL WLAN 1100/2100
FLOS product range FL SWITCH 2000
FLOS product family SCX
8
Default
disable
Answer
OK
As of firmware version
1.0
1.00
1.01
FW Image Handling commands
ID
FImg001
Command
management-access {enable | disable}
Value range
Default
IP address
(xxx.xxx.xxx.xxx)
File name of the
firmware image
Answer
OK
Description
Transfer of a firmware image file to the device. The firmware update is performed immediately, the device then restarts and
the CLI connection is terminated.
Example
file-transfer tftp write-to-device firmware 192.168.0.1 FL_SWITCH_2000_v1_00.bin
Device range
As of firmware version
FLOS product range FL SWITCH 2000
1.00
FLOS product family SCX
1.01
9
Script Handling commands
ID
Scpt001
Command
management-access
{enable | disable}
Description
Example
show script
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
109009_en_00
Value range
Default
Answer
As of firmware version
1.00
1.01
PHOENIX CONTACT
11/54
SCX CLI...
ID
Scpt002
Command
wlan global-activation
Value range
enable: WLAN on
disable: WLAN off
Description
Enable/disable WLAN
The “LNK” LED lights up when the WLAN interface is enabled
Example
wlan global-activation enable
Device range
FLOS product range FL WLAN 1100/2100
FLOS product range FL SWITCH 2000
FLOS product family SCX
10
Default
disable
Answer
OK
As of firmware version
1.0
1.00
1.01
Network commands
ID
Command
Value range
NW001
show network
Description
Display the current network parameters:
IP address assignment (static, BootP, DHCP)
IP address
Network mask
Default gateway
Management VLAN
Address Conflict Detection (ACD) mode
Example
show network
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
ID
NW002
Command
network parms [gateway]
Value range
IP address
(xxx.xxx.xxx.xxx)
Subnet mask
(xxx.xxx.xxx.xxx)
[gateway] Default gateway
(xxx.xxx.xxx.xxx)
Description
Change the network parameters:
IP address
Network mask
Default gateway
Example
network parms 192.168.0.150 255.255.255.0
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
109009_en_00
Default
Answer
OK + Parameters
As of firmware version
1.00
1.01
Default
= 0.0.0.0
= 0.0.0.0
[gateway] = 0.0.0.0
Answer
OK
As of firmware version
1.00
1.01
PHOENIX CONTACT
12/54
SCX CLI...
ID
NW003
Command
network protocol {bootp |
dhcp | none}
Description
Change the IP address assignment
Example
network protocol dhcp
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
ID
NW004
Command
network mgmt-vlan
Description
Change the management VLAN
Example
network mgmt-vlan 2
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
ID
NW005
Value range
Default
{bootp | dhcp | none} Selec- bootp
tion of the network protocol
for IP address assignment
As of firmware version
1.00
1.01
Value range
VLAN ID
(1 - 4000)
Command
Value range
network acd-mode {acd |
{acd | none} Selection of the
none}
ACD mode
Description
Change the ACD (Address Conflict Detection) mode
Example
network acd-mode acd
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
109009_en_00
Answer
OK
Default
= 1
Answer
OK
As of firmware version
1.00
1.01
Default
none
Answer
OK
As of firmware version
1.00
1.01
PHOENIX CONTACT
13/54
SCX CLI...
11
FLOS Services commands
ID
Command
Value range
Mng001
show service
Description
Status indicator for all of the following services:
Web server
SNMP server
CLI service
CLI network scripting UI (CLI command entry via URL)
Example
show service
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
As of firmware version
1.00
1.01
ID
Mng002
Command
Value range
service cli-service {disable | {disable | telnet | ssh} Selectelnet | ssh}
tion of the CLI service protocol
Description
Change the CLI service protocol
Example
service cli-service telnet
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Default
telnet
ID
Mng004
Default
http
Command
Value range
service web-server {disable {disable | http | https} Selec| http | https}
tion of the web server protocol
Description
Change the web server protocol
Example
service web-server https
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
109009_en_00
Default
Answer
OK + parameter
Answer
OK
As of firmware version
1.00
1.01
Answer
OK
As of firmware version
1.00
1.01
PHOENIX CONTACT
14/54
SCX CLI...
ID
Mng005
Command
Value range
service snmp-agent {disable {disable | snmp-v2 | snmp| snmp-v2 | snmp-v3}
v3} Selection of the SNMP
version
Description
Change the SNMP server
Example
service snmp-agent snmp-v2
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
12
Default
snmp-v2
Answer
OK
As of firmware version
1.00
1.01
LLDP commands
ID
LLDP001
Command
show lldp topology all
Value range
Description
Tabular display of the LLDP topology with the following columns:
Local port
Chassis ID of the connected device
IP address of the connected device
Remote port of the connected device
Description of the remote port on the connected device
Example
show lldp topology all
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
ID
Command
LLDP002 show lldp global
Description
Display the configuration parameters:
LLDP status
LLDP transmission interval
LLDP transmit port
LLDP receive port
Example
show lldp global
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
109009_en_00
Value range
Default
Answer
OK + LLDP topology
table
As of firmware version
1.00
1.01
Default
Answer
OK + Parameters
As of firmware version
1.00
1.01
PHOENIX CONTACT
15/54
SCX CLI...
ID
LLDP003
Command
Value range
show lldp topology port-no Port number
Description
Display the topology information at a port:
Complete chassis ID
Complete port name
System name
System description
Example
show lldp topology port-no 3
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
As of firmware version
1.00
1.01
ID
LLDP004
Default
enable
Command
Value range
lldp status {enable | disable} {enable | disable} Enable/
disable
Description
Change the LLDP status
Example
lldp status enable
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
ID
LLDP005
Command
lldp tx-interval
Description
Change the LLDP transmission interval
Example
lldp tx-interval 10
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
ID
LLDP006
Command
lldp port-tx enable
Description
Activation of the LLDP transmit ports
Example
lldp port-tx enable 3,4,8
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
109009_en_00
Default
Answer
OK + LLDP port
topology
Answer
OK
As of firmware version
1.00
1.01
Value range
Default
Interval in seconds 5
(5 - 32768)
Answer
OK
As of firmware version
1.00
1.01
Value range
Comma-separated list of port numbers
Default
all enable
Answer
OK
As of firmware version
1.00
1.01
PHOENIX CONTACT
16/54
SCX CLI...
ID
LLDP007
Command
lldp port-tx disable
Description
Deactivation of the LLDP transmit ports
Example
lldp port-tx disable 3,4,8
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Value range
Comma-separated list of port numbers
ID
LLDP008
Command
lldp port-rx enable
Description
Activation of the LLDP receive ports
Example
lldp port-rx enable 3,4,8
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Value range
Comma-separated list of port numbers
ID
LLDP009
Value range
Comma-separated list of port numbers
Command
lldp port-rx disable
Description
Deactivation of the LLDP receive ports
Example
lldp port-rx disable 3,4,8
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
109009_en_00
Default
no disable
Answer
OK
As of firmware version
1.00
1.01
Default
all enable
Answer
OK
As of firmware version
1.00
1.01
Default
no disable
Answer
OK
As of firmware version
1.00
1.01
PHOENIX CONTACT
17/54
SCX CLI...
13
Port Features commands
ID
Command
Value range
PFtr001
show port-info all
Description
Display the basic parameters of all ports:
Port number
Port name
Port type
Port status
Port mode
Example
show port-info all
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
ID
PFtr002
Command
Value range
show port-info port-no
Port number
Description
Display the basic parameters of one port:
Port number
Port name
Port type
Port status
Port mode
Status flow control
Status link monitoring
Example
show port-info port-no 3
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
ID
PFtr003
Command
show port-stat port-no
Description
Display the port statistics of one port
Example
show port-stat port-no 3
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
109009_en_00
Value range
Port number
Default
Answer
OK + parameter
As of firmware version
1.00
1.01
Default
Answer
OK + parameter
As of firmware version
1.00
1.01
Default
Answer
OK + parameter
As of firmware version
1.00
1.01
PHOENIX CONTACT
18/54
SCX CLI...
ID
PFtr004
Command
Value range
show port-util port-no
Description
Display the RX and TX utilization of one port
Example
show port-util port-no 3
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Default
As of firmware version
1.00
1.01
ID
Command
Value range
PFtr005
show port-util all
Description
Display the RX and TX utilization of all ports
Example
show port-util all
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
As of firmware version
1.00
1.01
ID
PFtr006
Command
Value range
port admin-mode Port number
{enable | disable}
{enable | disable} Enable/
disable
Description
Activation/deactivation of a port
Example
port 3 admin-mode disable
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Default
all enable
ID
PFtr007
Default
Command
Value range
port modus au Port number
toneg
Description
Activation/deactivation of auto-negotiation on one port
Example
port 3 modus autoneg
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
109009_en_00
Answer
OK + parameter
Default
Answer
OK + parameter
Answer
OK
As of firmware version
1.00
1.01
Answer
OK
As of firmware version
1.00
1.01
PHOENIX CONTACT
19/54
SCX CLI...
ID
PFtr008
Command
Value range
Default
port modus au Port number
to10_100
Description
Activation/deactivation of auto-negotiation on one port (only 10/100 Mbps, not 1000 Mbps)
Example
port 3 modus auto10_100
Device range
As of firmware version
FLOS product range FL SWITCH 2000
2.01
FLOS product family SCX
1.01
Answer
OK
ID
PFtr009
Answer
OK
Command
port modus
speed {half-duplex
| full-duplex}
Value range
Port number
Transmission
speed in Mbps (selection
options: {10 | 100 | 1000})
{half-duplex | full-duplex}
Selection of the duplex
mode
Description
Change the transmission speed and duplex mode on one port
Example
port 3 modus speed 100 half-duplex
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
ID
PFtr010
Command
Value range
port modus fast- Port number
startup
Description
Activation/deactivation of Fast Startup mode on one port.
Example
port 3 modus faststartup
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
109009_en_00
Default
As of firmware version
1.00
1.01
Default
Answer
OK
As of firmware version
1.00
1.01
PHOENIX CONTACT
20/54
SCX CLI...
ID
PFtr011
Command
port description
Description
Change the port name
Example
port 3 description RingPort1
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Value range
Port number
Port designation
(0 - 31 chars)
Default
= leer
As of firmware version
1.00
1.01
ID
PFtr012
Command
Value range
port link-monitor- Port number
ing {enable | disable}
{enable | disable}
Enable/disable
Description
Activation/deactivation of link monitoring on one port
Example
port 3 link-monitoring disable
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Default
all disable
ID
PFtr013
Default
all disable
Command
port flow-control
{enable | disable}
Value range
Port number
{enable | disable}
Enable/disable
Description
Activation/deactivation of flow control on one port
Example
port 3 flow-control disable
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
109009_en_00
Answer
OK
Answer
OK
As of firmware version
1.00
1.01
Answer
OK
As of firmware version
1.00
1.01
PHOENIX CONTACT
21/54
SCX CLI...
14
Port Mirroring commands
ID
Command
PMir001
show port-mirror
Description
Display the port mirroring parameters:
Global status
Receive port (mirroring port)
Mirrored ports (incoming traffic)
Mirrored ports (outgoing traffic)
Example
show port-mirror
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Value range
ID
PMir002
Default
As of firmware version
1.00
1.01
Command
Value range
port-mirror status {enable | {enable | disable}
disable}
Enable/disable
Description
Activation/deactivation of the global port mirroring status
Example
port-mirror status enable
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Default
disable
ID
Command
Value range
PMir003
port-mirror dest Port number
Description
Change the receive port (mirroring port)
Example
port-mirror dest 8
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Default
1
ID
PMir004
Default
all disable
Command
Value range
port-mirror ingress enable Comma-sepa
rated list of port numbers
Description
Activation of RX port mirroring (incoming traffic) on multiple ports
Example
port-mirror ingress enable 3,4,8
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
109009_en_00
Answer
OK + parameter
Answer
OK
As of firmware version
1.00
1.01
Answer
OK
As of firmware version
1.00
1.01
Answer
OK
As of firmware version
1.00
1.01
PHOENIX CONTACT
22/54
SCX CLI...
ID
PMir005
Command
Value range
port-mirror ingress disable Comma-sepa
rated list of port numbers
Description
Deactivation of RX port mirroring (incoming traffic) on multiple ports
Example
port-mirror ingress disable 3,4,8
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Default
all disable
ID
PMir006
Command
Value range
port-mirror egress enable Comma-sepa
rated list of port numbers
Description
Activation of TX port mirroring (outgoing traffic) on multiple ports
Example
port-mirror egress enable 3,4,8
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Default
all disable
ID
PMir007
Default
all disable
Command
Value range
port-mirror egress disable
Comma-sepa
rated list of port numbers
Description
Deactivation of TX port mirroring (outgoing traffic) on multiple ports
Example
port-mirror egress disable 3,4,8
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
15
Answer
OK
As of firmware version
1.00
1.01
Answer
OK
As of firmware version
1.00
1.01
Answer
OK
As of firmware version
1.00
1.01
VLAN commands
ID
Command
VLan001 show vlan global
Description
Display the current VLAN mode
Example
show vlan global
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
109009_en_00
Value range
Default
Answer
OK + parameter
As of firmware version
1.00
1.01
PHOENIX CONTACT
23/54
SCX CLI...
ID
VLan002
Command
show vlan static-table
Value range
Description
Display the static VLAN table:
VLAN ID
VLAN name
Device ports (untagged)
Device ports (tagged)
Example
show vlan static-table
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Value range
ID
VLan004
Value range
Default
Answer
As of firmware version
1.01
Description
Display the port-based static VLAN table for all ports:
VLAN ID
VLAN name
Device ports (untagged)
Device ports (tagged)
Example
show vlan port-table
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
109009_en_00
Answer
OK + VLAN static
table
As of firmware version
1.00
1.01
ID
Command
VLan003 show vlan current-table
Description
Display the current VLAN table:
VLAN ID
VLAN name
Device ports (untagged)
Device ports (tagged)
Example
show vlan current-table
Device range
FLOS product family SCX
Command
show vlan port-table
Default
Default
Answer
OK + VLAN port
table
As of firmware version
1.00
1.01
PHOENIX CONTACT
24/54
SCX CLI...
ID
Command
Value range
VLan005 show vlan port
Port number
Description
Display the port-based static VLAN table for one port:
VLAN ID
VLAN name
Device ports (untagged)
Device ports (tagged)
Example
show vlan port 3
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
ID
VLan006
Command
Value range
show vlan vlan-id VLAN ID
(1 - 4000)
Description
Display the VLAN information for a VLAN:
VLAN ID
VLAN name
Device ports (untagged)
Device ports (tagged)
Example
show vlan vlan-id 3
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
ID
VLan007
Command
vlan status {transparent |
tagged}
Description
Change the VLAN mode
Example
vlan status tagged
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
109009_en_00
Default
Answer
OK + parameter
As of firmware version
1.00
1.01
Default
Answer
OK + parameter
As of firmware version
1.00
1.01
Value range
Default
{transparent | tagged}
transparent
Selection of the VLAN mode
Answer
OK
As of firmware version
1.00
1.01
PHOENIX CONTACT
25/54
SCX CLI...
ID
VLan008
Command
vlan create
Description
Create a new static VLAN
Example
vlan create 5
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
ID
VLan009
Command
vlan delete
Description
Delete a static VLAN
Example
vlan delete 5
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
ID
VLan010
Command
vlan static name
Description
Change the name of a static VLAN
Example
vlan static 5 name VLAN_5
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
ID
VLan011
Value range
VLAN ID
(1 - 4000)
Answer
OK
As of firmware version
1.00
1.01
Value range
VLAN ID
(1 - 4000)
Default
Answer
OK
As of firmware version
1.00
1.01
Value range
VLAN ID
(1 - 4000)
VLAN name
(0 - 31 chars)
Command
Value range
vlan static tagged- VLAN ID
mem-ports
(1 - 4000)
Comma-separated list of port numbers
Description
Assignment of device ports (tagged) to a VLAN
Example
vlan static 5 tagged-mem-ports
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
109009_en_00
Default
Default
Answer
OK
As of firmware version
1.00
1.01
Default
Answer
OK
As of firmware version
1.00
1.01
PHOENIX CONTACT
26/54
SCX CLI...
ID
VLan012
Command
vlan static untagged-mem-ports
Value range
VLAN ID
(1 - 4000)
Comma-separated list of port numbers
Description
Assignment of device ports (untagged) to a VLAN
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
ID
VLan013
Command
vlan static nomember
Description
Removal of device ports from a VLAN
Example
vlan static 5 no-member
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
ID
VLan014
Command
vlan port vlan
Value range
VLAN ID
(1 - 4000)
Comma-separated list of port numbers
Default
As of firmware version
1.00
1.01
Default
Answer
OK
As of firmware version
1.00
1.01
Value range
Port number
VLAN ID
(1 - 4000)
Default
Description
Assignment of a default VLAN ID to a port
Example
vlan port 3 vlan 5
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
As of firmware version
1.00
1.01
ID
VLan015
Default
0
Command
Value range
vlan port priority Port number
Priority (0 - 7)
Description
Assignment of a default priority to a port
Example
vlan port 3 priority
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
109009_en_00
Answer
OK
Answer
OK
Answer
OK
As of firmware version
1.00
1.01
PHOENIX CONTACT
27/54
SCX CLI...
ID
VLan016
Command
Value range
vlan port ingress- Port number
filter {enable | disable}
{enable | disable}
Enable/disable
Description
Activation/deactivation of the ingress filter at a port
Example
vlan port 3 ingress-filter disable
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
16
Default
all disable
Answer
OK
As of firmware version
1.00
1.01
Multicast commands
ID
Command
Value range
MC001
show multicast igmp
Description
Display the IGMP snooping information:
Status IGMP Snooping
Snoop Aging Time
IGMP Query Version
Query interval
Status of IGMP extension FUQ
Status of IGMP extension BUQ
Status of IGMP extension auto query port
List of static query ports
Example
show multicast igmp
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
ID
MC002
Default
As of firmware version
1.00
1.01
Command
Value range
Default
show multicast staticgroups
Description
Tabular display of the static multicast groups with the following columns:
Multicast address
VLAN ID
Member ports including status
Example
show multicast static-groups
Device range
As of firmware version
FLOS product family SCX
1.01
109009_en_00
Answer
OK + parameter
Answer
OK + parameter list
PHOENIX CONTACT
28/54
SCX CLI...
ID
MC003
Command
Value range
Default
show multicast currentgroups
Description
Tabular display of the current multicast groups with the following columns:
VLAN ID
Multicast address
Port member
Example
show multicast current-groups
Device range
As of firmware version
FLOS product range FL SWITCH 2000
1.00
FLOS product family SCX
1.01
Answer
OK + current multicast groups
ID
MC004
Answer
OK
Command
Value range
multicast igmp snoop status {enable | disable}
{enable | disable}
Enable/disable
Description
Activation/deactivation of IGMP snooping
Example
multicast igmp snoop status enable
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Default
disable
ID
MC005
Command
Value range
multicast igmp snoop aging Aging time in
seconds (30 - 3600)
Description
Change the aging time
Example
multicast igmp snoop aging
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Default
= 300
ID
MC006
Default
disable
Command
multicast igmp querier version {disable | v1 | v2}
Description
Change the querier version
Example
multicast igmp querier version v2
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
109009_en_00
Value range
{disable | v1 | v2} Selection
of the querier version
As of firmware version
1.00
1.01
Answer
OK
As of firmware version
1.00
1.01
Answer
OK
As of firmware version
1.00
1.01
PHOENIX CONTACT
29/54
SCX CLI...
ID
MC007
Command
Value range
multicast igmp querier inter- Querier interval in
val
seconds (10 - 3600)
Description
Change the querier interval
Example
multicast igmp querier interval
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Default
= 125
ID
MC008
Command
Value range
multicast igmp extension
{enable | disable}
fuq {enable | disable}
Enable/disable
Description
Activation/deactivation of the IGMP extension FUQ
Example
multicast igmp extension fuq enable
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Default
enable
ID
MC009
Command
Value range
multicast igmp extension
{enable | disable}
buq {enable | disable}
Enable/disable
Description
Activation/deactivation of the IGMP extension BUQ
Example
multicast igmp extension buq enable
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Default
enable
ID
MC010
Default
enable
Command
Value range
multicast igmp extension
{enable | disable}
auto-query {enable | disEnable/disable
able}
Description
Activation/deactivation of the IGMP extension auto query port
Example
multicast igmp extension auto-query disable
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
109009_en_00
Answer
OK
As of firmware version
1.00
1.01
Answer
OK
As of firmware version
1.00
1.01
Answer
OK
As of firmware version
1.00
1.01
Answer
OK
As of firmware version
1.00
1.01
PHOENIX CONTACT
30/54
SCX CLI...
ID
MC011
Command
Value range
multicast igmp extension
clear-auto-query
Description
Delete all auto query ports
Example
multicast igmp extension clear-auto-query
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
ID
MC012
Command
Value range
multicast igmp extension
Comma-sepastatic-query-port add
Description
Add static query ports
Example
multicast igmp extension static-query-port add
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
ID
MC013
Command
Value range
mutlicast igmp extension
Comma-sepastatic-query-port remove
rated list of port numbers
Description
Delete static query ports
Example
multicast igmp extension static-query-port remove
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
ID
MC014
Command
multicast static create
Answer
OK
As of firmware version
1.00
1.01
Default
Answer
OK
As of firmware version
1.00
1.01
Default
Answer
OK
As of firmware version
1.00
1.01
Value range
Default
Multicast
MAC address
(xx:xx:xx:xx:xx:xx)
Multicast VLAN ID
Description
Generate a new static multicast group
Example
multicast static create 01:00:5e:00:18:0e 1
Device range
FLOS product family SCX
109009_en_00
Default
Answer
OK
As of firmware version
1.01
PHOENIX CONTACT
31/54
SCX CLI...
ID
MC015
Command
multicast static delete
Value range
Default
Multicast
MAC address
(xx:xx:xx:xx:xx:xx)
Multicast VLAN ID
Description
Delete an existing static multicast group
Example
multicast static delete 01:00:5e:00:18:0e 1
Device range
FLOS product family SCX
ID
MC016
Command
multicast static configure
static-mem-ports
Answer
OK
As of firmware version
1.01
Value range
Default
Multicast
MAC address
(xx:xx:xx:xx:xx:xx)
Multicast VLAN ID
Comma-separated list of port numbers
Answer
OK
Value range
Default
Multicast
MAC address
(xx:xx:xx:xx:xx:xx)
Multicast VLAN ID
Comma-separated list of port numbers
Answer
OK
Description
Add ports to a static multicast group
Example
multicast static configure 01:00:5e:00:18:0e 1 static-mem-ports 3,5,8
Device range
As of firmware version
FLOS product family SCX
1.01
ID
MC017
Command
multicast static configure
forbidden-mem-ports
Description
Forbid membership of ports in a static multicast group
Example
multicast static configure 01:00:5e:00:18:0e 1 forbidden-mem-ports 3,5,8
Device range
As of firmware version
FLOS product family SCX
1.01
109009_en_00
PHOENIX CONTACT
32/54
SCX CLI...
ID
MC018
Command
multicast static configure
no-member
Value range
Default
Multicast
MAC address
(xx:xx:xx:xx:xx:xx)
Multicast VLAN ID
Comma-separated list of port numbers
Description
Delete ports from a static multicast group
Example
multicast static configure 01:00:5e:00:18:0e 1 no-member 3,5,8
Device range
FLOS product family SCX
17
Answer
OK
As of firmware version
1.01
RSTP commands
ID
Command
RSTP001 show spanning-tree global
Description
RSTP information display:
Status RSTP Mode
Status Large Tree Support
Status Fast Ring Detection
Bridge Priority
Bridge Hello Time
Bridge Forward Delay
Bridge Max Age
Root MAC address
Root Port
Root Cost
Number of topology changes
Last topology change
Hello Time
Forward Delay
Max Age
Example
show spanning-tree global
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
109009_en_00
Value range
Default
Answer
OK + Parameter
As of firmware version
1.00
1.01
PHOENIX CONTACT
33/54
SCX CLI...
ID
RSTP002
Command
Value range
show spanning-tree port
Port number
port-no
Description
Display the RSTP information for a specific port:
Status RSTP Mode
Admin Path Cost
Operating Path Cost
Status Auto Edge
Status Admin Edge
Status Operating Edge
Priority
Number of forward transitions
MAC address of the root
MAC address of the bridge
Port ID
Cost
Example
show spanning tree port port-no 3
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Default
As of firmware version
1.00
1.01
ID
Command
Value range
Default
RSTP003 show spanning-tree port all
Description
Tabular display of the RSTP information for a specific port with the following columns:
Port number
Status RSTP Mode
Path Cost
Operating Edge
Blocking State
Protocol Role
Example
show spanning-tree port all
Device range
As of firmware version
FLOS product range FL SWITCH 2000
1.00
FLOS product family SCX
1.01
109009_en_00
Answer
OK + parameter
Answer
OK + Port
PHOENIX CONTACT
34/54
SCX CLI...
ID
RSTP004
Command
spanning-tree status {disable | 802.1d}
Value range
{disable | 802.1w}
Disable/enable
Description
Activation/deactivation of RSTP
Example
spanning-tree status 802.1w
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Default
Answer
Firmware revision 1.00: dis- OK
able
From Firmware revision
2.01: 802.1w
As of firmware version
1.00
1.01
ID
RSTP005
Command
Value range
spanning-tree lts {enable | {enable | disable}
disable}
Enable/disable
Description
Activation/deactivation of Large Tree Support
Example
spanning-tree lts enable
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Default
disable
ID
RSTP006
Command
Value range
spanning-tree frd {enable | {enable | disable}
disable}
Enable/disable
Description
Activation/deactivation of Fast Ring Detection
Example
spanning-tree frd enable
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Default
disable
ID
RSTP007
Default
= 32768
Command
spanning-tree bdg-prio
Description
Change the Bridge Priority
Example
spanning-tree bdg-prio 4096
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
109009_en_00
Value range
Bridge Priority
(0 - 61440 in increments of
4096)
Answer
OK
As of firmware version
1.00
1.01
Answer
OK
As of firmware version
1.00
1.01
Answer
OK
As of firmware version
1.00
1.01
PHOENIX CONTACT
35/54
SCX CLI...
ID
RSTP008
Command
spanning-tree hello-time
Description
Change the Bridge Hello Time
Example
spanning-tree hello-time 3
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Value range
Hello time in seconds (1 - 10)
ID
RSTP009
Command
spanning-tree fwd-delay
Description
Change the Bridge Forward Delay
Example
spanning-tree fwd-delay 20
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Value range
Bridge Forward
Delay in seconds (4 - 30)
ID
RSTP010
Value range
Default
Bridge Max Age in = 20
seconds (6 - 40)
Command
spanning-tree max-age
Description
Change the Bridge Max Age
Example
spanning-tree max-age 25
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
ID
RSTP011
Answer
OK
As of firmware version
1.00
1.01
Default
= 15
Answer
OK
As of firmware version
1.00
1.01
Command
Value range
spanning-tree port status {enable | disable} {enable | disable}
Enable/disable
Description
Activation/deactivation of RSTP for a specific port
Example
spanning-tree port 3 status disable
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
109009_en_00
Default
= 2
Answer
OK
As of firmware version
1.00
1.01
Default
all enable
Answer
OK
As of firmware version
1.00
1.01
PHOENIX CONTACT
36/54
SCX CLI...
ID
RSTP012
Command
spanning-tree port path-cost
Description
Change the path cost for a specific port
Example
spanning-tree port 3 path-cost 20000
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Value range
Default
= 0
Port number
Path cost (0 = automatic detection based on
the current port speed;
1 - 200000000 = manual setting)
ID
RSTP013
As of firmware version
1.00
1.01
Command
Value range
spanning-tree port auto-edge {enable | dis- {enable | disable}
able}
Enable/disable
Description
Activation/deactivation of Auto Edge for a specific port
Example
spanning-tree port 3 auto-edge enable
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Default
all enable
ID
RSTP014
Default
all non-edge
Command
Value range
spanning-tree port admin-edge {edge |
{edge | non-edge} Selection
non-edge}
of Admin Edge
Description
Activation/deactivation of Admin Edge for a specific port
Example
spanning-tree port 3 admin-edge non-edge
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
109009_en_00
Answer
OK
Answer
As of firmware version
1.00
1.01
Answer
As of firmware version
1.00
1.01
PHOENIX CONTACT
37/54
SCX CLI...
ID
RSTP015
Command
spanning-tree port priority
Description
Change the priority for a specific port
Example
spanning-tree port 3 priority 192
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Value range
Port number
Priority (0 - 240 in
increments of 16)
Answer
OK
As of firmware version
1.00
1.01
ID
RSTP016
Command
Value range
spanning-tree port force-rstp
Description
Force change from STP to RSTP for a specific port
Example
spanning-tree port 3 force-rstp
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
18
Default
= 128
Default
Answer
OK
As of firmware version
1.00
1.01
Security Context commands
ID
Command
SecC001 show sec-context
Description
Display the security context status
Example
show sec-context
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Value range
ID
Command
SecC002 sec-context generate
Description
Generate a security context
Example
sec-context generate
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Value range
109009_en_00
Default
Answer
OK + parameter
As of firmware version
1.00
1.01
Default
Answer
OK
As of firmware version
1.00
1.01
PHOENIX CONTACT
38/54
SCX CLI...
ID
SecC003
Command
file-transfer {tftp | http}
{write-to-device | read-fromdevice} sec-context
Value range
Default
{tftp | http} Selection of the
transfer method
{write-to-device | read-fromdevice} Selection of the
transfer direction
IP address
(xxx.xxx.xxx.xxx)
File name of the
root CA certificate
Answer
OK
Value range
Answer
OK + parameter
Description
Transfer of a root CA certificate file to the device or from the device to the PC.
Example
file-transfer tftp write-to-device sec-context 192.168.0.1 cacert.cer
Device range
As of firmware version
FLOS product range FL SWITCH 2000
1.00
FLOS product family SCX
1.01
19
DHCP commands
ID
Command
DHCP001 show dhcp global
Description
Display the global DHCP status
Example
show dhcp global
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
ID
Command
Value range
DHCP002 show dhcp server currentlease
Description
Tabular display of the current DHCP leases (assigned IP addresses):
Number
Assigned IP address
MAC address of the device
Local port
Status
Example
show dhcp server current-lease
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
109009_en_00
Default
As of firmware version
1.00
1.01
Default
Answer
OK + lease table
As of firmware version
1.00
1.01
PHOENIX CONTACT
39/54
SCX CLI...
ID
Command
Value range
Default
DHCP003 show dhcp server staticlease
Description
Tabular display of the current static DHCP leases (assigned IP addresses):
Number
Assigned IP address
MAC address of the device
Example
show dhcp server static-lease
Device range
As of firmware version
FLOS product range FL SWITCH 2000
1.00
FLOS product family SCX
1.01
Answer
OK + lease table
ID
Command
Value range
DHCP004 show dhcp server port-local Port number
Description
Display the port-based DHCP server information:
Port
Status of the port-based DHCP server
IP address
Subnet mask
Default gateway
DNS server
Example
show dhcp server port-local 3
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Answer
OK + parameter
ID
Command
Value range
DHCP005 dhcp-service service {none | {none | relay-agent | server}
relay-agent | server}
Selection of the DHCP
server operating mode
Description
Set the operating mode of the DHCP server
Example
dhcp-service service server
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
109009_en_00
Default
As of firmware version
1.00
1.01
Default
none
Answer
OK
As of firmware version
1.00
1.01
PHOENIX CONTACT
40/54
SCX CLI...
ID
Command
Value range
DHCP006 dhcp-service relay-agent re- {ip | mac} Selection of the
mote-id {ip | mac}
relay agent remote ID
Description
Change the relay agent remote ID
Example
dhcp-service relay-agent remote-id mac
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Default
ip
ID
Command
Value range
DHCP007 dhcp-service relay-agent
IP address
server
(xxx.xxx.xxx.xxx)
Description
Change the DHCP server in relay agent mode
Example
dhcp-service relay-agent server 192.168.0.2
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Default
= 0.0.0.0
ID
Command
Value range
DHCP008 dhcp-service relay-agent
Comma-sepaport-mode enable
Description
Activation of the relay agent on multiple ports
Example
dhcp-service relay-agent port-mode enable 3,4,8
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Default
ID
Command
Value range
DHCP009 dhcp-service relay-agent
Comma-sepaport-mode disable
Description
Deactivation of the relay agent on multiple ports
Example
dhcp-service relay-agent port-mode disable 3,4,8
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
109009_en_00
Answer
OK
As of firmware version
1.00
1.01
Answer
OK
As of firmware version
1.00
1.01
Answer
OK
As of firmware version
1.00
1.01
Default
Answer
OK
As of firmware version
1.00
1.01
PHOENIX CONTACT
41/54
SCX CLI...
ID
Command
Value range
DHCP010 dhcp-service server pool IP address
start-addr
(xxx.xxx.xxx.xxx)
Description
Change the start address of the DHCP pool
Example
dhcp-service server pool-start-addr 192.168.0.3
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Default
= 0.0.0.0
Answer
OK
As of firmware version
1.00
1.01
ID
Command
Value range
Default
Answer
DHCP011 dhcp-service server pool DHCP pool size
= 32
OK
size
(depends on subnet)
Description
Change the maximum number of IP addresses specified by the DHCP server (size of the address pool)
Example
dhcp-service server pool-size 20
Device range
As of firmware version
FLOS product range FL SWITCH 2000
1.00
FLOS product family SCX
1.01
ID
Command
Value range
DHCP012 dhcp-service server net Subnet mask
mask
(xxx.xxx.xxx.xxx)
Description
Change the subnet mask that is assigned to the DHCP clients
Example
dhcp-service server net-mask 255.255.255.0
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Default
= 0.0.0.0
ID
Command
Value range
DHCP013 dhcp-service server router- IP address
ip
(xxx.xxx.xxx.xxx)
Description
Change the default gateway that is assigned to the DHCP clients
Example
dhcp-service server router-ip 192.168.0.1
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Default
= 0.0.0.0
109009_en_00
Answer
OK
As of firmware version
1.00
1.01
Answer
OK
As of firmware version
1.00
1.01
PHOENIX CONTACT
42/54
SCX CLI...
ID
Command
Value range
DHCP014 dhcp-service server dns-ip IP address
(xxx.xxx.xxx.xxx)
Description
Change the DNS server that is assigned to the DHCP clients
Example
dhcp-service server dns-ip 192.168.10.10
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Default
= 0.0.0.0
ID
Command
Value range
DHCP015 dhcp-service server lease- DHCP lease time in
time
seconds (300 - 2592000)
Description
Change the DHCP lease time (validity of the IP address assignment)
Example
dhcp-service server lease-time 3600
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Default
= 3600
Answer
OK
As of firmware version
1.00
1.01
Answer
OK
As of firmware version
1.00
1.01
ID
Command
Value range
Default
DHCP016 dhcp-service server accept- {enable | disable}
enable
bootp {enable | disable}
Enable/disable
Description
Activation/deactivation of the acceptance of BootP requests by the DHCP server
Example
dhcp-service server accept-bootp enable
Device range
As of firmware version
FLOS product range FL SWITCH 2000
1.00
FLOS product family SCX
1.01
Answer
OK
ID
Command
DHCP017 dhcp-service server staticlease create
Answer
OK
Value range
IP address
(xxx.xxx.xxx.xxx)
Client MAC address
(xx:xx:xx:xx:xx:xx)
Default
Description
Create a static IP assignment (DHCP lease) for a defined client address (MAC address)
Example
dhcp-service server static-lease create 192.168.0.20 XX:XX:XX:6C:D2:05
Device range
As of firmware version
FLOS product range FL SWITCH 2000
1.00
FLOS product family SCX
1.01
109009_en_00
PHOENIX CONTACT
43/54
SCX CLI...
ID
Command
Value range
DHCP018 dhcp-service server static- IP address
lease delete (xxx.xxx.xxx.xxx)
Description
Delete a statically assigned IP address (DHCP lease)
Example
dhcp-service server static-lease delete 192.168.0.20
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
ID
Command
Value range
DHCP019 dhcp-service server staticlease clear
Description
Delete all static IP assignments (DHCP lease)
Example
dhcp-service server static-lease clear
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Default
As of firmware version
1.00
1.01
Default
Answer
OK
As of firmware version
1.00
1.01
ID
Command
Value range
DHCP020 dhcp-service server port Port number
local status {en- {enable | disable}
able | disable}
Enable/disable
Description
Activation/deactivation of a port-based DHCP server
Example
dhcp-service server port-local 3 status enable
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Default
all disable
ID
Command
Value range
DHCP021 dhcp-service server port Port number
local local-ip
(xxx.xxx.xxx.xxx)
Description
Change an IP address assigned by a port-based DHCP server
Example
dhcp-service server port-local 3 local-ip 192.168.0.30
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Default
= 0.0.0.0
109009_en_00
Answer
OK
Answer
OK
As of firmware version
1.00
1.01
Answer
OK
As of firmware version
1.00
1.01
PHOENIX CONTACT
44/54
SCX CLI...
ID
Command
Value range
DHCP022 dhcp-service server port Port number
local net-mask
Subnet mask
(xxx.xxx.xxx.xxx)
Description
Change a subnet mask assigned by a port-based DHCP server
Example
dhcp-service sercer port-local 3 net-mask 255.255.255.0
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Default
= 0.0.0.0
Answer
OK
As of firmware version
1.00
1.01
ID
Command
Value range
Default
DHCP023 dhcp-service server port Port number
= 0.0.0.0
local router-ip
IP address
(xxx.xxx.xxx.xxx)
Description
Change a default gateway address assigned by a port-based DHCP server
Example
dhcp-service server port-local 3 router-ip 192.168.0.1
Device range
As of firmware version
FLOS product range FL SWITCH 2000
1.00
FLOS product family SCX
1.01
Answer
OK
ID
Command
Value range
Default
DHCP024 dhcp-service server port Port number
= 0.0.0.0
local dns-ip
(xxx.xxx.xxx.xxx)
Description
Change a DNS server address assigned by a port-based DHCP server
Example
dhcp-service server port-local 3 dns-ip 192.168.10.10
Device range
As of firmware version
FLOS product range FL SWITCH 2000
1.00
FLOS product family SCX
1.01
Answer
OK
ID
Command
DHCP025 dhcp-service server portlocal-clear
Description
Delete all port-based DHCP servers
Example
dhcp-service server port-local-clear
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Answer
OK
109009_en_00
Value range
Default
As of firmware version
1.00
1.01
PHOENIX CONTACT
45/54
SCX CLI...
20
QoS commands
ID
Command
Value range
QOS001 show broadcast-limiter
Description
Display the broadcast limiter information:
Status of the broadcast limiter
Broadcast threshold value
Status of the multicast limiter
Multicast threshold value
Status of the unknown unicast limiter
Unknown unicast threshold value
Example
show broadcast-limiter
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
As of firmware version
1.00
1.01
ID
QOS002
Command
Value range
broadcast-limiter broadcast {enable | disable}
status {enable | disable}
Enable/disable
Description
Change the broadcast limiter status
Example
broadcast-limiter broadcast status enable
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Default
disable
ID
QOS003
Default
= 1024
Command
Value range
broadcast-limiter broadcast Threshold value in
threshold
frames per second
(0 - 1048576 in increments
of 1024)
Description
Change the broadcast limiter threshold
Example
broadcast-limiter broadcast threshold 2048
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
109009_en_00
Default
Answer
OK + parameter
Answer
OK
As of firmware version
1.00
1.01
Answer
OK
As of firmware version
1.00
1.01
PHOENIX CONTACT
46/54
SCX CLI...
ID
QOS004
Command
Value range
broadcast-limiter multicast {enable | disable}
status {enable | disable}
Enable/disable
Description
Change the multicast limiter status
Example
broadcast-limiter multicast status enable
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Default
disable
ID
QOS005
Default
= 1024
Command
broadcast-limiter multicast
threshold
Value range
Threshold value in
frames per second
(0 - 1048576 in increments
of 1024)
As of firmware version
1.00
1.01
Description
Change the multicast limiter threshold
Example
broadcast-limiter multicast threshold 2048
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
As of firmware version
1.00
1.01
ID
QOS006
Command
Value range
broadcast-limiter unicast
{enable | disable}
status {enable | disable}
Enable/disable
Description
Change the unknown unicast limiter status
Example
broadcast-limiter unicast status enable
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Default
disable
ID
QOS007
Default
= 1024
Command
broadcast-limiter unicast
threshold
Description
Change the broadcast limiter threshold
Example
broadcast-limiter unicast threshold 2048
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
109009_en_00
Value range
Threshold value in
frames per second
(0 - 1048576 in increments
of 1024)
Answer
OK
Answer
OK
Answer
OK
As of firmware version
1.01
1.01
Answer
OK
As of firmware version
1.02
1.01
PHOENIX CONTACT
47/54
SCX CLI...
21
Trap Manager commands
ID
Command
Value range
TMgr001 show snmp-trap
Description
Tabular display of the SNMP trap states with the following columns:
Trap Name
Status
Example
show snmp-trap
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
As of firmware version
1.00
1.01
ID
TMgr002
Default
disable
Command
snmp-trap status {enable |
disable}
Description
Change the global SNMP status
Example
snmp-trap status enable
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Value range
{enable | disable}
Enable/disable
ID
TMgr003
Value range
IP address
(xxx.xxx.xxx.xxx)
Command
snmp-trap server add
Description
Add an SNMP trap server
Example
snmp-trap server add 192.168.0.50
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
109009_en_00
Default
Answer
OK + trap status list
Answer
OK
As of firmware version
1.00
1.01
Default
Answer
OK
As of firmware version
1.00
1.01
PHOENIX CONTACT
48/54
SCX CLI...
ID
TMgr004
Command
snmp-trap server remove
Description
Delete an SNMP trap server
Example
snmp-trap server remove 192.168.0.50
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Value range
IP address
(xxx.xxx.xxx.xxx)
ID
TMgr005
Value range
Default
all enable
SNMP trap (selection options: {mrp | ip-conflict | fw-status-chg | portsec-violation | link-up | linkdown | rstp-top-chg | rstpnew-root | rstp-link-fail |
pow-src-chg | fw-config |
auth-fail | user-pwd-chg | sdcard-out | sd-card-in | config-diff | warm-start | coldstart})
Command
snmp-trap trap
{enable | disable}
109009_en_00
Answer
OK
As of firmware version
1.00
1.01
Description
Change the SNMP trap states
Example
snmp-trap trap link-up,auth-fail,warm-start enable
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
ID
Command
TMgr006 snmp-trap send-test-trap
Description
Send a test trap
Example
snmp-trap send-test-trap
Device range
FLOS product range FL SWITCH 2000
FLOS product family SCX
Default
Value range
Answer
OK
As of firmware version
1.00
1.01
Default
Answer
OK
As of firmware version
1.00
1.01
PHOENIX CONTACT
49/54
SCX CLI...
22
FLOS MTU commands
ID
Command
Value range
MTU001 show mtu all
Description
Display the MTU information for all ports
Example
show mtu all
Device range
FLOS product family SCX
ID
Command
Value range
MTU002 show mtu port
Port number
Description
Display the MTU information for one port
Example
show mtu port 2
Device range
FLOS product family SCX
23
Default
Answer
As of firmware version
1.01
Default
Answer
As of firmware version
1.01
PoE commands
ID
Command
Poe001
show poe port all
Description
Status of all PoE ports
Example
show poe port all
Device range
FLOS product family SCX
ID
Poe002
Value range
Default
As of firmware version
1.01
Command
Value range
Default
show poe port port-no
Description
Status of one PoE port
Example
show poe port port-no 3
Device range
As of firmware version
FLOS product family SCX
1.01
109009_en_00
Answer
OK + PoE table
Answer
OK + Port status list
PHOENIX CONTACT
50/54
SCX CLI...
ID
Poe003
Command
show poe controller
Value range
Description
Status PoE controller
Example
show poe controller
Device range
FLOS product family SCX
ID
Command
Value range
Poe004
poe notification
{enable | disable}
Description
Changing the global SNMP trap status for PoE
Example
poe notification enable
Device range
FLOS product family SCX
ID
Poe005
Default
As of firmware version
1.01
Default
As of firmware version
1.01
ID
Poe006
Default
8
109009_en_00
Answer
OK
As of firmware version
1.01
Command
Value range
poe controller powerthresh- {1-99}
old
Description
Setting the power threshold for SNMP trap
Example
poe controller powerthreshold 50
Device range
FLOS product family SCX
Command
Value range
poe port max-power
8}
Description
Setting the maximum port performance class (PoE class)
Example
poe port max-power 2 5
Device range
FLOS product family SCX
Answer
OK + PoE controller
list
Default
Answer
OK
Answer
OK
As of firmware version
1.01
PHOENIX CONTACT
51/54
SCX CLI...
ID
Poe007
Command
poe port prio
Description
Setting port priority
Example
poe port prio 2 critical
Device range
FLOS product family SCX
Value range
{1-5}
{critical | high | low}
Default
high
As of firmware version
1.01
ID
Poe008
Command
Value range
poe port pairs
{1-5}
{signal | spare | 4pairs}
Description
Setting the wire pairs to which PoE is wired
Example
poe port pairs 3 4pairs
Device range
FLOS product family SCX
Default
4pairs
ID
Poe009
Default
enable
Command
poe port power
Description
Switching PoE on and off
Example
poe port power 2 enable
Device range
FLOS product family SCX
Answer
OK
Value range
{1-5}
{enable | disable}
Answer
OK
As of firmware version
1.01
Answer
OK
As of firmware version
1.01
ID
Poe010
Command
Value range
Default
Answer
poe port operation-mode
{1-5}
auto
OK
{auto | force}
Description
PoE is negotiated (Auto) or power output in accordance with set parameters “max-power” and “pairs” without negotiation
(Force mode).
Example
poe port operation-mode 2 auto
Device range
As of firmware version
FLOS product family SCX
1.01
109009_en_00
PHOENIX CONTACT
52/54
SCX CLI...
24
SCX I/O commands
ID
Command
Scx001
show scxio
Description
Status I/Os
Example
show scxio
Device range
FLOS product family SCX
Value range
ID
Command
Scx002
scxio out
Description
Switching on 24-V output
Example
scxio out enable
Device range
FLOS product family SCX
Value range
{enable | disable}
109009_en_00
Default
Answer
OK + I/O status list
As of firmware version
1.01
Default
disable
Answer
OK
As of firmware version
1.01
PHOENIX CONTACT
53/54
SCX CLI...
109009_en_00
PHOENIX CONTACT GmbH & Co. KG • 32823 Blomberg • Germany
phoenixcontact.com
54/54