Operation Manual
IP Services Commands
IP Services Commands
8 – 111
● show ip route on page 8-138
set ip snmp server
Enables or disables the SNMP service on the MX.
Syntax
set ip snmp server {enable | disable}
Defaults
The SNMP service is disabled by default.
Access
Enabled.
History
Introduced in MSS Version 1.0.
Examples
The following command enables the SNMP server on an MX:
MX# set ip snmp server enable
success: change accepted.
See Also
● clear snmp trap receiver on page 8-98
● set port trap on page 5-59
● set snmp community on page 8-116
● set snmp trap on page 8-125
● set snmp trap receiver on page 8-125
● show snmp configuration on page 8-141
set ip ssh
Changes the TCP port number on which an MX listens for Secure Shell (SSH) management traffic.
Syntax
set ip ssh port port-num
Defaults
The default SSH port number is 22.
Access
Enabled.
History
Introduced in MSS Version 2.0.
Examples
The following command changes the SSH port number on an MX to 6000:
MX# set ip ssh port 6000
success: change accepted.
enable Enables the SNMP service.
disable Disables the SNMP service.
W arning!
If you change the SSH port number from an SSH session, MSS immediately ends the
session. To open a new management session, you must configure the SSH client to
use the new TCP port number.
port-num TCP port number.