D-Link DI-3660 [43/506] Change the parameter of trap running

D-Link DI-3660 [43/506] Change the parameter of trap running
Command Line Interface Reference Manual
43
following command in the mode of global configuration:
Command Function
snmp-server packetsize byte-count Set the permitted maxium length of data packet.
Input the command snmp-server, it will prompt:
    (00)community        Enable SNMP; set community string and access privs
        ......
    (04)packetsize       Largest SNMP packet size
        ......
    Please Input the code of command to be excute(0-8): 4
    Input 4, choose the item packetsize, it will prompt:
    (00)<484-17940>         Packet size
    Please Input the code of command to be excute(0-0): 0
    Input 0, it will prompt:
    Please input a digital number:Please input a string:
    Input the maximum length of a data packet.
u Supervise the status of SNMP
Use following command in the mode of global configuration to supervise the statistics about input and output of SNMP,
which is include the list of illegal community character string, amount of error and request variable.
Command
Function
show snmp Supervise the status of SNMP
Input the command show, all the parameters will be listed:
    (00)alias         alias for command
        ......    
    (33)snmp          SNMP statistics
        ......
    Please Input the code of command to be excute(0-45): 33
    Input 33, choose the item snmp, it will prompt:
    (00)host          show SNMP trap hosts
    (01)view          show SNMP views
    (02)<cr>
    Please Input the code of command to be excute(0-2): 
    Choose the content you want to show.
u Configure SNMP trap
To use following command to configure the SNMP trap that sent by Router, (the second task is optional):
Configure the Router-send trap
Change the parameter of trap running
u Configure the Router-send trap
Use following command in the mode of global configuration, which is configures the Router to send a trap to a host.
Command Function
snmp-server host host community-string [udp-port port
]
[trap-type]
Assign the receiver of trap message.
Input the command snmp-server, it will prompt:
    (00)community        Enable SNMP; set community string and access privs
    (01)contact          Text for mib object sysContact
    (02)host             Specify hosts to receive SNMP TRAPs

Содержание

Скачать