24
ICPE(config)# management ssh
Enable SSH system service type.
2.5.7 Mirror Command
Mirror command
Parameter
Description
ICPE(config)# mirror mode [by-
port]
[by-port]
Enable mirror mode by-port
ICPE(config)# mirror source
[port_list]
[port_list]
Specify the source port(s) to be mirrored
ICPE(config)# mirror destination
[port]
[port]
Specify the destination port for mirroring
No command
ICPE(config)# no mirror mode
Disable mirror mode
Show command
ICPE(config)# show mirror
Show port mirror information
Mirror command example
ICPE(config)# mirror mode by-port
ICPE(config)# mirror source 1
ICPE(config)# mirror destination 2
Enable mirror mode and set port 2 as mirror
destination and port 1 as source port.
2.5.8 MQTT Command
Message Queue Telemetry Transport
(
MQTT) is a Client Server publish/subscribe messaging transport
protocol. It is light weight, open, simple, and designed so as to be easy to implement. These
characteristics make it ideal for use in many situations, including constrained environments such as for
communication in Machine to Machine (M2M) and Internet of Things (IoT) contexts where a small
code footprint is required and/or network bandwidth is at a premium.
MQTT command
Parameter
Description
ICPE(config)# mqtt [1-5]
[1-5]
Add a new MQTT ID
ICPE(config-mqtt-ID)# account
enable
To activate the account
ICPE(config-mqtt-ID)# account
name [user_name]
[user_name]
Specify the authorized user login name, up to
255 alphanumeric characters
ICPE(config-mqtt-ID)# account
password [password]
[password]
Enter the desired user password, up to 255
alphanumeric characters.
ICPE(config-mqtt-ID)# active
Enable MQTT function for the MQTT ID
ICPE(config-mqtt-ID)# clean-
session
The clean session flag indicates the broker,
whether the client wants to establish a
persistent session or not
.
A persistent session
(CleanSession is false) means, that the broker
will store all subscriptions for the client and
also all missed messages, when subscribing
with Quality of Service (QoS) 1 or 2. If clean