
BGP and BGP4+ Commands
Exclude The exclude parameter excludes all lines of output that contain the input string. In the following output all lines containing the word “input” are excluded:
awplus# show interface vlan1 exclude input
Interface vlan1
Scope: both
Hardware is Ethernet, address is 192.168.14.1
index 3 metric 1 mtu 1500 <UP,BROADCAST,RUNNING,MULTICAST> Label switching is disabled
No Virtual Circuit configured Administrative Group(s): None
DSTE Bandwidth Constraint Mode is MAM
output packets 4438, bytes 394940, dropped 0
output errors 0, aborted 0, carrier 0, fifo 0, heartbeat 0, window 0
collisions 0
Include The include parameter includes only those lines of output that contain the input string. In the output below, all lines containing the word “input” are included:
awplus# show interface vlan1 include input
input packets 80434552, bytes 2147483647, dropped 0, multicast packets 0
input errors 0, length 0, overrun 0, CRC 0, frame 0, fifo 1, missed 0
Redirect The redirect parameter puts the lines of output into the specified file. If the file already exists, the new output overwrites the file’s contents; the new output is not appended to the existing file contents.
redirect and > are synonyms.
awplus# show history redirect history.txt
Output The output redirection token > puts the lines of output into the specified file. If the file Redirection already exists, the new output overwrites the file’s contents; the new output is not
appended to the existing file contents.
redirect and > are synonyms.
awplus# show history > history.txt
Append The append output token >> adds the lines of output into the specified file. The file must Output already exist, for the new output to be added to the end of the file’s contents; the new
output is appended to the existing file contents.
append and >> are synonyms.
awplus# show history >> history.txt
| Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches |
|
AlliedWare PlusTM Operating System - Software Version | 3.7 |