Perle IDS PRO User guide

Type
User guide

This manual is also suitable for

Perle
IDS Managed Switches
CLI Reference Guide
Modified: March 2018
Version A.3
Document Part# 5500393-10
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.
.
(c)Perle Systems Limited, 2016 - 2018.
IDS Switch, CLI Reference Guide 3
Preface ...............................................................................11
About This Book ........................................................................ 11
Intended Audience..................................................................... 11
Typeface Conventions............................................................... 11
Chapter 1 Using the Command-Line Interface ...............12
Command Modes.................................................................................... 12
Command Shortcuts .............................................................................. 13
Command Options ................................................................................. 13
Common Commands ............................................................................. 13
default..................................................................................... 13
disable .................................................................................... 13
do-exec................................................................................... 13
no ............................................................................................ 14
enable ..................................................................................... 14
exit .......................................................................................... 14
help ......................................................................................... 14
login........................................................................................ 14
logout ..................................................................................... 14
Chapter 2 User Exec Mode ...............................................16
clear alert .................................................................................... 16
clear ip igmp snooping.............................................................. 17
ping ............................................................................................. 17
show alarm ................................................................................. 18
show alert ................................................................................... 19
show clock.................................................................................. 20
show env..................................................................................... 21
show errdisable.......................................................................... 22
show facility-alarm..................................................................... 23
Table of Contents
IDS Switch, CLI Reference Guide 4
show ip igmp .............................................................................. 23
show line..................................................................................... 26
show lldp .................................................................................... 27
show mac address-table ........................................................... 29
show ntp ..................................................................................... 32
show system .............................................................................. 33
show terminal............................................................................. 34
show users ................................................................................. 34
show version .............................................................................. 35
show vlan.................................................................................... 36
systat........................................................................................... 37
terminal ....................................................................................... 38
traceroute ................................................................................... 39
Chapter 3 Privileged EXEC mode ....................................40
archive ........................................................................................ 40
boot ............................................................................................. 43
cd................................................................................................. 44
clear aaa...................................................................................... 44
clear alert .................................................................................... 45
clear arp-cache........................................................................... 46
clear counters ............................................................................ 47
clear errdisable .......................................................................... 47
clear ip igmp............................................................................... 48
clear ipv6 .................................................................................... 48
IDS Switch, CLI Reference Guide 5
clear line ..................................................................................... 49
clear lldp ..................................................................................... 50
clear logging............................................................................... 50
clear mac .................................................................................... 51
clear spanning-tree.................................................................... 52
clock............................................................................................ 52
configure..................................................................................... 53
copy............................................................................................. 54
debug .......................................................................................... 56
delete........................................................................................... 57
dir ................................................................................................ 58
mkdir ........................................................................................... 58
more ............................................................................................ 59
ping ............................................................................................. 61
pwd.............................................................................................. 62
release......................................................................................... 62
reload .......................................................................................... 63
rename ........................................................................................ 64
renew........................................................................................... 64
rmdir............................................................................................ 65
setup ........................................................................................... 66
show aaa..................................................................................... 68
show alarm ................................................................................. 68
show alert ................................................................................... 71
IDS Switch, CLI Reference Guide 6
show archive .............................................................................. 72
show arp ..................................................................................... 73
show clock.................................................................................. 73
show debugging ........................................................................ 74
show dhcp lease ........................................................................ 74
show eee..................................................................................... 75
show env..................................................................................... 76
show errdisable.......................................................................... 76
show facility-alarm..................................................................... 78
show hosts ................................................................................. 79
show ip arp ................................................................................. 80
show ip default-gateway ........................................................... 80
show ip igmp .............................................................................. 81
show ipv6.................................................................................... 84
show line..................................................................................... 85
show lldp .................................................................................... 86
show logging.............................................................................. 89
show mac address-table ........................................................... 91
show mls..................................................................................... 94
show monitor ............................................................................. 97
show ntp ..................................................................................... 97
show p-ring................................................................................. 98
show processes ......................................................................... 99
show reload .............................................................................. 100
IDS Switch, CLI Reference Guide 7
show running-config ............................................................... 100
show sdm ................................................................................. 101
show snmp ............................................................................... 102
show spanning-tree ................................................................. 103
show startup-config................................................................. 104
show storm-control ................................................................. 105
show sysinfo ............................................................................ 106
show system ............................................................................ 108
show task-status...................................................................... 108
show tech-support................................................................... 109
show terminal............................................................................111
show users ................................................................................112
show version .............................................................................113
show vlan...................................................................................114
systat..........................................................................................114
terminal ......................................................................................115
traceroute ..................................................................................116
Chapter 4 Global Configuration Mode..........................118
alarm .........................................................................................118
(config-archive) .........................................................................119
arp ............................................................................................. 120
boot ........................................................................................... 121
clock.......................................................................................... 122
enable........................................................................................ 123
IDS Switch, CLI Reference Guide 8
errdisable.................................................................................. 124
fair-queue.................................................................................. 127
hostname .................................................................................. 127
ip default-gateway................................................................... 128
ip dhcp ...................................................................................... 128
ip domain .................................................................................. 129
ip domain-name ....................................................................... 130
ip host ....................................................................................... 131
ip http ........................................................................................ 131
ip igmp logging | snooping ..................................................... 132
ip name-server ......................................................................... 134
ip subnet-zero .......................................................................... 135
ipv6............................................................................................ 135
lldp............................................................................................. 137
logging ...................................................................................... 138
mac address-table ................................................................... 142
mls............................................................................................. 143
monitor...................................................................................... 144
ntp ............................................................................................. 146
(config-p-ring) .......................................................................... 149
power-supply............................................................................ 150
sdm............................................................................................ 151
service....................................................................................... 152
smnp-server ............................................................................. 153
IDS Switch, CLI Reference Guide 9
spanning-tree ........................................................................... 155
system....................................................................................... 159
username ................................................................................. 159
vlan............................................................................................ 160
(config-vlan) ............................................................................. 161
Chapter 5 Interface configuration .................................162
Interface .................................................................................... 162
(config-if)#alarm....................................................................... 163
(config-if)#authentication........................................................ 163
(config-if)#description ............................................................. 165
(config-if)#duplex..................................................................... 166
(config-if)#flowcontrol ............................................................. 166
(config-if)#lldp .......................................................................... 167
(config-if)#location................................................................... 168
(config-if)#logging ................................................................... 169
(config-if)#mdix ........................................................................ 170
(config-if)#mls qos................................................................... 170
(config-if)#power...................................................................... 171
(config-if)#power...................................................................... 172
(config-if)#service .................................................................... 172
(config-if)#shutdown ............................................................... 173
(config-if)snmp......................................................................... 173
(config-if)spanning-tree........................................................... 174
(config-if)#speed ...................................................................... 175
IDS Switch, CLI Reference Guide 10
(config-if)#storm-control ......................................................... 176
(config-if)switchport ................................................................ 177
Chapter 6 Interface Port Channels ...............................180
(config-if)#service .................................................................... 180
(config-if)spanning-tree........................................................... 180
(config-if)#speed ...................................................................... 182
(config-if)#speed ...................................................................... 183
(config-if)#switchport .............................................................. 183
Chapter 7 Vlan config mode...........................................186
(config-if)#arp........................................................................... 186
(config-if)#description ............................................................. 186
(config-if)#ip ............................................................................. 187
(config-if)#ipv6 ......................................................................... 188
(config-if)#logging ................................................................... 189
(config-if)#ntp........................................................................... 189
(config-if)#service .................................................................... 190
(config-if)#shutdown ............................................................... 191
(config-if)#snmp....................................................................... 192
(config-if)#spanning-tree......................................................... 192
Chapter 8 Interface line mode ........................................194
line............................................................................................. 194
console 0-0 ............................................................................... 194
vty 0-15...................................................................................... 196
Chapter 9 Alerts...............................................................199
IDS Switch, CLI Reference Guide 11
Preface
About This Book
This guide provides the information you need to:
configure the Perle series of IDS Switches using the Command Line Interface
(CLI)
Intended Audience
This guide is for administrators who will be configuring the Perle series of IDS
Switches hereafter knows as the switch.
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 Perle series of IDS Switches 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
system mtu jumbo
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]
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.
smnp-server {contact
contact-name}
Curly braces surrounding a group of parameter means that
a choice or value must be entered.
IDS 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 ca
n click on to jump to that section.
Typeface Example Usage
IDS Switch, CLI Reference Guide 12
Using the Command-Line Interface Chapter 1
This book provides the command line interface (CLI) options available for the Perle
IDS series of Managed Switches. This chapter describes how to use the
command-line interface (CLI) to configure software features. Commands are
grouped by Command modes.
Command Mode Prompt Exit Mode
Access Next
Mod
e
User EXEC mode PerleSwitch> logout
command
enable command
Privileged EXEC mode PerleSwitch# disable
command
configure
co
mmand
Global configuration mode PerleSwitch(config)# end or ex
it
command
interface
command
Interface configuration
mo
de
PerleSwitch(config-if)#
PerleSwitch(config-if-range)#
end command interface
command,
interface type,
interface number
Line configuration mode PerleSwitch(config-line)# end command interface
co
mmand,
interface type,
interface number
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: ptp {version [1|2]}
This command ptp version has an option of either 1 (use
Global PTP version 1 or 2 (use Global PTP version 2). 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.
1
IDS Switch, CLI Reference Guide 13
Using the Command-Line Interface
For example, valid values for (config)#ip {version ssh [1 | 2]}. Valid values are 1
for Protocol version 1 or 2 for Protocol version 2.
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:
PerleSwitch(config)#service dhcp<cr>
can be typed as:
PerleSwitch(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 IDS
Switch, 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:
PerleSwitch(config)#interface?
FastEthernet
GigabitEthernet
Port-Channel
Vlan
range
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.
do-exec
Run exec commands while in config mode.
IDS Switch, CLI Reference Guide 14
Using the Command-Line Interface
no
Use the no command to negate a command.
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 IDS switch. 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 IDS switch. Default user name is admin and password is perle1.
logout
Log out of the IDS switch.
IDS Switch, CLI Reference Guide 15
Using the Command-Line Interface
PerleSwitch>? (User EXEC mode)
Exec commands:
clear Reset functions
enable Switch to privilege mode
exit exit from EXEC
help Description of the interactive help
login Login as a new user
logout Logout of current user
ping Send echo messages
show Display internal settings
ssh Open a secure shell client connection
systat Display information about terminal lines
telnet Open a telnet connection
terminal Set terminal characteristics
traceroute Trace route to destination
PerleSwitch>clear ? (User EXEC mode)
alert clear alert log
ip IP
PerleSwitch#? (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
dot1x IEEE 802.1X Exec commands
erase Erase a file system
exit Exit from the EXEC
.........
PerleSwitch# boot ? (Privilege EXEC mode)
system System image file
PerleSwitch# boot system ?
backup Boot with a backup image?
PerleSwitch# boot system backup <cr>
PerleSwitch#configure <cr>
Configuring from terminal, memory, or network[terminal]? <cr>
PerleSwitch(config)# ((config)#)
PerleSwitch(config)#interface vlan 1<cr>
PerleSwitch(config-if)#(Config interface mode)
IDS Switch, CLI Reference Guide 16
User Exec Mode Chapter 2
Once you have accessed the switch, you are automatically in User Exec mode. The
following commands are valid in User EXEC mode.
clear alert
clear {alert interface [fastethernet slot / port-number] | [gigabitethernet slot /
port-number]}
Syntax
Description
clear alert interface
{alert interface
[fastethernet slot /
port-number] |
[
gigabitethernet
slot / port-number]
| }
Command Default None
Command Modes PerleSwitch>
Usage Guidelines
You can clear all the alert table messages by using the clear alert command, or you
can clear only the alerts for a specified fastethernet, gigabitethernet or portchannel
interface. See Alerts messages in this guide for information on Alerts. Repeats of the
same alert would update the time stamp on the existing alert.
Examples
This example show how to clear all the alerts from the alert table.
PerleSwitch> clear alert<cr>
This example shows you how to clear the alert table for a specified interface.
PerleSwitch> clear alert interface gigabitethernet 1/1<cr>
Related Commands
show alarm
*only applies to PRO models
2
IDS Switch, CLI Reference Guide 17
User Exec Mode
clear ip igmp snooping
clear {ip igmp snooping group ip-address-group}
Syntax
Description
clear ip igmp snooping
{ip igmp snooping
group
ip-address-group}
Command Default None
Command Modes PerleSwitch>
Usage Guidelines
The clear ip igmp snooping command allows you to manually clear the igmp table.
Examples
This example show how to immediately clear the ip igmp snooping table.
PerleSwitch> clear ip igmp snooping <cr>
Related Commands
show ip igmp
ping
ping {ip_address_host_name [data 1-32] | [repeat 1-2147483647] | [size
26-18024]}
Syntax
Description
ping
{ip_address_host_
name [data 1-32]
| [repeat
1-2147483647] |
[
size 26-18024]}
Command Default None
Command Modes PerleSwitch>
IDS Switch, CLI Reference Guide 18
User Exec Mode
show alarm
show {[alarm description port ]} | {profile [profile-name]} | {settings}
Usage Guidelines
Host name must be predefined in a host table.
Data hex pattern is from 1 to 32 hex characters.
Repeat count can be from 1-2147483647
Datagram size can be from 36-18024
Examples
This example shows you how to ping a host with an ip address of 172.16.113.44
repeating the ping request 10 times.
PerleSwitch> ping 172.16.113.44 repeat 10 <cr>
This example shows you how to ping a host with an ip address of 172.16.113.44
with hex data pattern of f1f1f1f1f1.
PerleSwitch> ping perlehost data f1f1f1f1f1<cr>
This example shows you how to ping a host with an ip address of 172.16.113.44
with a data packet size of 4o bytes.
PerleSwitch> ping perlehost size 40<cr>
Related Commands
debug
Syntax
Description
show alarm
{[alarm
description port ]}
|
{profile
alarm-profile-name
} |
{profile
profile-name} |
{settings}
Command Default None
Command Modes PerleSwitch>
IDS Switch, CLI Reference Guide 19
User Exec Mode
show alert
show {alert interface [fastethernet slot / port-number] | [gigabitethernet slot /
port-number] }
Usage Guidelines
The following port conditions are monitored by the alarm command.
1 - Link fault
2- Port not forwarding
3 - Port not operating
Examples
This example shows how to display all alarm profiles including the default alarm
profile.
PerleSwitch>show alarm profile<cr>
1:
Interfaces
Alarms
Syslog
Notifies
Relay Major
defaultPort:
Interfaces Gi1/1, Gi1/2, Gi1/3, Gi1/4, Gi1/5, Gi1/6
Alarms not-operating
Syslog not-operating
Notifies not-operating
Relay Major
PerleSwitch>show alarm settings<cr>
Alarm relay mode: De-energized:
Power Supply:
Alarm Enabled
Relay
Notifies Disabled
Syslog Enabled
Related Commands
alarm
(config-archive)
Syntax
Description
show alert
IDS Switch, CLI Reference Guide 20
User Exec Mode
show clock
show clock
{alert interface
[fastethernet slot /
port-number] |
[gigabitethernet
slot / port-number]
}
Command Default None
Command Modes PerleSwitch>
Usage Guidelines
You can show all the alert table messages by using the show alert command, or you
can show only the alerts for a specified fastethernet, gigabitethernet or portchannel
interface.
Examples
To show alerts for a specified interface execute the following command.
PerleSwitch>show alert interface gigabitethernet 1/1
Interface: Gi1/1:
Error code: PORT_SECURE_VIOLATION
Timestamp: May 4 2016 14:29:53
Count: 14
Description: Access denied to one or more connecting devices on this port.
Recommendation: Maximum allowed devices on this port are already connected,
or an unauthorized device attempted to connect on this secure port. Disconnect
the device.
Related Commands
clear alert
*only applies to PRO models
Syntax
Description
show clock
clock
Command Default None
Command Modes PerleSwitch>
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199

Perle IDS PRO User guide

Type
User guide
This manual is also suitable for

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI