Cisco ASR 14000 Series Management Command Reference page 758

Router system
Hide thumbs Also See for ASR 14000 Series:
Table of Contents

Advertisement

utility head
C i s c o C o n f i d e n t i a l - B e t a R e v i e w R 3 . 7. 1
Task ID
Task ID
universal
Examples
In the following example, the utility head command is used to display the first 15 lines from the output
of the command show version:
RP/0/RP0/CPU0:router# show version | utility head count 15
Cisco IOS XR Software, Version 3.7.1.11I[SIT_IMAGE] Copyright (c) 2008 by Cisco Systems,
Inc.
ROM: System Bootstrap, Version 1.51(20080807:092259) [ASR 14000 ROMMON],
dt-ortho-8 uptime is 2 days, 22 hours, 5 minutes System image file is
''disk0:asr14k-os-mbi-3.7.1.11I/mbiasr14k-rp.vm''
cisco ASR14K-8/S (7457) processor with 4194304K bytes of memory.
7457 processor at 1197Mhz, Revision 1.2
2 Ethernet/IEEE 802.3 interface(s)
104 GigabitEthernet/IEEE 802.3 interface(s)
8 SONET/SDH Port controller(s)
In the following example, the utility head command is entered with the bytes keyword. Only the first
15 bytes of output are displayed.
RP/0/RP0/CPU0:router# show version | utility head count 15 bytes
Cisco IOS XR S
RP/0/RP0/CPU0:router#
Related Commands
Command
utility cut
utility sort
utility tail
Cisco ASR 14000 Series Router System Management Command Reference
SMR-756
Operations
execute
Description
Cuts characters or lines from the output displayed from standard input or a
file.
Sorts, merges, or sequence-checks the output displayed from standard input
or a file.
Copies the end portion of the output displayed from standard input or a file.
Utility Commands on Cisco IOS XR Software
OL-17231-01

Advertisement

Table of Contents
loading

Table of Contents