CLI Reference Guide
SNMP Configuration Commands
aclname
Name of the ACL, which specifies the IPV4 address range of
the NMS that are permitted to access the MIB.
ipv6-aclname
Name of the IPv6 ACL, which specifies the IPv6 address
range of the NMS that are permitted to access the MIB
ipaddr
IP address of the NMS accessing the MIB
Defaults
All communities are read only by default.
Command
Mode
Global configuration mode.
Usage Guide
This command is the first important command to enable the SNMP agent function. It specifies the
community attribute, range of the NMSs that can access the MIB, and more.
To disable the SNMP agent function,use the
no snmp-server
command.
If the
service password-encryption
command is configured globally and the entered community
string is in plaintext, this command will display and store the community string as a ciphertext. In this
case, after the configuration of the
service password-encryption
command is removed, the
community string is still displayed and stored as a ciphertext rather than a plaintext.
Configuration
Examples
The example below restricts the access to the MIB through the access list, which allows only the NMS
of the IP address 192.168.12.1 to access the MIB.
Ruijie(config)# access-list 2 permit
192.168.12.1
Ruijie(config)# access-list 2 deny any
Ruijie(config)# snmp-server community public ro
2
Related
Commands
Command
Description
access-list
Define the access list.
service password-encryption
Display the password in ciphertext.
Platform
Description
-
snmp-server contact
Use this command to specify the SNMP system contact in global configuration mode. The
no
form of
this command is used to delete the system contact.
snmp-server contact
text
no snmp-server contact
Parameter
Description
Parameter
Description
text
String describing the system contact.
Defaults
N/A.
Содержание RG-S2600G-I Series
Страница 1: ...1 CLI Reference Guide RG S2600G I Series Switches RGOS 10 4 3b16...
Страница 5: ...5...
Страница 192: ...CLI ReferenceInterface Configuration Commands Interface Configuration Commands Platform Description...
Страница 452: ...CLI Reference DHCP Configuration Commands commands clear ip dhcp server statistics Delete the DHCP server statistics...
Страница 505: ...CLI Reference TCP Configuration Commands Related commands Command Description...
Страница 513: ...CLI Reference IPv4 REF Configuration Commands Platform description N A Command history Version Description...
Страница 514: ...IP Routing Configuration Commands 1 IP Routing Configuration Commands...
Страница 527: ...Multicast Configuration Commands 1 IGMP Snooping Configuration Commands 2 MLD Snooping Configuration Commands...
Страница 642: ...CLI Reference TACACS Configuration Commands host...
Страница 652: ...CLI Reference 802 1X Configuration Commands Ruijie config if end...
Страница 744: ...CLI Reference CPU Protection Configuration Commands Caution This command is not supported on S3760 series...
Страница 773: ...CLI Reference IPSource Guard Configuration Commands Platform description This command is supported on all switches...
Страница 776: ...CLI Reference ND Snooping Configuration Commands...
Страница 901: ...CLI Reference NFPP Configuration Commands...
Страница 902: ...ACL QOS Configuration Commands 1 ACL Configuration Commands 2 QoS Configuration Commands...
Страница 999: ...CLI Reference RLDP Configuration Command Command mode Privileged EXEC mode...
Страница 1004: ...CLI Reference DLDP Configuration Commands Ruijie config if FastEthernet 0 0 clear dldp 20 1 1 1 10 1 1 1...
Страница 1005: ...CLI Reference DLDP Configuration Commands...
Страница 1146: ...CLI Reference VSU Configuration Commands Examples Ruijie vsu conver to stack Related Commands Command Description N A N A...
Страница 1191: ...CLI Reference Guide RSPAN Configuration Commands Platform Description N A...
Страница 1192: ...CLI Reference Guide...