D-Link DES-3010G Reference Manual - Page 42

delete snmp host, show snmp host, Community Name / SNMPv3 User Name

Page 42 highlights

DES-3010F / DES-3010G / DES-3018 / DES-3026 Layer 2 Switch CLI Reference Manual delete snmp host Purpose Syntax Description Parameters Restrictions Used to remove a recipient of SNMP traps generated by the Switch's SNMP agent. delete snmp host The delete snmp host command deletes a recipient of SNMP traps generated by the Switch's SNMP agent. − The IP address of a remote SNMP manager that will receive SNMP traps generated by the Switch's SNMP agent. Only administrator-level users can issue this command. Example usage: To delete an SNMP host entry: DES-3026:4#delete snmp host 10.48.74.100 Command: delete snmp host 10.48.74.100 Success. DES-3026:4# show snmp host Purpose Syntax Description Parameters Restrictions Used to display the recipient of SNMP traps generated by the Switch's SNMP agent. show snmp host {} 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. − The IP address of a remote SNMP manager that will receive SNMP traps generated by the Switch's SNMP agent. None. Example usage: To display the currently configured SNMP hosts on the Switch: DES-3026:4#show snmp host Command: show snmp host SNMP Host Table Host IP Address SNMP Version 10.48.76.23 V2c 10.48.74.100 V3 Community Name / SNMPv3 User Name private public Total Entries: 2 DES-3026:4# 40

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147

DES-3010F / DES-3010G / DES-3018 / DES-3026 Layer 2 Switch CLI Reference Manual
delete snmp host
Purpose
Used to remove a recipient of SNMP traps generated by the Switch’s
SNMP agent.
Syntax
delete snmp host <ipaddr>
Description
The
delete snmp host
command deletes a recipient of SNMP traps
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
Only administrator-level users can issue this command.
Example usage:
To delete an SNMP host entry:
DES-3026:4#delete snmp host 10.48.74.100
Command: delete snmp host 10.48.74.100
Success.
DES-3026: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-3026: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
public
Total Entries: 2
DES-3026:4#
40