4.11.4 chgtrapip
4.11.1 showtrapip
Function
The command showtrapip is used to query the information about a Trap IP.
Format
showtrapip [-i index]
Parameters
Keyword and Value Description Default Value
-i index The index of a Trap IP
The value ranges from 0 to 3.
None.
Modes
Normal mode.
Level
Super administrator level, administrator level and guest level.
Usage Guidelines
l Enter showtrapip to query the information of all Trap IPs, including the index number, IP
address, port number, and version number.
l Enter showtrapip -i index to query the information of a designated Trap IP, including the
IP address, port number, and version number.
Example
Query the information about the Trap IP.
OceanStor: admin> showtrapip
Index IP Address Port ID Version
0 129.24.11.81 167 SNMPv1
1 129.24.11.82 167 SNMPv1
2 129.24.11.83 167 SNMPv1
3 129.24.11.84 167 SNMPv1
4.11.2 addtrapip
4 System Management Commands
OceanStor S2600 Storage System
Command Reference
4-38 Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 07 (2010-05-20)