Performing Basic System Tasks

Contents

1Performing Basic System Tasks
1.1Operating the System Clock
1.2Performing Session Operation Tasks
1.3Monitoring System-Wide Software
1.4Performing System Processes
1.5Testing Connectivity
1.6About IPv6
Copyright

© Ericsson AB 2009–2011. All rights reserved. No part of this document may be reproduced in any form without the written permission of the copyright owner.

Disclaimer

The contents of this document are subject to revision without notice due to continued progress in methodology, design and manufacturing. Ericsson shall have no liability for any error or damage of any kind resulting from the use of this document.

Trademark List
SmartEdge  is a registered trademark of Telefonaktiebolaget LM Ericsson.
NetOp  is a trademark of Telefonaktiebolaget LM Ericsson.

1   Performing Basic System Tasks

This document lists the commands used to monitor, administer, and troubleshoot administrator sessions; monitor, administer, or troubleshoot general system processes; and perform ping and traceroute. An overview of IPv6 is also provided in this document.

1.1   Operating the System Clock

To monitor the system and real-time clocks, system aliases, system licenses, CLI macros and aliases, and system services, perform the tasks described in Table 1 ; enter all commands in exec mode.

Table 1    Clock, CLI, and Services Operations Tasks

Task

Root Command

Display a list of command aliases defined on the system.

show alias

Display the current time and date according to the system and real-time clocks.

show clock

Display the system clock-source information on the system.

show clock-source

Display a list of software licenses and their configuration status.

show licenses

Display a list of macros defined on the system.

show macro

Display enabled and disabled services.

show service

1.2   Performing Session Operation Tasks


 Caution! 
Risk of performance loss. Enabling debug messages can severely affect system performance. To reduce the risk, use debug commands only when necessary and for as short a time as possible.

To monitor, administer, and troubleshoot administrator sessions, perform the tasks described in Table 2; enter all commands in exec mode.

Table 2    Session Operations Tasks

Task

Root Command

Enable the generation of debug messages for Secure Shell (SSH).

debug ssh

Enable the generation of debug messages for communications with another administrator during active Telnet or SSH sessions on the same SmartEdge router.

debug talk

Display the current privilege level for the current exec session.

show privilege

Display information about configured SSH attributes and the number of current connections.

show ssh-attributes

Establish a remote session from the SmartEdge router to a host using SSH.

ssh

Generate a new SSH key on the system.

ssh server-keygen

Establish communications with another administrator during active Telnet or SSH sessions on the same SmartEdge router .

talk

Establish a remote Telnet session from the SmartEdge router to a host using Telnet.

telnet

Set the terminal length for the current session.

terminal length

Display the event log output.

terminal monitor

Set the terminal width for the current session.

terminal width

1.3   Monitoring System-Wide Software

You can display system-wide information, such as results of diagnostics tests, hardware types and slot locations, system memory, and so on. To do so, perform the appropriate task listed in Table 3 ; enter all show commands in any mode.

Table 3    System-Wide Software Monitoring Tasks

Task

Root Command

Display Internet Control Message Protocol (ICMP) statistics.

show icmp statistics

Display IP traffic statistics on the active controller card.

show ip statistics xcrp

Display system memory statistics.

show memory

Display configuration information for the advertisement packets or the version of the SNMP traps that are sent to the NetOp™ Element Management System (EMS) server.

show netop

Display current status of one or all processes running on the system.

show process

Display Router Configuration Manager (RCM) information.

show rcm

Display Transmission Control Protocol (TCP) Internet connections and statistics.

show tcp

Display system information that assists your technical support representative resolve issues.

show tech-support

Display User Datagram Protocol (UDP) socket and statistical information.

show udp

1.4   Performing System Processes

Process operations commands provide instructions to the Process Manager (PM).


 Caution! 
Risk of system crash. If more than one process has been stopped, you must restart each process individually, monitoring the SmartEdge router and waiting for it to stabilize before trying to restart the stopped process. Contact technical support before stopping and restarting multiple processes.

 Caution! 
Risk of data loss. The process stop command causes the specified process to terminate and the services provided by the process to become unavailable until the process is restarted using the process start command. To reduce the risk, do not stop a process unless you intend to restart the process immediately.

To monitor, administer, or troubleshoot general system processes, perform the appropriate task listed in Table 4 . Enter show commands in any mode; enter all other commands in exec mode.

Table 4    System Process Operations Tasks

Task

Root Command

Enable the generation of debug messages for IP read-write lock events.

debug iprwlock

Enable the generation of debug messages for process execution descriptor graph (PEDGR) manager events.

debug pedgr

Enable the generation of debug messages for the process manager (PM).

debug pm

Enable the generation of debug messages for the Router Configuration Manager (RCM).

debug rcm

Enable the generation of debug messages for the shared memory library.

debug shmlib

Enable the generation of debug messages related to transferring crash files out of the SmartEdge router using the File Transfer Protocol (FTP).

debug sysmon ftp

Monitor the current status of IP processes and provide continuous updates to the status.

monitor ip

Monitor the current status of a specified category of processes and provide continuous updates to the status.

monitor process

Disable the generation of debug message types supported by the SmartEdge router .

no debug all

Restart a process that has been stopped.

process restart

Set process management parameters.

process set

Instruct PM to start the specified process.

process start

Stop a specified process.

process stop

Display the debug options that are currently enabled.

show debugging

1.5   Testing Connectivity

You can test connectivity by verifying the IP connections to hosts and tracing IP route routes. To perform hardware testing tasks, see Managing Hardware. To test IP connectivity, perform the appropriate task listed in Table 5; enter all commands in exec mode.

Table 5    Connectivity Testing Tasks

Task

Root Command

Test whether the host is reachable.

ping

Trace the IP routes that packets take when traveling to the specified destination.

traceroute

1.6   About IPv6

Note:  
When IP Version 6 (IPv6) addresses are not referenced or explicitly specified, the term IP address can refer generally to IP Version 4 (IPv4) addresses, IPv6 addresses, or IP addressing. In instances where IPv6 addresses are referenced or explicitly specified, the term IP address refers only to IPv4 addresses. For a description of IPv6 addressing and the types of IPv6 addresses, see RFC 3513, Internet Protocol Version 6 (IPv6) Addressing Architecture.

IPv6 is a new version of the Internet Protocol, designed as the successor to Pv4. IPv6 is fully described in RFC 2460, Internet Protocol, Version 6 (IPv6) Specification. The changes from IPv4 to IPv6 include: