Asante Technologies 35516 user manual Editing Command Lines that Wrap, Deleting Entries

Page 28

The command is not immediately executed, so that you may modify the command if necessary. If you enter a set of characters that could indicate more than one command, the system simply lists all possible commands.

You may also enter a question mark (?) to obtain a list of commands that begin with that set of characters. Do not leave a space between the last letter entered and the question mark (?). For example, there are three commands in privileged mode that start with co. To see what they are, type co? at the privileged EXEC prompt:

Router# co? configure copy Router# co

3.8.3 Editing Command Lines that Wrap

The enhanced editing feature provides a wraparound for commands that extend beyond a single line on the screen. When the cursor reaches the right margin, the command line shifts 8 spaces to the left. You cannot see the first eight characters of the line, but you can scroll back and check the syntax at the beginning of the command. To scroll back, use the following command:

Keystrokes

Purpose

 

 

Press Ctrl-Bor the left arrow key repeatedly

Return to the beginning of a command line to verify that

until you scroll back to the beginning of the

you have correctly entered a lengthy command.

command entry, or press Ctrl-Ato return

 

directly to the beginning of the line.

 

 

 

Note: The arrow keys function only on ANSI-compatible terminals such as VT100.

In the following example, the access-list command entry extends beyond one line. When the cursor first reaches the end of the line, the line is shifted 8 spaces to the left and redisplayed. The dollar sign ($) indicates that the line has been scrolled to the left. Each time the cursor reaches the end of the line, it is again shifted 8 spaces to the left.

Router(config)# access-list 101 permit icmp 192.168.123.0 0.0.0.255 192 Router(config)# $ st 101 permit icmp 192.168.123.0 0.0.0.255 192.168.0.1

When you have completed the entry, press Ctrl-Ato check the complete syntax before pressing Enter to execute the command. The dollar sign ($) appears at the end of the line to indicate that the line has been scrolled to the right:

Router(config)# access-list 101 permit icmp 192.168.123.0 0.0.0.255 192$

Use line wrapping in conjunction with the command history feature to recall and modify previous complex command entries.

3.8.4 Deleting Entries

Use any of the following commands to delete command entries if you make a mistake or change your mind:

Keystrokes

Purpose

 

 

Press the Delete or Backspace

Erase the character to the left of the cursor.

key.

 

 

 

Press Ctrl-D.

Delete the character at the cursor.

 

 

Press Ctrl-K.

Delete all characters from the cursor to the end of the command line.

 

 

28

Image 28
Contents IntraCore 35516 Series IntraCore 35516 Series Technical SupportTable of Contents Page Features IntroductionPackage Contents LEDsFront and Back Panel Descriptions GbicManagement and Configuration Console InterfaceHardware Installation and Setup Installation OverviewSafety Overview Recommended Installation ToolsInstallation into an Equipment Rack Power RequirementsEnvironmental Requirements Cooling and AirflowInstalling a Gbic Gigabit Interface ConvertersInstalling the Optional Emergency Power Supply Removing a GbicGbic 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 Setting Passwords Unencrypted cleartext line passwordSpecifies 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 Understanding the Command Line Interface CLI User Top User Exec ModeAccess 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 Router Configuration Mode Route-Map Configuration ModeAdvanced Features Supported within the Command Mode Command Help PurposeChecking Command Syntax Routerconfig# hostname ? Word This systems network nameRouterconfig# routed rip Invalid input detected at marker Routerconfig# route Ambiguous command. Routerconfig#Using CLI Command History Using the No and Default Forms of CommandsUsing Command-Line Editing Features and Shortcuts Routerconfig# router Command incomplete. Routerconfig#Moving Around on the Command Line Completing a Partial Command NameRouter# confTab Router# configure Keystrokes PurposeEditing Command Lines that Wrap Router# co? configure copy Router# coDeleting Entries Keystrokes Purpose Press the Delete or BackspaceRedisplaying the Current Command Line Scrolling Down a Line or a ScreenTransposing Mistyped Characters Controlling CapitalizationPasswords and Privileges Commands Enable PasswordPassword Routerconfig-line# password AsanteService Password-Encryption Managing the System and Configuration Files Setting the System ClockChanging the Password Managing the SystemEnable the System Log Displaying the Operating ConfigurationTrace Packet Routes Test Connections with Ping TestsManaging Configuration Files Configuring from the TerminalConfiguration to Nvram Routerconfig# hostname newname Newnameconfig# endCopying Configuration Files to a Network Server Configuring Snmp and Spanning Tree Configuring Snmp SupportRunning-config Startup-configConfiguring Spanning Tree Protocol STP Create or Modify Access Control for Snmp CommunityRouterconfig# duplicate-ip detect Disable the Snmp ProtocolForward Time Hello TimeMaximum Age PriorityRouterconfig# mac-address-table aging-time MAC Address TablePort Priority Port Path CostConfiguring IP Configuring IP AddressingAssign IP Addresses to Network Interfaces Class Address or Range StatusAssign Multiple IP Addresses to Network Interfaces Command PurposeCidr Prefix Class C Equivalent Host Addresses Establish Address Resolution Configuring IP RoutingDefine a Static ARP Cache SecondaryConfiguring Static Routes Route Source Default DistanceConfiguring RIP Enable RIPAllow Unicast Updates for RIP Neighbor ip-addressSpecify a RIP Version Command Purpose Route-map map-tagdeny permit sequenceRedistribute Routing Information Set Administrative Distance Set Metrics for Redistributed RoutesSuppress Routing Updates through an Interface Generate a Default RouteFiltering Routing Information Adjust Timers Enable or Disable Split-horizonManage Authentication Keys Command Purpose Offset-list access-list-name in outConfiguring IP Multicast Routing Monitor and Maintain RIPModifying the Igmp Host-Query Message Interval Configuring IgmpPurpose Ip igmp query-interval 1-65535 seconds Command Configuring the Router as a Statically Connected MemberChanging the Igmp Version SecondsConfiguring Dvmrp Nbr-timeout 35-8000 secondsDefault value 180 seconds Command Purpose Route-expire-time 20-4000 secondsDefault value 200 seconds Report-intervalUsing Access Lists Create a Standard Access ListCreate an Expanded Access List Destination address to match. e.gCreating an Access List with a Name Applying an Access List to an InterfaceOperator equal to Operator greater thenConfiguring Ospf Enable OspfConfigure ABR Type Command Purpose Router ospf StepConfigure Ospf Interface Parameters Configure CompatibilityConfigure Ospf Network Type Configure Ospf for Non-broadcast Networks Configure Area ParametersConfigure Ospf Not So Stubby Area Nssa Command Purpose Neighbor ip-address priority numberConfigure Route Summarization between Ospf Areas Command Purpose Area area-idvirtual-link router-idhelloCreate Virtual Links Not-advertisedControl Default Metrics Configure Route Calculation TimersRefresh Timer Configuration Redistribute Routes into OspfChange the Ospf Administrative Distances Prevent Routes from being Advertised in Routing UpdatesCommand Purpose Distance ospf external distance1 inter-area Suppress Routes on an InterfaceRouter ip-address NameVrrp Configuration Virtual Router Redundancy Protocol VrrpConfiguring Icmp Router Discovery Protocol Irdp Enable Irdp ProcessingMonitoring and Maintaining the Network Change Irdp ParametersCommand Purpose Show arp interface Show access-lists access-listShow ip prefix-list prefix-list-name Show ip irdpVlan Configuration Creating or Modifying a VlanRouterconfig# 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 Appendix A. Basic Troubleshooting Problem Possible SolutionsAppendix B. Specifications Physical CharacteristicsTechnical Support and Warranty Standards ComplianceFCC Compliance Statement Important Safety Instructions Appendix C. FCC Compliance and Warranty StatementsIntraCare Warranty Statement Page Pin Number Signal Name Appendix D. Console Port Pin OutsAppendix E. Online Warranty Registration