338 SNMP Commands
Syntax
•
snmp-server v3-host
{
ip4-address
|
ip6-address
|
hostname
}
|
hostname
}
username
[traps | informs]
{noauth | auth | priv} [udp-port
port
] [filter
filtername
] [timeout
seconds
] [retries
retries
]
•
no snmp-server v3-host {
ip4-address
|
ip6-address
|
hostname
}
username
[traps | informs]
•
ip4-address
— The host IPv4 address (the targeted recipient).
•
ip6-address
— The host IPv6 address (the targeted recipient). When the IPv6 address is a Link
Local address (IPv6Z address), the outgoing interface name must be specified. Refer to the usage
guidelines for the interface name syntax.
•
hostname
— Specifies the name of the host. (Range:1-158 characters)
•
username
— Specifies the name of the user to use to generate the notification. (Range: 1 - 24)
•
traps
— Indicates that SNMP traps are sent to this host.
•
informs
— Indicates that SNMP informs are sent to this host.
•
noauth
— Indicates no authentication of a packet.
•
auth
— Indicates authentication of a packet without encrypting it.
•
priv
— Indicates authentication of a packet with encryption.
•
port
— Specifies the UDP port of the host to use. If unspecified, the default UDP port number is
162. (Range: 1-65535)
•
filtername
— Specifies a string that defines the filter for this host. If unspecified, nothing is
filtered. (Range: 1-30 characters)
•
seconds
— Specifies the number of seconds to wait for an acknowledgment before resending
informs. If unspecified, the default timeout period is 15 seconds. (Range: 1-300)
•
retries
— Specifies the maximum number of times to resend an inform request. If unspecified, the
default maximum number of retries is 3. (Range: 0 - 255)
Default Setting
This command has no default configuration.
Command Mode
Global Configuration mode.
5400_CLI.book Page 338 Wednesday, December 17, 2008 4:33 PM