Perle CLI User guide

  • Hello! I am an AI chatbot trained to assist you with the Perle CLI User guide. I’ve already reviewed the document and can help you find the information you need or explain it in simple terms. Just ask your questions, and providing more details will help me assist you more effectively!
Perle IOLAN SCR CLI
Command Reference Guide
Modified: May 2020
Version 05.06.2020
Document Part# 5500464
Copyright Statement
This document must not be reproduced in any way whatsoever, either printed or electronically, without the consent of:
Perle Systems Limited,
60 Renfrew Drive
Markham, ON
Canada
L3R 0E1
Perle reserves the right to make changes without further notice, to any products to improve reliability, function, or
design.
Preface ...............................................................................13
About This Book ........................................................................ 13
Intended Audience..................................................................... 13
Typeface Conventions............................................................... 13
Chapter 1 Using the Command-Line Interface ...............14
Command Modes.................................................................................... 14
Command Shortcuts .............................................................................. 15
Command Options ................................................................................. 15
Common Commands ............................................................................. 15
default..................................................................................... 15
disable .................................................................................... 15
do-exec................................................................................... 16
enable ..................................................................................... 16
exit .......................................................................................... 16
help ......................................................................................... 16
login........................................................................................ 16
logout ..................................................................................... 16
no ............................................................................................ 16
Chapter 2 User Exec Mode ...............................................19
clear ip dhcp binding................................................................. 19
enable.......................................................................................... 19
line-attach ................................................................................... 20
logout .......................................................................................... 20
ping ............................................................................................. 21
release dhcp | dhcpv6 ............................................................... 21
renew dhcp | dhcpv6 ................................................................. 22
show alarm ................................................................................. 23
show arp ..................................................................................... 24
Table of Contents
show clock.................................................................................. 24
show crypto................................................................................ 24
show dot1x ................................................................................. 25
show eap..................................................................................... 26
show environment ..................................................................... 27
show facility-alarm..................................................................... 28
show flash: ................................................................................. 28
show hosts ................................................................................. 29
show ip arp ................................................................................. 30
show ip ddns .............................................................................. 30
show ip dhcp .............................................................................. 31
show ip host-group.................................................................... 31
show ip http................................................................................ 32
show ip interface........................................................................ 32
show ip ssh ................................................................................ 33
show ipv6.................................................................................... 34
show line..................................................................................... 35
show mab ................................................................................... 35
show ntp ..................................................................................... 36
show nvram ................................................................................ 37
show radius ................................................................................ 38
show snmp ................................................................................. 38
show ssh..................................................................................... 39
show tacacs................................................................................ 39
show terminal............................................................................. 40
show users ................................................................................. 40
show version .............................................................................. 41
ssh............................................................................................... 42
telnet ........................................................................................... 42
terminal ....................................................................................... 43
traceroute ................................................................................... 43
Chapter 3 Privileged EXEC mode ....................................45
archive ........................................................................................ 45
boot ............................................................................................. 48
cd................................................................................................. 49
clear aaa...................................................................................... 49
clear arp-cache........................................................................... 50
clear counters ............................................................................ 50
clear ip ........................................................................................ 51
clear ipv6 .................................................................................... 52
clear line ..................................................................................... 52
clear logging............................................................................... 53
clear radius................................................................................. 53
clear tacacs ................................................................................ 54
clock............................................................................................ 54
configure..................................................................................... 55
copy............................................................................................. 56
debug .......................................................................................... 57
delete........................................................................................... 59
dir ................................................................................................ 59
disable......................................................................................... 60
disconnect .................................................................................. 60
dot1x ........................................................................................... 61
exit............................................................................................... 62
kill ................................................................................................ 62
line-attach ................................................................................... 63
logout .......................................................................................... 63
mkdir ........................................................................................... 64
more ............................................................................................ 64
ping ............................................................................................. 66
pwd.............................................................................................. 67
release dhcp | dhcpv6 ............................................................... 67
reload .......................................................................................... 68
rename ........................................................................................ 69
renew........................................................................................... 69
reset ............................................................................................ 70
rmdir............................................................................................ 71
serialt .......................................................................................... 71
show aaa..................................................................................... 72
show alarm ................................................................................. 72
show archive .............................................................................. 73
show arp ..................................................................................... 74
show bgp .................................................................................... 75
show bridge................................................................................ 76
show clock.................................................................................. 77
show crypto................................................................................ 77
show debugging ........................................................................ 78
show dhcp .................................................................................. 78
show dot1x ................................................................................. 79
show eap..................................................................................... 80
show eee..................................................................................... 81
show email.................................................................................. 83
show environment ..................................................................... 83
show facility-alarm..................................................................... 84
show flash: ................................................................................. 84
show hosts ................................................................................. 86
show interfaces.......................................................................... 86
show ip access-lists .................................................................. 88
show ip alg ................................................................................. 88
show ip arp ................................................................................. 89
show ip bgp ................................................................................ 90
show ip community-list ............................................................. 90
show ip ddns .............................................................................. 91
show ip dhcp .............................................................................. 91
show ip dns ................................................................................ 92
show ip extcommunity-list........................................................ 93
show ip firewall .......................................................................... 93
show ip health ............................................................................ 94
show ip host-group.................................................................... 95
show ip http................................................................................ 95
show ip interface........................................................................ 96
show ip nat ................................................................................. 96
show ip ospf ............................................................................... 97
show ip prefix-list ...................................................................... 98
show ip rip .................................................................................. 99
show ip route.............................................................................. 99
show ip route-policy ................................................................ 100
show ip ssh .............................................................................. 101
show ipv6.................................................................................. 101
show line................................................................................... 103
show logging............................................................................ 105
show mab ................................................................................. 106
show management-access ..................................................... 107
show nat66 ............................................................................... 107
show ntp ................................................................................... 108
show nvram:............................................................................. 109
show processes ....................................................................... 109
show radius ...............................................................................110
show reload ...............................................................................111
show route-map ........................................................................111
show running-config ................................................................113
show serial ................................................................................115
show snmp ................................................................................116
show ssh....................................................................................117
show startup-config................................................................. 118
show system .............................................................................119
show tacacs.............................................................................. 121
show task-status...................................................................... 121
show tech-support................................................................... 122
show terminal........................................................................... 122
show users ............................................................................... 123
show version ............................................................................ 124
show wan.................................................................................. 124
show zone-policy ..................................................................... 126
ssh............................................................................................. 126
telnet ......................................................................................... 127
terminal ..................................................................................... 127
traceroute ................................................................................. 128
undebug.................................................................................... 128
Chapter 4 Global Configuration Mode...........................130
aaa ............................................................................................. 130
alarm ......................................................................................... 131
(config-alarm-profile) .......................................................... 131
archive ...................................................................................... 132
(config-archive) ................................................................... 132
arp ............................................................................................. 134
banner ....................................................................................... 135
bridge ........................................................................................ 135
boot ........................................................................................... 136
clock.......................................................................................... 136
crypto ........................................................................................ 137
(config-client)....................................................................... 139
(config-connection)............................................................. 140
(config-esp)#........................................................................ 144
(config-ike)# ......................................................................... 145
(config-12tp)#....................................................................... 147
dot1x ......................................................................................... 148
(config-dot1x-creden)# ....................................................... 149
eap............................................................................................. 149
(config-eap-profile)#............................................................ 150
email.......................................................................................... 150
enable........................................................................................ 151
hostname .................................................................................. 152
interface .................................................................................... 152
(config-if)# bvi...................................................................... 154
(config-if)# dialer ................................................................. 157
(config-if) ethernet............................................................... 159
(config-if)# openvpn-tunnel................................................ 163
(config-if)#tunnel ................................................................. 165
(config-if)#range .................................................................. 167
ip................................................................................................ 171
(config-std-nacl)# ................................................................ 177
(config-dhcp)# ..................................................................... 177
(config-pbr)# ........................................................................ 179
(config-pbr-rules)# .............................................................. 179
ipv6............................................................................................ 181
(config--ipv6-acl)# ............................................................... 183
(dhcpv6-config)# ................................................................. 184
(config-fw6)# ........................................................................ 185
(config-fw6-rules)# .............................................................. 186
key ............................................................................................. 188
(config-key)# ........................................................................ 188
(config-keychain-key)# ....................................................... 189
line............................................................................................. 189
logging ...................................................................................... 190
login .......................................................................................... 192
management-access................................................................ 193
(management-access-LAN)# .............................................. 193
(management-access-WAN)# ............................................. 194
nat66.......................................................................................... 195
ntp ............................................................................................. 196
power-supply............................................................................ 199
radius ........................................................................................ 200
(config-radius-server)# ....................................................... 200
radius-server ............................................................................ 201
router-map ................................................................................ 201
(config-route-map)# ............................................................ 202
router......................................................................................... 203
(config-router)#.................................................................... 204
(config-router)#.................................................................... 207
(config-router)#.................................................................... 209
router-map .................................................................................211
(config-route-map)# .............................................................211
sdm............................................................................................ 213
serial.......................................................................................... 213
service....................................................................................... 215
snmp-server ............................................................................. 216
tacacs........................................................................................ 217
(config-tacacs-server)#....................................................... 218
tty............................................................................................... 218
username .................................................................................. 219
(config-user-serial)#............................................................ 219
(config-user-2factor)# ......................................................... 225
wan ............................................................................................ 225
zone....................................................................................................................................................... 227
(config-sec-zone)#............................................................... 228
zone-pair ................................................................................... 228
Chapter 5 Interface configuration .................................230
Interface .................................................................................... 230
(config-if)# bvi...................................................................... 231
(config-if)# dialer ................................................................. 234
(config-if) ethernet............................................................... 236
(config-if-range)#................................................................. 242
(config-if)# openvpn-tunnel................................................ 245
(config-if)# tunnel ................................................................ 247
Chapter 6 Interface line mode ........................................252
line............................................................................................. 252
(config-line)#console .......................................................... 252
(config-line)#tty ................................................................... 254
(config-line)#vty................................................................... 276
13
IOLAN SCR Command Line Reference Guide
Preface
About This Book
This guide provides the information you need to:
configure the IOLAN using the Command Line Interface (CLI)
Intended Audience
This guide is for administrators who will be configuring the Perle IOLAN SCR1618
RDAC hereafter knows as the IOLAN.
Some prerequisite knowledge is needed to understand the concepts and examples in this
guide:
If you are using an external authentication application(s), working knowledge of
the authentication application(s).
Knowledge of the transfer protocols the IOLAN uses.
Typeface Conventions
Most text is presented in the typeface used in this paragraph. Other typefaces are
used to help you identify certain types of information.
The other typefaces are:
Typeface Example Usage
clear {[ip dhcp binding]}
Commands are in bold blue text and keywords
for those command use bold green text.
<name-of-tacacs-server> Arguments in which you supply the values are
in purple italics.
[nopassword] | [privilege 1] |
15
] | [secret 0 <cleartext-
password>
] | 5 <hidden-user-
secret>
| <cleartext-password>]
Square brackets means optional elements, but
not required to complete the command. Such as
command username does not require
nopassword, privilege or secret for completion.
Vertical bars within this example separate
alternative choices and can be viewed as an or
between parameters.
snmp-server {[contact
<contact-name>
]}
Curly braces surround the entire command.
IOLAN User’s Guide This typeface indicates a book or document title.
see About This Book for more
information.
This indicates a cross-reference to another
chapter or section that you can click on to jump
to that section.
14
IOLAN SCR Command Line Reference Guide
Using the Command-Line Interface Chapter 1
This book provides the command line interface (CLI) options available for the Perle
IOLAN SCR1618 RDAC. This chapter describes how to use the command-line
interface (CLI) to configure software features. Commands are grouped by Command
modes.
Command Modes
Each command is broken down into several categories:
Description—Provides a brief explanation of how the command is used.
Syntax—Shows the actual command line options. The options can be typed in
any order on the command line. The syntax explanation will use the following
command to break down the command syntax:
For example: telnet 172.16.4.92
This command will open a telnet session to the host with
the IP address of 172.16.4.92. If you use a name rather
than an IP address, you can use the /ipv4 option to force
the connection to use an IPv4 format for the network
address.
For example: sdm [default|dual-ipv4-and-ipv6]
This command sdm has an option of either default or dual
ipv4 and ipv6. You can specify either option but not
both.
Braces ({}) group required choices and vertical bars (|) separate the alternative
choices. Square brackets ([]) show the options that are available for the command.
You can type a command with each option individually, or string options together in
any order you want. Brace and vertical bars within square brackets {[]} means
requires a choice within and optional element. The pipe (|) within a square bracket
means a choice between the elements.
Command Mode Prompt Exit Mode
Access Next
Mode
User EXEC mode PerleSCR> logout
command
enable command
Privileged EXEC mode PerleSCR# disable
command
configure
command
Global configuration mode PerleSCR# end or exit
command
interface
command
Interface configuration
mode
PerleSCR(config-if)#
PerleSCR(config-if-range)#
end command interface
command,
interface type,
interface number
Line configuration mode PerleSCR(config-line)# end command interface
command,
interface type,
interface number
1
Using the Command-Line Interface
15
IOLAN SCR Command Line Reference Guide
For example, valid values for (config)#ip {community-list [expanded |
standard
]}. Valid values are expanded or standard but you cannot select both at
the same time.
Options—Provides an explanation of each of the options for a command
and the default value if there is one. Some commands do not have any
options, so this category is absent.
UP arrow—show a history of the previous commands entered.
Command Shortcuts
When you type a command, you can specify the shortest unique version of that
command or you can press the TAB key to complete the command. For
example, the following command:
PerleSCR(config)#service dhcp<cr>
can be typed as:
PerleSCR(config)#se d <cr>
or, you can use the TAB key to complete the lines as you go along:
se<TAB>d<TAB><cr>
where the TAB key was pressed to complete the option as it was typed.
Command Options
When you are typing commands on the command line (while connected to the
IOLAN, you can view the options by typing a question mark (?), after any part
of the command to see what options are available/valid. For example:
IOLAN# terminal?
help
history
length
monitor
no
width
Common Commands
default
Use the default command to set a command back to it’s defaults.
disable
Use the disable command to de-elevate from Privilege EXEC mode to User
Exec mode.
Using the Command-Line Interface
16
IOLAN SCR Command Line Reference Guide
do-exec
Run exec commands while in config mode.
enable
Use the enable command to elevate to Privilege EXEC mode from User Exec
mode.
exit
The exit command in User EXEC mode logs you out of the IOLAN . In
command mode it takes you to down one level of authority.
help
The help command gives you full help or partial help depending on your
needs.
Usage Guidelines
Help may be requested at any point in a command by entering a question
mark '?'. If nothing matches, the help list will be empty and you must
backup until entering a '?' shows available options.
Two styles of help are provided:
1. Full help is available when you are ready to enter a
command argument (e.g. show?.)
2. Partial help is provided when an abbreviated argument
and you want to know what arguments match the input
(e.g. 'show pr?'.)
login
login
Log into the IOLAN . Default user name is admin and password is perle1.
logout
Log out of the IOLAN.
no
Use the no command to negate a command.
Using the Command-Line Interface
17
IOLAN SCR Command Line Reference Guide
PerleSCR>? (User EXEC mode)
Exec commands:
clear Reset functions
enable Switch to privilege mode
exit exit from EXEC
help Description of the interactive help
logout Logout of current user
ping Send echo messages
release Release a resource
renew Renew a resource
show Display internal settings
ssh Open a secure shell client connection
telnet Open a telnet connection
terminal Set terminal characteristics
traceroute Trace route to destination
PerleSCR>clear ? (User EXEC mode)
clear ip dhcp binding *
PerleSCR#? (Privilege EXEC mode)
archive Manage archive files
boot Modify system boot parameters
cd Change current directory
clear Reset functions
clock Manage system clock
configure Switch to (config)#
copy Copy from one file to another
debug Debugging functions (see also ’undebug’)
delete Delete a file
dir List files on a file system
disable Leave privileged mode
disconnect Disconnect an existing network connection
dot1x IEEE 802.1X Exec commands
exit Exit from the EXEC
help Description of interactive help
kill Reset the serial line
attach-line Attach to a configured terminal line
logout Logout of current user
mkdir Create a new directory
more Display the contents of a file
Using the Command-Line Interface
18
IOLAN SCR Command Line Reference Guide
no Negate a command or set its defaults
ping Send echo messages
pwd Display present working directory
release Release a resource
reload Reboot the IOLAN
rename Rename a file
renew Renew a Resource
reset Reset commands
rmdir Remove a directoy
serialt Take a serial trace
show Display internal settings
ssh Open a secure shell client connection
telnet Open a telnet connection
terminal Set terminal characteristics
traceroute Trace route to destination
undebug Disable debugging function (see also ’debug’
PerleSCR#configure <cr>
Configuring from terminal <cr>
PerleSCR(config)# ((config)#)
PerleSCR(config)#interface eth 1<cr>
PerleSCR(config-if)#(Config interface mode)
19
IOLAN SCR Command Line Reference Guide
User Exec Mode Chapter 2
Once you have accessed the IOLAN, you are automatically in User Exec mode. The
following commands are valid in User EXEC mode.
clear ip dhcp binding
clear ip dhcp binding {[* | A.B.C.D]}
enable
Syntax Description clear ip dhcp binding
[* | A.B.C.D]}
Type * to clear all automatic bindings.
Type the ip address of the specific binding to
clear.
Command Modes PerleSCR>
Usage Guidelines
You can clear all DHCP client bindings using the * parameter or clear only the binding for
a specific IP address by entering in the IP address to clear.
Examples
This example show how to clear all DHCP client bindings.
PerleSCR clear ip dhcp binding * <cr>
This example shows you how to clear DHCP bindings for a specified IP address.
PerleSCR> clear ip dhcp binding 172.16.113.44 <cr>
Related Commands
show ip ddns
renew dhcp | dhcpv6
release dhcp | dhcpv6
Syntax Description enable
Command Modes PerleSCR>enable<cr>
Usage Guidelines
Takes the user from user exec level to privileged level.
Examples
This example show how to go from user level to privileged level.
PerleSCR> enable <cr>
Password:perle
PerleSCR>
Related Commands
disable
2
User Exec Mode
20
IOLAN SCR Command Line Reference Guide
line-attach
{[tty <1-16>]}
logout
Syntax Description line-attach
{[tty <1-16> <WORD>]} Displays available serial ports
configured for ssh or telnet protocol.
If the user logs in, line access
privileges will be based on this
authentication not the original
authentication request.
<WORD>SSH user name is
optional. If it is not entered, the
username which logged into the
IOLAN main session will be used.
Command Modes PerleSCR#line-attach
Usage Guidelines
The line-attach feature allows you to connect to serial ports configured as Console
Management ports. The available ports for both Telnet and SSH will be displayed.
Examples
This example allows a user to connect to serial port 16 using the SSH protocol and
ssh user sshlyn.
PerleSCR#line-attach tty 16 sshlyn<cr>
Related Command
show line
(config-line)#tty
Syntax Description logout
logout Logout of the IOLAN.
Command Modes PerleSCR>>
Usage Guidelines
Logs out of the IOLAN.
Examples
This example shows you how to logout of the IOLAN.
PerleSCR> logout
/