Chapter 5: CPS Appliance Commands | 45 |
|
|
The Port Alert Add command adds a port alert string to a specified port. Each port may have up to ten port alert strings. Duplicate strings are not allowed on the same port. To generate a trap, the Server SNMP Trap command must be issued to enable the PortAlert trap. For more information, see Managing the CPS Appliance Using SNMP on page 30.
Access right: SCON or PCON
Access level: ADMIN or APPLIANCEADMIN
Syntax
PORT <port> ALERT ADD “<string>”
Table 5.4: Port Alert Add Command Parameters
Parameter | Description | |
|
| |
<port> | Port number in the range | |
|
| |
<string> | ||
in quotes. | ||
| ||
|
|
The Port Alert Copy command copies the alert strings from one port (from_port) to another
(to_port). Any alert strings that were previously defined on the to_port will be deleted. When you enter this command, you are prompted to confirm or cancel the copy operation.
For more information, see Managing the CPS Appliance Using SNMP on page 30.
Access right: SCON or PCON
Access level: ADMIN or APPLIANCEADMIN
Syntax
PORT <to_port> ALERT COPY <from_port>
Table 5.5: Port Alert Copy Command Parameters
Parameter | Description | |
|
| |
<to_port> | Port number where alert strings will be copied, in the range | |
appliance or | ||
| ||
|
| |
<from_port> | Port number from which alert strings will be copied, in the range | |
appliance or | ||
| ||
|
|
Example
The following command copies the alert strings defined on port 1 to port 7, replacing any previously defined alert strings on port 7.
port 7 alert copy 1