○
○
○
○
○
3 — Configuring Your Router
3-19
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
3.7.2
SNMP Trap
i)
To
add
a trap destination:
snmp trap add <community> <IP addr> [<port>]
ii)
To
delete
a trap destination:
snmp trap delete <community> <IP addr> [<port>]
iii)
To
delete all
traps destination:
snmp trap flush
iv)
To
list
trap(s) destination:
snmp trap list
Example:
>snmp trap add community_name 192.168.1.5 21
>snmp trap list
trap add community_name 192.168.1.5 21
>snmp trap delete community_name 192.168.1.5 21
>snmp trap list
No trap destinations set
3.8
Setting up Telnet Access
(By factory default, Telnet Access is
enabled
. If the feature has been removed from
your router, you may carry out the following steps to enable it.)
Ensure that your router has SNMP
write access
enabled (see
Section 3.7 - Setting
Up SNMP
) before you proceed with the Telnet Access setup.
To enable Telnet to your router:
ip portname add telnet 23/tcp
config save
The Telnet password will be your SNMP write access community name
that you have entered during SNMP setup (
section 3.7.1, step (ii)
).