Moxa Cli FW 5.x Manual v1.6
Moxa Cli FW 5.x Manual v1.6
x)
www.moxa.com/products
Copyright Notice
© 2023 Moxa Inc. All rights reserved.
Trademarks
The MOXA logo is a registered trademark of Moxa Inc.
All other trademarks or registered marks in this manual belong to their respective manufacturers.
Disclaimer
• Information in this document is subject to change without notice and does not represent a commitment
on the part of Moxa.
• Moxa provides this document as is, without warranty of any kind, either expressed or implied, including,
but not limited to, its particular purpose. Moxa reserves the right to make improvements and/or
changes to this manual, or to the products and/or the programs described in this manual, at any time.
• Information provided in this manual is intended to be accurate and reliable. However, Moxa assumes no
responsibility for its use, or for any infringements on the rights of third parties that may result from its
use.
• This product might include unintentional technical or typographical errors. Changes are periodically
made to the information herein to correct such errors, and these changes are incorporated into new
editions of the publication.
www.moxa.com/support
Table of Contents
1. Command Modes .................................................................................................................................. 9
CLI (Command Line Interface) ................................................................................................................ 9
Configuring a Switch to CLI Mode ............................................................................................................ 9
Basic Operation ................................................................................................................................... 10
Useful Interactive “Help” Features ......................................................................................................... 11
Understanding All Commands ................................................................................................................ 11
2. Commands .......................................................................................................................................... 12
access-ip ............................................................................................................................................ 12
accounting tacacs+ login ...................................................................................................................... 13
acl port .............................................................................................................................................. 14
acl rule ............................................................................................................................................... 15
authentication dot1x ............................................................................................................................ 16
authentication dot1x reauth .................................................................................................................. 17
authentication local dot1x ..................................................................................................................... 18
authentication login ............................................................................................................................. 19
authentication mab .............................................................................................................................. 19
authentication mab reauth .................................................................................................................... 20
authentication mab restart .................................................................................................................... 21
authentication radius dot1x-mab 1stServer ............................................................................................. 22
authentication radius dot1x-mab 2ndServer ............................................................................................ 23
authentication radius dot1x-mab use-login-server ................................................................................... 24
authentication radius login .................................................................................................................... 25
authentication radius login auth-type mschapv2 ...................................................................................... 26
authentication tacacs+ login ................................................................................................................. 27
authentication tacacs+ login auth-type ................................................................................................... 28
authorization tacacs+ login ................................................................................................................... 29
auto-backup........................................................................................................................................ 30
auto-import ........................................................................................................................................ 30
bind vlan ............................................................................................................................................ 31
cfg-encrypt ......................................................................................................................................... 31
clear counters ..................................................................................................................................... 32
clear logging event-log ......................................................................................................................... 32
clock set ............................................................................................................................................. 33
clock source ........................................................................................................................................ 33
clock summer-time .............................................................................................................................. 34
clock timezone .................................................................................................................................... 35
configure terminal ............................................................................................................................... 35
copy................................................................................................................................................... 36
copy scp ............................................................................................................................................. 37
copy tftp running-config ....................................................................................................................... 37
default interface ethernet ..................................................................................................................... 38
dip-switch ........................................................................................................................................... 38
dot1x auth .......................................................................................................................................... 39
dot1x reauth ....................................................................................................................................... 39
eip ..................................................................................................................................................... 40
email-warning event (port) ................................................................................................................... 41
email-warning event (System) .............................................................................................................. 42
email-warning send test-email .............................................................................................................. 43
email-warning smtp account ................................................................................................................. 43
email-warning smtp auth ...................................................................................................................... 44
email-warning smtp port ...................................................................................................................... 44
email-warning smtp recipient ................................................................................................................ 45
email-warning smtp sender ................................................................................................................... 45
email-warning smtp server ................................................................................................................... 46
email-warning smtp tls ......................................................................................................................... 46
exit .................................................................................................................................................... 47
fiber-check-threshold ........................................................................................................................... 47
fiber-check-threshold rx-lowerbound ...................................................................................................... 48
fiber-check-threshold temperature ......................................................................................................... 48
fiber-check-threshold tx-lowerbound ...................................................................................................... 49
fiber-check-threshold tx-upperbound ..................................................................................................... 49
flowcontrol .......................................................................................................................................... 50
garp ................................................................................................................................................... 51
gmrp .................................................................................................................................................. 52
gvrp ................................................................................................................................................... 52
hostname ........................................................................................................................................... 53
interface ethernet ................................................................................................................................ 53
interface mgmt.................................................................................................................................... 54
interface trunk .................................................................................................................................... 54
ip address ........................................................................................................................................... 55
ip auto-assign ..................................................................................................................................... 55
ip auto-logout ..................................................................................................................................... 56
ip default-gateway ............................................................................................................................... 56
ip dhcp retry ....................................................................................................................................... 57
ip dhcp-relay option82 ......................................................................................................................... 57
ip dhcp-relay option82 man-id ............................................................................................................... 58
ip dhcp-relay option82 remote-id-type ................................................................................................... 58
ip dhcp-relay server ............................................................................................................................. 59
ip http-server login-message................................................................................................................. 59
ip igmp mcast-fast-forwarding............................................................................................................... 60
ip igmp static-group ............................................................................................................................. 60
ip igmp-snooping ................................................................................................................................. 61
ip igmp-snooping querier vlan ............................................................................................................... 62
ip igmp-snooping query-interval ............................................................................................................ 63
ip igmp-snooping vlan .......................................................................................................................... 64
ip max-login-users ............................................................................................................................... 65
ip moxa-service ................................................................................................................................... 65
ip name-server .................................................................................................................................... 66
ip route tracking .................................................................................................................................. 66
ip snmp-agent ..................................................................................................................................... 67
ipv6 address ....................................................................................................................................... 67
linkdisable .......................................................................................................................................... 68
link-swap-fast-recovery ........................................................................................................................ 68
lldp .................................................................................................................................................... 69
logging ............................................................................................................................................... 69
logging-capacity .................................................................................................................................. 70
logging-capacity email-warning ............................................................................................................. 70
logging-capacity over-size-action ........................................................................................................... 71
logging-capacity snmp-trap-warning ...................................................................................................... 71
logging-format CEF .............................................................................................................................. 72
login mode.......................................................................................................................................... 72
login-lockout ....................................................................................................................................... 73
Loop Protection ................................................................................................................................... 73
mab ................................................................................................................................................... 74
mac-address-sticky .............................................................................................................................. 75
mac-address-table aging-time ............................................................................................................... 76
Management Interface ......................................................................................................................... 76
media cable-mode ............................................................................................................................... 77
modbus .............................................................................................................................................. 77
monitor .............................................................................................................................................. 78
mrp interconnection ............................................................................................................................. 79
mrp interconnection IID ....................................................................................................................... 79
mrp interconnection interface ................................................................................................................ 80
mrp interconnection mode .................................................................................................................... 80
mrp interconnection recovery ................................................................................................................ 81
mrp interconnection role ....................................................................................................................... 81
mrp mode ........................................................................................................................................... 82
mrp react-on-lnk-chg ........................................................................................................................... 82
mrp recovery ...................................................................................................................................... 82
mrp ring ............................................................................................................................................. 83
mrp ring domain .................................................................................................................................. 83
mrp ring vlan-id .................................................................................................................................. 84
mrp ring-port-1 ring-port-2................................................................................................................... 84
name ................................................................................................................................................. 85
no mrp interconnection ........................................................................................................................ 85
no mrp react-on-lnk-chg ....................................................................................................................... 86
no mrp ring......................................................................................................................................... 86
no mrp ring domain ............................................................................................................................. 86
ntp authenticate .................................................................................................................................. 87
ntp authenticate-key ............................................................................................................................ 87
ntp peer servaddr ................................................................................................................................ 88
ntp refresh-time .................................................................................................................................. 88
ntp server ........................................................................................................................................... 89
ntp trusted-key ................................................................................................................................... 89
password-policy complexity-check ......................................................................................................... 90
password-policy minimum-length .......................................................................................................... 90
ping ................................................................................................................................................... 91
poe .................................................................................................................................................... 91
poe enable .......................................................................................................................................... 92
poe legacy-pd-detect ........................................................................................................................... 92
poe pdfail ........................................................................................................................................... 93
poe pdfail ip ........................................................................................................................................ 94
poe pdfail no-response-action ............................................................................................................... 95
poe pdfail no-response-timeout ............................................................................................................. 96
poe pdfail periods ................................................................................................................................ 97
poe power-priority ............................................................................................................................... 97
poe system ......................................................................................................................................... 98
poe system threshold ........................................................................................................................... 98
poe timetabling ................................................................................................................................... 99
Port Enable Tracking .......................................................................................................................... 100
port-security ..................................................................................................................................... 100
profinetio .......................................................................................................................................... 101
ptp arb-time ..................................................................................................................................... 101
ptp clockclass .................................................................................................................................... 102
ptp domain-number ........................................................................................................................... 102
ptp enable ........................................................................................................................................ 103
ptp leap59 ........................................................................................................................................ 103
ptp leap61 ........................................................................................................................................ 104
ptp log-announce-interval ................................................................................................................... 104
ptp log-min-delay-req-interval ............................................................................................................ 105
ptp log-min-pdelay-req-interval ........................................................................................................... 105
ptp log-sync-interval .......................................................................................................................... 106
ptp mode .......................................................................................................................................... 106
ptp preferred-master.......................................................................................................................... 107
ptp priority1 ...................................................................................................................................... 107
ptp priority2 ...................................................................................................................................... 108
ptp timescale .................................................................................................................................... 108
ptp transport..................................................................................................................................... 109
ptp utc-offset .................................................................................................................................... 109
ptp utc-offset-valid ............................................................................................................................ 110
qos default-cos .................................................................................................................................. 110
qos inspect ....................................................................................................................................... 111
qos mapping ..................................................................................................................................... 112
qos mode ......................................................................................................................................... 112
qos port-priority ................................................................................................................................ 113
quit .................................................................................................................................................. 113
rate-limit .......................................................................................................................................... 114
redundancy ....................................................................................................................................... 115
redundancy default ............................................................................................................................ 115
redundancy mode .............................................................................................................................. 116
relay-warning event (System) ............................................................................................................. 117
relay-warning event (Port) .................................................................................................................. 118
relay-warning override ....................................................................................................................... 118
reload .............................................................................................................................................. 119
save config ....................................................................................................................................... 119
show acl ........................................................................................................................................... 120
show authentication dot1x .................................................................................................................. 121
show authentication login ................................................................................................................... 122
show authentication mab .................................................................................................................... 123
show authentication tacacs+ login ....................................................................................................... 123
show clock ........................................................................................................................................ 125
show dip-switch................................................................................................................................. 125
show dot1x ....................................................................................................................................... 126
show eip ........................................................................................................................................... 127
show email-warning config.................................................................................................................. 127
show fiber-check-threshold ................................................................................................................. 128
show fiber-status ............................................................................................................................... 129
show garp timer ................................................................................................................................ 129
show gmrp........................................................................................................................................ 130
show gvrp......................................................................................................................................... 130
show interface linkdisable ................................................................................................................... 131
show interfaces acl ............................................................................................................................ 132
show interfaces counters .................................................................................................................... 133
show interfaces ethernet .................................................................................................................... 135
show interfaces mgmt ........................................................................................................................ 136
show interfaces mgmt access-ip .......................................................................................................... 136
show interfaces mgmt trusted-access ................................................................................................... 137
show interfaces rate-limit ................................................................................................................... 137
show ip auto-assign ........................................................................................................................... 138
show ip dhcp-relay config ................................................................................................................... 138
show ip http-server status .................................................................................................................. 139
show ip igmp .................................................................................................................................... 140
show ipv6 neighbors .......................................................................................................................... 141
show lldp .......................................................................................................................................... 142
show logging ..................................................................................................................................... 143
show logging-capacity ........................................................................................................................ 143
show login authentication radius login .................................................................................................. 144
show loopprotection ........................................................................................................................... 144
show mac-address-sticky-list .............................................................................................................. 145
show mac-address-table ..................................................................................................................... 145
show mac-address-table aging-time ..................................................................................................... 146
show mac-address-table interface........................................................................................................ 147
show modbus .................................................................................................................................... 148
show ntp authentication-keys .............................................................................................................. 148
show ntp authentication-status............................................................................................................ 149
show ntp peers .................................................................................................................................. 149
show ntp trusted-keys ........................................................................................................................ 150
show poe .......................................................................................................................................... 151
show port monitor ............................................................................................................................. 152
show port-security-mode .................................................................................................................... 153
show PROFINETIO ............................................................................................................................. 153
show ptp port.................................................................................................................................... 154
show ptp settings .............................................................................................................................. 154
show ptp status ................................................................................................................................. 155
show qos .......................................................................................................................................... 155
show redundancy mode ...................................................................................................................... 157
show redundancy mrp ring.................................................................................................................. 157
show redundancy mst cist................................................................................................................... 158
show redundancy mst configuration ..................................................................................................... 159
show redundancy mst instance ............................................................................................................ 160
show Redundancy spanning-tree ......................................................................................................... 161
show redundancy turbo-chain ............................................................................................................. 162
show redundancy turbo-ring-v1 ........................................................................................................... 163
show redundancy turbo-ring-v2 ........................................................................................................... 164
show relay-warning............................................................................................................................ 165
show running-config........................................................................................................................... 166
show session monitor ......................................................................................................................... 167
show snmp ....................................................................................................................................... 168
show startup-config ........................................................................................................................... 169
show static-port-lock.......................................................................................................................... 170
show storm-control ............................................................................................................................ 170
show system ..................................................................................................................................... 171
show tracking.................................................................................................................................... 172
show users ....................................................................................................................................... 173
show version ..................................................................................................................................... 173
show vlan ......................................................................................................................................... 174
show vlan config ................................................................................................................................ 175
shutdown.......................................................................................................................................... 176
snmp-server authority ........................................................................................................................ 176
snmp-server community ..................................................................................................................... 177
snmp-server contact .......................................................................................................................... 177
snmp-server default ........................................................................................................................... 178
snmp-server description ..................................................................................................................... 178
snmp-server host .............................................................................................................................. 179
snmp-server location.......................................................................................................................... 179
snmp-server trap-mode inform............................................................................................................ 180
snmp-server trap-mode trap ............................................................................................................... 181
snmp-server trap-mode user ............................................................................................................... 182
snmp-server version .......................................................................................................................... 183
spanning-tree.................................................................................................................................... 183
spanning-tree bpdu-filter .................................................................................................................... 184
spanning-tree bpdu-guard .................................................................................................................. 184
spanning-tree cost ............................................................................................................................. 185
spanning-tree edge-port ..................................................................................................................... 185
spanning-tree forward-delay ............................................................................................................... 186
spanning-tree hello-time .................................................................................................................... 186
spanning-tree max-age ...................................................................................................................... 187
spanning-tree mst cist cost ................................................................................................................. 187
spanning-tree mst cist port-priority ...................................................................................................... 188
spanning-tree mst cist priority............................................................................................................. 188
spanning-tree mst edge-port............................................................................................................... 189
spanning-tree mst enable ................................................................................................................... 189
spanning-tree mst forward-delay ......................................................................................................... 190
spanning-tree mst hello-time .............................................................................................................. 190
spanning-tree mst instance ................................................................................................................. 191
spanning-tree mst instance cost .......................................................................................................... 191
spanning-tree mst instance port-priority ............................................................................................... 192
spanning-tree mst instance priority ...................................................................................................... 192
spanning-tree mst max-age ................................................................................................................ 193
spanning-tree mst max-hops .............................................................................................................. 193
spanning-tree mst name..................................................................................................................... 194
spanning-tree mst revision ................................................................................................................. 194
spanning-tree priority......................................................................................................................... 195
speed-duplex .................................................................................................................................... 195
sshkeygen ........................................................................................................................................ 196
sslcertgen ......................................................................................................................................... 196
storm-control .................................................................................................................................... 197
switchport access vlan........................................................................................................................ 198
switchport hybrid fixed vlan add .......................................................................................................... 199
switchport hybrid fixed vlan remove ..................................................................................................... 200
switchport hybrid forbidden vlan add .................................................................................................... 200
switchport hybrid forbidden vlan remove .............................................................................................. 201
switchport hybrid native vlan .............................................................................................................. 201
switchport pvlan ................................................................................................................................ 202
switchport trunk fixed vlan add ........................................................................................................... 202
switchport trunk fixed vlan remove ...................................................................................................... 203
switchport trunk forbidden vlan add ..................................................................................................... 203
switchport trunk forbidden vlan remove ................................................................................................ 204
switchport trunk native vlan ................................................................................................................ 204
terminal ........................................................................................................................................... 205
tracking logic .................................................................................................................................... 205
tracking mode ................................................................................................................................... 206
tracking module ................................................................................................................................ 206
tracking ping ..................................................................................................................................... 207
tracking port/vlan .............................................................................................................................. 208
trunk-group ...................................................................................................................................... 209
trunk-mode....................................................................................................................................... 209
trusted-access ................................................................................................................................... 210
turbo-chain ....................................................................................................................................... 210
turbo-ring-v1 .................................................................................................................................... 211
turbo-ring-v1 coupling........................................................................................................................ 212
turbo-ring-v1 master ......................................................................................................................... 212
turbo-ring-v2 .................................................................................................................................... 213
turbo-ring-v2 coupling backup ............................................................................................................. 214
turbo-ring-v2 coupling dual-homing ..................................................................................................... 215
turbo-ring-v2 coupling primary ............................................................................................................ 216
turbo-ring-v2 master ......................................................................................................................... 217
username ......................................................................................................................................... 217
vlan default....................................................................................................................................... 218
vlan mode ........................................................................................................................................ 218
vlan set ............................................................................................................................................ 219
vrrp tracking ..................................................................................................................................... 219
warning-notification port-event ........................................................................................................... 220
warning-notification system-event ....................................................................................................... 221
1. Command Modes
To permanently change the login mode as CLI, users can connect the device via telnet or SSH by following
the commands on page 54 under the "login mode" section.
Basic Operation
The CLI is organized in different configuration levels. When you first enter CLI mode, type ? to view a quick
help panel that shows the basic commands of the first configuration level. Type any of the commands shown
on the screen to access the next configuration level. The quick help panel, accessed from any level by
typing ?, is a useful tool for understanding the commands in any level.
To enter the next level, type the commands shown in the console.
Command Purpose
? Provides a brief description of the Help feature in any command level.
Provides a list of commands that begin with the character string (no space
Partial command?
between the command and the question mark).
Completes a partial command name (no space between the command and
Partial command<Tab>
<Tab>).
Lists the keywords, arguments, or both associated with the command (type a
Command ?
space between the command and the question mark).
Lists the arguments that are associated with the keyword (type a space
Command keyword ?
between the keyword and the question mark).
access-ip
Use access-ip in the VLAN configuration command as to restrict access to the switch to specified IP
addresses. Use the no form of this command to disable this feature or to remove the IP addresses from
access list.
Commands
Commands
acl id { in | out}
no acl id
Commands
no acl id
authentication dot1x
Use the authentication dot1x global configuration command to set user authentication database for
802.1x. Use the no form of this command to reset default user authentication database for 802.1x.
Commands
no authentication dot1x
Use the authentication dot1x reauth period global configuration command to set 802.1x re-
authentication timer. Use the no form of this command to reset default.
Commands
Commands
Commands
authentication mab
Use the authentication mab global configuration command to set user authentication database for mab.
Use the no form of this command to reset default user authentication database for mab.
Commands
Use the authentication mab reauth period global configuration command to set mab re-authentication
timer. Use the no form of this command to reset default.
Commands
Use the authentication mab restart period global configuration command to set mab re-start timer. Use
the no form of this command to reset default.
Commands
Commands
Commands
Commands
Commands
Commands
Commands
auto-backup
no auto-backup
auto-import
Use auto-import to enable the function of loading ABC’s configuration when the system boots up. To
disable it, use the no form of this command.
Commands
auto-import
no auto-import
Commands
cfg-encrypt
Use the cfg-encrypt global configuration command on switch to configure File Encryption. Use the no form
of this command to stop this function.
Commands
cfg-encrypt password
no cfg-encrypt
Commands
clear counters
Commands
Commands
clock source
Use the clock source global configuration command on the switch to set the current time source.
Commands
no clock source
Commands
no clock summer-time
Commands
configure terminal
Use the configure terminal command on the switch to enter the configuration mode and configure from
the terminal.
Commands
configure terminal
Commands
dip-switch
Use the dip-switch command to disable/enable HW dip-switch function.
Commands
Commands
dot1x auth
no dot1x auth
dot1x reauth
Use the dot1x reauth interface configuration command on the switch to trigger port 802.1x re-authenticate
immediately.
Commands
dot1x reauth
Commands
eip
no eip
Commands
Commands
Commands
Commands
Commands
Commands
Commands
Commands
Commands
Commands
Commands
exit
fiber-check-threshold
Commands
fiber-check-threshold
no fiber-check-threshold
Syntax fiber-check- Enable per port fiber check threshold related parameter
Description threshold
Defaults fiber-check-threshold is default disabled.
Command Interface configuration
Modes
Usage N/A
Guidelines
Examples MOXA(config-if)# fiber-check-threshold
MOXA(config-if)# no fiber-check-threshold
Error N/A
messages
Related show fiber-check-threshold
commands
no fiber-check-threshold rx-lowerbound
Syntax fiber-check- Enable per port fiber check threshold related parameter
Description threshold
rx-lowerbound Fiber DDM Rx lower bound
lowerbound Rx lower bound value
Defaults N/A
Command Interface configuration
Modes
Usage Fiber-check-threshold rx lower bound range is from -40.00 to 0.00
Guidelines
Examples MOXA(config-if)# fiber-check-threshold rx-lowerbound -3.87
Error The correct Rx power lower bound range is (-40.00 ~ 0.00).
messages
Related show fiber-check-threshold
commands
fiber-check-threshold temperature
Commands
no fiber-check-threshold temperature
Syntax fiber-check- Enable per port fiber check threshold related parameter
Description threshold
temperature Fiber DDM temperature
temperature Temperature value
Defaults N/A
Command Interface configuration
Modes
Usage Fiber-check-threshold temperature is range from 30.00 to 200.00
Guidelines
Examples MOXA(config-if)# fiber-check-threshold temperature 100
MOXA(config-if)# no fiber-check-threshold
Error The correct temperature range is (30.00 ~ 200.00).
messages
Related show fiber-check-threshold
commands
no fiber-check-threshold tx-lowerbound
Syntax fiber-check- Enable per port fiber check threshold related parameter
Description threshold
tx-lowerbound Fiber DDM Tx lower bound
lowerbound Tx lower bound value
Defaults N/A
Command Interface configuration
Modes
Usage Fiber-check-threshold tx lower bound is range from -20.00 to 0.00
Guidelines
Examples MOXA(config-if)# fiber-check-threshold tx-upperbound -3.87
Error The correct Tx Power Lower Bound range is (-20.00 ~ 0.00).
messages
Related show fiber-check-threshold
commands
fiber-check-threshold tx-upperbound
Commands
no fiber-check-threshold tx-upperbound
Syntax fiber-check- Enable per port fiber check threshold related parameter
Description threshold
tx-upperbound Fiber DDM Tx upper bound
upperbound Tx upper bound value
Defaults N/A
Command Interface configuration
Modes
Usage Fiber-check-threshold tx upper bound is range from -10.00 to 10.00
Guidelines
Examples MOXA(config-if)# fiber-check-threshold tx-upperbound 3.87
Error The correct Tx power upper bound range is (-10.00 ~ 10.00).
messages
Related show fiber-check-threshold
commands
Commands
flowcontrol
no flowcontrol
Commands
no garp timer
no garp join-time
no garp leave-time
no garp leaveall-time
Commands
gmrp
no gmrp
MOXA(config-if)# no gmrp
Error GMRP cannot be enabled on static multicast member port!!!
messages
Related N/A
commands
gvrp
Use the gvrp global configuration command on the switch to enable GVRP. Use the no form of this
command to disable it.
Commands
gvrp
no gvrp
Commands
no hostname
interface ethernet
Use the interface ethernet global configuration command on the switch to enter the ethernet configuration
mode.
Commands
Commands
interface mgmt
interface trunk
Use the interface trunk global configuration command on the switch to enter the trunk configuration
mode.
Commands
Commands
no ip address
ip auto-assign
Use the ip auto-assign interface configuration command on the switch to enable and set the auto IP
assignment of specified interfaces. Use the no form of this command to remove an Ethernet port from a
trunk group.
Commands
ip auto-assign ipaddr
no ip auto-assign
Commands
ip auto-logout Minutes
ip default-gateway
Use the ip default-gateway VLAN configuration command on the switch to configure the IP default
gateway address. Us thee no form of this command to return to the default.
Commands
ip default-gateway ip-address
no default-gateway
Commands
no ip dhcp retry
ip dhcp-relay option82
Use the ip dhcp-relay option82 global and interface configuration command to enable DHCP Relay with
Option 82 messages. To disable it, use the no form of this command.
Commands
ip dhcp-relay option82
no ip dhcp-relay option82
Commands
Commands
Commands
ip http-server login-message
Use the ip http-server login-message global configuration HTTP/HTTPS login message. To reset to
default, use the no form of this command.
Commands
no ip http-server login-message
Commands
ip igmp mcast-fast-forwarding
no ip igmp mcast-fast-forwarding
ip igmp static-group
Use the ip igmp static-group global configuration command on the switch to add a static multicast MAC
address and its member ports. Use the no form of this command to remove the static multicast group or
just its member ports.
Commands
Commands
ip igmp-snooping
no ip igmp-snooping
Commands
Commands
Commands
Commands
no ip http-server max-login-users
no ip telnet max-login-users
ip moxa-service
Use the ip moxa-service global configuration command to enable SNMP Agent. To disable, use the no form
of this command.
Commands
ip moxa-service
no ip moxa-service
Commands
no name-server
ip route tracking
To set the static route to a tracking entry, use the ip route tracking command. To unbind the tracking
entry, use the no form of this command.
Commands
Commands
ip snmp-agent
no ip snmp-agent
ipv6 address
Use the ipv6 address command in VLAN configuration mode as a management VLAN to set the IPv6
address for the device. Use the no form of the command to return to the default.
Commands
no ipv6 address
linkdisable
no linkdisable
link-swap-fast-recovery
Use the link-swap-fast-recovery global configuration command on switch to enable Link Swap Fast
Recovery. Use the no form of this command to stop the function.
Commands
link-swap-fast-recovery
no link-swap-fast-recovery
Commands
lldp enable
no lldp enable
no lldp timer
logging
Use the logging global configuration command on the switch to configure the remote SYSLOG server. Use
the no form of this command to remove the server.
Commands
no logging ip-address
Commands
logging-capacity threshold
no logging-capacity
logging-capacity email-warning
Use the logging-capacity email-warning global configuration command on switch to enable event log
capacity email warning when it meets the threshold of logging capacity. Use the no form of this command
to stop the warning.
Commands
logging-capacity email-warning
no logging-capacity email-warning
Commands
logging-capacity snmp-trap-warning
Use the logging-capacity snmp-trap-warning global configuration command on switch to enable event
log capacity SNMP trap warning when it meets the threshold of logging capacity. Use the no form of this
command to stop the warning.
Commands
logging-capacity snmp-trap-warning
no logging-capacity snmp-trap-warning
logging-format CEF
no logging-format
login mode
Use the login mode global configuration command to change the login UI mode from the console or telnet
connection of the switch.
Commands
Commands
login-lockout
no login-lockout
no login-lockout retry-threshold
no login-lockout lockout-time
Loop Protection
Use the loopprotection command to disable/enable loop protection support
Commands
loopprotection
no loopprotection
Commands
mab
no mab
Commands
mac-address-sticky flush
mac-address-sticky violation-port-disable
no mac-address-sticky violation-port-disable
no mac-address-sticky
Commands
no mac-address-table aging-time
Management Interface
Use the ip global configuration command on the switch to set management interface
Commands
Commands
no media cable-mode
modbus
Use the modbus global configuration command on the switch to enable Modbus/TCP industrial Ethernet
protocol supported. Use the no form of this command to disable Modbus support.
Commands
modbus
no modbus
Commands
mrp react-on-lnk-chg
Commands
mrp react-on-lnk-chg
mrp recovery
Commands
Commands
mrp ring
Commands
name
no name
no mrp interconnection
Commands
Syntax no disabled
Description mrp Configure MRP
interconnection MRP interconnection
id MRP interconnection instance id
Defaults N/A
Command redundancy configuration
Modes
Usage N/A
Guidelines
Examples Moxa(config-rdnt)# no mrp interconnection 1
Error N/A
messages
Related show redundancy mrp ring
commands
no mrp react-on-lnk-chg
Syntax no disabled
Description mrp Configure MRP
react-on-lnk-chg MRM react on MRC link change frame
Defaults The default is enabled
Command redundancy configuration
Modes
Usage N/A
Guidelines
Examples Moxa(config-rdnt)# no mrp react-on-lnk-chg
Error N/A
messages
Related show redundancy mrp ring
commands
no mrp ring
Commands
no mrp ring
Syntax no disabled
Description mrp Configure MRP
ring MRP ring
Defaults The default MRP ring is disabled.
Command redundancy configuration
Modes
Usage N/A
Guidelines
Examples Moxa(config-rdnt)# no mrp ring
Error N/A
messages
Related show redundancy mrp ring
commands
Syntax no disabled
Description mrp Configure MRP
ring MRP ring
domain MRP ring domain
Defaults MRP ring domain is default
Command N/A
Modes
Usage N/A
Guidelines
Examples Moxa(config-rdnt)# no mrp ring domain
Error N/A
messages
Related show redundancy mrp ring
commands
Commands
ntp authenticate
no ntp authenticate
ntp authenticate-key
Use the ntp autherticate-key global configuration command on the switch to configure the authentication
key of time sources. Use the no form of this command to return to the default.
Commands
Commands
ntp refresh-time
Use the ntp refresh-time global configuration command on the switch to configure the interval of each NTP
query. Use the no form of this command to return to the default.
Commands
no ntp refresh-time
Commands
ntp server
no ntp server
ntp trusted-key
Use the ntp trusted-key global configuration command on the switch to activate the authentication key of
time sources. Use the no form of this command to return to the default.
Commands
Commands
no password-policy complexity-check
password-policy minimum-length
Use the password-policy minimum-length global configuration command on switch to configure the
minimum password length. Use the no form of this command to default setting.
Commands
no password-policy minimum-length
Commands
ping destaddr
poe
Use the poe interface configuration command on the specific ports to set poe ouput mode.
Commands
poe auto
poe high-power
Commands
poe enable
no poe
poe legacy-pd-detect
Use the poe legacy-pd-detect interface configuration command on the specific ports to enable poe legacy-
pd-detect. Use the no form of this command on the specific ports to disable poe legacy-pd-detect.
Commands
poe legacy-pd-detect
no poe legacy-pd-detect
Commands
poe pdfail
no poe pdfail
Commands
no poe pdfail ip
Commands
Commands
Commands
poe power-priority
Use the poe power-priority interface configuration command on the specific ports to set poe port priority.
Use the no form of this command on the specific ports to reset to default priority.
Commands
no poe power-priority
Commands
Commands
Commands
Commands
tracking tid
no tracking
MOXA(config-if) # no tracking
Error Tracking ID should be between 1 and 64!
messages Tracking ID does not exist!
Related show interface ethernet
commands
port-security
Use the port-security command on the switch to configure the port security function. Use the no form of
this command to disable the port security function on the switch.
Commands
Commands
profientio
no profientio
ptp arb-time
Use the ptp arb-time configuration command on the switch to set the arb-time parameter of the local
clock.
Commands
Commands
ptp domain-number
Use the ptp domain-number configuration command on the switch to set the domain number of the local
clock.
Commands
Commands
ptp enable
no ptp
ptp leap59
Use the ptp leap59 global configuration command on the switch to enable the PTP leap59. Use the no form
of this command to disable the PTP leap59 on the switch.
Commands
ptp leap59
no ptp leap59
Commands
ptp leap61
no ptp leap61
ptp log-announce-interval
Use the ptp log-announce-interval global configuration command on the switch to set the log-announce-
interval parameter.
Commands
Commands
ptp log-min-pdelay-req-interval
Use the ptp log-min-pdelay-req-interval global configuration command on the switch to set the log-min-
pdelay-req-interval parameter.
Commands
Commands
ptp mode
Use the ptp mode global configuration command on the switch to set the PTP operation mode.
Commands
Commands
ptp preferred-master
no ptp preferred-master
ptp priority1
Use the ptp priority1 configuration command on the switch to set the priority1 parameter of the local
clock.
Commands
Commands
ptp timescale
Use the ptp timescale configuration command on the switch to set the transport type of the ptp domain.
Commands
Commands
ptp utc-offset
Use the ptp utc-offset configuration command on the switch to set the PTP utc-offset field.
Commands
Commands
ptp utc-offset-valid
no ptp utc-offset-valid
qos default-cos
Use the qos default-cos interface configuration command on the switch to configure the default CoS
priority of the Ethernet ports/Trunks. Use the no form of this command to return to the default.
Commands
no qos default-cos
Commands
Commands
qos mode
Use the qos mode global configuration command on the switch to configure the current QoS strategy. Use
the no form of this command to return to the default.
Commands
Commands
no qos port-priority
quit
Use quit to quit the current configuration mode.
Commands
quit
Commands
rate-limit port-disable ingress rate { none | 44640 | 74410 | 148810 | 223220 | 372030 |
520840 | 744050 }
Commands
redundancy
redundancy default
Use the redundancy default global configuration command to reset the redundancy protocol mode.
Commands
redundancy default
Commands
Commands
Commands
relay-warning override
Use relay-warning override relay to override the relay warning setting temporarily. Releasing the relay
output will allow administrators to fix any problems with the warning condition. Use the no form of this
command to disable the override.
Commands
Commands
reload [factory-default]
save config
Use the save config command to save the running configuration to the startup configuration on flash.
Commands
save config
Commands
show acl id
Rule Index : 1
Action : deny
Source MAC Address : 00:11:22:33:44:55/FF:FF:FF:00:00:00
Destination MAC Address : AA:BB:CC:DD:EE:FF/FF:FF:00:00:00:00
Ether Type : 2048
VLAN ID : 10
Ingress Port Map : 0
Egress Port Map : 0
---------------------------------------------------------------
Commands
Re-Authentication : Enable
Re-Authentication Period : 3600
Commands
Tacacs+ information:
Status : Disabled
Auth server :
Shared key :
Auth type : ASCII
Server Timeout : 5 secs
Commands
Authorization information:
[Primary Server]
Auth server : 192.168.127.11, port:49
Shared key : moxa11
[Secondary Server]
Auth server : 192.168.127.12, port:49
Accounting information:
Enabled : Enabled
[Primary Server]
Auth server : 192.168.127.31, port:49
Shared key : moxa31
[Secondary Server]
Auth server : 192.168.127.32, port:49
Shared key : moxa32
Server Timeout : 5 secs
Error N/A
messages
Related authentication tacacs+ login primary server-ip <STRING:server_ip>
commands authentication tacacs+ login secondary server-ip <STRING:server_ip>
authentication tacacs+ login primary server-port <UINT:server_port>
authentication tacacs+ login secondary server-port <UINT:server_port>
authentication tacacs+ login primary shared-key <STRING:shared_key>
authentication tacacs+ login secondary shared-key <STRING:shared_key>
authentication tacacs+ login timeout <UINT:timeout>
authorization tacacs+ login primary server-ip <STRING:server_ip>
authorization tacacs+ login secondary server-ip <STRING:server_ip>
authorization tacacs+ login primary server-port <UINT:server_port>
authorization tacacs+ login secondary server-port <UINT:server_port>
authorization tacacs+ login primary shared-key { <STRING:shared_key> }
authorization tacacs+ login secondary shared-key { <STRING:shared_key> }
authorization tacacs+ login timeout <UINT:timeout>
accounting tacacs+ login primary server-ip <STRING:server_ip>
accounting tacacs+ login secondary server-ip <STRING:server_ip>
accounting tacacs+ login primary server-port <UINT:server_port>
accounting tacacs+ login secondary server-port <UINT:server_port>
accounting tacacs+ login primary shared-key { <STRING:shared_key> }
accounting tacacs+ login secondary shared-key { <STRING:shared_key> }
accounting tacacs+ login timeout <UINT:timeout>
accounting tacacs+ login enable
no accounting tacacs+ login enable
Commands
show clock
show dip-switch
Use the show dip-switch user EXEC command to display DIP switch configuration.
Commands
show dip-switch
Commands
show dot1x
Commands
show eip
Commands
show fiber-check-threshold
Commands
show fiber-check-threshold
Commands
show fiber-status
Commands
GARP Timer:
Join Time:200 (ms)
Leave Time:600 (ms)
Leaveall Time:10000 (ms)
Error N/A
messages
Related garp join-time time
commands garp leave-time time
garp leaveall-time time
Commands
show gmrp
show gvrp
Use the show gvrp user EXEC command to display GVRP state information.
Commands
show gvrp
Command
Commands
Commands
Commands
IPv4
Management VLAN id : 1
IP configuration : Static
IP address : 192.168.127.250
Subnet mask : 255.255.255.0
Default gateway : 0.0.0.0
DNS server :
IPv6
Global Unicast Address Prefix :
Global Unicast Address : ::
Link-Local Address : fe80::a8bb:ccff:fedd:eeff
Error N/A
messages
Related ip address
commands ip default-gateway
ip name-server
bind vlan
Commands
Commands
Commands
Port 1/4:
Ingress Limit Rate: Not Limited
Port 1/5:
Ingress Limit Rate: Not Limited
Error N/A
messages
Related rate-limit
commands
Commands
show ip auto-assign
Commands
Commands
Commands
show ip igmp [{vlan vlan_id | querier [vlan vlan_id ] | group [group_addr] [vlan vlan_id]}]
Commands
Commands
Commands
show logging-capacity
Use the show logging-capacity user EXEC command to display the system event logs.
Commands
show logging-capacity
show loopprotection
Use the show loopprotection user EXEC command to display loop protection settings information.
Commands
show loopprotection
Commands
show mac-address-sticky-list
show mac-address-table
Use the show mac-address-table user EXEC command to display MAC addresses in the MAC address
table.
Commands
Commands
Commands
s: static
l: learn
ucast: unicast
lock: static port lock MAC address.
Idx MAC Type VLAN Port
----- ----------------- -------- ---- ------------------------------
----------
s: static
l: learn
ucast: unicast
lock: static port lock MAC address.
Idx MAC Type VLAN Port
----- ----------------- -------- ---- ------------------------------
----------
Error N/A
messages
Related N/A
commands
Commands
show modbus
Commands
-----------------------------
Auth key MD5 String
-----------------------------
Error N/A
messages
Related show ntp trusted-keys
commands show ntp peers
show ntp authentication-status
Commands
Authentication disabled.
Error N/A
messages
Related show ntp authentication keys
commands show ntp trusted keys
show ntp peers
Commands
-------------------------------------------------------------------
Peer IP Address Serv/Peer
-------------------------------------------------------------------
1.time.nist.gov Peer
Error N/A
messages
Related show ntp authentication-keys
commands show ntp trusted-keys
show ntp authentication-status
Commands
Trusted Keys:
Error N/A
messages
Related show ntp authentication-keys
commands show ntp peers
show ntp authentication-status
Commands
show poe
Commands
Commands
show port-security-mode
show PROFINETIO
Use the show profinetio user EXEC command to display PROFINET configuration information
Commands
show profinetio
Commands
Commands
Commands
show qos
Use the show qos user EXEC command to display Quality of Service (QoS) settings information.
Commands
CoSPriority Queue #
----------- -------
0 Q0
1 Q0
2 Q1
3 Q1
4 Q2
5 Q2
6 Q3
7 Q3
Commands
Commands
Commands
Commands
Commands
Bridge ID
Priority : 32768
Address : 00:90:E8:49:60:83
Hello Time 2 sec Forward Delay 15 sec Max Age 20 sec
Int# Link Edge Prio OperCost RootCost Role St Type Rcv BID
Gu Fl
---- ---- ---- ---- -------- -------- ------- -- --
-- ----------------- ---- ----
1/1 On Yes 128 20000 0 Desg F P2P --
On On
1/2 On Yes 128 20000 0 Desg F P2P --
On Off
1/3 Down -- -- -- -- -- -- -- --
-- -- --
1/4 -- -- -- -- -- -- -- -- --
-- -- --
Error N/A
messages
Related N/A
commands
Commands
---------------------------------------
Port Role Port Number Port Status
--------------- ----------- --------------
1st Member Port G15 --
2nd Member Port G16 --
Error N/A
messages
Related N/A
commands
Commands
Commands
Commands
Commands
show running-config
!
login mode cli
auto-import
no auto-backup
hostname
snmp-server description EDS-G516E
username admin password
810448e13d53513dddd17d6c045025ab911840745a37665201104373
d0d04180 privilege 1
username user password
810448e13d53513dddd17d6c045025ab911840745a37665201104373d
0d04180 privilege 2
!
authentication radius login auth-type pap
!
ip auto-logout 5
!
interface mgmt
ip address static 192.168.127.250 255.255.255.0
!
snmp-server version v1-v2c
snmp-server community public ro
snmp-server community private rw
snmp-server trap-mode trap
!
lldp enable
lldp timer 5
!
ip dhcp-relay option82 remote-id-type ip
!
interface ethernet 1/1
no shutdown
--More--
Error N/A
messages
Related show startup-config
commands
show session_monitor
Commands
show snmp
Commands
show startup-config
!
login mode cli
auto-import
no auto-backup
hostname
snmp-server description EDS-G516E
username admin password
810448e13d53513dddd17d6c045025ab911840745a37665201104373
d0d04180 privilege 1
username user password
810448e13d53513dddd17d6c045025ab911840745a37665201104373d
0d04180 privilege 2
!
authentication radius login auth-type pap
!
ip auto-logout 5
!
interface mgmt
ip address static 192.168.127.250 255.255.255.0
!
snmp-server version v1-v2c
snmp-server community public ro
snmp-server community private rw
snmp-server trap-mode trap
!
lldp enable
lldp timer 5
!
ip dhcp-relay option82 remote-id-type ip
!
interface ethernet 1/1
no shutdown
--More--
Error N/A
messages
Related show running-config
commands
Commands
show storm-control
Use the show storm-control user EXEC command to display the setting of storm protection.
Commands
show storm-control
Commands
show system
Commands
Error N/A
messages
Related tracking module
commands tracking mode
Commands
show users
show version
Use the show version user EXEC command to display system version information.
Commands
show version
Commands
show vlan
VLAN 1:
Name:
Access Ports: 1/1, 1/2, 1/3, 1/4, 1/5, 1/6, 1/7, 1/8,
1/9, 1/10, 1/11, 1/12, 1/13, 1/14, 1/15, 1/16,
Trunk Ports:
Hybrid Ports:
Error N/A
messages
Related N/A
commands
Commands
==================================================
Port Trunk Native vlan
Commands
shutdown
no shutdown
snmp-server authority
To configure a user and its authentication type and password to a Simple Network Management Protocol
(SNMP), use the snmp-server authority global configuration command.
Commands
Commands
snmp-server contact
To set the system contact string, use the snmp-server contact global configuration command. To remove
the contact string, use the no form of this command.
Commands
no snmp-server contact
Commands
snmp-server default
snmp-server description
To set the system description string, use the snmp-server description global configuration command. To
remove the description string, use the no form of this command.
Commands
no snmp-server description
Commands
snmp-server location
To set the system location string, use the snmp-server location global configuration command. To remove
the location string, use the no form of this command.
Commands
no snmp-server location
Commands
Commands
no snmp-server trap-mode
Commands
Commands
spanning-tree
Use the spanning-tree interface configuration command on the switch to enable the spanning-tree feature
of the specified interfaces. Use the no form of this command to disable it.
Commands
spanning-tree
no spanning-tree
Commands
spanning-tree bpdu-filter
no spanning-tree bpdu-filter
spanning-tree bpdu-guard
To Configure redundancy port BPDU Guard.
Commands
spanning-tree bpdu-guard
no spanning-tree bpdu-guard
Commands
no spanning-tree cost
spanning-tree edge-port
Use the spanning-tree edge-port interface configuration command on the switch to enable the Edge Port
feature on an interface in all its associated VLANs. When the Edge Port feature is enabled, the interface
changes directly from a blocking state to a forwarding state without making the intermediate spanning-tree
state changes. Use the no form of this command to disable the feature.
Commands
no spanning-tree edge-port
Commands
no spanning-tree forward-delay
spanning-tree hello-time
Use the spanning-tree hello-time redundancy configuration command on the switch to set the interval
between hello bridge protocol data units (BPDUs) sent by root switch configuration messages. Use the no
form of this command to return to the default setting.
Commands
no spanning-tree hello-time
Commands
no spanning-tree max-age
Commands
Commands
Commands
Commands
Commands
no spanning-tree mst
Commands
Commands
Commands
Commands
Commands
Commands
Commands
Commands
Commands
Commands
Commands
no spanning-tree priority
speed-duplex
Use the speed-duplex interface configuration command to specify the speed of the interface and its duplex
mode. Use the no form of this command to return the interface to its default value.
Commands
no speed-duplex
Commands
sshkeygen
sslcertgen
Use the sslcertgen user EXEC command to generate SSL certificate.
Commands
sslcertgen
Commands
no storm-control bcast
no storm-control mcast
no storm-control dlf
no storm-control
Commands
Commands
Commands
Commands
Commands
Commands
Commands
Commands
Commands
Commands
Commands
Commands
Commands
tracking logic
To create a logic tracking entry, use the tracking logic command. To delete the logic tracking entry
configuration, use the no tracking command.
Commands
tracking tid logic { and | or } [not] tid tid_1 tid tid_2 [ tid tid_3 [ tid tid_4 ] ]
no tracking { all | tid }
Commands
tracking module
To enable tracking function, use the tracking module command in global configuration mode. To disable
tracking function, use the no form of this command.
Commands
tracking module
no tracking module
Commands
tracking tid ping ip [ interval interval] [ timeout timeout ] [ received received [ lost lost ] ]
MOXA(config) # no tracking 1
Error Tracking ID should be between 1 and 64!
messages Only supports 8 tracking entries when interval is under 1000 (ms) and turbo ring / turbo
chain is enabled!
Only supports 32 tracking entries when interval is under 1000 (ms)!
Tracking entry is full!
Same tracking ID with other tracking entry!
Invalid: IP address, interval, timeout, received threshold, lost threshold!
Related show tracking
commands
Commands
tracking tid port port_number [ interval interval] [ up_delay up_delay ] [ down_delay down_delay ]
tracking tid vlan vid [ interval interval] [ up_delay up_delay ] [ down_delay down_delay ]
MOXA(config) # no tracking 1
Error Tracking ID should be between 1 and 64!
messages Same tracking ID with other tracking entry!
Tracking entry is full!
Invalid: port number/VID, interval, up delay, down delay!
Related show tracking
commands
Commands
trunk-group trunk_id
no trunk-group
trunk-mode
Use the trunk-mode interface configuration command on the switch to set the trunk mode of the specified
trunk group.
Commands
Commands
turbo-chain
Use the turbo-chain redundancy configuration command on the switch stack or on a standalone switch to
configure Turbo Chain.
Commands
turbo-chain role { head | member | tail } primary interface module/port secondary interface
module/port
Commands
Commands
no turbo-ring-v1 coupling
turbo-ring-v1 master
Use the turbo-ring-v1 master redundancy configuration command on the switch to set the switch as the
Turbo Ring v1 Master. Use the no form of this command to return to the normal Turbo Ring v1 member.
Commands
turbo-ring-v1 master
no turbo-ring-v1 master
Commands
no turbo-ring-v2 ring-id
Commands
no turbo-ring-v2 coupling
Commands
no turbo-ring-v2 coupling
Commands
no turbo-ring-v2 coupling
Commands
username
Use the username global configuration command on the switch to set the username and password of the
local login user. Use the no form of this command will clear the password setting of the specified user.
Commands
no username { username }
Commands
vlan default
vlan mode
Use the vlan mode configuration command on the switch to change current VLAN mode operated on the
switch. Use the no form of this command to return to the default.
Commands
no vlan mode
Commands
vrrp tracking
To set a VRRP interface to a tracking entry, use the vrrp tracking command. To unbind the tracking entry,
use the no form of this command.
Commands
Commands
Commands