Users Guide
terminal
Sets the number of lines to display on the terminal and enables logging.
Syntax
terminal {length lines | monitor}
Parameters
● length lines — Enter the number of lines to display on the terminal from 0 to 512; default 24.
● monitor — Enables logging on the terminal.
Default 24 terminal lines
Command Mode EXEC
Usage
Information
Enter zero (0) for the terminal to display without pausing.
Example
OS10# terminal monitor
Supported
Releases
10.2.0E or later
traceroute
Displays the routes that packets take to travel to an IP address.
Syntax
traceroute [vrf {management | vrf-name}] host [-46dFITnreAUDV] [-f
first_ttl] [-g gate,...] [-i device] [-m max_ttl] [-N squeries] [-p port]
[-t tos] [-l flow_label] [-w waittime] [-q nqueries] [-s src_addr] [-z
sendwait] [--fwmark=num] host [packetlen]
Parameters
● vrf management— (Optional) Traces the route to an IP address in the management VRF instance.
● vrf vrf-name — (Optional) Traces the route to an IP address in the specified VRF instance.
● host — Enter the host to trace packets from.
● -i interface — (Optional) Enter the IP address of the interface through which traceroute sends
packets. By default, the interface is selected according to the routing table.
● -m max_ttl — (Optional) Enter the maximum number of hops for the maximum time-to-live
value that traceroute probes. The default is 30.
● -p port — (Optional) Enter a destination port:
○ For UDP tracing, enter the destination port base that traceroute uses. The destination port
number is incremented by each probe.
○
For ICMP tracing, enter the initial ICMP sequence value, incremented by each probe.
○ For TCP tracing, enter the constant destination port to connect.
○ -P protocol — (Optional) Use a raw packet of the specified protocol for traceroute. The
default protocol is 253 (RFC 3692).
○ -s source_address — (Optional) Enter an alternative source address of one of the interfaces.
By default, the address of the outgoing interface is used.
○ -q nqueries — (Optional) Enter the number of probe packets per hop. The default is 3.
○ -N squeries — (Optional) Enter the number of probe packets sent out simultaneously to
accelerate traceroute. The default is 16.
○ -t tos — (Optional) For IPv4, enter the type of service (ToS) and precedence values to use. 16
sets a low delay; 8 sets a high throughput.
○ -UL — (Optional) Use UDPLITE for tracerouting. The default port is 53.
○ -w waittime — (Optional) Enter the time in seconds to wait for a response to a probe. The
default is 5 seconds.
○ -z sendwait — (Optional) Enter the minimal time interval to wait between probes. The default
is 0. A value greater than 10 specifies a number in milliseconds, otherwise it specifies a number of
seconds. This option is useful when routers rate-limit ICMP messages.
○ --mtu — (Optional) Discovers the maximum transmission unit (MTU) from the path being traced.
○ --back — (Optional) Prints the number of backward hops when different from the forward
direction.
CLI Basics
101