HP (Hewlett-Packard) Digital NetRider Network Card User Manual


 
Using Command Groups
3-4 User Interface
Executing a Command Group
To execute a command group, use the DO command.
Example: Executing a Command Group
The following example executes the command group SERVICE_A defined in the
previous example. When this command executes, it substitutes the value 3 for the port
place holder %P1 and SALES for the service place holder %P2.
Local> DO SERVICE_A 3 SALES
Displaying a Command Group
Use the SHOW COMMAND GROUP command to display a command group.
Example: Displaying a Command Group
The example below shows how to display the SERVICE_A command group.
Local> SHOW COMMAND GROUP SERVICE_A
Command Group: SERVICE_A
Enabled on Ports
2 3 5
Line 10:
CHANGE PORT %P1 LOCK ENABLE
Line 20:
CHANGE PORT %P1 DEFAULT PROTOCOL LAT
Line 30:
CONNECT LAT %P2
Purging a Command Group
Use the PURGE COMMAND GROUP command to purge a command group. Use this
command to delete a line from a command group, delete an entire command group, or
delete all command groups.
Example: Purging Command Groups
The following example shows how to use the PURGE command to delete the
command groups SERVICE_A, SERVICE_B, and all existing command groups:
Local> PURGE COMMAND GROUP SERVICE_A
Local> PURGE COMMAND GROUP SERVICE_B
Local> PURGE COMMAND GROUP ALL