beautypg.com

H3C Technologies H3C MSR 5600 User Manual

Page 128

background image

115

Step Command

Remarks

2.

Configure a target host.

(Method 1) Send traps to the target
host:

In non-FIPS mode:

snmp-agent target-host trap address
udp-domain { ip-address | ipv6

ipv6-address } [ udp-port

port-number ] [ vpn-instance
vpn-instance-name ] params

securityname security-string [ v1 | v2c

| v3 [ authentication | privacy ] ]

In FIPS mode:
snmp-agent target-host trap address

udp-domain { ip-address | ipv6

ipv6-address } [ udp-port
port-number ] [ vpn-instance

vpn-instance-name ] params

securityname security-string v3
[ authentication | privacy ]

(Method 2) Send informs to the target

host:
In non-FIPS mode:

snmp-agent target-host inform

address udp-domain { ip-address |
ipv6 ipv6-address } [ udp-port

port-number ] [ vpn-instance

vpn-instance-name ] params

securityname security-string { v2c | v3
[ authentication | privacy ] }

In FIPS mode:

snmp-agent target-host inform
address udp-domain { ip-address |

ipv6 ipv6-address } [ udp-port

port-number ] [ vpn-instance
vpn-instance-name ] params

securityname security-string v3

[ authentication | privacy ]

Use either method.
By default, no target host is

configured.

3.

(Optional.) Configure a
source address for

notifications.

snmp-agent { inform | trap } source
interface-type { interface-number |

interface-number.subnumber }

By default, SNMP uses the IP
address of the outgoing routed

interface as the source IP address.

4.

(Optional.) Enable
extended

linkUp/linkDown
notifications.

snmp-agent trap if-mib link extended

By default, the SNMP agent sends
standard linkup/linkDown
notifications.

5.

(Optional.) Configure
the notification queue

size.

snmp-agent trap queue-size size

By default, the notification queue
can hold 100 notification

messages.

6.

(Optional.) Configure

the notification lifetime. snmp-agent trap life seconds

The default notification lifetime is
120 seconds.

This manual is related to the following products: