DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual
44
Example usage:
To delete an SNMP host entry:
DES-1228/ME:4#delete snmp host 10.48.74.100
Command: delete snmp host 10.48.74.100
Success.
DES-1228/ME:4#
show snmp host
Purpose
Used to display the recipient of SNMP traps generated by the Switch’s SNMP agent.
Syntax
show snmp host {<ipaddr>}
Description
The
show snmp host
command is used to display the IP addresses and configuration
information of remote SNMP managers that are designated as recipients of SNMP traps
that are generated by the Switch’s SNMP agent.
Parameters
<ipaddr>
−
The IP address of a remote SNMP manager that will receive SNMP traps
generated by the Switch’s SNMP agent.
Restrictions
None.
Example usage:
To display the currently configured SNMP hosts on the Switch:
DES-1228/ME:4#show snmp host
Command: show snmp host
SNMP Host Table
Host IP Address SNMP Version Community Name/SNMPv3 User Name
--------------- --------------------- ------------------------------
10.48.76.23 V2c private
10.48.74.100 V3 authpriv public
Total Entries: 2
DES-1228/ME:4#
create trusted_host
Purpose
Used to create the trusted host.
Syntax
create trusted_host <ipaddr>
Description
The
create trusted_host
command creates the trusted host. The Switch allows users to
specify up to ten IP addresses that are allowed to manage the Switch via in-band SNMP or
TELNET based management software. These IP addresses must be members of the
Management VLAN. If no IP addresses are specified, then there is nothing to prevent any
IP address from accessing the Switch, provided the user knows the Username and
Password.
Parameters
<ipaddr>
−
The IP address of the trusted host to be created.
Restrictions
Only Administrator-level users can issue this command.