Flow Of Operation - Planet Networking & Communication WGS3-24000 User Manual

Table of Contents

Advertisement

Command Prompt: (Switching) (Config policy-map) #
Policy Class Mode
Use the class <class-name> command to access the QoS policy-classmap mode to attach/remove a diffserv class to a policy
and to configure the QoS policy map.
(Switching) (Config-policy-map) # class <class-name>
Command Prompt: (Switching) (Config – policy-classmap) #
Class Map Mode:
This mode consists of class creation/deletion and matching commands. The class match commands specify layer 2, layer 3 and
general match criteria. Use the class-map class-map-name commands to access the QoS class map configuration mode to
configure QoS class maps.
(Switching) (Config)# class map <class-map-name>
Command Prompt: (Switching) (Config - class) #

7.3 Flow of Operation

This section captures the flow of operation for the CLI:
1.
The operator logs into the CLI session and enters the User Exec mode. In the User Exec mode the "$(exec)>" prompt is
displayed on the screen.
The parsing process is initiated whenever the operator types a command and presses <ENTER>. The command tree is
searched for the command of interest. If the command is not found, the output message indicates where the offending entry
begins. For instance, command node A has the command "show arp brief" but the operator attempts to execute the
command "show arpp brief" then the output message would be $(exec)> show arpp brief^. $%Invalid input detected at
'^' marker. If the operator has given an invalid input parameter in the command, then the message conveys to the operator
an invalid input was detected. The layout of the output is depicted below:
After all the mandatory parameters are entered, any additional parameters entered are treated as optional parameters. If any
of the parameters are not recognized a syntax error message will be displayed.
2.
After the command is successfully parsed and validated, the control of execution goes to the corresponding CLI callback
function.
3.
For mandatory parameters, the command tree extends till the mandatory parameters make the leaf of the branch. The
callback function is only invoked when all the mandatory parameters are provided. For optional parameters, the command
tree extends till the mandatory parameters and the optional parameters make the leaf of the branch. However, the call back
321

Advertisement

Table of Contents
loading

Table of Contents