Asante Technologies 35516 user manual Checking Command Syntax, Example of Context Sensitive Help

Page 25

Example of Context Sensitive Help

The following example illustrates how the context-sensitive help feature creates an access list from the configuration mode.

Enter the letters “co” at the system prompt followed by a question mark (?). Do not leave a space between the last letter and the question mark (?). The system provides the commands that begin with co.

Router# co?

 

configure

Enter configuration mode

copy

Copy from one file to another

Router# co

 

 

 

Enter the configure command followed by a space and a question mark (?) to list the command's keyword(s) and a brief explanation:

Router# configure ?

terminal Configure from the terminal

Note that in the example below, if you enter the configure command followed by the Carriage Return (Enter or Return key), you will be prompted that the command is incomplete.

Router# configure

%Command incomplete. Router#

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.

Router(config)# hostname ?

WORD This system's network name

In this access list example below, there are two further options listed after the question mark. The user may enter a source wildcard, or the command is complete as it is already entered. The carriage return symbol (<cr>) indicates a carriage return is needed to enter the command. More information on access lists is found in Chapter 5.

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

<cr>

Router(config)# access-list 99 deny 192.168.123.0

3.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 enable rip router:

Router(config)# routed rip

^

% Invalid input detected at '^' marker.

There is no command starting with routed, so the first invalid input is ‘d’. Hence, the indicated caret symbol (^)marks the invalid input.

Router(config)# route

%Ambiguous command. Router(config)#

25

Image 25
Contents IntraCore 35516 Series Technical Support IntraCore 35516 SeriesTable of Contents Page Introduction FeaturesLEDs Package ContentsGbic Front and Back Panel DescriptionsConsole Interface Management and ConfigurationInstallation Overview Hardware Installation and SetupSafety Overview Recommended Installation ToolsPower Requirements Installation into an Equipment RackEnvironmental Requirements Cooling and AirflowGigabit Interface Converters Installing a GbicRemoving a Gbic Installing the Optional Emergency Power SupplyGbic Care and Handling System Information System up since 103443 Fri Feb 07Connecting to the Network Connecting Power1 10/100/1000BaseT Ports Cabling Procedures Gigabit Ethernet Ports Cabling Procedures SetupConnecting to a Console User Access Verification Password Unencrypted cleartext line password Setting PasswordsSpecifies an Unencrypted line password will follow Specifies a Hidden line password will followSetting a Default IP Gateway Address Configuring an IP AddressRouterconfig-if-veth1# System Boot Parameters Restoring Factory DefaultsRouterconfig# boot system flash bank1bank2 User Top User Exec Mode Understanding the Command Line Interface CLIAccess Each Command Mode Command Show ? PurposeRouter enable Password Router# Privileged Top Privileged Exec ModeCommand Purpose Command Purpose Router# configure terminal Global Configuration ModeCommand Exit end Ctrl-Z Purpose Interface Configuration Mode Route-Map Configuration Mode Router Configuration ModeCommand Help Purpose Advanced Features Supported within the Command ModeRouterconfig# hostname ? Word This systems network name Checking Command SyntaxRouterconfig# routed rip Invalid input detected at marker Routerconfig# route Ambiguous command. Routerconfig#Using the No and Default Forms of Commands Using CLI Command HistoryUsing Command-Line Editing Features and Shortcuts Routerconfig# router Command incomplete. Routerconfig#Completing a Partial Command Name Moving Around on the Command LineRouter# confTab Router# configure Keystrokes PurposeRouter# co? configure copy Router# co Editing Command Lines that WrapDeleting Entries Keystrokes Purpose Press the Delete or BackspaceScrolling Down a Line or a Screen Redisplaying the Current Command LineTransposing Mistyped Characters Controlling CapitalizationEnable Password Passwords and Privileges CommandsPassword Routerconfig-line# password AsanteService Password-Encryption Setting the System Clock Managing the System and Configuration FilesChanging the Password Managing the SystemDisplaying the Operating Configuration Enable the System LogTrace Packet Routes Test Connections with Ping TestsConfiguring from the Terminal Managing Configuration FilesConfiguration to Nvram Routerconfig# hostname newname Newnameconfig# endCopying Configuration Files to a Network Server Configuring Snmp Support Configuring Snmp and Spanning TreeRunning-config Startup-configCreate or Modify Access Control for Snmp Community Configuring Spanning Tree Protocol STPRouterconfig# duplicate-ip detect Disable the Snmp ProtocolHello Time Forward TimeMaximum Age PriorityMAC Address Table Routerconfig# mac-address-table aging-timePort Priority Port Path CostConfiguring IP Addressing Configuring IPAssign IP Addresses to Network Interfaces Class Address or Range StatusAssign Multiple IP Addresses to Network Interfaces Command PurposeCidr Prefix Class C Equivalent Host Addresses Configuring IP Routing Establish Address ResolutionDefine a Static ARP Cache SecondaryRoute Source Default Distance Configuring Static RoutesEnable RIP Configuring RIPAllow Unicast Updates for RIP Neighbor ip-addressSpecify a RIP Version Command Purpose Route-map map-tagdeny permit sequenceRedistribute Routing Information Set Metrics for Redistributed Routes Set Administrative DistanceSuppress Routing Updates through an Interface Generate a Default RouteFiltering Routing Information Enable or Disable Split-horizon Adjust TimersManage Authentication Keys Command Purpose Offset-list access-list-name in outMonitor and Maintain RIP Configuring IP Multicast RoutingModifying the Igmp Host-Query Message Interval Configuring IgmpPurpose Ip igmp query-interval 1-65535 seconds Configuring the Router as a Statically Connected Member CommandChanging the Igmp Version SecondsNbr-timeout 35-8000 seconds Configuring DvmrpCommand Purpose Route-expire-time 20-4000 seconds Default value 180 secondsDefault value 200 seconds Report-intervalCreate a Standard Access List Using Access ListsDestination address to match. e.g Create an Expanded Access ListApplying an Access List to an Interface Creating an Access List with a NameOperator equal to Operator greater thenEnable Ospf Configuring OspfConfigure ABR Type Command Purpose Router ospf StepConfigure Ospf Interface Parameters Configure CompatibilityConfigure Ospf Network Type Configure Area Parameters Configure Ospf for Non-broadcast NetworksConfigure Ospf Not So Stubby Area Nssa Command Purpose Neighbor ip-address priority numberCommand Purpose Area area-idvirtual-link router-idhello Configure Route Summarization between Ospf AreasCreate Virtual Links Not-advertisedConfigure Route Calculation Timers Control Default MetricsRefresh Timer Configuration Redistribute Routes into OspfPrevent Routes from being Advertised in Routing Updates Change the Ospf Administrative DistancesCommand Purpose Distance ospf external distance1 inter-area Suppress Routes on an InterfaceName Router ip-addressVirtual Router Redundancy Protocol Vrrp Vrrp ConfigurationEnable Irdp Processing Configuring Icmp Router Discovery Protocol IrdpMonitoring and Maintaining the Network Change Irdp ParametersShow access-lists access-list Command Purpose Show arp interfaceShow ip prefix-list prefix-list-name Show ip irdpCreating or Modifying a Vlan Vlan ConfigurationRouterconfig# no vlan Routerconfig# exit Router# show vlan Routerconfig# interface veth2 vlan Routerconfig-if-veth2#Deleting a Vlan Vlan Port Membership Modes Static AccessTrunk Ieee 802.1Q 3 Dot1q Tunnel Command Purpose Routerconfig# vlan dot1q tag nativeTrunk allowed vlan add all except Mode dot1q-tunnel Problem Possible Solutions Appendix A. Basic TroubleshootingPhysical Characteristics Appendix B. SpecificationsTechnical Support and Warranty Standards ComplianceFCC Compliance Statement Important Safety Instructions Appendix C. FCC Compliance and Warranty StatementsIntraCare Warranty Statement Page Appendix D. Console Port Pin Outs Pin Number Signal NameAppendix E. Online Warranty Registration