
280
string1
: Specifies the community name of read-only access, a string of 1 to 26 characters.
string2
: Specifies the community name of read-write access, a string of 1 to 26 characters.
Description
Use the
snmp-host
command to configure a shared SNMP host for a cluster.
Use the
undo snmp-host
command to cancel the SNMP host configuration.
By default, no SNMP host is configured for a cluster.
This command can be executed only on the management switch.
Examples
# Configure a shared SNMP host for the cluster on the management switch.
<Sysname> system-view
[Sysname] cluster
[Sysname-cluster] ip-pool 10.1.1.1 24
[Sysname-cluster] build aaa
[aaa_0.Sysname-cluster] snmp-host 1.0.0.9 community-string read 123 write 456
tftp-server
Syntax
tftp-server
ip-address
undo tftp-server
View
Cluster view
Default level
2: System level
Parameters
ip-address
: Specifies the IP address of a TFTP server.
Description
Use the
tftp-server
command to configure a shared TFTP server for a cluster.
Use the
undo tftp-server
command to cancel the TFTP server of the cluster.
By default, no TFTP server is configured.
This command can be executed only on the management switch.
Examples
# Configure a shared TFTP server on the management switch as 1.0.0.9.
<Sysname> system-view
[Sysname] cluster
[Sysname-cluster] ip-pool 10.1.1.1 24
[Sysname-cluster] build aaa
[aaa_0.Sysname-cluster] tftp-server 1.0.0.9