Function
The command addtrapip is used to add a Trap IP.
Format
addtrapip -p port ID -a IP address -v version
Parameters
Keyword and Value Description Default Value
-p port ID The port ID of Trap IP
The value ranges from 1 to
65535.
None.
-a IP address The Trap IP address None.
-v version The version number of Trap
IP
The value can be 1 or 2.
None.
Modes
Normal mode.
Level
Super administrator level and administrator level.
Usage Guidelines
Add four Trap IPs at most.
Example
Add a Trap IP. The port ID of the Trap IP is 2234, the IP address is 129.16.101.127, and the
version number is 1
OceanStor: admin> addtrapip -p 2234 -a 129.16.101.127 -v 1
4.11.3 deletetrapip
Function
The command deletetrapip is used to delete a Trap IP.
Format
deletetrapip -i index
OceanStor S2600 Storage System
Command Reference 4 System Management Commands
Issue 07 (2010-05-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
4-39