Chapter 6 | CLI – Layer 2 |
|
|
ROUTE HOST TABLE |
|
|
|
destination | gateway | flags Refcnt Use | Interface |
127.0.0.1 | 127.0.0.1 | 5 | 2 | 131 | lo0 |
10.10.10.10 | 192.168.1.1 | 7 | 0 | 0 | se0 |
set snmp community
Use the set snmp community command to set or modify the switch’s SNMP community strings.
The syntax for this command is:
set snmp community <access_type> [community string]
access type |
Output Example:
SNMP
set snmp trap
Use the set snmp trap commands to add an entry into the SNMP trap receiver table and to enable or disable the different SNMP traps for a specific receiver. First add the rcvr_addr and then enable/disable the different traps for it.
The syntax for this command is:
set snmp trap <rcvr_addr>
set snmp trap <rcvr_addr> {enabledisable} {allconfigfault...}
enable | Activate SNMP traps |
disable | Deactivate SNMP traps |
all | (Optional) Specify all trap types |
config | (Optional) Specify the ConfigChange trap from the |
fault | (Optional) Specify the Fault trap from the |
rcvr_addr | IP address or IP alias of the system to receive SNMP traps |
94 | Avaya P332MF User’s Guide |