Command Line Errors

Any unknown spelling causes the CLI to display the error Unrecognized command in response to the ?. The CLI displays the command again as last entered.

Copy
> show dd?
% Unrecognized command
> show dd

When you press the Enter key after typing an invalid command, the CLI displays:

Copy
(config)#router ospf here
                          ^
% Invalid input detected at '^' marker.

where the ^ points to the first character in error in the command.

If a command is incomplete, the CLI displays the following message:

Copy
> show
% Incomplete command.

Some commands are too long for the display line and can wrap mid-parameter or mid-keyword, as shown below. This does not cause an error and the command performs as expected:

Copy
area 10.10.0.18 virtual-link 10.10.0.19 authentication-key 57393

Command Negation

Many commands have a no form that resets a feature to its default value or disables the feature. For example:

  • The ip address command assigns an IPv4 address to an interface
  • The no ip address command removes an IPv4 address from an interface