Alcatel Carrier Internetworking Solutions 6624 Switch User Manual


 
Sample VI Session
OmniSwitch Troubleshooting Guide September 2005 page -3
Dew - Deletes the current word.
P - Puts back text from previous delete.
yy-Puts the current line in buffer; leaves the current line intact.
p-Places the line in the buffer after the current position of the cursor.
ZZ-Exits VI and saves the changes.
:q-quits VI session and does not save any of the changes.
Sample VI Session
The following is a sample way to use the VI editor to modify the boot.params file.
Note. The commands performed below are executed from the /flash directory (root).
vi boot.params
boot empipaddr 192.168.11.1:ffffff00
boot empgatewayipaddr 192.168.11.254
boot serialbaudrate 9600
boot serialparity none
boot serialwordsize 8
boot serialstopbits 1
boot serialmode modemControlOff
boot reboottimer 0
boot runningversion working
boot nextrunningversion certified
boot numresets 54
The following is one of the ways you could now edit the IP address listed above.
Type the letter l to move one space to the right (h to move to the left) until you are at the front of the IP
address you want to modify, and then issue the letter x to delete the character to the right; repeat until the
address is removed. Issue an i to insert characters, and type in the new address. When you are finished,
type ZZ to exit, and save your changes. If you do not want to save the changes issue the following:
:q!