HP 6125G HP 6125G & 6125G/XG Blade Switches Network Management and Mon - Page 81
snmp-agent target-host
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 81 highlights
[Sysname] snmp-agent sys-info contact Dial System Operator at beeper # 27345 snmp-agent target-host Syntax snmp-agent target-host trap address udp-domain { ip-address | ipv6 ipv6-address } [ udp-port port-number ] [ dscp dscp-value ] [ vpn-instance vpn-instance-name ] params securityname security-string [ v1 | v2c | v3 [ authentication | privacy ] ] View undo snmp-agent target-host trap address udp-domain { ip-address | ipv6 ipv6-address } params securityname security-string [ vpn-instance vpn-instance-name ] System view Default level 3: Manage level Parameters trap: Specifies a target host for receiving the traps sent by the SNMP agent. address: Specifies the IP address of the trap target host. udp-domain: Specifies UDP as the transport protocol. ip-address: Specifies the IPv4 address of the target host. ipv6 ipv6-address: Specifies the IPv6 address of the target host. udp-port port-number: Specifies the UDP port for receiving SNMP traps. The default UDP port is 162. dscp dscp-value: Sets the DSCP value for SNMP traps. The value range is 0 to 63 and the default DSCP is 0. vpn-instance vpn-instance-name: Specifies the MPLS L3VPN to which the target host belongs, where vpn-instance-name is a case-sensitive string of 1 to 31 characters. If the target host is on the public network, do not specify this option. This option is applicable only to IPv4. params securityname security-string: Specifies the authentication related parameter. The security-string argument specifies an SNMPv1 or SNMPv2c community name or an SNMPv3 username, a string of 1 to 32 characters. v1: Specifies SNMPv1. v2c: Specifies SNMPv2c. v3: Specifies SNMPv3. • authentication: Specifies the security model to be authentication without privacy. You must specify the authentication key when you create the SNMPv3 user. • privacy: Specifies the security model to be authentication with privacy. You must specify the authentication key and privacy key when you create the SNMPv3 user. Description Use snmp-agent target-host to configure a target host for receiving traps sent by the SNMP agent. Use undo snmp-agent target-host to remove settings for an SNMP trap target host. You can specify up to 20 trap target hosts. 75