User Cli

August 20, 2022 | Author: Anonymous | Category: N/A
Share Embed Donate


Short Description

Download User Cli...

Description

 

CLI User Guide MINI-LINK TN ETSI

USER GUIDE

2/1553-CSH 109 32/1-V1 Uen K

 

Copyright  © Ericsson AB 2008–2010. All rights reserved. No part of this th is document may be reproduced reprod uced in any form without without the written permission permission of the copyright 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.

2/1553 553-CS -CSH H 109 109 32/132/1-V1 V1 Uen Uen K | 201 2010-1 0-10-2 0-28 8 2/1

 

Contents

Contents 1

Introduction

1

2

Safety Information

1

3

Preparations

1

3.1

Software

1

3.2

User Privileges

2

3.3

Enabling CLI

3

3.4

TCP/UDP Port

3

3.5

Telnet Client

4

3.6

SSH Client

4

3.7

Documentation

5

4

Typographic Conventions

5

5

CLI Overview

6

5.1

Exec Mode

7

5.2

Privileged Exec Mode

8

5.3

Global Configuration Mode

9

6

Starting a CLI Session

9

7

Working with CLI Commands

11

7.1

Displaying Help for a Command

11

7.2

Completing a Command

12

7.3

Editing a Command

13

7.4

Executing a Command

13

7.5

Retrieving a Previous Command

14

7.6

Confirming a Command

14

7.7

Negating a Command

15

8

Navigating between Command Modes

16

8. 8.1 1

Basi Basic c Mode Modes: s: Exe Exec, c, Pr Priv ivil ileg eged ed Exec Exec,, an and d Glob Global al Configuration

16

8.2

Command Submodes for Ethernet Configuration

17

8.3

Command Submodes for IP Router Configuration

19

8.4

Command Submodes for PDH Configuration

19

2/1 2/1553 553-CS -CSH H 109 109 32/132/1-V1 V1 Uen Uen K | 201 2010-1 0-10-2 0-28 8

 

CLI User Guide

8. 8.5 5

Com Command and Subm ubmodes odes fo forr Conf Config igur urat atio ion n of Ser Seria iall In Inte terf rfac aces es

20

9

CLI Tool

20

9.1

Installation

20

9.2

User Interface Overview

20

9.3

Menus

22

9.4

Session Pane

22

10

CLI Command Definition Structure

23

11

Basic Commands

24

11.1

?

25

11.2

TAB

26

11.3

ssh

27

11.4

telnet

27

11.5

write

28

12

Monitoring Commands

29

12.1

show clock

30

12.2

show confirm timer

30

12.3

show current

31

12.4

show history

32

12.5

show interface

32

12.6

show ip forwarding

34

12.7

show ip ospf

34

12.8

show ip protocols ospf

36

12.9

show ip route

36

12.10 12.11

show ip traffic show networks

37 39

12.12

show rsyslog

39

12.13

show running-config

40

12.14

show spanning-tree

41

12.15

show timezone

42

13

Troubleshooting and Test Commands

42

13.1

debug ospf event

43

13.2

debug ospf ifsm

44

13.3

debug ospf lsa

44

13.4

debug ospf nfsm

45

2/1553 553-CS -CSH H 109 109 32/132/1-V1 V1 Uen Uen K | 201 2010-1 0-10-2 0-28 8 2/1

 

CLI User Guide

13.5

debug ospf packet

46

13.6

debug ospf route

47

13.7

ping

48

13.8 13.9

terminal traceroute

48 49

14

IP Configuring Commands

50

14.1

ip address

50

14.2

ip dhcp relayaddress

51

14.3

ip domainname

52

14.4

ip forwarding

52

14.5

ip name-server

53

14.6

ip route

53

15

NTP Server Configuring Commands

54

15.1 15.2

ntp server timezone

55 55

16

Radio Link Configuring Commands

56

16.1

capacity

57

16.2

channelspace

59

16.3

ftermid

60

16.4

interfaces

61

16.5

protection

61

16.6

rautransmitter

62

16.7

termid

63

16.8

txfreq

64

17

OSPF Configuring Commands

64

17.1

area stub

65

17.2

default-information originate

66

17.3

network area

66

17.4

passive-interface

67

17.5

redistribute

68

18

Remote Syslog Configuring Commands

68

18.1

rsyslog enable

69

18.2

rsyslog server

69

18.3

rsyslog trapseverity

70

2/1553 -CSH H 109 109 32/132/1-V1 V1 Uen Uen K | 201 2010-1 0-10-2 0-28 8 2/1553-CS

 

CLI User Guide

19

Weig Weight hted ed Rand Random om Earl Early y Dete Detect ctio ion n Conf Config igur urin ing g Commands

71

19.1

gain

72

19.2 19.3

name p-mark

73 73

19.4

threshold-high

74

19.5

threshold-low

75

19.6

wred-profile

76

20

Scheduler Configuring Commands

76

20.1

name

77

20.2

scheduler

78

20.3

tc-scheduler-type-and-wfq-weight

79

20.4

wfq-mtu-quanta

79

21

Quality of Service Enabling Commands

80

21.1

alarm-enable sync-unsupported

81

21.2

color-dropping

82

21.3

lock-to-service

83

21.4

scheduler-profile

83

21.5

sync-enable

84

21.6

wfq-weight

84

21.7

wred

85

21.8

wred-or-color-dropping

86

22

Spanning-tree Configuring Commands

87

22.1

type

87

22.2 22.3

force-version transmit-holdcount

88 89

22.4

enable

89

22.5

priority

90

22.6

max-age

90

22.7

forward-delay

91

22.8

max-hops

92

23

MST Configuring Commands

93

23.1

name

93

23.2

revision

94

23.3

instance

94

2/1553 553-CS -CSH H 109 109 32/132/1-V1 V1 Uen Uen K | 201 2010-1 0-10-2 0-28 8 2/1

 

CLI User Guide

23.4

reset

95

24

Priority Failure

96

Reference List

2/1553 -CSH H 109 109 32/132/1-V1 V1 Uen Uen K | 201 2010-1 0-10-2 0-28 8 2/1553-CS

97

 

CLI User Guide

2/1 2/1553 553-CS -CSH H 109 109 32 32/1/1-V1 V1 U Uen en K | 2010-1 2010-10-2 0-28 8

 

Preparations

1

Introduction This user guide gives an introduction to the Command Line Interface (CLI), a text-based configuration tool similar to industry standards used for configuration and troubleshooting.

2

Safety Information Make sure that the information in the following documents has been understood by the persons performing the procedures: •   Personal Health and Safety Information ,  Reference [3] •   System Safety Information ,  Reference [7] •   Supplementary Safety Information for MINI-LINK ,  Reference [6]

3

Preparations This section presents the preparations preparations needed for successful successful completion completion of the procedures in this instruction.

3.1

Software The following software is relevant for CLI: •

Belcar Belcarra ra Window Windows s USBLA USBLAN N Softwa Software: re: driver driver requi required red to to connec connectt a Windows PC to the NPU using a USB cable.



MINI-L MINI-LINK INK CLI CLI Tool: Tool: applica applicatio tion n that make makes s it possib possible le for a plan plannin ning g engineer to prepare a set of CLI commands in a standard text file that can later be run on-site. For an overview description of CLI Tool, see  Section 9 on page 20. 20.



MINI-L MINI-LINK INK Craft: Craft: NE confi configur gurati ation on appli applicat cation ion with with a graphi graphical cal user user interface. MINI-LINK Craft is not required for working with CLI, but it is often useful to have both MINI-LINK Craft and CLI.

2/1553 2/1 553-CS -CSH H 109 109 32/132/1-V1 V1 Uen Uen K | 201 2010-1 0-10-2 0-28 8

1

 

CLI User Guide

All this software can be found on the MINI-LINK TN Local Management Service Software CD (ML TN MSS CD). MINI-LINK MINILINK Craft is installed installed using an installati installation on program. The Belcarra Windows USBLAN Software (USBLAN)see Installing is installed asorpart of the MINI-LINK Craft installation. For more information, see  Installing Uninstalling MINI-LINK  Craft ,  Reference [2]. [2].

3.1.1

Installing CLI Tool To acquire CLI Tool: Downl Download oad the file containing MINI-LINK MINI-LINK CLI Tool installation program from Ericsson SW Gateway or order a MINI-LINK TN&CN Service Software CD. To install CLI Tool using the ML TN MSS CD: 1. Insert Insert the ML ML TN MSS MSS CD CD in the the PC. PC. 2. In Window Windows s Explo Explorer rer,, browse browse to the the CD. 3.

Double-cli Double-click ck the MINI-LINK MINI-LINK CLI CLI Tool SW install installation ation program program file. file.

4.

Follow Follow the instruc instructions tions in the wizard wizard and at the end, end, click click  OK  OK..

To install CLI Tool using a compressed file:

3.1.2

1.

Extract Extract the the files files from from the compressed compressed zip-file. zip-file.

2.

In Windows Windows Explorer, Explorer, browse browse to the folder folder created created during file file extraction. extraction. Browse to the folder  installer.

3.

To start start the installati installation on program: program: double-clic double-click k on tthe he file file  MLCLITool.exe.

4.

Follow Follow the instruc instructions tions in the wizard wizard and at the end, end, click click  OK  OK..

Uninstalling CLI Tool To uninstall CLI Tool, do the following: 1.

On the  Start menu, menu, click All click  All Programs and Programs  and then click the MINI-LINK the  MINI-LINK CLI Tool folder. Tool  folder.

2. Cl Clic ick k  Uninstall  Uninstall.. 3.

3.2

Follow Follow the instruc instructions tions in the wizar wizard d and at the the end click click Finish  Finish..

User Privileges Depending on the tasks to be performed, you need access as either view_user or control_user to the Network Element (NE). Contact your System Administrator if you are not sure that you have the required access level. For more information, see Security see  Security Management Operations ,  Reference [5]. [5].

2

 

2/1553 2/1 553-CS -CSH H 109 32/ 32/1-V 1-V1 1 Uen K

| 201 2010-1 0-10-2 0-28 8

 

Preparations

Make sure you have access access to the NE using MINI-LINK Cr Craft. aft. For more information, see Accessing see  Accessing a Network Element ,  Reference [1] [1]..

3.3

Enabling CLI The CLI must have status enabled status  enabled in  in order to be used. This is configured in MINI-LINK Craft and it requires control_user access to the NE. Check that the CLI is enabled as follows: 1. Start MINI-LI MINI-LINK NK Craft Craft and log log on to the the NE as control control_user. _user. 2.

Tree, right-click the NE. In the  Management Tree,

3. Cli Click ck   Security. Security. 4.

On the  Security  page,  page, check under Other under  Other settings if settings  if the CLI is currently enabled. If it is not, choose Enable choose  Enable CLI Interface and Interface  and on the File the  File menu,  menu, click Save click  Save..

Fi Figur gure e1

3.4

The The Secu Securi rity ty Page  Page 

TCP/UDP Port In MINIMINI-LINK LINK TN all unused Transmissi Transmission on Control Protocol/Use Protocol/Userr Datagram Datagram Protocol Protoc ol (TCP/UDP) (TCP/UDP) ports are closed by default. CLI can use either Telnet or, if Security Software Package is installed, SSH. Telnet uses port number 23 and SSH uses port number 22. The port to be used must be opened in an

2/1553 2/1 553-CS -CSH H 109 109 32/132/1-V1 V1 Uen Uen K | 201 2010-1 0-10-2 0-28 8

3

 

CLI User Guide

external firewall to enable management traffic to be propagated between the management server and the MINI-LINK NE. Contact your System Administrator to verify that the port is open.

3.5

Telnet Client To use CLI over Telnet, you must have a Telnet session running on the PC. Note:   In Windows Windows Vista, Telnet Telnet is not active active by default. Activate Telnet in Windows Vista as follows: 1. Cl Clic ick k  Start  Start >  >  Control Panel > Panel  > Programs  Programs and Features. Features. 2. Cl Clic ick k  Turn Windows features on or off. off .

3.

Tick  Telnet Client and Client  and click OK click  OK..

Start a Telnet session as follows: 1. Open Open a Window Windows s Comman Command d Prompt Prompt wind window. ow. 2.

Ent nte er  telnet  and press Enter press  Enter..

Microsoft Telnet> Telnet>. The command prompt should now read   Microsoft

3.6

SSH Client To use CLI over SSH, Security Software Package is required. In addition to this, an SSH client must be installed on the PC. The procedure to start an SSH session depends on which SSH client is used.

4

 

2/1553 2/1 553-CS -CSH H 109 32/ 32/1-V 1-V1 1 Uen K

| 201 2010-1 0-10-2 0-28 8

 

Typographic Conventions

3.7

Documentation Read through all applicable sections in this guide and make sure referenced documents are available.

4

Typographic Conventions Typographic Typogr aphic conventions conventions for the command syntax used in this document document are given in the following table.

Table Tab le 1

Typogr Typographi aphic c Conven Conventio tions  ns  Description

Example

Monosp Mon ospace aced d font

A comm command and string string entered entered on the the command line or a system response.

TNHIGH>show TNHIGH>sho w ip forwarding IP forw forwar ardi ding ng is off off

Low Lowerca ercas se

networks An opti option on - of ofte ten n speci pecify fyiing th the e part part of show networks the system that a command will affect. It should be typed exactly as shown.

Uppercase, often within angle brackets

An operand - specifying specifying,, for example, a remote host to which the command creates cre ates a connec connectio tion. n. The user should type a valid value in place of the operand. operand.

telnet   

Delimits Delimits options options or operands. operands. Do not enter the vertical bar as part of the command.

events| |status status| |timers} {events

{}

Contains options or operands. Select one from from the list. list. Do not enter enter the curved brackets as part of the command.

events| |status status| |timers} {events

[]

Contains op o ptional op o ptions or o r op o perands. Select none, one, or more from the list. Do not enter the square brackets as part of the command.

detail| |recv recv| |send] [detail

Convention

|

 

 

2/1553 2/1 553-CS -CSH H 109 109 32/132/1-V1 V1 Uen Uen K | 201 2010-1 0-10-2 0-28 8

5

 

CLI User Guide

Table Tab le 1

Typogr Typographi aphic c Conven Conventio tions  ns 

Convention =

//

 

 

 

Description

Example

Separates, Separates, for example, example, an operand operand from fro m a text text string string indica indicatin ting g appropr appropriat iate e values. Do not enter the equal sign as part of the command.



Indica Indicates tes that that a lin line e in an output output example was too long to fit the page and has been wrapped.

Interface Interf ace lo Hardwa Har dware re is Loopba Loopback ck ind in dex 1 met metric ric 1 mtu mtu // 16436 164 36 duplex duplex-ha -half lf arp // ageing age ing timeou timeout t 0

Note:   Unless otherwise stated, press Enter press  Enter after  after each command entry.

5

CLI Overview The CLI commands are used in different command modes, as displayed in the following figure.

6

 

2/1553 2/1 553-CS -CSH H 109 32/ 32/1-V 1-V1 1 Uen K

| 201 2010-1 0-10-2 0-28 8

 

CLI Overview

Telnet command prompt

open (Telnet command) (view_user password required)

exit quit logout

exit quit logout

Exec mode > enable (control_user  password required)

disable

Privileged Exec mode # configure

exit end ctrl+z

end ctrl+z

Global Configuration mode (config) # exit quit Multiple Configuration Submodes 11864

Fi Figu gure re 2

Comm Command and Modes  Modes  Below follows a description of the command modes. For more information about the commands used for starting and terminating a CLI session and for navigating between the command modes, see Section see  Section 6 on page 9 9 and  and Section  Section 8 on page 16, 16, respectively.

5.1

Exec Mode When a CLI session is started, the Exec mode is set by default and requires only privilege privilege as view_user. view_user. In Exec mode, you can perform some basic tests and monitor monitor non-configurable non-configurable system syste m informatio information, n, as described in the following table.

2/1553 2/1 553-CS -CSH H 109 109 32/132/1-V1 V1 Uen Uen K | 201 2010-1 0-10-2 0-28 8

7

 

CLI User Guide

Table Tab le 2

Tas Tasks ks and and Rela Related ted Comm Command ands s in Exec Exec Mode  Mode 

Task 

 

Command

Test a bi-directi bi-directional onal IP connection, connection, for example, to verify that you have a DCN or Ethernet connection to the far end NE.

ping

Monitor the status and configuration information of an NE.

show 

Initiate a telnet connection to a remote host.

telnet

Test IP connections with other NEs, listing routers visited on the way.

traceroute

For more informatio information n about these commands, commands, see the command command description description sections. secti ons. For general information information about working with CLI comm commands, ands, see Section 7 on page 10 a 10  and nd Section  Section 8 on page 16. 16.

5.2

Privileged Exec Mode The Privileged Exec mode is reached from Exec mode through the  enable command, which requires privilege as control_user. From this mode you can monitor all system information, verify information, configure confi gure the clock clock in the MINI-LINK MINI-LINK TN, and confirm pending configurations. configurations. All commands available in Exec mode are available in Privileged Exec mode as well. Additionally, the commands in the following table can be used. Table 3

Additional Additional Tasks and Related Related Commands Commands in in Privileg Privileged ed Exec Exec Mode  Mode 

Task 

 

Command

debug Specify debugging options for OSPF events. Show debugging debugging output on the Telnet terminal (or SSH) terminal. Set TN time and date.

8

 

clock

Send operator confirm for configuration of parameters that could cause loss of DCN channel.

 write

Perform a warm restart, that is reload startup configuration.

reload

Update OSPF with redistributed routes.

clear

 

2/1553 2/1 553-CS -CSH H 109 32/ 32/1-V 1-V1 1 Uen K

| 201 2010-1 0-10-2 0-28 8

 

Starting a CLI Session

For more informatio information n about these commands, commands, see the command description description sections. secti ons. For general information information about working with CLI commands, commands, see Section 7 on page 10 and 10  and  Section 8 on page 16. 16.

5.3

Global Configuration Mode The Global Configuration mode is reached from Privileged Exec mode via the configure  command. From this mode you can configure parameters that apply to the NE as a whole, as described in the following table. Table 4

Tasks and Related Related Commands Commands in Global Global Configuratio Configuration n Mode  Mode 

Task 

 

Command

 

Configure NTP settings Set time zone Configure IP settings

 

ntp timezone

 

Configure debugging   Configure RSTP for Ethernet protection

ip debug spanning-tree

Configure Config ure Ethernet Ethernet bridge for NPU3 B   bridge For more informatio information n about these commands, commands, see the command description description sections. secti ons. For general information information about working with CLI commands, commands, see Section 7 on page 10 and 10  and  Section 8 on page 16. 16. This mode can also be seen as a gateway for a number of command submodes:

6



For Ethern Ethernet et config configura uratio tion, n, see Section see Section 8.2 on page 17. 17.



For IP router router config configura uratio tion, n, see Section see Section 8.3 on page 19. 19.



For For PDH PDH conf config igur urat atio ion, n, see see  Section 8.4 on page 19 19..



For config configura uratio tion n of serial serial interf interface aces, s, see see sect section ion Section  Section 8.5 on page 20. 20.

Starting a CLI Session Before you start a CLI session, check that the necessary preparations have been done. For more information, see section Section section  Section 3 on page 1 1..

2/1553 2/1 553-CS -CSH H 109 109 32/132/1-V1 V1 Uen Uen K | 201 2010-1 0-10-2 0-28 8

9

 

CLI User Guide

Note: •

When When CLI CLI has has been enabled enabled for the NE throug through h tthe he  Security  page   page in MINI-LINK Craft, MINI-LINK Craft is no longer needed to use CLIs for the NE. For more information about enabling, see Section see  Section 3.3 on page 3. 3.



The follo followin wing g instru instructi ction on assume assumes s that CLI CLI over over Telnet Telnet is used used.. If CLI over SSH is used, the procedure to start a CLI session depends on which SSH client is used. For SSH, the default port is 22 and the user name  view_user  is required. After the CLI session is started, working with CLI over SSH does not differ from working with CLI over Telnet.

Start a CLI session as follows: 1. Open Open a Window Windows s Comman Command d Prompt Prompt wind window. ow. 2.

telnet () (), that is, the IP address and the Ent nte er   telnet port number for the NE, and press  Enter  Enter..

Note:   The correct correct port may may already already be set as default. default. 3.

Enter your your view_user view_user passwo password rd for the the NE (same (same as you use use for MINI-LINK MINI-LINK Craft).

The CLI session always starts in Exec mode, indicated by  >  at the end of the command command prompt. prompt.

Note:   Only one CLI sessio session n at a time is granted granted access access to the NE. To prevent prevent blocking of the CLI, an automatic logout is performed if no keystrokes have been detected for a period of 15 minutes.

10

 

2/1553 2/1 553-CS -CSH H 109 32/ 32/1-V 1-V1 1 Uen K

| 201 2010-1 0-10-2 0-28 8

 

Working with CLI Commands

7

Working with CLI Commands This section describes the general characteristics for the MINI-LINK TN command comm and line interface. interface. For more information information about the specific specific commands, commands, see the command description sections. Note:   All CLI commands commands are case insensitive, except passwords.

7.1

Displaying Help for a Command The CLI contains contains a text based help function, function, displaying displaying keywords, keywords, varia variables, bles, and short descriptions. An example is given in the following figure.

Figure Fig ure 3

Displa Display y of of Avail Availabl able e Keyw Keyword ords  s  You can display help texts for the CLI as described in the following table. Table Tab le 5 Action

Keystr Keystroke okes s and Comm Commands ands for Disp Display laying ing Help  Help   

List all available root commands in the current command mode, including a short description.

2/1553 2/1 553-CS -CSH H 109 109 32/132/1-V1 V1 Uen Uen K | 201 2010-1 0-10-2 0-28 8

Keystr Keystroke oke/Co /Comma mmand nd

Commen Commentt

?  or TAB

Enter   ?   or press TAB   without any other characters at the command prompt.

11

 

CLI User Guide

Action

 

List all keywords and variables that are

Keystr Keystroke oke/Co /Comma mmand nd

Commen Commentt

?

Enter a space before the question mark.

 

available, based on what you have already entered, for example a root command. List all keywords and variables that begin with certain characters.

7.2

?   or +TAB

After entering a string of characters, enter ? enter  ?   or press TAB press  TAB..

Completing a Command If you have entered an unambiguous character string (that is, the string matches only one unique CLI keyword) and press TAB press  TAB,, the rest of the keyword is automatically added. The following example shows how this function can be used. 1.

Enter the the beginning beginning of the the first first keyword keyword in a comman command. d. The CLI displ displays ays the complete keyword (if not ambiguous).

TN-10-0-0-1>sh TN-10-0-0-1> sh Press TAB Press  TAB..

TN-10-0-0-1>show 2.

Enter the beginning beginning of of the next keyword keyword in the the command. command. The CLI shows if the entered characters are ambiguous and displays the matching choices.

TN-10-0-0-1>sh TN-10-0-0-1> show ow i Press TAB Press  TAB..

interface ip 3. Ente Enterr a char charac acte terr (n (n) that excludes one of the choices.

TN-10-0-0TN-10 -0-0-1>sho 1>show w in Press TAB Press  TAB..

TN-10-0-0TN-10 -0-0-1>sho 1>show w interface interface

12

 

2/1553 2/1 553-CS -CSH H 109 32/ 32/1-V 1-V1 1 Uen K

| 201 2010-1 0-10-2 0-28 8

 

Working with CLI Commands

7.3

Editing a Command In order to edit a command, you can move the cursor and delete characters (and then enter new characters), as described in  Table 6 6 and  and Table  Table 7. 7. Note:   If the arrow keys do not work, work, verify that the client client emulat emulates es a vt100 terminal. termi nal. (For the Microsoft Microsoft Telnet client this is done using the   set se t term te rm vt10 vt100 0.) command Table Tab le 6

Keystr Keystroke okes s ffor or Movi Moving ng the the Cursor  Cursor 

Action

Keystroke

Move the cursor forward one character.

RIGHT ARROW or ARROW  or CTRL+F

Move the cursor cursor back one character. character.   LEFT ARROW or ARROW  or CTRL+B Move the cursor to the end of the command line.

CTRL+E

Move the cursor to the beginning of the command command line.

CTRL+A

Table Tab le 7

Keystr Keystroke okes s for for Delet Deleting ing Charac Character ters  s 

Action

Keystroke

Delete the character at the cursor.

7.4

 

CTRL+D

Delete the character to the left of the cursor.

BACKSPACE  or BACKSPACE or CTRL+H

Delete all characters characters from the cursor cursor to the end of the command line.

CTRL+K

Delete the word to the left of the

CTRL+W

cursor. Delete all characters.

CTRL+U

 

Keep all characters, without executing them, and display a new, empty command line.

CTRL+C

Keep all characters, without executing them, and display the same characters on a new command line.

CTRL+L

Executing a Command To execute a command, simply press Enter press  Enter (return  (return key).

2/1553 2/1 553-CS -CSH H 109 109 32/132/1-V1 V1 Uen Uen K | 201 2010-1 0-10-2 0-28 8

13

 

CLI User Guide

Note:   Once you have entered entered enough chara characters cters to uniq uniquely uely identify identify a command, you can execute the command without entering the remaining remai ning characters characters.. For example, example, to go from Exec mode to Privileged Exec mode,  en  followed by Enter by  Enter is  is enough, since these two characters exclude all other commands in Exec mode.

7.5

Retrieving a Previous Command The commands that have been executed since you started the current command mode are stored in a temporary command history buffer. You can retrieve the contents of this buffer and, if needed, execute a previous command once again, as described in the following table. Note:   If the arrow keys do not work, work, verify that the client client emula emulates tes a vt100 terminal. termi nal. (For the Microsoft Microsoft Telnet client this is done using the set term term vt10 vt100 0.) command   set Table 8

Keystrokes Keystrokes and Comman Commands ds for for Retriev Retrieving ing Previo Previous us Comman Commands  ds 

Action   Scroll upwards in the command history buffer.

Keystr Keystroke oke/Co /Comma mmand nd CTRL+P  or CTRL+P or UP ARROW

Commen Commentt At the firs firstt keys keystr trok oke, e, th the e most recent command is retrieved. Repeat the keystroke to retrieve successively older commands.

Scroll downwards in the command history buffer.

CTRL+N  or CTRL+N or DOWN ARROW

After scrolling upwards in the buffer, use this keystroke to retrieve successively more recent commands.

Display the command history buffer.

show sho w histor history y

 

Displays all commands entered since you started the CLI session. This command is valid only in Exec mode and Privileged Exec mode.

7.6

Confirming a Command Some commands can lead to loss of a DCN channel, which in turn would disturb traffic. To prevent this, a confirmation is required before the update is stored in the startup configuration. If the system manages to do the update without disturbances, the confirmation is automatic and does not require any end-user action. If this is not the case, the end-user must manual manually ly confirm the command command within 15 minutes. minutes.

14

 

2/1553 2/1 553-CS -CSH H 109 32/ 32/1-V 1-V1 1 Uen K

| 201 2010-1 0-10-2 0-28 8

 

Working with CLI Commands

If you use the CLI instead of MINI-LINK Craft to execute commands that may lead to loss of a DCN channel, verify that the update is actually stored in the startup configuration as follows: 1. After After execut executing ing the the comman command, d, execute execute the the  exit  command (one or more times depending on the command mode where you executed the command) to return to Privileged Exec mode.

show confir confirm m timer timer command 2. In Privi Privileg leged ed Exec Exec mode, mode, execu execute te the  show to check if the confirmati confirmation on timer is running. If the timer is not running, running, the automatic confirmation has been successful and no further actions are required. 3. If the timer timer is running, running, review review the initial initial comman command d to ensure ensure that it will will not  write lead to loss of a DCN channel, and then execute the  command to manually confirm the initial command.

Caution! If you do not confirm your configurations within 15 minutes, the NE will make a warm restart, restoring the saved configurations, and your unconfirmed changes will be lost.

7.7

Negating a Command Many configuration commands support the  no   keyword. Typing  no  in front of a command disables the function, removes a command from the configuration, or sets a command command to its default state. For example, example, to turn off system debugging, debugging, no debu debug g  in Exec, Privileged Exec, or Global Configuration mode. enter   no In Global Configuration mode, you can negate commands, as described in the following table. Table 9

Examples Examples of Negating Negating Commands Commands in in Global Global Configu Configuration ration Mode 

Action

 

Disable Disab le a routing routing protocol protocol

Command

 

no rout router er ospf ospf

interface ace Delete an interface (must be inactive)   no interf Remove IP configuration Disable a specific controller

2/1553 2/1 553-CS -CSH H 109 109 32/132/1-V1 V1 Uen Uen K | 201 2010-1 0-10-2 0-28 8

 

no ip route| route|for forwar wardin ding| g| name-server|domainname|dhcp  

no controller controller

15

 

CLI User Guide

8

Navigating between Command Modes This section describes how to navigate between the command modes, and the commands to use.

8.1

Basic Modes: Exec, Privileged Exec, and Global Configuration This section describes describes how to navigate between the basic command modes.

Table Tab le 10 Action

Naviga Navigatin ting g be betwe tween en Comm Command and Modes  Modes   

Command

Enter Privileged Exec mode.   enable

Comment  

• Enter this comm command and in Exec mode. • Privileged Exec mode requires control_user password. • Privileged Exec mode is indicated by # by  #  at the end of the command prompt.

configure confi gure (terminal) (terminal)  

Enter Global Configuration mode.

• Ente Enterr thi this s comman command d in Privileged Exec mode. • Global Configuration mode is indicated by (config)# by  (config)# at  at the end of the command prompt.

exit,  logout, or  quit

Terminate Termi nate the current current Telnet (or SSH) session. session. Return to Exec mode.

 

disable

 

 

Enter this command command in Privileged Exec mode.

Return to Privileged Exec mode.

exit,  end , or Ctrl+Z or  Ctrl+Z

Ente En terr comm comman and d subm submod ode. e.

Depe Depend nds s on th the e ac actua tuall command comm and submode. submode. For more information, see Section see  Section 8.2 on page 17 – 17  – Section  Section 8.5 on page 20. 20.

16

 

Enter one of these commands commands in Exec or Privileged Exec mode.

 

Enter one of these commands commands or keyboard sequence in Global Configuration mode. Enter one of these commands commands in Global Configuration mode.

2/1553 2/1 553-CS -CSH H 109 32/ 32/1-V 1-V1 1 Uen K

| 201 2010-1 0-10-2 0-28 8

 

Navigating between Command Modes

Table Tab le 10 Action

Nav Naviga igatin ting g be betwe tween en Comm Command and Modes  Modes   

Command

Comment (1)

Return from command submode directly to Privileged Exec mode.

end  or  Ctrl+Z

Return from command submode to Global (2) Configuration mode.

exit  or  quit

Enter this command or keyboard sequence in any command submode.

(3)

Enter this command in any command submode.

(1) For some command submodes, only one of these options may work. (2) If a submode is entered from another submode, you will return to the preceding submode. (3) For some command submodes, only one of these options may work.

8.2

Comm ommand Submodes for Ethernet Configu gurration The following table describes the commands for entering the relevant command submodes from Global Configuration mode, and the purpose for each one of them. Table 11

Command Command Submodes Submodes for Ethernet Ethernet Configuratio Configuration  n 

Command

(1

Command Submode

)(2)

Purpose

interface ethernet ether net

(interface-ethernet)

 

Configure site LAN port.

bridge-port

(config-bridgeport)

 

Configure Configure the bridge bridge ports in the Ethernet Switch.

ethernet-epl

(config-eth-epl)

interface

(config-eth)

 

Configure Configure all Ethernet Ethernet interfaces, except for ETU2 (see submode: interface-ethernet).

interface ethernet-eps lan

(config-lan)

 

Configure Configure LAN, applicable for both Layer 1 Connection and Ethernet Switch.

interface ethernet-eps wan

(config-wan)

 

ethernet-eps

2/1553 2/1 553-CS -CSH H 109 109 32/132/1-V1 V1 Uen Uen K | 201 2010-1 0-10-2 0-28 8

 

Configure Configure Layer 1 Connection.

Configure Configure WAN, applicable for both Layer 1 Connection and Ethernet Switch.

17

 

CLI User Guide

(1

Purpose

 

Set up Ethern Ethernet et

Command

Command Submode

ethernet-probe

(config-ethprobe)

)(2)



performance measurements on the WAN interface, such as Ethernet packet delay and bandwidth. bandwidth.

ethernet-mac-whit elist

(config-eth-mac-white list)

Configure Ethernet MAC address white lists. lists. MA MAC C address address white lists are used to determine determ ine which MAC addresses are accepted for port access at the network edge.

ethernet-dscp-map   (config-eth-dscp-map)   Configure Configure the DSCP DSCP to priority mapping. ethernet-profiles   (config-ethernet-profi les)

Configure Ethernet profiles, profi les, such as WRED and scheduler.

vlan

Create and configure configure a VLAN.

 

(config-vlan)

fdb receivepor receiveport t

(config-vlan-fdb)

lag []

(config-lag)

spanning-t spann ing-tree ree mst   (config-mst)  wred-profile

18

 

 

 

 

 

Configure forwarding of database (FDB). This mode is entered from (config-vlan).. (config-vlan) Config Configure ure a link link aggregation group for Ethernet protection.

 

Configure spanning-tre e. (config-wred-profile)   Configure WRED. This mode is entered from (config-ethernet-profi les)

2/1553 2/1 553-CS -CSH H 109 32/ 32/1-V 1-V1 1 Uen K

| 201 2010-1 0-10-2 0-28 8

 

Navigating between Command Modes

(1

Command

Purpose

Command Submode

)(2)

scheduler-profile   (config-scheduler-pro

 wred-or-color-dro pping

Configure scheduler.

file)

This is entered from  mode from (config-ether (config-ethernetnetprofiles)

(config-wred-or-color -dropping)

Configure WRED or color-dropp color -dropping. ing. This mode is entered from (config-wan)

(1) As displ displayed ayed in the command prompt prompt.. (2) Depending on the hardware units actually used, only some of the submodes may be relevant.

8.3

Comm ommand Submodes for IP Router Conf onfigurat ration The following table describes the command for entering the single relevant command submode from Global Configuration mode. Table Tab le 12

Comman Command d Submod Submodes es for for IP Rout Router er Confi Configur gurati ation  on  (1)

Command

router rou ter ospf ospf

Command Submode  

-ospf(config-router)

 

Purpose Configure Configure OSPF, OSPF, for example, as a stub area.

(1) As displ displayed ayed in the command prompt prompt..

8.4

Command Submodes for PDH Configuration The following table describes the commands for entering the relevant command submodes from Global Configuration mode, and the purpose for each one of them. Table Tab le 13

Comman Command d Submod Submodes es for for PDH PDH Config Configura uratio tion  n  (1)

Command

Command Submode

Purpose

controller e1 controller

(config-contr)

Configure Configure E1 protocol sub-layer (enable/disable DCN over E1 , PPP level).

controller e2 controller

(config-contr_e2)

 

 

Configure Configure E2 protocol sub-layer (enable/disable SNMP alarm trap).

(1) As displ displayed ayed in the command prompt prompt..

2/1553 2/1 553-CS -CSH H 109 109 32/132/1-V1 V1 Uen Uen K | 201 2010-1 0-10-2 0-28 8

19

 

CLI User Guide

8.5

Command Submodes for Configuration of Serial Interfaces The following table describes the command for entering the single relevant command submode from Global Configuration mode. Table 14

Command Command Submodes Submodes for Configu Configuration ration of Serial Serial Interfaces  Interfaces 

Command

Command Submode

(1)

Purpose

interface serial interface serial

(interface-serial)

 

Configure Configure serial serial interfaces for PPP.

(1) As displayed displayed in the command prompt.

9

CLI Tool MINI-LINK CLI Tool makes it possible for a planning engineer to prepare a set of CLI commands in a standard text file, which can later be run on-site on a newly installed installed MINI-LINK node. For more information information on creating creating these files, files, see Preparing see  Preparing a CLI Script File Offline ,  Reference [4] [4].. MINI-LINK CLI Tool is an application that runs on a field technician's PC. This PC is connected through a USB cable to a MINI-LINK node that is being deployed. CLI Tool is not part of MINI-LINK Craft and does not interact with it, but MINI-LINK Craft may be used together with CLI Tool. Note:   CLI Tool does not not support support SSH. The rest of this section gives details about installation and the CLI Tool user interface. interf ace. For more information information on using CLI Tool, see Transferring see  Transferring a CLI Script  File to a MINI-LINK TN ,  Reference [8]. [8].

9.1

Installation For information about installing the required software and configuring a PC for CLI, see Section see  Section 3 on page 1. 1.

9.2

User Interface Overview Figure 4 shows 4  shows the different parts of the MINI-LINK CLI Tool user interface:

20

 

2/1553 2/1 553-CS -CSH H 109 32/ 32/1-V 1-V1 1 Uen K

| 201 2010-1 0-10-2 0-28 8

 

CLI Tool

Fi Figu gure re 4

CLI CLI Tool Tool Use Userr Inte Interf rfac ace  e  A

 

Menu bar — bar  — Contains commands, see Section see  Section 9.3 on page 22. 22.

B

 

Connection parameters parameters  — Contains the IP address and passwords passwords needed for connection. connection.

C

2/1553 2/1 553-CS -CSH H 109 109 32/132/1-V1 V1 Uen Uen K | 201 2010-1 0-10-2 0-28 8

Connection and execution  — Allows control of connection connec tion and execution of script files. files. During a connection attempt, the upper button changes from Connect to Connect  to  Cancel  Cancel.. If connection is successful, this button changes from Connect from  Connect to  to  Disconnect  Disconnect and  and the lower button from Preload from  Preload (that  (that is reading connection parameters from the script file) to Execute to  Execute.. Dur During ing execution of a script file, the lower button changes to Cancel..  Timeout [s] sets Cancel [s]  sets how long CLI Tool waits for a response from the node. The  Stop on Error check Error  check

21

 

CLI User Guide

box controls whether execution of a script file should stop if an error is detected.

9.3

D

 

File name selection — selection — Contains file name fields and Browse buttons Browse  buttons used to select script files and log files.

E

 

Session pane — pane  — Displays executed commands and system responses, see Section see  Section 9.4 on page 22 22..

F

 

Command entry box and related buttons — buttons  — Allows individual commands to be entered and executed (by clicking Run clicking  Run). ). It is also possib possible le to get help for the command (by clicking ? clicking  ?). ).

Menus This section describes the menus in MINI-LINK CLI Tool.

9.3.1

File menu •   Select script file — file  — Opens a browser window where you can locate a script file. •   Select log file — file  — Opens a browser window where you can locate a log file. •   Exit — Exit  — Exits MINI-LINK CLI Tool.

9.3.2

Help menu •   About ...   — Displays version information.

9.4

22

Session Pane

Figure 5 shows 5  shows example output in the session pane:

 

2/1553 2/1 553-CS -CSH H 109 32/ 32/1-V 1-V1 1 Uen K

| 201 2010-1 0-10-2 0-28 8

 

CLI Command Definition Structure

Fi Figur gure e5

CLI CLI Too Tooll Ses Sessi sion on Pa Pane  ne 

The session pane displays commands that have been executed and the corresponding responses from the system. The output is formatted as follows:

10



CLI Tool Tool p prog rogres ress s repor reports ts are aqua and bold. bold.



CLI CLI pro promp mpts ts are are bla black ck an and d bol bold. d.



CLI CLI Tool Tool ou outpu tputt iis s blu blue e and and ital italic ic..



Comman Commands ds from from script script fil files es are blue. blue.



Commen Comments ts from from script script fil files es are are purp purple le and and ital italic. ic.



CLI respons responses es are are green green unless unless CLI Tool Tool detects detects them them as as error error messages, messages, in which case they are red, bold, and italic.

CLI Command Definition Structure In the following sections, all CLI commands are described using the same structure. struc ture. This structure structure is divided divided into subsections subsections as shown in the following following table.

2/1553 2/1 553-CS -CSH H 109 109 32/132/1-V1 V1 Uen Uen K | 201 2010-1 0-10-2 0-28 8

23

 

CLI User Guide

Tabl Ta ble e 15

Sect Sectio ions  ns   

Section Name Syn ynop opsi sis s

Description

Mandatory?

Cont Contai ains ns th the e sy synt ntax ax of th the e co com mmand. and. The The sy synt ntax ax is defined using the following templates:

Yes

show Fr Fri i Oc Oct t 9 15 15:3 :38: 8:23 23 CEST CEST 200 2009 9

12.2

show confirm timer

12.2.1

Synopsis show sho w confir confirm m timer timer

12.2.2

Description Some commands commands may cause loss of DCN channel. After running running such a command you have to save your configurations within 15 minutes or the NE will make a warm restart, restoring the saved configurations, and your unconfirmed show confir confirm m timer timer command is used to display changes will be lost. The   show the remaining remaining time until a configurati configuration on confirmation confirmation must be done. For more information, Section information,  Section 7.6 on page 14. 14 .

12.2.3

Command mode Exec mode and Privileged Exec mode

12.2.4

Examples Displaying the status of the confirm timer:

30

 

2/1553 2/1 553-CS -CSH H 109 32/ 32/1-V 1-V1 1 Uen K

| 201 2010-1 0-10-2 0-28 8

 

Monitoring Commands

TNHIGH>show confirm timer TNHIGH>show confirm conf irm time timer r is not runn running! ing!

confir irm m time timer r is not not runn runnin ing! g!  means that there are In the example,   conf no configuration changes that need to be confirmed.

12.2.5

See also  write

12.3

show current

12.3.1

Synopsis show sho w curren current t

12.3.2

Description This command is used to display current mode settings.

12.3.3

Command mode Global Configuration submodes (config-ethernet-profiles), (config-wred-profile), or (config-scheduler-profile)

12.3.4

Examples Display current mode settings for WRED: TNHIGH(config-wred-profi TNHIGH(config-wr ed-profile)#sho le)#show w current wred wred-p -pro rofi file le 1 (r (rea eadd-on only ly) ) name StandardWRED nu numbe mberr-ofof-us users ers 32 threshold-low 25 % thre thresh shol oldd-hi high gh 80 % p-mark 10 % gain 9

Display current mode settings for scheduler (excerpt): TNHIGH(config-schedulerTNHIGH(config-sc heduler-profile profile)#show )#show current schedul sch eduler-p er-profi rofile le 4 (rea (read-o d-only) nly) name 4WFQStrictPriorityBestEffortMixed numbe ber r-off-u user ers s 0 wfq-m -mt tu-qu qua anta 163 638 84 tc-que 7 6 5 4 3 scheduler-type strict strict strict strict wfq wfq-weight 50

2/1553 2/1 553-CS -CSH H 109 109 32/132/1-V1 V1 Uen Uen K | 201 2010-1 0-10-2 0-28 8

2 wfq 30

1 wfq 20

0 strict -

31

 

CLI User Guide

12.4

show history

12.4.1

Synopsis show sho w histor history y

12.4.2

Description This command command displays displays the commands commands used during the current current session. For more information, see Section see  Section 7.5 on page 14. 14.

12.4.3

Command mode Exec mode and Privileged Exec mode

12.4.4

Examples Displaying the command history: TNHIGH#show history TNHIGH#show show interfa interface ce enable debug debu g ospf ifsm even events ts no deb debug ug ospf ospf ifs ifsm m event events s show history

12.5

show interface

12.5.1

Synopsis show interface interface  

12.5.2

Description This command displays information related to Layer 1 and Layer 2, either for a specific interface or for all interfaces (PPP and Ethernet).

12.5.3

Command mode Exec mode and Privileged Exec mode

12.5.4

Operands INTERFACE

32

 

 

The name of the interface. interface.

2/1553 2/1 553-CS -CSH H 109 32/ 32/1-V 1-V1 1 Uen K

| 201 2010-1 0-10-2 0-28 8

 

Monitoring Commands

12.5.5

Examples Displaying the configuration and status of all interfaces: TNHIGH>show interfa TNHIGH>show interface ce Interface Interfac e lo Hardware Hard ware is Loo Loopbac pback k in index dex 1 metri metric c 1 mtu 16436 16436 dup duple lex-h x-hal alf f arp arp age agein ing g timeo timeout ut 0 VRF Bin Binding ding: : Not bound inet 127.0.0 127.0.0.1/8 .1/8 input inp ut packets packets 9088 90882, 2, byt bytes es 6567587, 6567587, droppe dropped d 0, mul multica ticast st pack packets ets 0 in input put errors errors 0, le lengt ngth h 0, ov overr errun un 0, CRC CRC 0, fra frame me 0, fifo 0, miss missed ed 0 output out put pack packets ets 9088 90882, 2, byte bytes s 6567587, 6567587, dro dropped pped 0 ou outpu tput t errors errors 0, abo abort rted ed 0, carrie carrier r 0, fif fifo o 0, hear heartbe tbeat at 0, win window dow 0 collisions collisi ons 0 Interface Interfac e eth0 Hardware Hard ware is Eth Etherne ernet, t, address address is 001e 001e.df0 .df0b.2e b.2e53 53 in index dex 2 met metri ric c 1 mtu 1500 1500 du duple plexx-hal half f arp agei ageing ng time timeout out 0 VRF Bin Binding ding: : Not bound inet 169.254 169.254.1.1/16 .1.1/16 broadca broadcast st 169.254.255.255 169.254.255.255 secondary inet 192.168 192.168.0.1/24 .0.1/24 broadca broadcast st 192.168.0.255 192.168.0.255 input inp ut packets packets 6990 69906, 6, byt bytes es 5788565, 5788565, droppe dropped d 0, mul multica ticast st pack packets ets 0 in input put errors errors 0, le lengt ngth h 0, ov overr errun un 0, CRC CRC 0, fra frame me 0, fifo 0, miss missed ed 0 output out put pack packets ets 8578 85787, 7, byte bytes s 9186122, 9186122, dro dropped pped 0 ou outpu tput t ons errors errors abort rted ed 0, carrie carrier r 0, fif fifo o 0, hear heartbe tbeat at 0, win window dow 0 collisions collisi 0 0, abo Interface dummy0 Interface Hardware Hard ware is Eth Etherne ernet, t, address address is 0000 0000.000 .0000.00 0.0000 00 in index dex 3 met metri ric c 1 mtu 1500 1500 du duple plexx-hal half f arp agei ageing ng time timeout out 0 VRF Bin Binding ding: : Not bound in input put pac packe kets ts 0, bytes bytes 0, dr dropp opped ed 0, multi multica cast st pack packets ets 0 in input put errors errors 0, le lengt ngth h 0, ov overr errun un 0, CRC CRC 0, fra frame me 0, fifo 0, miss missed ed 0 ou outpu tput t packet packets s 0, by byte tes s 0, dr dropp opped ed 0 ou outpu tput t errors errors 0, abo abort rted ed 0, carrie carrier r 0, fif fifo o 0, hear heartbe tbeat at 0, win window dow 0 collisions collisi ons 0 Interface Interfac e usb0 Hardware Hard ware is Eth Etherne ernet, t, address address is 6af9 6af9.d50 .d50a.fb a.fb12 12 in index dex 4 met metri ric c 1 mtu 1500 1500 du duple plexx-hal half f arp agei ageing ng time timeout out 0 VRF Bin Binding ding: : Not bound inet 10.0.0.1/30 broadcast 10.0.0.3 input inp ut packets packets 2256 22568, 8, byt bytes es 3005183, 3005183, droppe dropped d 0, mul multica ticast st pack packets ets 0 in input put errors errors 0, le lengt ngth h 0, ov overr errun un 0, CRC CRC 0, fra frame me 0, fifo 0, miss missed ed 0 output out put pack packets ets 1608 16085, 5, byte bytes s 2627449, 2627449, dro dropped pped 0 ou outpu tput t errors errors 0, abo abort rted ed 0, carrie carrier r 0, fif fifo o 0, hear heartbe tbeat at 0, win window dow 0 collisions collisi ons 0

Displaying the configuration and status of a specific interface: TNHIGH>show interfa TNHIGH>show interface ce ppp0 Interface Interfac e ppp0 Hardware Hard ware is PPP Interfac Inte rface e is unnumbe unnumbered. red. Usin Using g IPv4 IPv4 add address ress of eth eth0 0 (19 (192.16 2.168.0. 8.0.1) 1) Remote address address: : 192.168. 192.168.1.1/32 1.1/32 in index dex 5 met metri ric c 1 mtu 1500 1500 du duple plexx-hal half f arp agei ageing ng time timeout out 0 VRF Bin Binding ding: : Not bound input inp ut packets packets 6116 61161, 1, byt bytes es 4166908, 4166908, droppe dropped d 0, mul multica ticast st pack packets ets 0 in input put errors errors 0, le lengt ngth h 0, ov overr errun un 0, CRC CRC 0, fra frame me 0, fifo 0, miss missed ed 0 output out put pack packets ets 6116 61161, 1, byte bytes s 4166892, 4166892, dro dropped pped 0 ou outpu tput t errors errors 0, abo abort rted ed 0, carrie carrier r 0, fif fifo o 0, hear heartbe tbeat at 0, win window dow 0

2/1553 2/1 553-CS -CSH H 109 109 32/132/1-V1 V1 Uen Uen K | 201 2010-1 0-10-2 0-28 8

33

 

CLI User Guide

12.6

show ip forwarding

12.6.1

Synopsis show sho w ip forwar forwardin ding g

12.6.2

Description This command is used to check whether IP forwarding is on or off.

12.6.3

Command mode Exec mode and Privileged Exec mode

12.6.4

Examples Displaying Displ aying the IP forwarding forwarding status: TNHIGH>show TNHIGH>s how ip forward forwarding ing IP for forwa wardi rding ng is of off f

12.6.5

See also ip forwarding forwarding

12.7

show ip ospf

12.7.1

Synopsis show ip ospf show ospf   {database database| |datab database ase network network| |database router| router |datab database ase summary summary|interface interface| |neighbor neighbor| |route}

12.7.2

Description This command command is used to display information information about OSPF routing processes. processes.

12.7.3

Command mode Exec mode and Privileged Exec mode

34

 

2/1553 2/1 553-CS -CSH H 109 32/ 32/1-V 1-V1 1 Uen K

| 201 2010-1 0-10-2 0-28 8

 

Monitoring Commands

12.7.4

Options database

 

Displays a database summary for OSPF information.

database network  Displays information about the network LSAs. database router

 

Displays information about the router LSAs only.

database summary Displays information about the summary LSAs. interface

 

Displays interface information for OSPF.

neighbor

 

Displays information about OSPF neighbors.

route

12.7.5

 

Displays Displays the OSPF routing routing table.

Examples Displaying OSPF routing information: TNHIGH>show TNHIGH>s how ip ospf Routing Rou ting Proces Process s "os "ospf pf 0" with ID 192. 192.168. 168.0.1 0.1 Pr Proce ocess ss up uptim time e is 7 days days 3 ho hours urs 35 min minut utes es Process Pro cess bound to VRF def default ault Conform Con forms s to RFC2328, RFC2328, and RFC1 RFC1583C 583Compa ompatibi tibilit lity y flag is enab enabled led Support Sup ports s only sing single le TOS(TOS TOS(TOS0) 0) routes routes Support Sup ports s opaque opaque LSA SP SPF F sch sched edule ule de dela lay y 5 se secs cs, , Ho Hold ld ti time me betwe between en two two SPF SPFs s 10 sec secs s Refresh Ref resh timer 10 secs Number Num ber of incommin incomming g current current DD exchange exchange nei neighbo ghbors rs 0/5 Number Num ber of outgoing outgoing curren current t DD exchange exchange neighb neighbors ors 0/5 Number Num ber of external external LSA 0. Chec Checksum ksum 0x0000 0x000000 00 Nu Numbe mber r of opa opaque que AS LSA 0. Ch Check ecksu sum m 0x0 0x000 00000 000 Nu Numbe mber r of rou router ter LSA 2 Router Rou ter LSA dat databas abase e is unlimite unlimited. d. Nu Numbe mber r of net networ work k LSA 0 Network Net work LSA data database base is unl unlimit imited. ed. Number Num ber of non-defa non-default ult summ summary ary LSA 0 Summary Sum mary LSA data database base is unl unlimit imited. ed. Nu Numbe mber r of asb asbr r summa summary ry LSA 0  ASBR Summary LSA database is unlimit unlimited. ed. Number Num ber of non-defa non-default ult exte externa rnal l LSA 0 Externa Ext ernal l LSA dat databas abase e limit limit 1000 Exit Exi t data database base over overflo flow w stat state e interva interval l is 1800 second seconds s OS OSPF PF is no not t in datab database ase ov overf erflo low w sta state te now Nu Numbe mber r of LSA origi origina nated ted 2 Nu Numbe mber r of LSA recei receive ved d 347 Nu Numbe mber r of are areas as at attac tache hed d to this this route router: r: 1  Area 0.0.0.1 Numbe Num ber r of inter interfac faces es in this this are area a is 2(2 2(2) ) Numbe Num ber r of fully fully adjace adjacent nt ne neigh ighbo bors rs in this this area area is 1 Number Numb er of fully fully adjacent adjacent virtua virtual l nei neighbo ghbors rs thr through ough this area is 0  Area has no authent authentication ication SPF alg algorit orithm hm las last t executed executed 171: 171:34: 34:54.6 54.605 05 ago SPF alg algorit orithm hm exe execute cuted d 3 tim times es Number Numb er of LSA 2. Che Checksu cksum m 0x00d77c 0x00d77c

Displaying a database summary for OSPF information:

2/1553 2/1 553-CS -CSH H 109 109 32/132/1-V1 V1 Uen Uen K | 201 2010-1 0-10-2 0-28 8

35

 

CLI User Guide

TNHIGH#s TNHI GH#show how ip osp ospf f databas database e Router Rout er Lin Link k States States (Are (Area a 0.0 0.0.0.1 .0.1) ) Link ID ADV Router Age Seq# CkSum Link count 192 92. .168 68. .0.1 192 92. .168 68. .0.1 548 0x80 x8000000 000d 0x3 0x3644 2 192 92. .168 68. .1.1 192 92. .168 68. .1.1 548 0x80 x8000000 000a 0x0 0x0478 2

Displaying information about OSPF neighbors: TNHIGH>s TNHI GH>show how ip osp ospf f neighbo neighbor r OSPF process process 0: Neighbor ID Pri 192.168.1.1 1

S St tate F Fu ull/ -

12.8

show ip protocols ospf

12.8.1

Synopsis

Dead Time 00:00:33

A Ad ddress 192.168.1.1

Interface ppp0

show sh ow ip prot protoc ocol ols s ospf ospf

12.8.2

Description This command is used to display parameters and statistics for OSPF processes.

12.8.3

Command mode Exec mode and Privileged Exec mode

12.8.4

Examples Displaying OSPF process parameters and statistics: TNHIGH>s TNHI GH>show how ip pro protoco tocols ls osp ospf f Routing Protoco Routing Protocol l is "ospf "ospf 0" Redistributing: Routing Rout ing for Netw Networks orks: : 192.168.0.0/24 Distanc Dist ance: e: (defaul (default t is 110)

12.9

show ip route

12.9.1

Synopsis show sh ow ip rout route e

36

 

2/1553 2/1 553-CS -CSH H 109 32/ 32/1-V 1-V1 1 Uen K

| 201 2010-1 0-10-2 0-28 8

 

Monitoring Commands

12.9.2

Description This command is used to display the static routes stored in the routing table.

12.9.3

Command mode Exec mode and Privileged Exec mode

12.9.4

Examples Displaying an IP routing table: TNHIGH>show TNHIGH>s how ip rout route e Co Code des: s: K - ke kern rnel el, , C - co conn nnec ecte ted, d, S - stat static ic, , R - RIP, RIP, B - BGP BGP O - OS OSPF PF, , IA - OS OSPF PF int inter er area area N1 - OS OSPF PF NSSA externa external l ty type pe 1, N2 - OSPF OSPF NSSA NSSA exte extern rnal al type 2 E1 - OS OSPF PF ex exte tern rnal al ty type pe 1, E2 - OSPF OSPF exte extern rnal al type type 2 i - ISIS-IS, IS, L1 - IS-IS IS-IS level-1 level-1, , L2 - ISIS-IS IS level level-2 -2, , ia - ISIS-IS IS inte inter r area area * - cand candidat idate e default default C C C C O C

10.0 10.0.0 .0.0 .0/3 /30 0 is 127. 127.0. 0.0. 0.0/ 0/8 8 is 169. 169.25 254. 4.0. 0.0/ 0/16 16 192. 192.16 168. 8.0. 0.0/ 0/24 24 192. 192.16 168. 8.1. 1.0/ 0/24 24 192. 192.16 168. 8.1. 1.1/ 1/32 32

12.10

show ip traffic

12.10.1

Synopsis

dire direct ctly ly co conn nnec ecte ted, d, usb0 usb0 dire direct ctly ly co conn nnec ecte ted, d, lo is dire direct ctly ly conn connec ecte ted, d, eth0 eth0 is dire direct ctly ly conn connec ecte ted, d, eth0 eth0 [110 [110/2 /270 70] ] via via ppp0 ppp0, , 01w0 01w0d0 d03h 3h is dire direct ctly ly conn connec ecte ted, d, ppp0 ppp0

show sh ow ip traf traffi fic c

12.10.2

Description This command is used to display statistics for the IP traffic.

12.10.3

Command mode Exec mode and Privileged Exec mode

12.10.4

Examples Displaying IP statistics: TNHIGH>s TNHI GH>show how ip traf traffic fic Ip: 685680 685 680 tota total l packets packets rec receive eived d 0 forwarded forwarded 0 incomin incoming g packets packets disc discard arded ed 685577 incoming packets deliver delivered ed

2/1553 2/1 553-CS -CSH H 109 109 32/132/1-V1 V1 Uen Uen K | 201 2010-1 0-10-2 0-28 8

37

 

CLI User Guide

737205 737 205 requ requests ests sent out Icmp: 43 ICM ICMP P message messages s received received 0 input input ICMP ICMP message message failed failed. . ICMP ICM P inp input ut histogr histogram: am: destination destinat ions: unreach unreachable: able: 38 echo replies: replie 5 41 ICM ICMP P message messages s sent 0 ICMP messages messages fai failed led ICMP output histogram: histogram: destination destinat ion unreach unreachable: able: 41 Tcp:

Udp:

20609 active connect connections ions openings 20623 passive connect connection ion openings 0 failed failed conn connecti ection on atte attempts mpts 0 connecti connection on res resets ets rece received ived 13 connect connections ions establis established hed 332270 segments receive received d 331747 331 747 segm segments ents send out 0 segments retransmited retransmited 0 bad segm segment ents s rece received ived. . 0 resets resets sen sent t

280807 pack 280807 packets ets rece received ived 30 pac packets kets to unkn unknown own port rec receive eived. d. 0 packet packet rece receive ive erro errors rs 281178 281 178 pack packets ets sent TcpExt:  ArpFilter:  ArpFilt er: 0 20 20614 614 TC TCP P soc socket kets s finish finished ed ti time me wa wait it in fast fast timer timer 25 ti time me wa wait it so sock ckets ets re recyc cycle led d by time time stamp stamp 80 del delayed ayed acks sen sent t 6681 668 1 pac packets kets dir directl ectly y queued queued to recvmsg recvmsg pre prequeu queue. e. 791 pack packets ets dire directly ctly rec receive eived d from preq prequeue ueue 10551 105 51 packets packets head header er predict predicted ed 70 pac packets kets header predic predicted ted and dir directl ectly y queu queued ed to user TCPPureAcks: TCPPure Acks: 42176 TCPHPAcks: TCPHPAc ks: 82521 TCPRenoRecovery TCPReno Recovery: : 0 TCPSackRecovery TCPSack Recovery: : 0 TCPSACKReneging TCPSACK Reneging: : 0 TCPFACKReorder: TCPFACK Reorder: 0 TCPSACKReorder: TCPSACK Reorder: 0 TCPRenoReorder: TCPReno Reorder: 0 TCPTSReorder: TCPTSRe order: 0 TCPFullUndo: TCPFull Undo: 0 TCPPartialUndo: TCPPart ialUndo: 0 TCPDSACKUndo: TCPDSAC KUndo: 0 TCPLossUndo: TCPLoss Undo: 0 TCPLoss TCP Loss: : 0 TCPLostRetransm TCPLost Retransmit: it: 0 TCPRenoFailures TCPReno Failures: : 0 TCPSackFailures TCPSack Failures: : 0 0 TCPLoss TCPLossFailures Failures: : TCPFastRetrans: TCPFast Retrans: 0 TCPForwardRetra TCPForw ardRetrans: ns: 0 TCPSlowStartRet TCPSlow StartRetrans: rans: 0 TCPTimeouts: TCPTime outs: 0 TCPRenoRecovery TCPReno RecoveryFail: Fail: 0 TCPSackRecovery TCPSack RecoveryFail: Fail: 0 TCPSchedulerFai TCPSche dulerFailed: led: 0 TCPRcvCollapsed TCPRcvC ollapsed: : 0 TCPDSACKOldSent TCPDSAC KOldSent: : 0 TCPDSACKOfoSent TCPDSAC KOfoSent: : 0 TCPDSACKRecv: TCPDSAC KRecv: 0 TCPDSACKOfoRecv TCPDSAC KOfoRecv: : 0 TCPAbortOnSyn: TCPAbor tOnSyn: 0 TCPAbortOnData: TCPAbor tOnData: 0 TCPAbortOnClose TCPAbor tOnClose: : 0 TCPAbortOnMemor TCPAbor tOnMemory: y: 0 TCPAbortOnTimeo TCPAbor tOnTimeout: ut: 0 TCPAbortOnLinge TCPAbor tOnLinger: r: 0 TCPAbortFailed: TCPAbor tFailed: 0 TCPMemoryPressu TCPMemo ryPressures: res: 0

38

 

2/1553 2/1 553-CS -CSH H 109 32/ 32/1-V 1-V1 1 Uen K

| 201 2010-1 0-10-2 0-28 8

 

Monitoring Commands

12.11

show networks

12.11.1

Synopsis show networks networks

12.11.2

Description This command lists all DCN networks with interface type, NE identification, interface interf ace name, bandwidth, bandwidth, and status. status.

12.11.3

Command mode Exec mode and Privileged Exec mode

12.11.4

Examples Displaying DCN network information: TNHIGH#show network TNHIGH#show networks s interface usb0 12 Mbit/s interfac inte rface e etherne ethernet t eth0 100 Mbi Mbit/s t/s inte ter rfac ace e seria ial l 1/ 1/3 3/1 SC1
View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF