Asante Technologies IC36240 Series setup guide Checking Command Syntax, Switch# configure ?

Models: IC36240 Series

1 42
Download 42 pages 62.53 Kb
Page 29
Image 29

Switch# configure ?

configure Enter configuration mode

Note that in the example below, if you enter the ip command followed by the Return Key or Enter, the system returns the prompt that the command is incomplete.

Switch# ip

%Command incomplete. Switch#

Generally, uppercase letters represent variables. For example, after entering a command, such as hostname, and using a space and a question mark, you will be prompted for the new name, represented by WORD. In cases where an IP address is the variable, the uppercase letters A.B.C.D will represent it.

Switch(config)# hostname ?

WORD This system's network name

In the following access list example, two further options are listed after the question mark. You may enter an optional source wildcard. The return symbol (<cr>) indicates a return key is needed to enter the command.

Switch(config)# access-list 99 deny 192.168.123.0 ? A.B.C.D Source wildcard. e.g. 0.0.0.255

<cr>

Switch(config)# access-list 99 deny 192.168.123.0

4.5 Checking Command Syntax

The CLI user interface provides an error indicator, a caret symbol (^). The caret symbol appears at the point in the command string where you have entered an incorrect letter, command, keyword, or argument.

In the following example, suppose you want to add an access-list entry:

Switch(config)# access-list

^

% Invalid input detected at '^' marker.

In the following example, an incomplete command is entered.

Switch(config)# access-list

%Command incomplete. Switch(config)#

29

Asante IntraCore IC36240

Setup Guide

Page 29
Image 29
Asante Technologies IC36240 Series setup guide Checking Command Syntax, Switch# configure ?