HP ProCurve 7102dl, ProCurve 7203dl Reference Manual

Page 1
SROS Command Line Interface Reference Guide
ProCurve Secure Router 7102dl ProCurve Secure Router 7203dl
Page 2
Page 3
SROS Command Line Interface
Reference Guide
Software Version J.08.03
September 2007 61195880L1-35H
Page 4
© Copyright 2005, 2007 Hewlett-Packard Development Company , L.P . The information contained herein is subject to change without notice.
This document contains proprietary information, which is protected by copyright. No part of this document may be photocopied, re produced, or translated into another language without the prior written consent of Hewlett-Packard.
Publication Number
5991-2114 September 2007
Applicable Products
ProCurve Secure Router 7102dl (J8752A) ProCurve Secure Router 7203dl (J8753A)
Microsoft and Windows are U.S. registered trademarks of Microsoft Corporation. CompactFlash is a U.S. registered trademark of the CompactFlash Association. AOL Instant Messenger (AIM) is a U.S. registered trademark of American Online, Inc. Quake is a U.S. registered trademark of id Software, Inc. ICQ is a U.S. registered trademark of ICQ, Inc. pcAnywhere is a U.S. trademark of Synamtec Corporation.
Disclaimer
HEWLETT- PACKARD COMPANY MAKES NO WARRANTY OF ANY KIND WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PA RTICULAR PURPOSE. Hewlett-Packard shall not be liable for errors contained herein or for incidental or consequential damages in connection with the furnishing, performance, or use of this material.
The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein.
Hewlett-Packard assumes no responsibility for the use or reliability of its software on equipment that is not furnished by Hewlett-Packard.
Warranty
See the Customer Support/W arranty booklet included with the product. A copy of the specific warranty terms applicable to your Hewlett-
Packard products and replacement parts can be obtained from your HP Sales and Service Office or authorized dealer.
Page 5
SROS Command Line Interface Reference Guide

Table of Contents

Basic Mode Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Enable Mode Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Global Configuration Mode Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299
Line (Console) Interface Config Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 534
Line (Telnet) Interface Config Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 550
Line (SSH) Interface Config Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 561
ADSL Interface Config Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 570
BRI Interface Configuration Command set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 575
DSX-1 Interface Configuration Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 591
E1 Interface Configuration Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 601
Ethernet Interface Configuration Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 616
G.703 Interface Configuration Command set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 678
Serial Interface Configuration Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 685
Modem Interface Configuration Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 694
T1 Interface Configuration Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 699
ATM Interface Config Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 714
ATM Sub-Interface Config Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 717
BVI Interface Config Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 786
Demand Interface Configuration Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 817
Frame Relay Interface Config Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 877
Frame Relay Sub-Interface Config Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 898
HDLC Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 969
Loopback Interface Configuration Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1031
PPP Interface Configuration Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1066
Tunnel Configuration Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1144
ISDN Group Config Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1204
CA Profile Configuration Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1212
Certificate Configuration Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1223
Crypto Map IKE Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1227
Crypto Map Manual Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1239
IKE Client Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1250
IKE Policy Attributes Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1254
IKE Policy Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1260
AS Path List Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1271
Route Map Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1274
BGP Configuration Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1300
BGP Neighbor Configuration Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1313
Community List Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1327
Network Monitor Probe Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1330
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 3
Page 6
SROS Command Line Interface Reference Guide
Network Monitor Track Configuration Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1347
Router (OSPF) Configuration Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1360
Router (PIM Sparse) Configuration Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1375
Router (RIP) Configuration Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1379
Quality of Service (QoS) Map Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1391
DHCP Pool Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1406
Radius Group Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1425
TACACS+ Group Configuration Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1427
Common Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1429
Index. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1443
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 4
Page 7
SROS Command Line Interface Reference Guide CLI Introduction
REFERENCE GUIDE INTRODUCTION
This manual provides information about the commands that are available with all of the ProCurve Secure routers.
If you are new to the SROS Command Line Interface (CLI), take a few moments to review the information provided in the section which follows (CLI Introduction).
If you are already familiar with the CLI and you need information on a specific command or group of commands, proceed to Command Descriptions on page 10 of this guide.

CLI INTRODUCTION

This portion of the Command Reference Guide is designed to introduce you to the basic concepts and strategies associated with using the SROS Command Line Interface (CLI).

Accessing the CLI from your PC

All products using the SROS are initially accessed by connecting a VT100 terminal (or terminal emulator)
CONSOLE port located on the front of the unit using a standard DB-9 (male) to DB-9 (female) serial
to the cable. Configure the VT100 terminal or terminal emulation software to the following settings:
• 9600 baud
• 8 data bits
• No parity
• 1 stop bit
• No flow control
Note
For more details on connecting to your unit, refer to the Quick Configuration Guides and Quick Start Guides located on the Secure Router OS Documentation CD provided with your unit.

Understanding Command Security Levels

The SROS has two command security levels — Basic and Enable. Both levels support a specific set of commands. For example, all interface configuration commands are accessible only through the Enable security level. The following table contains a brief description of each level.
Level Access by... Prompt With this level you can...
Basic beginning an SROS session.
ProCurve>
• display system information
• perform traceroute and ping functions
• open a Telnet session
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 5
Page 8
SROS Command Line Interface Reference Guide Understanding Configuration Modes
Level Access by... Prompt With this level you can...
Enable
Note
entering Basic command security level as follows:
>
enable
enable
while in the
ProCurve#
To pr event unauthorized users from accessing the configuration functions of your product,
• manage the startup and running configurations
• use the debug commands
• enter any of the configuration modes
immediately install an Enable-level password. Refer to the Quick Configuration Guides and Quick Start Guides located on the Secure Router OS Documentation CD provided with your unit for more information on configuring a password.

Understanding Configuration Modes

The SROS has four configuration modes to organize the configuration commands – Global, Line, Router, and Interface. Each configuration mode supports a set of commands specific to the configurable parameters for the mode. For example, all Frame Relay configuration commands are accessible only through the Interface Configuration mode (for the virtual Frame Relay interface). The following table contains a brief description of each level.
Mode Access by... Sample Prompt With this mode you
can...
Global
entering command security level prompt. For example:
config
while at the Enable
>enable
config term
#
ProCurve(config)#
• set the system’s Enable-level password(s)
• configure the system global IP parameters
• configure the SNMP parameters
• enter any of the other configuration modes
Line specifying a line (console or Telnet)
while at the Global Configuration mode prompt. For example:
ProCurve(config-con0)#
>enable #config term (config)#
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 6
line console 0
• configure the console terminal settings (datarate, login password, etc.)
• create Telnet logins and specify their parameters (login password, etc.)
Page 9
SROS Command Line Interface Reference Guide Using CLI Shortcuts
Mode Access by... Sample Prompt With this mode you
can...
Router
entering
router ospf
Configuration mode prompt. For example:
router rip router or
while at the Global
>enable #config term (config)#
Interface specifying an interface (T1, Ethernet,
Frame Relay, ppp, etc.) while in the Global Configuration mode. For example:
router rip
>enable
ProCurve(config-rip)#
ProCurve(config-eth 0/1)#
(The above prompt is for the Ethernet the rear panel of the unit.)
LAN
interface located on
• configure RIP or OSPF parameters
• suppress route updates
• redistribute information from outside routing sources (protocols)
•configure parameters for the available LAN and WAN interfaces
#config term (config)#
int eth 0/1

Using CLI Shortcuts

The SROS CLI provides several shortcuts which help you configure your product more easily. See the following table for descriptions.
Shortcut Description
Up arrow key To re-display a previously entered command, use the up arrow key. Continuing to press the up
arrow key cycles through all commands entered starting with the most recent command.
Tab key Pressing the <Tab> key after entering a partial (but unique) command will complete the
command, display it on the command prompt line, and wait for further input.
? The CLI contains help to guide you through the configuration process. Using the question mark,
do any of the following:
• Display a list of all subcommands in the current mode. For example:
ProCurve(config-t1 1/1)#
coding ?
ami - Alternate Mark Inversion b8zs - Bipolar Eight Zero Substitution
• Display a list of available commands beginning with certain letter(s). For example:
ProCurve(config)#
ip d?
default-gateway dhcp-server domain-lookup domain-name domain-proxy
• Obtain syntax help for a specific command by entering the command, a space, and then a question mark (?). The CLI displays the range of values and a brief description of the next parameter expected for that particular command. For example:
ProCurve(config-eth 0/1)#
mtu ?
<64-1500> - MTU (bytes)
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 7
Page 10
SROS Command Line Interface Reference Guide Performing Common CLI Functions
Shortcut Description
<Ctrl> + A Jump to the beginning of the displayed command line. This shortcut is helpful when using the
no
form of commands (when available). For example, pressing <Ctrl + A> at the following
prompt will place the cursor directly after the
ProCurve(config-eth 0/1)#
<Ctrl> + E Jump to the end of the displayed command line. For example, pressing <Ctrl + E> at the
following prompt will place the cursor directly after the
ProCurve(config-eth 0/1)#
<Ctrl> + U Clears the current displayed command line. The following provides an example of the
<Ctrl + U> feature:
ProCurve(config-eth 0/1)#
here)
#
:
ip address 192.168.55.6
6
:
ip address 192.168.55.6
ip address 192.168.55.6
(Press <Ctrl + U>
ProCurve(config-eth 0/1)#
auto finish You need only enter enough letters to identify a command as unique. For example, entering
int t1 1/1
parameters for the specified T1 interface. Entering but is not necessary.
at the Global configuration prompt provides you access to the configuration
interface t1 1/1
would work as well,

Performing Common CLI Functions

The following table contains descriptions of common CLI commands.
Command Description
do
no
copy running-config startup-config
The do command provides a way to execute commands in other command sets without taking the time to exit the current and enter the desired one. The following example shows the interface configuration while currently in the T1 interface command set:
do
command used to view the Frame Relay
ProCurve(config)# ProCurve(config-t1 1/1)#
interfaces fr 7
To undo an issued command or to disable a feature, enter
no
before the command.
For example:
no shutdown t1 1/1
When you are ready to save the changes made to the configuration, enter this command. This copies your changes to the unit’s nonvolatile random access memory (NVRAM). Once the save is complete, the changes are retained even if the unit is shut down or suffers a power outage.
interface t1 1/1
do show
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 8
Page 11
SROS Command Line Interface Reference Guide Understanding CLI Error Messages
Command Description
show running config debug
undebug all
Caution
The overhead associated with the debug command takes up a large portion of your
Displays the current configuration. Use the
may be experiencing on your network. These commands provide additional information to help you better interpret possible problems. For information on specific debug commands, refer to the section
Set
To turn off any active debug commands, enter this command.
debug
on page 20.
command to troubleshoot problems you
Enable Mode Command
product’s resources and at times can halt other processes. It is best to only use the debug command during times when the network resources are in low demand (non-peak hours, weekends, etc.).

Understanding CLI Error Messages

The following table lists and defines some of the more common error messages given in the CLI.
Message Helpful Hints
%Ambiguous command %Unrecognized Command
%Invalid or incomplete command
%Invalid input detected at “^" marker
The command may not be valid in the current command mode, or you may not have entered enough correct characters for the command to be recognized. Try using the “?” command to determine your error. See
CLI Shortcuts
The command may not be valid in the current command mode, or you may not have entered all of the pertinent information required to make the command valid. Try using the “?” command to determine your error. See
Using CLI Shortcuts
The error in command entry is located where the caret (^) mark appears. Enter a question mark at the prompt. The system will display a list of applicable commands or will give syntax information for the entry.
on page 7 for more information.
on page 7 for more information.
Using
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 9
Page 12
SROS Command Line Interface Reference Guide Command Descriptions

COMMAND DESCRIPTIONS

This portion of the guide provides a detailed listing of all available commands for the SROS CLI (organized by command set). Each command listing contains pertinent information including the default value, a description of all sub-command parameters, functional notes for using the command, and a brief technology review. To search for a particular command alphabetically, use the Index. To search for information on a group of commands within a particular command set, use the linked references given below:
Basic Mode Command Set on page 12 Enable Mode Command Set on page 20 Global Configuration Mode Command Set on page 299 Line (Console) Interface Config Command Set on page 534 Line (Telnet) Interface Config Command Set on page 550 Line (SSH) Interface Config Command Set on page 561 ADSL Interface Config Command Set on page 570 BRI Interface Configuration Command set on page 575 DSX-1 Interface Configuration Command Set on page 591 E1 Interface Configuration Command Set on page 601 Ethernet Interface Configuration Command Set on page 616 G.703 Interface Configuration Command set on page 678 Serial Interface Configuration Command Set on page 685 Modem Interface Configuration Command Set on page 694 T1 Interface Configuration Command Set on page 699 ATM Interface Config Command Set on page 714 ATM Sub-Interface Config Command Set on page 717 BVI Interface Config Command Set on page 786 Frame Relay Interface Config Command Set on page 877 Frame Relay Sub-Interface Config Command Set on page 898 HDLC Command Set on page 969 Loopback Interface Configuration Command Set on page 1031 PPP Interface Configuration Command Set on page 1066 Tunnel Configuration Command Set on page 1144 ISDN Group Config Command Set on page 1204 CA Profile Configuration Command Set on page 1212 Certificate Configuration Command Set on page 1223 Crypto Map IKE Command Set on page 1227 Crypto Map Manual Command Set on page 1239 IKE Client Command Set on page 1250 IKE Policy Attributes Command Set on page 1254 IKE Policy Command Set on page 1260 AS Path List Command Set on page 1271 Route Map Command Set on page 1274 BGP Configuration Command Set on page 1300 BGP Neighbor Configuration Command Set on page 1313
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 10
Page 13
SROS Command Line Interface Reference Guide Command Descriptions
Community List Command Set on page 1327 Router (RIP) Configuration Command Set on page 1379 Router (OSPF) Configuration Command Set on page 1360 Router (PIM Sparse) Configuration Command Set on page 1375 Quality of Service (QoS) Map Commands on page 1391 DHCP Pool Command Set on page 1406 Radius Group Command Set on page 1425 TACACS+ Group Configuration Command Set on page 1427 Common Commands on page 1429
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 11
Page 14

SROS Command Line Interface Reference Guide Basic Mode Command Set

BASIC MODE COMMAND SET
To activate the Basic mode, simply log in to the unit. After connecting the unit to a VT100 terminal (or terminal emulator) and activating a terminal session, the following prompt displays:
ProCurve>
The following command is common to multiple command sets and is covered in a centralized section of this guide. For more information, refer to the section listed below:
exit on page 1437 ping <address> on page 1438
All other commands for this command set are described in this section in alphabetical order.
enable on page 13 logout on page 14 show clock on page 15 show snmp on page 16 show version on page 17 telnet <address> on page 18 traceroute <address> on page 19
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 12
Page 15
SROS Command Line Interface Reference Guide Basic Mode Command Set
enable
Use the enable command (at the Basic Command mode prompt) to enter the Enable Command mode. Use the disable command to exit the Enable Command mode.
Syntax Description
No subcommands.
Default Values
No default value necessary for this command.
Functional Notes
The Enable Command mode provides access to operating and configuration parameters and should be password protected to prevent unauthorized use. Use the Configuration mode) to specify an Enable Command mode password. If the password is set, access to the Enable Commands (and all other “privileged” commands) is only granted when the correct password is entered. Refer to
crypto ca authenticate <name>
on page 337 for more information.
enable password
command (found in the Global
Usage Examples
The following example enters the Enable Command mode and defines an Enable Command mode password:
ProCurve> ProCurve# ProCurve(config)#
At the next login, the following sequence must occur:
ProCurve> Password: ProCurve#
enable configure terminal
enable password password
enable
******
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 13
Page 16
SROS Command Line Interface Reference Guide Basic Mode Command Set
logout
Use the logout command to terminate the current session and return to the login screen.
Syntax Description
No subcommands.
Default Values
No defaults necessary for this command.
Usage Examples
The following example shows the logout command being executed in the Basic mode:
ProCurve>
Session now available
Press RETURN to get started.
logout
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 14
Page 17
SROS Command Line Interface Reference Guide Basic Mode Command Set
show clock
Use the show clock command to display the sys t em time and date entered using the clock set command. Refer to clock set <time> <day> <month> <year> on page 63 for more information.
Syntax Description
No subcommands.
Default Values
No default value necessary for this command.
Usage Examples
The following example displays the current time and data from the system clock:
ProCurve>
23:35:07 Tue Aug 20 2002
show clock
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 15
Page 18
SROS Command Line Interface Reference Guide Basic Mode Command Set
show snmp
Use the show snmp command to display the system Simple Network Management Protocol (SNMP) parameters and current status of SNMP communications.
Syntax Description
No subcommands.
Default Values
No default value necessary for this command.
Usage Examples
The following is an example output using the default chassis and contact parameters:
ProCurve>
Chassis: Chassis ID Contact Name: Contact Phone: Contact Email: Contact Pager: Management URL: Management URL Label: 0 Rx SNMP packets 0 Bad community names 0 Bad community uses 0 Bad versions 0 Silent drops 0 Proxy drops 0 ASN parse errors
show snmp
show snmp
command for a system with SNMP disabled and the
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 16
Page 19
SROS Command Line Interface Reference Guide Basic Mode Command Set
show version
Use the show version command to display the current SROS version information.
Syntax Description
No subcommands.
Default Values
No default value necessary for this command.
Usage Examples
The following is a sample
ProCurve>
ProCurve Secure Router 7203dl SROS Version: J03.01 Checksum: 4F8DCF96, built on: Tue Dec 21 08:32:18 2004 Boot ROM version J03.01 Checksum: B133, built on: Tue Dec 21 08:32:25 2004 Copyright (c) 2004-2005, Hewlett-Packard, Co. Platform: ProCurve Secure Router 7203dl Serial number US449TS058 Flash: 33554432 bytes DRAM: 268435455 bytes
System uptime is 0 days, 0 hours, 22 minutes, 42 seconds
Current system image file: "CFLASH:/SROS.BIZ Current configuration-file: CFLASH:/startup-config” Configured system image path: Primary: "CFLASH:/SROS.BIZ” Backup: “NONVOL:/SROS.BIZ” Configured configuration-file path: Primary: "CFLASH:/startup-config” Backup: “NONVOL:/startup-config”
show version
show version
output:
ProCurve>
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 17
Page 20
SROS Command Line Interface Reference Guide Basic Mode Command Set
telnet <address>
Use the telnet command to open a Telnet session (through the SROS) to another system on the network.
Syntax Description
<address> Specifies the IP address of the remote system.
Default Values
No default value necessary for this command.
Usage Examples
The following example opens a Telnet session with a remote system (
ProCurve>
User Access Login
Password:
telnet 10.200.4.15
10.200.4.15
):
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 18
Page 21
SROS Command Line Interface Reference Guide Basic Mode Command Set
traceroute <address>
Use the traceroute command to display the IP routes a packet takes to reach the specified destination.
Syntax Description
<address> Specifies the IP address of the remote system to trace the routes to.
Default Values
No default value necessary for this command.
Usage Examples
The following example performs a traceroute on the IP address 192.168.0.1:
ProCurve>
Type CTRL+C to abort. Tracing route to 192.168.0.1 over a maximum of 30 hops
1 22ms 20ms 20ms 192.168.0.65 2 23ms 20ms 20ms 192.168.0.1
ProCurve>
traceroute 192.168.0.1
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 19
Page 22

SROS Command Line Interface Reference Guide Enable Mode Command Set

ENABLE MODE COMMAND SET
To activate the Enable mode, enter the enable command at the Basic mode prompt. (If an enable password has been configured, a password prompt will display.) For example:
ProCurve>enable Password: XXXXXXX ProCurve#
The following commands are common to multiple command sets and are covered in a centralized section of this guide. For more information, refer to the section listed below:
exit on page 1437 ping <address> on page 1438 show running-config on page 1440
All other commands for this command set are described in this section in alphabetical order.
autosynch on page 22 clear commands begin on page 24 clock [auto-correct-dst | no-auto-correct-dst] on page 62 clock set <time> <day> <month> <year> on page 63 clock timezone <text> on page 64 configure on page 66 copy commands begin on pa ge 67 debug commands begin on page 80 dir [ * ] on page 147 dir [cflash | flash] [ * ] on page 148 disable on page 149 enable on page 150 erase on page 151 erase file-system cflash on page 152 events on page 153 exception report generate on page 154 logout on page 156 reload [cancel | in <delay>] on page 157 show commands begin on page 158 sip check-sync on page 292 telnet <address> on page 293 terminal length <lines> on page 294
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 20
Page 23
SROS Command Line Interface Reference Guide Enable Mode Command Set
traceroute <address> source <address> on page 295 undebug all on page 296 wall <message> on page 297 write [erase | memory | network | terminal] on page 298
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 21
Page 24
SROS Command Line Interface Reference Guide Enable Mode Command Set
autosynch
Use the autosynch command to force a synchronization of the SROS.BIZ and startup-config files located in system flash and compact flash memory.
Syntax Description
No subcommands.
Default Values
No default value necessary for this command.
Functional Notes
The AutoSynchTM features configures the system to synchronize the startup-config and SROS.BIZ files located in the system flash memory and the compact flash card. When ena ble d, the system compares the two files in the two locations and replaces the files located in the system flash memory with the ones from the compact flash card (regardless of which set of files is more current). This allows the customer to maintain the version of the operating system, and the configuration for that operating system, at the desired level. To accomplish this, a synchronization check is performed on the system any time there is a change in startup-config or SROS.BIZ on the compact flash card.
The AutoSynch card containing the desired software (must be renamed from the desired operating system software, such as J03.01.biz to SROS.BIZ) and startup configuration file (must be named startup-config) into a router with AutoSynch
secondarily from internal flash). After booting, with AutoSynch files in system flash memory with the desired files from compact flash.
Caution
TM
feature allows for quick installation and updates of routers by inserting a compact flash
TM
enabled. The ProCurve Secure Routers automatically boot from the compact flash (and
TM
enabled, the router will synchronize the
Deleting the SROS.BIZ and startup-config files from the compact flash card (using the erase command) deletes the files from the system flash memory as well.
TM
Status commands associated with the AutoSynch show autosynch-status.
The show version flash SROS.BIZ command opens the specified .biz file and returns the current SROS version information.
ProCurve>enable ProCurve#show version flash SROS.BIZ
Version:J03.01.00
feature include show version flash SROS.BIZ and
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 22
Page 25
SROS Command Line Interface Reference Guide Enable Mode Command Set
The show autosynch-status command displays the current AutoSynchTM configuration and the statistics for the SROS.BIZ and startup-config files (if AutoSynch
TM
is enabled). ProCurve>enable ProCurve#show autosynch-status
AutoSynch: Mode - Enabled AutoSynch: SROS.BIZ synched
AutoSynch: startup-config synched
Usage Examples
The following example forces a synchronization of startup-config and SROS.BIZ (located in system flash and compact flash memory):
ProCurve>enable ProCurve#autosynch
AutoSynch: SROS.BIZ synched AutoSynch: startup-config synched
ProCurve#
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 23
Page 26
SROS Command Line Interface Reference Guide Enable Mode Command Set
clear access-list <listname>
Use the clear access-list command to clear all counters associated with all access lists (or a specified access list).
Syntax Description
<listname> Optional. Specifies the name (label) of an access list
Default Values
No default value necessary for this command.
Usage Examples
The following example clears all counters for the access list labeled MatchAll:
ProCurve>enable ProCurve#clear access-list MatchAll
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 24
Page 27
SROS Command Line Interface Reference Guide Enable Mode Command Set
clear arp-cache
Use the clear arp-cache command to remove all dynamic entries from the Address Resolution Protocol (ARP) cache table.
Syntax Description
No subcommands.
Default Values
No default value necessary for this command.
Usage Examples
The following example removes all dynamic entries from the ARP cache:
ProCurve>enable ProCurve#clear arp-cache
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 25
Page 28
SROS Command Line Interface Reference Guide Enable Mode Command Set
clear arp-entry <address>
Use the clear arp-entry command to remove a single entry from the Address Resolution Protocol (ARP) cache.
Syntax Description
<address> Specifies the IP address of the entry to remove.
Default Values
No default value necessary for this command.
Usage Examples
The following example removes the entry for 10.200.4.56 from the ARP cache:
ProCurve>enable ProCurve#clear arp-entry 10.200.4.56
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 26
Page 29
SROS Command Line Interface Reference Guide Enable Mode Command Set
clear bridge <group#>
Use the clear bridge command to clear all counters associated with bridging (or for a specified bridge-group).
Syntax Description
<group#> Optional.
Specifies a single bridge group (1-255).
Default Values
No default value necessary for this command.
Usage Examples
The following example clears all counters for bridge group 17:
ProCurve>enable ProCurve#clear bridge 17
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 27
Page 30
SROS Command Line Interface Reference Guide Enable Mode Command Set
clear buffers max-used
Use the clear buffers max-used command to clear the maximum-used statistics for buffers displayed in the show memory heap command.
Syntax Description
No subcommands.
Default Values
No default value necessary for this command.
Usage Examples
The following example clears the maximum-used buffer statics:
ProCurve>enable ProCurve#clear buffers max-used
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 28
Page 31
SROS Command Line Interface Reference Guide Enable Mode Command Set
clear counters [<interface> <interface id>]
Use the clear counters command to clear all interface counters (or the counters for a specified interface).
Syntax Description
<interface> Optional. Specifies a single interface. Enter clear counters ? or show interface ?
for a complete list of interfaces.
<interface id> Optional. Specifies the ID of the specific inte rface to clear (e.g., 1 for p ort channel 1).
Default Values
No default values necessary for this command.
Usage Examples
The following example clears all counters associated with the Ethernet 0/1 interface:
ProCurve>enable ProCurve#clear counters ethernet 0/1
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 29
Page 32
SROS Command Line Interface Reference Guide Enable Mode Command Set
clear counters probe
Use the clear counters probe command to reset counters on all probe objects or on a specific probe. Variations of this command include:
clear counters probe clear counters probe <name>
Syntax Description
<name> Specifies a probe object to reset counter.
Default Values
No default value necessary for this command.
Usage Examples
The following example resets the counters for all configured probes: ProCurve>enable
ProCurve#clear counters probe
The following example resets the counters only for the probe named probe_A: ProCurve>enable
ProCurve#clear counters probe probe_A
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 30
Page 33
SROS Command Line Interface Reference Guide Enable Mode Command Set
clear counters track
Use the clear counters track command to reset counters on all track objects or on a specifically named track.
clear counters track clear counters track <name>
Syntax Description
<name> Specifies a track object to re set counter.
Default Values
No default value necessary for this command.
Usage Examples
The following example resets the counters for all configured tracks: ProCurve>enable
ProCurve#clear counters track
The following example resets the counters only for the track named track_1: ProCurve>enable
ProCurve#clear counters track track_1
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 31
Page 34
SROS Command Line Interface Reference Guide Enable Mode Command Set
clear crypto ike sa [policy <policy priority> | remote-id <remote-id>]
Use the clear crypto ike sa command to clear existing IKE security associations (SAs), including active ones. Use the policy and remote-id options to remove specific SAs.
Syntax Description
policy <policy priority>
remote-id <remote-id>
Removes all IKE SAs associated with the specified policy priority. The policy priority is assigned using
Removes all IKE SAs associated with the specified IKE remote ID. payload is sent to the peers prior to deletion of the SA. This command is preferred to the
<remote-id>]
the same IKE policy but the user wants to delete only the SA to a unique peer.
clear crypto ike sa [policy <policy priority> | remote-id
command when multiple unique SAs have been created on
crypto ike on page 344
.
Default Values
No default value necessary for this command.
Usage Examples
The following example clears the entire database of IKE SAs (including the active associations):
ProCurve>enable ProCurve#clear crypto ike sa
The following example clears IKE SAs associated with policy 101:
A delete
ProCurve>enable ProCurve#clear crypto ike sa policy 101
The following example clears an IKE SA associated with remote-id procurve:
ProCurve>enable ProCurve#clear crypto ike sa remote-id procurve
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 32
Page 35
SROS Command Line Interface Reference Guide Enable Mode Command Set
clear crypto ipsec sa
Use the clear crypto ipsec sa command to clear existing IPSec security associations (SAs), including active ones. Variations of this command include the following:
clear crypto ipsec sa clear crypto ipsec sa entry <ip address> ah <SPI> clear crypto ipsec sa entry <ip address> esp <SPI> clear crypto ipsec sa map <map name> clear crypto ipsec sa peer <ip address> clear crypto ipsec sa remote-id <remote-id>
Syntax Description
entry
<ip address>
ah
<SPI>
esp
<SPI>
<map name>
map peer
<ip address>
remote-id <remote id>
Clears only the SAs related to a certain destination IP address. Clears only a portion of the SAs by specifying the AH (authentication header)
protocol and a security parameter index (SPI). You can determine the correct SPI value using the
Clears only a portion of the SAs by specifying the ESP (encapsulating security payload) protocol and a security parameter index (SPI). You can determine the correct SPI value using the
Clears only the SAs associated with the crypto map name given. Clears only the SAs associated with the far-end peer IP address given. Removes all IPSec SAs associated with the specified IPSec remote ID.
show crypto ipsec command.
show crypto ipsec command.
Default Values
No default value necessary for this command.
Usage Examples
The following example clears all IPSec SAs:
ProCurve> enable ProCurve#clear crypto ipsec sa
The following example clears the IPSec SA used for ESP traffic with the SPI of 300 to IP address
172.27.45.57:
ProCurve> enable ProCurve#clear crypto ipsec sa entry 172.27.45.57 esp 300
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 33
Page 36
SROS Command Line Interface Reference Guide Enable Mode Command Set
clear dump-core
The clear dump-core command clears diagnostic information appended to the output of the show version command. This information results from an unexpected unit reboot.
Syntax Description
No subcommands.
Default Values
No default value necessary for this command.
Usage Examples
The following example clears the entire database of IKE SAs (including the active associations):
ProCurve>enable ProCurve#clear dump-core
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 34
Page 37
SROS Command Line Interface Reference Guide Enable Mode Command Set
clear event-history
Use the clear event-history command to clear all messages logged to the local event-history.
Warning
Messages cleared from the local event-history (using the clear event-history command) are no longer accessible.
Syntax Description
No subcommands.
Default Values
No default value necessary for this command.
Usage Examples
The following example clears all local event-history messages:
ProCurve>enable ProCurve#clear event-history
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 35
Page 38
SROS Command Line Interface Reference Guide Enable Mode Command Set
clear host [ * | <hostname> ]
Use the clear host command to clear a hostname (and associated address) from the DNS host-to-address table.
Syntax Description
* Clears all hosts from the host table.
<hostname> Clears a specific host entry from the host-to-address table.
Default Values
No default value necessary for this command.
Usage Examples
The following example clears all hostnames:
ProCurve>enable ProCurve#clear host *
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 36
Page 39
SROS Command Line Interface Reference Guide Enable Mode Command Set
clear ip bgp [* | <as-number> | <ip address>] [in | out | soft]
Use the clear ip bgp command to clear BGP neighbors as specified.
Syntax Description
* Clears all BGP neighbors.
<as-number> Clears all BGP neighbors with the specified AS number (Range: 1 to 65,535). <ip address> Clears the BGP neighbor with the specified IP address.
in Causes a “soft” reset inbound with a neighbor, reprocessing routes advertised by
that neighbor.
out Causes a “soft” reset outbound with a neighb or, re-sending advertised routes to
that neighbor.
soft Causes a “soft” reset both inbound and outbound.
Default Values
No default value necessary for this command.
Functional Notes
The clear ip bgp command must be issued to re-initialize the BGP process between the peers matching the given arguments. Most neighbor changes, includ ing changes to prefix-l ist filters, do not take ef fect until the clear command is issued. A hard reset clears the TCP connection with the specified peers, which results in clearing the table. This method of clear ing is disruptive and causes peer routers to record a route flap for each route.
The out version of this command provides a soft reset ou t to occur by causing all routes to be re-sent to the specified peer(s). TCP connections are not torn down, so this method is less disruptive. Output filters/policies are re-applied before sending the update.
The in version of this command provides a soft reset in to occur by allowing the router to receive an updated table from a peer without tearing down the TCP connection. This method is less disruptive and does not count as a route flap. Currently, all of the peer's routes are stored permanently, even if they are filtered by a prefix list. The command causes the peer's routes to be reprocessed with any new parameters.
Usage Examples
The following example clears the information for all peers with an AS number of 101:
ProCurve>enable ProCurve#clear ip bgp 101
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 37
Page 40
SROS Command Line Interface Reference Guide Enable Mode Command Set
clear ip cache
Use the clear ip cache command to delete cache table entries.
Syntax Description
No subcommands.
Default Values
No default value necessary for this command.
Usage Examples
The following example removes all entries from the cache table:
ProCurve>enable ProCurve#clear ip cache
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 38
Page 41
SROS Command Line Interface Reference Guide Enable Mode Command Set
clear ip dhcp-server binding [* | <ip address>]
Use the clear ip dhcp-server binding command to clear Dynamic Host Configuration Protocol (DHCP) server binding entries from the database.
Syntax Description
* Clears all automatic binding entries.
<ip address> Clears a specific binding entry. Enter the source IP address (format is A.B.C.D).
Default Values
No default value necessary for this command.
Functional Notes
A DHCP server binding represents an association betwe en a MAC address and an IP address that was offered by the unit to a DHCP client (i.e., most often a PC). Clearing a binding allows the unit to offer that IP address again, should a request be made for one.
Usage Examples
The following example clears a DHCP server binding for the IP address 192.168.47.4:
ProCurve>enable ProCurve#clear ip dhcp-server binding 192.168.47.4
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 39
Page 42
SROS Command Line Interface Reference Guide Enable Mode Command Set
clear ip igmp group [<group-address> | <interface>]
Use the clear ip igmp group command to clear entries from the Internet Group Management Protocol (IGMP) tables. If no address or interface is specified, all non-static IGMP groups are cleared with this command.
Syntax Description
<group-address> Optional. <interface> Optional.
type slot/port
Specifies the multicast IP address of the multicast group. Designates the clearing of parameters for a specific interface (in the format
). For example:
eth 0/1
.
Default Values
No default value necessary for this command.
Usage Examples
The following example shows output for the show igmp groups command before and after a clear ip igmp group command is issued. This example clears the IGMP entry that was registered
dynamically by a host. Interfaces that are statically joined are not cleared:
ProCurve>enable ProCurve#show ip igmp group s
Group Address Interface Uptime Expires Last Reporter
172.16.1.50 Loopback100 01:22:59 00:02:46 172.23.23.1
172.21.1.1 Ethernet0/1 00:00:14 00:02:45 1.1.1.2
172.31.1.1 Loopback100 01:22:59 00:02:46 172.23.23.1
ProCurve#clear ip igmp group ProCurve#show ip igmp group s
Group Address Interface Uptime Expires Last Reporter
This version of the command clears all dynamic groups that have the specified output inter face (Ethernet 0/1):
ProCurve#clear ip igmp group ethernet 0/1
This version of the command clears the specified group on a ll interfaces wher e it is dynamica lly registered: ProCurve#clear ip igmp group 172.21.1.1
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 40
Page 43
SROS Command Line Interface Reference Guide Enable Mode Command Set
clear ip ospf [process | redistribution]
Use the clear ip ospf command to reset open shortest path first (OSPF) information.
Syntax Description
process Restarts the OSPF process. redistribution Refreshes routes redistributed over OSPF.
Default Values
No default value necessary for this command.
Usage Examples
The following example resets the OSPF process:
ProCurve>enable ProCurve#clear ip ospf process
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 41
Page 44
SROS Command Line Interface Reference Guide Enable Mode Command Set
clear ip policy-sessions
Use the clear ip policy-sessions command to clear policy class sessions. You may clear all the sessions or a specific session. Refer to the show ip policy-sessions for a current session listing. The following lists the complete syntax for the clear ip policy-sessions commands:
clear ip policy-sessions clear ip policy-sessions <classname> [ahp | esp | gre | icmp | tcp | udp | <protocol>] <source ip>
<source port><dest ip><dest port>
clear ip policy-sessions <classname> [ahp | esp | gre | icmp | tcp | udp | <protocol>] <source ip>
<source port><dest ip><dest port> [destination | source] <nat ip><nat port>
Syntax Description
<classname> Alphanumeric descriptor for identifying the configured access policy (access
policy descriptors are not case-sensitive).
ahp Specifies authentication header protocol (AHP). esp Specifies encapsulating security payload protocol (ESP). gre Specifies general routing encapsulation protocol (GRE). icmp Specifies Internet control message protocol (ICMP) protocol. tcp Specifies transmission control protocol (TCP). udp Specifies universal datagram protocol (UDP).
<protocol> Specifies protocol ( va lid range: 0 to 255). <source ip> Specifies the source IP address (format is A.B.C.D). <source port> Specifies the source port (in hex format AHP, ESP, and GRE; decimal for all other
protocols).
<dest ip> Specifies the destination IP address (format is A.B.C.D). <dest port> Specifies the destination port (in hex format for AHP, ESP, and GRE; decimal for
all other protocols).
[destination | source] For NAT sessions, this specifies whether to select a NAT sour ce or NAT
destination session.
<nat ip> For NAT sessions, this specifies the NAT IP address (format is A.B.C.D). <nat port> For NAT sessions, this specifies the NAT port (in hex format for AHP, ESP, and
GRE; decimal for all other protocols).
Default Values
No default value necessary for this command.
Functional Notes
The second half of this command, beginning with the source IP address may be copied and p asted from a row in the show ip policy-sessions table for easier use.
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 42
Page 45
SROS Command Line Interface Reference Guide Enable Mode Command Set
Usage Examples
The following example clears the Telnet association (TCP port 23) for policy class pclass1 with source IP address 172.22.71.50 and destination 172.22.71.130:
ProCurve>enable ProCurve#clear ip policy-sessions pclass1 tcp 172.22.71.50 23 172.22.71.130 23
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 43
Page 46
SROS Command Line Interface Reference Guide Enable Mode Command Set
clear ip policy-stats <classname> entry <policy class #>
Use the clear ip policy-stats command to clear statistical counters for policy classes.
Syntax Description
<classname>
entry <policy class #>
Optional. Specifies the policy class to clear. If no policy class is specified, statistics are cleared for all policies.
Optional.
Use this keyword to clear statistics of a specific policy class entry.
Default Values
No default value necessary for this command.
Usage Examples
The following example clears statistical counters for all policy classes:
ProCurve>enable ProCurve#clear ip policy-stats
The following example clears statistical counters for the policy class MatchALL:
ProCurve>enable ProCurve#clear ip policy-stats MatchALL
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 44
Page 47
SROS Command Line Interface Reference Guide Enable Mode Command Set
clear ip prefix-list <listname>
Use the clear ip prefix-list command to clear the IP prefix list hit count shown in the show ip prefix-list detail command output. See show ip prefix-list [detail | summary] <listname> on page 235.
Syntax Description
<listname> Specifies hit count statistics of the IP prefix list to clear.
Default Values
No default value necessary for this command.
Usage Examples
The following example clears the hit count statistics for prefix list test:
ProCurve>enable ProCurve#clear ip prefix-list test
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 45
Page 48
SROS Command Line Interface Reference Guide Enable Mode Command Set
clear ip route [** | <ip address> <subnet mask>]
Use the clear ip route command to remove all learned routes from the IP route table. Static and connec ted routes are not cleared by this command.
Syntax Description
** Deletes all destination routes.
<ip address> Specifies the IP address of the destination routes to be deleted. <subnet mask> Specifies the subnet mask of the destina tio n ro ut es to be de let ed
Default Values
No default value necessary for this command.
Usage Examples
The following example removes all learned routes from the route table:
ProCurve>enable ProCurve#clear ip route **
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 46
Page 49
SROS Command Line Interface Reference Guide Enable Mode Command Set
clear ip urlfilter statistics
Use the clear ip urlfilter statistics command to clear all statistics counters for URL filter requests and responses.
Syntax Description
No subcommands.
Default Values
No default necessary for this command.
Usage Examples
The following example clears all counters for URL filter requests and responses: ProCurve>enable
ProCurve#clear ip urlfilter statistics
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 47
Page 50
SROS Command Line Interface Reference Guide Enable Mode Command Set
clear lldp counters
Use the clear lldp counters command to reset all LLDP packet counters to 0 on all interfaces.
Syntax Description
No subcommands.
Default Values
There are no default settings for this command.
Usage Examples
The following example resets all LLDP counters:
ProCurve>enable ProCurve#clear lldp counters
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 48
Page 51
SROS Command Line Interface Reference Guide Enable Mode Command Set
clear lldp counters interface <interface>
Use the clear lldp counters interface command to reset all LLDP packet counters to 0 for a specified interface.
Syntax Description
<interface> Clears the information for the specified interface. Type clear lldp counters
interface ? for a complete list of applicable interfaces.
Default Values
No default values are necessary for this command.
Usage Examples
The following example resets the counters on a PPP interface:
ProCurve>enable ProCurve#clear lldp counters interface ppp 1
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 49
Page 52
SROS Command Line Interface Reference Guide Enable Mode Command Set
clear lldp neighbors
Use the clear lldp neighbors command to remove all neighbors from this unit’s database. As new local loop demarcation point (LLDP) packets are received, the database will contain information about neighbors included in those frames.
Syntax Description
No subcommands.
Default Values
There are no default settings for this command.
Functional Notes
This command generates output indicating the names of any neighbors del eted from the data base and the name of the interface on which the neighbor was learned.
Usage Examples
The following example clears LLDP neighbor Switch_1 from the Ethernet interface 0/1:
ProCurve>enable ProCurve#clear lldp neighbors LLDP: Deleted neighbor “Switch_1” on interface eth 0/1 ProCurve#
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 50
Page 53
SROS Command Line Interface Reference Guide Enable Mode Command Set
clear pppoe <ppp interface #>
Use the clear pppoe command to terminate the current PPPoE client session and cause the SROS to attempt to re-establish the session.
Syntax Description
<ppp interface #> PPP interface number.
Default Values
No default value necessary for this command.
Usage Examples
The following example ends the current PPPoE client session for ppp 1:
ProCurve>enable ProCurve#clear pppoe 1
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 51
Page 54
SROS Command Line Interface Reference Guide Enable Mode Command Set
clear processes cpu max
Use the clear process cpu max command to clear the maximum CPU usage statistic which is displayed in the show process cpu command output.
Syntax Description
No subcommands.
Default Values
No default value necessary for this command.
Usage Examples
The following example resets the CPU maximum usage statistics:
ProCurve>enable ProCurve#clear process cpu max
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 52
Page 55
SROS Command Line Interface Reference Guide Enable Mode Command Set
clear processes queue
Use the clear processes queue command to clear the contents of the system processing queues.
Syntax Description
No subcommands.
Default Values
No default value necessary for this command.
Usage Examples
The following example clears the contents of the system processing queues: ProCurve>enable
ProCurve#clear process queue
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 53
Page 56
SROS Command Line Interface Reference Guide Enable Mode Command Set
clear qos map
Use the clear qos map command to clear the statistics for all defined QoS maps or for maps meeting user-configured specifications.
Variations of this command include the following:
clear qos map <map name> clear qos map <map name> <sequence number> clear qos map interface <interface id>
Syntax Description
<map name> Specifies the name of a defined QoS map. <sequence number> Specifies one of the map’s defined sequence numbers. <interface> Specifies an interface for which to clear Qo S map statistics (for just that interface).
Type clear cos map ? for a complete list of applicable interfaces.
Default Values
No default value necessary for this command.
Usage Examples
The following example clears statistics for all defined QoS maps: ProCurve#clear qos map
The following example clears statistics for all entries in the priority QoS map: ProCurve#clear qos map priority
The following example clears statistics in entry 10 of the priority QoS map: ProCurve#clear qos map priority 10
The following example clears QoS statistics for a specified interface: ProCurve#clear qos map interface frame-relay 1
Note
The clear counters command clears ALL interface statistics (including QoS map interface statistics).
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 54
Page 57
SROS Command Line Interface Reference Guide Enable Mode Command Set
clear route-map counters <map>
Use the clear route-map counters command to reset route map hit counters.
Syntax Description
<map> Specifies specific route map to be cleared.
Default Values
No default value necessary for this command.
Usage Examples
The following example clears all route map counters:
ProCurve>enable ProCurve#clear route-map counters
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 55
Page 58
SROS Command Line Interface Reference Guide Enable Mode Command Set
clear sip location [** | <username>]
Use the clear sip location command to clear session initiation protocol (SIP) location database statistics.
Syntax Description
** Clears all dynamic location entries.
<username> Specifies specific username to clear.
Default Values
No default value necessary for this command.
Usage Examples
The following example deletes all dynamic location entries:
ProCurve>enable ProCurve#clear sip location **
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 56
Page 59
SROS Command Line Interface Reference Guide Enable Mode Command Set
clear sip user-registration
Use the clear sip user-registration command to clear local session initiation protocol (SIP) server registration information.
Syntax Description
No subcommands.
Default Values
No default value necessary for this command.
Usage Examples
The following example clears all SIP server registration information:
ProCurve>enable ProCurve#clear sip user-registration
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 57
Page 60
SROS Command Line Interface Reference Guide Enable Mode Command Set
clear spanning-tree counters [interface <interface id>]
The clear spanning-tree counte rs command clears the following counts: BPDU transmit, BPDU receive, and number of transitions to forwarding state.
Syntax Description
interface <interface id> Optional.
a complete list of applicable interfaces.
Specifies a single interface. Enter
clear spanning-tree counters ?
Default Values
No default value necessary for this command.
Usage Examples
The following example clears the spanning tree counters for Ethernet 0/1:
ProCurve>enable ProCurve#clear spanning-tree counters interface eth 0/1
for
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 58
Page 61
SROS Command Line Interface Reference Guide Enable Mode Command Set
clear spanning-tree detected-protocols [interface <interface id>]
Use the clear spanning-tree detected-protocols command to restart the protocol migration process.
Syntax Description
interface Optional.
<interface id> Optional.
Choose the Ethernet interface. Enter a valid interface ID (e.g.,
0/1
for Ethernet 0/1).
Default Values
No default value necessary for this command.
Functional Notes
The ProCurve Secure Router has the ability to operate using the rapid spanning-tree protocol or the legacy
802.1D version of spanning-tree. When a BPDU (bridge protocol data unit) of the legacy version is detected on an interface, the ProCurve Secure Router automatically regresses to using the 802.1D spanning-tree protocol for that interface. Issue the clear spanning-tree detected-protocols command to return to rapid spanning-tree operation.
Usage Examples
The following example re-initiates the protocol migration process on eth 0/2:
ProCurve>enable ProCurve#clear spanning-tree det ected-protocols interface ethernet 0/2
The following example re-initiates the protocol migration process on all interfaces:
ProCurve>enable ProCurve#clear spanning-tree detected-protocols
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 59
Page 62
SROS Command Line Interface Reference Guide Enable Mode Command Set
clear tacacs+ statistics
Use the clear tacacs+ statistics command to delete all terminal access controller acce ss control system (TACACS+) protocol statistics.
Syntax Description
No subcommands.
Default Values
No default value necessary for this command.
Usage Examples
The following example clears all TACACS+ protocol statistics:
ProCurve>enable ProCurve#clear tacacs+ statistics
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 60
Page 63
SROS Command Line Interface Reference Guide Enable Mode Command Set
clear user [console <user number> | ssh <user number> |
telnet <user number>]
Use the clear user command to detach a user from a given line.
Syntax Description
console <user number> Detaches a specific console user. Valid range is 0 to 1. ssh <user number> Detaches a specific secure shell (SSH) user. Valid range is 0 to 4. telnet <user number> Detaches a specific Telnet user. Valid range is 0 to 5.
Default Values
No default value necessary for this command.
Usage Examples
The following example detaches the console 1 user:
ProCurve>enable ProCurve#clear user console 1
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 61
Page 64
SROS Command Line Interface Reference Guide Enable Mode Command Set
clock [auto-correct-dst | no-auto-correct-dst]
The clock auto-correct-dst command allows the unit to automatically correct for Daylight Saving Time (DST). Use the clock no-auto-correct-dst command to disable this feature.
Syntax Description
auto-correct-DST Configures the unit to automatically correct for DST. no-auto-correct-DST Disables
Default Values
By default DST correction takes place automatically.
Functional Notes
Depending on the clock timezone chosen (see clock timezone <text> on page 64 for more information) one-hour DST correction may be enabled automatically. You may override this default using this command.
DST correction.
Usage Examples
The following example allows for automatic DST correction: ProCurve>enable ProCurve#clock auto-correct-dst
The following example overrides the one-hour offset for DST: ProCurve>enable ProCurve#clock no-auto-correct-dst
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 62
Page 65
SROS Command Line Interface Reference Guide Enable Mode Command Set
clock set <time> <day> <month> <year>
Use the clock set command to configure the system software clock. For the command to be valid, all fields must be entered. See the Usage Example below for an example.
Syntax Description
<time> Sets the time (in 24-hr format) of the system software clock in the format
HH:MM:SS (hours:minutes:seconds).
<day> Sets the current day of the month (Range: 1 to 31). <month> Sets the current month (Range: January to December). You need only enter
enough characters to make the entry unique. This entry is not case-sensitive.
<year> Sets the current year (Range: 2000 to 2100).
Default Values
No default value necessary for this command.
Usage Examples
The following example sets the system software clock for 3:42 pm, August 22 2004:
ProCurve>enable ProCurve#clock set 11:22:00 07 Au 2005
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 63
Page 66
SROS Command Line Interface Reference Guide Enable Mode Command Set
clock timezone <text>
The clock timezone command sets the unit’s internal clock to the timezone of your choice. This setting is based on the difference in time (in hours) between Greenwich Mean Time (GMT) or Central Standard Time (CST) and the timezone for which you are setting up the unit. Use the no form of this command to disable this feature.
Syntax Description
<text> Specifies the difference in time (in hours) between Greenwich Mean Time (GMT)
or Central Standard Time (CST) and the timezone for which you are setting up the unit.
Default Values
No default value is necessary for this command.
Note
Depending on the clock timezone chosen, one-hour Daylight Savings Time (DST) correction may be enabled automatically. See clock [auto-correct-dst | no-auto-correct-dst] on page 62 for more information.
Functional Notes
The following list shows sample cities and their timezone codes.
clock timezone +1-Amsterdam clock timezone +1-Belgrade clock timezone +1-Brussels clock timezone +1-Sarajevo clock timezone +1-West-Africa clock timezone +10-Brisbane clock timezone +10-Canberra clock timezone +10-Guam clock timezone +10-Hobart clock timezone +10-Vladivostok clock timezone +11 clock timezone +12-Auckland clock timezone +12-Fiji clock timezone +13 clock timezone +2-Athens clock timezone +2-Bucharest clock timezone +2-Cairo clock timezone +2-Harare
clock timezone +8-Bejing clock timezone +8-Irkutsk clock timezone +8-Kuala-Lumpur clock timezone +8-Perth clock timezone +8-Taipei clock timezone +9-Osaka clock timezone +9-Seoul clock timezone +9-Yakutsk clock timezone +9:30-Adelaide clock timezone +9:30-Darwin clock timezone -1-Azores clock timezone -1-Cape-Verde clock timezone -10 clock timezone -11 clock timezone -12 clock timezone -2
clock timezone -3-Brasilia clock timezone -3-Buenos-Aires
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 64
Page 67
SROS Command Line Interface Reference Guide Enable Mode Command Set
Functional Notes (cont’d)
clock timezone +2-Helsinki clock timezone +2-Jerusalem clock timezone +3-Baghdad clock timezone +3-Kuwait clock timezone +3-Moscow clock timezone +3-Nairobi clock timezone +3:30 clock timezone +4-Abu-Dhabi clock timezone +4-Baku clock timezone +4:30 clock timezone +5-Ekaterinburg clock timezone +5-Islamabad
clock timezone +5:30 clock timezone +5:45 clock timezone +6-Almaty clock timezone +6-Astana clock timezone +6-Sri-Jay clock timezone +6:30 clock timezone +7-Bangkok clock timezone +7-Kranoyarsk
clock timezone -3-Greenland clock timezone -3:30 clock timezone -4-Atlantic-Time clock timezone -4-Caracus clock timezone -4-Santiago clock timezone -5 clock timezone -5-Bogota clock timezone -5-Eastern-Time clock timezone -6-Central-America clock timezone -6-Central-Time clock timezone -6-Mexico-City clock timezone -6-Saskatchewan
clock timezone -7-Arizona clock timezone -7-Mountain-Time clock timezone -8 clock timezone -9 clock timezone 0-(UTC) Universal Coordinated Time clock timezone GMT-Casablanca clock timezone GMT-Dublin
Usage Examples
The following example sets the timezone for Santiago, Chile.
ProCurve>enable ProCurve#clock timezone -4-Santiago
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 65
Page 68
SROS Command Line Interface Reference Guide Enable Mode Command Set
configure
Use the configure command to enter the Global Configuration mode or to configure the system from memory. See Global Configuration Mode Command Set on page 299 for more information.
Syntax Description
terminal Enters the Global Configuration mode. memory Configures the active system with the commands located in the default
configuration file stored in flash memory.
network Configures the system from a TFTP network host. overwrite-network Overwrites flash memory from a TFTP network host.
Default Values
No default value necessary for this command.
Usage Examples
The following example enters the Global Configuration mode from the Enable Command mode:
ProCurve>enable ProCurve#configure terminal ProCurve(config)#
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 66
Page 69
SROS Command Line Interface Reference Guide Enable Mode Command Set
copy [cflash | flash] <filename> boot
Use the copy boot commands to copy the specified file (located in flash memory or on the compact flash card) to the Boot ROM.
Syntax Description
cflash Specifies the memory location for the file to copy as compact flash memory. flash Specifies the memory location for the file to copy as flash memory.
<filename> Specifies the name of the source file to copy.
boot Specifies the destination memory location for the file copy as the Boot ROM.
Default Values
No default value necessary for this command.
Functional Notes
Updates to the Boot ROM are required periodically to enhance and expand the router’s operation. The Boot Code can now be updated from within the Command Line Interfa ce (CLI) (beginning with software release J03.01) using the copy boot command.
Usage Examples
The following example copies the file J03_01-boot.biz (located on the compact flash card) to the Boot ROM:
ProCurve>enable ProCurve#copy cflash J03_01-boot.biz boot
Upgrading boot code is a critical process that cannot be interrupted. If something were to happen and the process was not able to be completed, it would render your unit inoperable. It is for this reason that during a bootcode upgrade, all other system tasks will be halted. This means packets will not be routed, and all console sessions will not respond during the upgrade process. Once the process finishes, the system will function as it did before. This process will take approximately 20 seconds. DO NOT REMOVE COMPACT FLASH DURING THIS OPERATION!! Do you want to proceed? [yes/no]y WARNING!! A bootcode upgrade has been initiated. Your session will become nonresponsive for the duration of the upgrade (approx. 20 seconds) . A message will be sent when the upgrade is completed. Bootcode upgrade process done. Your session should function normally. Reading 318189 bytes of code, stand by...
Image is compressed, inflating......................................
Verifying image Erasing boot sector Programming boot sector Success!!!
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 67
Page 70
SROS Command Line Interface Reference Guide Enable Mode Command Set
copy cflash
Use the copy cflash command to copy file located on the compact flash card to a specified destination. Variations of this command include:
copy cflash <filename> cflash <filename> copy cflash <filename> flash <filename> copy cflash <filename> interface <type> <slot/port> copy cflash <filename> startup-config copy cflash <filename> tftp copy cflash <filename> xmodem
Syntax Description
<filename> S pecifies the na me of the file (located on the comp act flash card) to copy. The
asterisk (*) can be used as a wildcard to specify a pattern for erasing multiple files. When a wildcard is specified, only files matching the listed pattern are copied. When using a wildcard, leave the destination filename blank because the source files are copied identically (including the filename) to the destination. You cannot use a wildcard when the destination is
startup-config.
cflash <filename> Specifies the destination memory location for the file copy as compact flash
memory and specifies the filename.
flash <filename> Specifies the destination memory location for the file copy as flash memory
and specifies the filename.
startup-config Replaces the prima ry startup-co nfiguration file with a copy of the specified file. tftp Specifies sending the file using the trivial file transfer protocol (TFTP). After
entering copy cflash XXXX tftp, the SROS prompts for the following information:
Address of remote host: Specifies the IP address of the TFTP server. Destination filename: Specifies the filename to use when storing the
copied file on the TFTP server. (The file will be placed in the default directory established by the TFTP server.)
xmodem Sends the specified file (using the XMODEM protocol) to the terminal
connected to the Console port.
Default Values
No default value necessary for this command.
Usage Examples
The following example copies the file myfile.biz (located on the compact flash card) to flash memory (naming the new file newfile.biz):
ProCurve>enable ProCurve#copy cflash myfile.biz flash newfile.biz
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 68
Page 71
SROS Command Line Interface Reference Guide Enable Mode Command Set
The following example creates a copy of the file myfile.biz (located on the compact flash card), names the new file newfile.biz, and places the new file on the installed compact flash card:
ProCurve>enable ProCurve#copy cflash myfile.biz cflash newfile.biz
The following example replaces the startup configuration file with the file newconfig.txt.
ProCurve>enable ProCurve#copy cflash newconfig.txt startup-config
The following example copies the file myfile.biz (located on the compact flash card) to the specified TFTP server:
ProCurve>enable ProCurve#copy cflash tftp
Address of remote host?10.200.2.4 Source filename myfile.biz Destination filename myfile.biz Initiating TFTP transfer ... Received 45647 bytes. Transfer Complete!
The following example copies the file myfile.biz (located on the compact flash card) to the connected terminal using XMODEM protocol:
ProCurve>enable ProCurve#copy cflash xmodem
Source filename myfile.biz Begin the Xmodem transfer now... Press CTRL+X twice to cancel CCCCCC
The SROS is now ready to transmit the file on the CONSOLE port (using the XMODEM protocol). The next step in the process may differ depending on the type of terminal emulation software you are using. For HyperTerminal, you will now select Transfer > Receive File and select the destination. Once the transfer is complete, information similar to the following is displayed:
Received 231424 bytes. Transfer complete
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 69
Page 72
SROS Command Line Interface Reference Guide Enable Mode Command Set
copy console flash <filename>
Use the copy console command to copy the console’s input to a text file. To end copying to the text file, type <Ctrl+D>. The file will be saved in the SROS root directory.
Syntax Description
<filename> Specifies the destination file (located in flash memory) for console input.
Default Values
No default is necessary for this command.
Functional Notes
The copy console command works much like a line editor. Prior to pressing <Enter>, changes can be made to the text on the line. Changes can be made using <Delete> and <Backspace> keys. The text can be traversed using the arrow keys, <Ctrl+A> (to go to the beginning of a line), and <Ctrl+E> (to go to the end of a line). To end copying to the text file, type <Ctrl+D>. The file will be saved in the SROS root directory. Use the dir command to see a list of files in the root directory.
Usage Examples
The following example copies the console input into the file config.txt (located in the SROS root directory):
ProCurve>enable ProCurve#copy console flash config.txt
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 70
Page 73
SROS Command Line Interface Reference Guide Enable Mode Command Set
copy flash
Use the copy flash command to copy files located in flash memory to a specified destination. Variations of this command include:
copy flash <filename> cflash <filename> copy flash <filename> flash <filename> copy flash <filename> interface <type> <slot/port> copy flash <filename> startup-config copy flash <filename> tftp copy flash <filename> xmodem
Syntax Description
<filename> Specifies the name of the file (located on the compact flash card) to copy.
The asterisk (*) can be used as a wildcard to specify a pattern for e rasing multiple files. When a wildcard is specified, only files matching the listed pattern are copied. When using a wildcard, leave the destination filename blank because the source files are copied identically (including the filename) to the destination. You cannot use a wildcard when the destination is startup-config.
cflash <filename> Specifies the destination memory location for the file copy as compact
flash memory and the filename.
flash <filename> Specifies the destination memory location for the file copy as flash
memory and the filename.
interface <type> <slot/port> Specifies copying a software file to a specified interface. This command is
only valid for modules that contain module-specific software that is independent of the system software. Enter copy flash XXXX interface ? to display a list of all available module types.
startup-config Replaces the primary startup- configuration file with a copy of the specified
file.
tftp Specifies sending the file using the trivial file transfer protocol (TFTP).
After entering copy flash XXXX tf t p, the SROS prompts for the following information:
Address of remote host: Specifies the IP address of the TFTP server. Destination filename: Specifies the filename to use when storing the
copied file on the TFTP server. (The file will be placed in the default directory established by the TFTP server.)
xmodem Sends the specified file (using the XMODEM protocol) to the terminal
connected to the Console port.
Default Values
No default value necessary for this command.
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 71
Page 74
SROS Command Line Interface Reference Guide Enable Mode Command Set
Usage Examples
The following example creates a copy of the file myfile.biz (located in flash memory), names the new file newfile.biz, and places the new file in flash memory:
ProCurve>enable ProCurve#copy flash myfile.biz flash newfile.biz
The following example copies the file myfile.biz (located in flash memory) to compact flash memory (naming the new file newfile.biz):
ProCurve>enable ProCurve#copy flash myfile.biz flash newfile.biz
The following example copies the file new_startup_config (located in flash memory) to the primary startup-configuration:
ProCurve>enable ProCurve#copy flash new_startup_config startup-config
The following example copies the software file J03_01.biz located in flash memory to a TFTP server:
ProCurve>enable ProCurve#copy flash tftp
Address of remote host?10.200.2.4 Source filename J03_01.biz Destination filename J03_01.biz Initiating TFTP transfer ... Sent 769060 bytes. Transfer Complete!
The following example updates the ADSL interface with the software file J8459A_02_01_01.biz:
ProCurve>enable ProCurve#copy J8459A_02_01_01.biz interface adsl 1/1
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 72
Page 75
SROS Command Line Interface Reference Guide Enable Mode Command Set
The following example copies the software file J03_01.biz (located in flash memory) to the connected terminal using XMODEM protocol:
ProCurve>enable ProCurve#copy flash xmodem
Source filename J03_01.biz Begin the Xmodem transfer now... Press CTRL+X twice to cancel CCCCCC
The SROS is now ready to transmit the file on the CONSOLE port (using the XMODEM protocol). The next step in the process may differ depending on the type of terminal emulation software you are using. For HyperTerminal, you will now select Transfer > Receive File and select the destination. Once the transfer is complete, information similar to the following is displayed:
Sent 231424 bytes. Transfer complete
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 73
Page 76
SROS Command Line Interface Reference Guide Enable Mode Command Set
copy running-config
Use the copy running-config command to create a copy of the current running-configuration and replace the current startup-configuration or save it to a specified memory location (compact flash or system flash). Variations of this command include:
copy running-config tftp copy running-config xmodem copy running-config <filename> cflash <filename> copy running-config <filename> flash <filename> copy running-config <filename> startup-config
Syntax Description
tftp Specifies sending the file using the trivial file transfer protocol (TFTP). After
entering copy running-config tftp, the SROS prompts for the following information:
Address of remote host: Specifies the IP address of the TFTP server. Destination filename: Specifies the filename to use when storing the copie d
file on the TFTP server. (The file will be placed in the default directory established by the TFTP server.)
xmodem Sends the current running-configuration file (using the XMODEM protocol) to
the terminal connected to the Console port.
cflash <filename> Specifies the destination memory location for the copied file as compact flash
and the destination filename.
flash <filename> Specifies the destination memory location for the copied file as system flash
memory and the destination filename.
startup-config Replaces the primary startup-configuration file with the current
running-configuration.
Default Values
No default value necessary for this command.
Usage Examples
The following example copies the current running-configuration file to the startup configuration file located in flash memory:
ProCurve>enable ProCurve#copy running-config startup-config Building configuration... NONVOL:/startup-config Done. Success!
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 74
Page 77
SROS Command Line Interface Reference Guide Enable Mode Command Set
The following example copies the current running-configuration file to compact flash memory and names the file config_01.txt:
ProCurve>enable ProCurve#copy running-config cflash config_01.txt Percent Compete 100% ProCurve#
The following example copies the current running-configuration file to a TFTP server and names the file config_01.txt:
ProCurve>enable ProCurve#copy running-config tftp
Address of remote host?10.200.2.4 Destination filename config_01.txt Initiating TFTP transfer ... Sent 3099 bytes. Transfer Complete!
The following example copies the current running-configuration to the con nected terminal using XMODEM protocol:
ProCurve>enable ProCurve#copy running-config xmodem
Begin the Xmodem transfer now... Press CTRL+X twice to cancel CCCCCC
The SROS is now ready to transmit the file on the CONSOLE port (using the XMODEM protocol). The next step in the process may differ depending on the type of terminal emulation software you are using. For HyperTerminal, you will now select Transfer > Receive File and select the destination. Once the transfer is complete, information similar to the following is displayed:
Sent 3704 bytes. Transfer complete
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 75
Page 78
SROS Command Line Interface Reference Guide Enable Mode Command Set
copy startup-config
Use the copy startup-config command to create a copy of the current startup-configuration and replace the current running-configuration or save it to a specified memory location (compact flash or system flash). Variations of this command include:
copy startup-config tftp copy startup-config xmodem copy startup-config <filename> cflash <filename> copy startup-config <filename> flash <filename> copy startup-config <filename> running-config
Syntax Description
tftp Specifies sending the file using the trivial file transfer protocol (TFTP). After
entering copy startup-config tftp, the SROS prompts for the following information:
Address of remote host: Specifies the IP address of the TFTP server. Destination filename: Specifies the filename to use when storing the copie d
file on the TFTP server. (The file will be placed in the default directory established by the TFTP server.)
xmodem Sends the current startup-configuration file (using the XMODEM protocol) to the
terminal connected to the Console port.
cflash <filename> Specifies the destination memory location for the copied file as compact flash
and specifies the filename for the copied file.
flash <filename> Specifies the destination memory location for the copied file as system flash
memory and specifies the filename for the copied file.
running-config Replaces the current running configuration file with the primary
startup-configuration.
Default Values
No default value necessary for this command.
Usage Examples
The following example copies the primary startup-configuration file to the current running-configuration:
ProCurve>enable ProCurve#copy startup-config running-config Opening and applying file...
Note
Any changes made to the current running configuration of the router that have not been saved to the startup configuration file (using the write command) will be lost when the copy startup-config running-config command is entered.
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 76
Page 79
SROS Command Line Interface Reference Guide Enable Mode Command Set
The following example copies the primary startup-configuration file (located in flash memory) to compact flash and names the file config_01.txt:
ProCurve>enable ProCurve#copy startup-config cflash config_01.txt Percent Complete 100% ProCurve#
The following example copies the current startup-configuration file to a TFTP server and names the file
startup_01.txt:
ProCurve>enable ProCurve#copy startup-config tftp
Address of remote host?10.200.2.4 Destination filename startup_01.txt Initiating TFTP transfer ... Sent 3099 bytes. Transfer Complete!
The following example copies the current startup-configuration to the connected terminal using XMODEM protocol:
ProCurve>enable ProCurve#copy startup-config xmodem
Begin the Xmodem transfer now... Press CTRL+X twice to cancel CCCCCC
The SROS is now ready to transmit the file on the CONSOLE port (using the XMODEM protocol). The next step in the process may differ depending on the type of terminal emulation software you are using. For HyperTerminal, you will now select Transfer > Receive File and select the destination. Once the transfer is complete, information similar to the following is displayed:
Sent 3704 bytes. Transfer complete
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 77
Page 80
SROS Command Line Interface Reference Guide Enable Mode Command Set
copy tftp <destination>
Use the copy tftp command to copy a file located on a network Trivial File Transfer Protocol (TFTP) server to a specified destination.
Syntax Description
<destination> Specifies the destination of the file copied from the TFTP server.
Valid destinations include: cflash (installed compact flash card), flash (flash memory), startup-config (the primary configuration file), or running-config (the current running configuration file).
After entering copy tftp and specifying a destination, the SROS prompts for the following information:
Address of remote host: Specifies the IP address of the TFTP server. Source filename: Specifies the Name of the file to copy from the TFTP server. Destination filename: Specifies the filename to use when storing the copied file to flash memory.
(Valid only for the copy tftp cflash and copy tftp flash commands.)
Default Values
No default value necessary for this command.
Usage Examples
The following example replaces the current running-configuration file with new_config.txt from the TFTP server (10.200.2.4):
ProCurve#copy tftp running-config Address of remote host?10.200.2.4
Source filename new_config.txt Initiating TFTP transfer ... Received 4562 bytes. Transfer Complete! ProCurve#
The following example copies the file J03_01.biz from the TFTP server (10.200.2.4) and saves it compact flash memory (naming the copy SROS.BIZ):
ProCurve#copy tftp cflash Address of remote host?10.200.2.4
Source filename J03_01.biz Destination filename SROS.BIZ Initiating TFTP transfer ... Received 45647 bytes. Transfer Complete! ProCurve#
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 78
Page 81
SROS Command Line Interface Reference Guide Enable Mode Command Set
copy xmodem <destination>
Use the copy xmodem command to copy a file (using the XMODEM protocol) to a specified destination. XMODEM capability is provided in terminal emulation software such as HyperTerminal™.
Syntax Description
<destination> Specifies the destination of the copied file.
Valid destinations include: cflash (installed compact flash card), flash (flash memory), startup-config (the configuration file stored in flash memory), or running-config (the current running configuration file).
After entering copy xmodem and specifying a destination, the SROS prompts for the following information:
Destination filename: Specifies the filename to use when storing the copied file to flash memory. (Valid
only for the copy cflash and copy flash commands.)
Default Values
No default value necessary for this command.
Usage Examples
The following example copies a software file (J03_01.biz) to flash memory and labels it SROS.BIZ:
ProCurve#copy xmodem flash Destination filename SROS.BIZ Begin the Xmodem transfer now... Press CTRL+X twice to cancel CCCCCC
The SROS is now ready to accept the file on the CONSOLE port (using the XMODEM protocol). The next step in the process may differ depending on the type of terminal emulation software you are using. For HyperTerminal, you will now select Transfer > Send File and browse to the file you wish to copy (J03_01.biz). Once the transfer is complete, information similar to the following is displayed:
Received 531424 bytes. Transfer complete.
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 79
Page 82
SROS Command Line Interface Reference Guide Enable Mode Command Set
debug aaa
Use the debug aaa command to activate debug messages associated with authentication from the AAA subsystem. Debug messages are displayed (real-time) on the terminal (or Telnet) screen. Use the no form of this command to disable the debug messages.
Note
Turning on a large amount of debug information can adversely affect the performance of your unit.
Syntax Description
No subcommands.
Default Values
By default, all debug messages in the SROS are disabled.
Functional Notes
The debug aaa events include connection notices, login attempts, and session tracking.
Usage Examples
The following is sample output for this command:
ProCurve>enable ProCurve#debug aaa AAA: New Session on portal 'TELNET 0 (172.22.12.60:4867)'. AAA: No list mapped to 'TELNET 0'. Using 'default'. AAA: Attempting authentication (username/password). AAA: RADIUS authentication failed. AAA: Authentication failed. AAA: Closing Session on portal 'TELNET 0 (172.22.12.60:4867)'.
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 80
Page 83
SROS Command Line Interface Reference Guide Enable Mode Command Set
debug access-list <listname>
Use the debug access-list command to activate debug messages (for a specified list) associated with access list operation. Debug messages are displayed (real-time) on the terminal (or Telnet) screen. Use the no form of this command to disable the debug messages.
Note
Turning on a large amount of debug information can adversely affect the performance of your unit.
Syntax Description
<listname> Specifies a configured access list
Default Values
By default, all debug messages in the SROS are disabled.
Functional Notes
The debug access-list command provides debug messages to aid in troubleshooting access list issues.
Usage Examples
The following example activates debug messages for the access list labeled MatchAll:
ProCurve>enable ProCurve#debug access-list MatchAll
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 81
Page 84
SROS Command Line Interface Reference Guide Enable Mode Command Set
debug arp
Use the debug arp command to activate debug messages associated with IP Address Resolution Protocol (ARP) transactions. Debug messages are displayed (real-time) on the terminal (or Telnet) screen. Use the no form of this command to disable the debug messages.
Note
Turning on a large amount of debug information can adversely affect the performance of your unit.
Syntax Description
No subcommands.
Default Values
By default, all debug messages in the SROS are disabled.
Usage Examples
The following example activates debug messages associated with ARP transactions:
ProCurve>enable ProCurve#debug arp
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 82
Page 85
SROS Command Line Interface Reference Guide Enable Mode Command Set
debug atm events
Use the debug atm events command to display events on all ATM ports and all virtual circuits. Debug messages are displayed (real-time) to the terminal (or Telnet) screen. Use the no form of this command to disable debug messages.
Note
Turning on a large amount of debug information can adversely affect the performance of your unit.
Syntax Description
No subcommands.
Default Values
By default, all debug messages in the SROS are disabled.
Usage Examples
The following example activates ATM event messages:
ProCurve>enable ProCurve#debug atm events
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 83
Page 86
SROS Command Line Interface Reference Guide Enable Mode Command Set
debug atm oam
Use the debug atm oam command to display Op eration, Administration, and Maintenance (OAM) packets for an ATM virtual circuit descriptor (VCD). Debug messages are displayed (real-time) to the terminal (or Telnet) screen. Use the no form of this command to disable debug messages. Variations of this command include the following:
debug atm oam <vcd> debug atm oam <vcd> loopback [end-to-end | segment]
debug atm oam <vcd> loopback [end-to-end | segment] <LLID>
Note
Turning on a large amount of debug information can adversely affect the performance of your unit.
Syntax Description
<vcd> Shows OAM packets for a specific VCD.
loopback Configures an OAM loopback. end-to-end Configures an end-to-end OAM loopback. segment Configures a segment loopback.
<LLID> Specifies 16-byte OAM loopback location ID (LLID).
Default Values
By default, all debug messages in the SROS are disabled.
Usage Examples
The following example activates ATM OAM debug messages for VCD 1:
ProCurve>enable ProCurve#debug atm oam 1
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 84
Page 87
SROS Command Line Interface Reference Guide Enable Mode Command Set
debug atm packet
Use the debug atm packet command to activate debug messages associated with packets on ATM ports and virtual circuits. Debug messages are displayed (real-time) to the terminal (or Telnet) screen. Use the no form of this command to disable the debug messages. Variations of this command include the following:
debug atm packet debug atm packet interface atm <port id> debug atm packet interface atm <port id> vcd <vcd number>
debug atm packet vc <VPI/VCI>
Note
Turning on a large amount of debug information can adversely affect the performance of your unit.
Syntax Description
interface atm <port id> Shows packets on a specific ATM port and on all virtual circuits. vc <VPI/VCI> Shows packets on a specific virtual circuit identified by the virtual path
identifier and virtual channel identifier (VPI/VCI).
vcd <vcd number> Shows packets on specific virtual circuit descriptors (VCD).
Default Values
By default, all debug messages in the SROS are disabled.
Usage Examples
The following example activates debug ATM packet debug messages on ATM port 1:
ProCurve>enable ProCurve#debug atm packet interface atm 1
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 85
Page 88
SROS Command Line Interface Reference Guide Enable Mode Command Set
debug backup
Use the debug backup command to activate debug messages associated with backup operation. Debug messages are displayed (real-time) to the terminal (or Telnet) screen. Use the no form of this command to disable the debug messages.
Note
Turning on a large amount of debug information can adversely affect the performance of your unit.
Syntax Description
No subcommands.
Default Values
By default, all debug messages in the SROS are disabled.
Functional Notes
The debug backup command activates debug messages to aid in the troubleshooting of backup links.
Usage Examples
The following example activates debug messages for backup operation:
ProCurve>enable ProCurve#debug backup
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 86
Page 89
SROS Command Line Interface Reference Guide Enable Mode Command Set
debug bridge
Use the debug bridge command to display messages associated with bridge events. Debug messages are displayed (real-time) to the terminal (or Telnet) screen. Use the no form of this command to disable debug messages.
Note
Turning on a large amount of debug information can adversely affect the performance of your unit.
Syntax Description
No subcommands.
Default Values
By default, all debug messages in the SROS are disabled.
Usage Examples
The following example activates bridge debug messages:
ProCurve#debug bridge
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 87
Page 90
SROS Command Line Interface Reference Guide Enable Mode Command Set
debug chat-interfaces <chat interface>
Use the debug chat-interfaces command to activate debug messages associated with chat AT command driven interfaces. Debug messages are displayed (real-time) on the terminal (or Telnet) screen. Use the no form of this command to disable the debug messages.
Note
Turning on a large amount of debug information can adversely affect the performance of your unit.
Syntax Description
<chat interface> Specifies the chat interface to debug in slot/port format.
Default Values
By default, all debug messages in the SROS are disabled.
Usage Examples
The following example activates debug messages for the chat interface 0/1:
ProCurve>enable ProCurve#debug chat-interfaces 0/1
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 88
Page 91
SROS Command Line Interface Reference Guide Enable Mode Command Set
debug crypto [ike | ike negotiation | ike client authentication |
ike client configuration | ipsec | pki]
Use the debug crypto command to activate debug messages associated with IKE and IPSec functions. Debug messages are displayed (real-time) to the terminal (or Telnet) screen. Use the no form of this command to disable the debug messages.
Note
Turning on a large amount of debug information can adversely affect the performance of your unit.
Syntax Description
ike Displays all IKE debug messages. ike negotiation Displays only IKE key management debug messages (e.g., handshaking). ike client authentication Displays IKE client authentication messages as they occur. ike client configuration Displays mode-config exchanges as they take place over the IKE SA. It is
enabled independently from the ike negotiation debug described previously. ipsec Displays all IPSec debug messages. pki Displays all PKI (public key infrastructure) debug messages.
Default Values
By default, all debug messages in the SROS are disabled.
Usage Examples
The following example activates the IPSec debug messages:
ProCurve>enable ProCurve#debug crypto ipsec
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 89
Page 92
SROS Command Line Interface Reference Guide Enable Mode Command Set
debug data-call
Use the debug data-call command to activate debug messages associated with data call errors and events. Debug messages are displayed (real-time) on the terminal (or Telnet) screen. Use the no form of this command to disable the debug messages.
Note
Turning on a large amount of debug information can adversely affect the performance of your unit.
Syntax Description
No subcommands.
Default Values
By default, all debug messages in the SROS are disabled.
Usage Examples
The following example activates debug messages associated with data call errors and events:
ProCurve>enable ProCurve#debug data-call
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 90
Page 93
SROS Command Line Interface Reference Guide Enable Mode Command Set
debug demand-routing
Use the debug demand-routing command to activate debug messages associated with demand routing errors and events. Debug messages are displayed (real-time) to the terminal (or Telnet) screen. Use the no form of this command to disable debug messages.
Note
Turning on a large amount of debug information can adversely affect the performance of your unit.
Syntax Description
No subcommands.
Default Values
By default, all debug messages in the SROS are disabled.
Usage Examples
The following example activates demand routing error and event messages:
ProCurve>enable ProCurve#debug demand-routing
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 91
Page 94
SROS Command Line Interface Reference Guide Enable Mode Command Set
debug dialup-interfaces
Use the debug dialup-interfaces command to generate debug messages used to aid in troubleshooting problems with all dialup interfaces such as the modem or the BRI cards. Use the no version of this command to disable it.
Note
Turning on a large amount of debug information can adversely affect the performance of your unit.
Syntax Description
No subcommands.
Default Values
By default, all debug messages in the SROS are disabled.
Functional Notes
When enabled, these messages provide status information on incoming calls, dialing and answering progress, etc. These messages also give information on why certain calls are dropped or rejected. It is beneficial to use this command when troubleshooting backup (in addition to the debug backup command).
Usage Examples
The following example activates the debug messages for dialup interfaces:
ProCurve>enable ProCurve#debug dialup-interfaces
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 92
Page 95
SROS Command Line Interface Reference Guide Enable Mode Command Set
debug dynamic-dns [verbose]
Use the debug dynamic-dns command to display debug messages associated with dynamic DNS. Debug messages are displayed (real-time) to the terminal (or Telnet) screen. Use the no form of this command to disable the debug messages.
Note
Turning on a large amount of debug information can adversely affect the performance of your unit.
Syntax Description
verbose Turns on verbose messaging.
Default Values
By default, all debug messages in the SROS are disabled.
Usage Examples
The following example activates dynamic DNS debug messages:
ProCurve>enable ProCurve#debug dynamic-dns verbose
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 93
Page 96
SROS Command Line Interface Reference Guide Enable Mode Command Set
debug firewall
Use the debug firewall command to activate debug messages associated with the SROS firewall operation. Debug messages are displayed (real-time) to the terminal (or Telnet) screen. Use the no form of this command to disable the debug messages.
Note
Turning on a large amount of debug information can adversely affect the performance of your unit.
Syntax Description
No subcommands.
Default Values
By default, all debug messages in the SROS are disabled.
Functional Notes
The debug firewall command activates de bug messages to provide real-time information about the SROS stateful inspection firewall operation.
Usage Examples
The following example activates the debug messages for the SROS stateful inspection firewall:
ProCurve>enable ProCurve#debug firewall
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 94
Page 97
SROS Command Line Interface Reference Guide Enable Mode Command Set
debug firewall alg sip [verbose]
Use the debug firewall alg sip command to activate debug messages associated with Session Initiation Protocol (SIP) information with SROS firewall operation. Debug messages are displayed (real-time) on the terminal (or Telnet) screen. Use the no form of this command to disable the debug messages.
Note
Turning on a large amount of debug information can adversely affect the performance of your unit.
Syntax Description
verbose Enables detailed debug messages.
Default Values
By default, all debug messages in the SROS are disabled.
Usage Examples
The following example activates debug messages associated with SIP information with SROS firewall operation:
ProCurve>enable ProCurve#debug firewall alg sip
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 95
Page 98
SROS Command Line Interface Reference Guide Enable Mode Command Set
debug frame-relay [events | llc2 | lmi]
Use the debug frame-relay command to activate debug messages associated with the Frame Relay operation. Debug messages are displayed (real-time) to the terminal (or Telnet) screen. Use the no form of this command to disable the debug messages.
Note
Turning on a large amount of debug information can adversely affect the performance of your unit.
Syntax Description
events Activates debug messages for generic Frame Relay event s (such as Frame Relay
interface state).
llc2 Activates debug messages for the logical link control layer. lmi Activates debug messages for the local management interface (such as DLCI
status signaling state, etc.).
Default Values
By default, all debug messages in the SROS are disabled.
Functional Notes
The debug frame- relay command activates deb ug messages to aid in the troubles hooting of Frame Relay links.
Usage Examples
The following example activates all possible debug messages associated with Frame Relay operation:
ProCurve>enable ProCurve#debug frame-relay events ProCurve#debug frame-relay llc2 ProCurve#debug frame-relay lmi
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 96
Page 99
SROS Command Line Interface Reference Guide Enable Mode Command Set
debug frame-relay multilink <interface>
Use the debug frame-relay multilink command to activate debug messages associated with Frame Relay multilink operation. Debug messages are displayed (real-time) to the terminal (or Telnet) screen. Use the no form of this command to disable the debug messages.
Note
Turning on a large amount of debug information can adversely affect the performance of your unit.
Syntax Description
<interface> Optional. Activates debug messages for the specified interface. Type debug
frame-relay multilink ? for a complete list of applicable interfaces.
Default Values
By default, all debug messages in the SROS are disabled.
Usage Examples
The following example activates debug messages associated with multilink operation for all Frame Relay interfaces:
ProCurve>enable ProCurve#debug frame-relay multilnk
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 97
Page 100
SROS Command Line Interface Reference Guide Enable Mode Command Set
debug interface <interface>
Use the debug interface command to activate debug messages associated with the specified interface. Debug messages are displayed (real-time) to the terminal (or Telnet) screen. Use the no form of this command to disable the debug messages.
Note
Turning on a large amount of debug information can adversely affect the performance of your unit.
Syntax Description
< interface > Activates debug messages for the specified interface. Type debug interface ? for
a complete list of applicable interfaces.
Default Values
By default, all debug messages in the SROS are disabled.
Functional Notes
The debug interface command activates debug messages to aid in the troubleshooting of physical interfaces.
Usage Examples
The following example activates all possible debug messages associated with the Ethernet port:
ProCurve>enable ProCurve#debug interface ethernet
5991-2114 © Copyright 2007 Hewlett-Packard Development Company, L.P. 98
Loading...