Manual
GigaX2024B/M L2 Managed Switch CLI Manual
58
Show
show snmp-server trap community / show running-cong
Default
Public
Description
This command sets the trap community string for SNMP
protocol.
Examples
ASUS(cong)# snmp-server community trap public
11.10 snmp-server community WORD (ro/rw)
networkA.B.C.D/MASK
Syntax
snmp-server community WORD (ro/rw) network A.B.C.D/MASK
Parameters
community SNMP server community
WORD create a new community string (max 30
characters)
ro a unique SNMP community string that acts
like a password and permits access to the
SNMP protocol
rw the relationship between the SNMP
manager and the agent,ro->read-only, rw-
>read-write
network the network that allowed to access this
community
A.B.C.D/MASK network and mask
Command Mode
Congure terminal mode
No/clear
no snmp-server community WORD (ro|rw) network A.B.C.D/
MASK
Show
show snmp-server community / show running-cong
Default
Public, and the network is 0.0.0.0/0.0.0.0
Description
This command create a new community string (max 30
characters).
Examples
ASUS(cong)# snmp-server community public ro network
192.192.1.1/24
11.11 snmp-servercontactDWORD