![]() |
Cisco Metro 1500 Software Configuration Guide
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Command Reference
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Table of ContentsCommand ReferenceCommand ReferenceThis appendix describes the following Linux commands, which are used in the Cisco Metro 1500 series environment.
passwdUse this command to change passwords. passwd changes the specified user's password. Only the superuser is allowed to change other users' passwords. If the user is not root, then the old password is prompted for and verified. A new password is prompted for twice to avoid typing mistakes. Unless the user is the superuser, the new password must have more than six characters, and it must have either both uppercase and lowercase letters, or non-letters. Some passwords that are similar to the user's name are not allowed. Syntax Descriptionpasswd new-password Usage Guidelines
Files/etc/passwd /etc/shells ExampleThe following example shows how to set and change passwords: passwd Z3tR67s picopico is a simple, display-oriented text editor based on the Pine message system composer. As with Pine, commands are displayed at the bottom of the screen, and context-sensitive help is provided. As characters are typed they are immediately inserted into the text. Editing commands are entered using Control-key combinations. As a workaround for communications programs that swallow certain control characters, you can emulate a Control key by pressing Escape twice, followed by the desired control character. For example, Esc Esc C is equivalent to entering a ^C. The editor has five basic features:
Paragraph justification takes place in the paragraph that contains the cursor or, if the cursor is between lines, in the paragraph immediately below. Paragraphs are delimited by blank lines, or by lines beginning with a space or tab. Unjustification can be done immediately after justification using the ^U key combination. String searches are not sensitive to case. A search begins at the current cursor position and wraps around the end of the text. The most recent search string is offered as the default in subsequent searches. Blocks of text can be moved, copied, or deleted by using the following commands:
The delete command removes text between the "mark" and the current cursor position, and then places it in the "cut" buffer. The undelete command effects a "paste" at the current cursor position. The spell checker examines all words in the text. It then highlights each misspelled word for correction. Spell checking can be canceled at any time. Alternatively, pico substitutes a routine defined by the SPELL environment variable for the default spell checking routine. The replacement routine should read standard input and write standard output. The file browser is offered as an option in the Read File and Write Out command prompts. It helps in searching for specific files and navigating directory hierarchies. Filenames with sizes and names of directories in the current working directory are presented for selection. The current working directory is displayed on the top line of the display while the list of available commands takes up the bottom two. Several basic file manipulation functions are supported:
More specific help for these functions is available in pico online help. When pico is disconnected (SIGHUP), pico saves the current work, if necessary, before exiting. Work is saved under the current filename with .save appended. If the current work is unnamed, it is saved under the filename pico.save. Figure A-1 shows a screen display of pico. Figure A-1: Screen Display of pico Used with CRT
Syntax Descriptionpico [options] [file] OptionsTable A-1 lists and describes pico options. Table A-1: Description of pico Options
Usage GuidelinesHow pico displays lines that are longer than the display width is not obvious. A $ at the end of a line indicates that the line continues beyond the display width. Long lines are scrolled horizontally as the cursor moves to the right. Files
ExampleThe following example shows how to use pico to edit the configfile with the mouse function enabled. pico m configfile snmpconfigUse this command as a configuration tool for the event manager snmptrapd. snmpconfig customizes the event manager snmptrapd. Enter the corresponding key to change the settings in snmptrapd.conf. Syntax Descriptionsnmpconfig -? Screen Capture KeysTable A-2 describes the screen capture keys. Table A-2: Description of Screen Capture Keys
snmpconfig KeysTable A-3 lists and describes snmpconfig keys. Table A-3: Description of snmpconfig Keys
OptionsThe -? option shows version information. Usage Guidelines
Files/etc/snmptrapd.conf, /tmp/RAMLog.log, /etc/FlashLog.log Related Commandssnmptrapd.conf
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|