Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All
     

    Related Documentation

     

    snmp-server host

    Syntax

    [no] snmp-server host ip_address [ udp-port number ]

    Description

    This command sets the IP address and port of the SNMP trap receiver.

    Note: This command provides the same function as the system snmp notify-target command.

    Options

    Parameter

    Description

    Range

    Default Value

    ip_address

    The destination IP address of the host receiving trap notifications

    A valid IP address in dotted decimal format (for example, 10.1.1.1)

    udp-port number

    The UDP port to use

    0 to 65,535

    162

    Additional Information

    To create a list of trap receivers, repeat this command for each trap receiver. Each trap receiver must have a different IP address. The list cannot contain more than one trap receiver with the same IP address.

    Required Privilege Level

     

    Related Documentation

     

    Sample Output

    bti7800(config)# snmp-server host 10.1.1.1
    bti7800(config-host-10.1.1.1)# commit 
    Commit complete. 
    bti7800(config-host-10.1.1.1)# do show snmp host  
    Target-Name     IP-Address     Port     TimeOut-Value   Retry-Count     Tag-Lis 
    --------------- -------------- -------- --------------- --------------- -------
    10.1.1.1 v2     10.1.1.1       162       1500           3               std_v2_
    10.2.2.2 v2     10.2.2.2       162       1500           3               std_v2_

    Modified: 2017-10-24