Replacing The Last Command String - Fujitsu XG Series User Manual

Compact, layer 2 switch
Table of Contents

Advertisement

XG Series User's Guide

Replacing the last command string

By entering a replacement specifier (^), replacement target string, and replacement string at the beginning of a command
string, you can re-execute the last command with the specified string replaced with a new string.
If no replacement string is specified, the target string will be deleted.
The table below lists specifiers and operations. (A: replacement target string, B: replacement string, C: additional string)
Command
^A^B^
^A^B^:p
^A^B^C
^A^B^:pC
^A^^
^A^^:p
^A^^C
^A^^:pC
A command execution example is shown below.
Command
# show running-config lan 0 ip address
(Display the IP address for lan 0.)
# ^addr^rout^:p
show running-config lan 0 ip routess
# ^ess^e^
show running-config lan 0 ip route
(Display the static route information for lan 0.)
Replace A with B and execute the command string.
Replace A with B and display the command string.
Replace A with B, add C to the command string, and execute it.
Replace A with B, add C to the command string, and display it.
Delete A and execute the command string.
Delete A and display the command string.
Delete A, add C to the command string, and execute it.
Delete A, add C to the command string, and display it.
(Replace addr with rout and display the command string.)
(replace ess with e and execute the command string.)
(Display the command and execute it.)
Operation
50
Chapter 2 Using the CLI
Using the CLI

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xg0224Xg0448Xg2600

Table of Contents