Q-Logic 8C Manuel D’Utilisation

Page de 162
B – Command Line Interface
Set Setup Command
59042-01 A
B-39
Examples 
The following is an example of the Set Setup SNMP command:
SANbox2 $> admin start
SANbox2 (admin) #> set setup snmp
  A list of attributes with formatting and current values will follow.
  Enter a new value or simply press the ENTER key to accept the current value.
  If you wish to terminate this process before reaching the end of the list
  press ’q’ or ’Q’ and the ENTER key to do so.
  Trap Severity Options
  ---------------------
  unknown, emergency, alert, critical, error, warning, notify, info, debug, mark
  Contact             (string, max=32 chars)       [Technical Support]
  Location            (string, max=32 chars)       [TSLab            ]
  Trap1Address        (dot-notated IP Address)     [10.20.71.15      ]
  Trap1Port           (decimal value)              [162              ]
  Trap1Severity       (see allowed options above)  [warning          ]
  Trap1Enabled        (True / False)               [True             ]
  Trap2Address        (dot-notated IP Address)     [0.0.0.0          ]
  Trap2Port           (decimal value)              [162              ]
  Trap2Severity       (see allowed options above)  [warning          ]
  Trap2Enabled        (True / False)               [False            ]
  Trap3Address        (dot-notated IP Address)     [0.0.0.0          ]
  Trap3Port           (decimal value)              [162              ]
  Trap3Severity       (see allowed options above)  [warning          ]
  Trap3Enabled        (True / False)               [False            ]
  Trap4Address        (dot-notated IP Address)     [0.0.0.0          ]
  Trap4Port           (decimal value)              [162              ]
  Trap4Severity       (see allowed options above)  [warning          ]
  Trap4Enabled        (True / False)               [False            ]
  Trap5Address        (dot-notated IP Address)     [0.0.0.0          ]
  Trap5Port           (decimal value)              [162              ]
  Trap5Severity       (see allowed options above)  [warning          ]
  Trap5Enabled        (True / False)               [False            ]
  ReadCommunity       (string, max=32 chars)       [public           ]
  WriteCommunity      (string, max=32 chars)       [private          ]
  TrapCommunity       (string, max=32 chars)       [public           ]
  AuthFailureTrap     (True / False)               [False            ]
  Do you want to save and activate this snmp setup? (y/n)