Page 1
LGB1108A LGB1126A LGB1148A 10-, 26-, or 48-Port Gigabit Managed Switch Command-Line Interface (CLI) Guide Order toll-free in the U.S.: Call 877-877-BBOX (outside U.S. call 724-746-5500) Customer FREE technical support 24 hours a day, 7 days a week: Call 724-746-5500 or fax 724-746-0746 Support www.blackbox.com •...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Revision
H istory
Release Date Revision V2.60 05/20/2014 Publication date: May, 2014 Revision A1...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
CONTENTS
ABOUT
T HIS
G UIDE ........................ 2
Revision
H istory ..........................3
Chapter 1
...
Page 6
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
SNMP
C ommands
o f
C LI ..................141
Chapter 41 SSH
C ommands
o f
C LI ..................147
Chapter 42 STP
...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Operation
o f
C LI
M anagement
Chapter 1 Initial
This
chapter
explains
how
to
configure
and
manage
the
Gigabit
Managed
...
Page 8
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
CONNECTING
The
D B-‐9
s erial
p ort
o n
t he
s witch’s
f ront
p anel
i s
u sed
t o
c onnect
t o
TO
...
Page 9
Figure 2: Plug in the Console Port Figure 3: Console configure After
the
Gigabit
Managed
Switch
configures
the
IT
interface,
you
can
access
It
via
the
s witch’s
c onsole
p ort.
F or
i nstance,
i t
w ill
s how
t he
f ollowing
s creen
a nd
a sk
y ou
to
...
Page 10
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Figure 4: Console CLI interface Type “?” or “help” to get the switch help. It includes syntax or all functions explanations. The screen below is displayed.
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
AAA
C ommands
o f
C LI Chapter 2...
Page 12
AAA
This
section
shows
you
how
to
use
an
AAA
(Authentication,
Authorization,
Accounting)
server
to
provide
access
control
to
your
network.
The
AAA
server
can
be
a
TACACS+
or
RADIUS
server
to
create
and
manage
objects
that
...
Page 13
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
accounting
:
Use
t his
c ommand
t o
e nable
o r
d isable
t he
R ADIUS
accounting
...
Page 14
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
authorization:
Use
t his
c ommand
t o
c onfigure
( enable/disable)
RADIUS
A uthorization
m ode.
authorization <enable/disable>...
Page 15
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
radius:
Use
t his
c ommand
t o
c onfigure
t he
R ADIUS
S erver
detailed
...
Page 16
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
tacacs+
:
Use
t his
c ommand
t o
c onfigure
t he
T ACACS+
authentication
...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Access
C ommands
o f
C LI
Chapter 3 Access
This
s ection
s hows
y ou
h ow
t o
c onfigure
t he
a ccess
m anagement
t able
o f
the
...
Page 18
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Syntax: Clear < statistics> <None> Clear access management statistics Parameter : EXAMPLE: delete:
Use
t his
c ommand
t o
d elete
a n
a ccess
m anagement
entry.
...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Account
C ommands
o f
C LI
Chapter 4 Account
In
this
function,
only
the
administrator
can
create,
modify,
or
delete
the
username
...
Page 20
show
:
Use
t his
c ommand
t o
d isplay
u ser
a ccount
information
t hat
y ou
s et
i n
t he
s witch.
Show <name>...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
ACL
C ommands
o f
C LI
Chapter 5 ACL
The
switch
access
control
list
(ACL)
is
probably
the
most
commonly
used
object
...
Page 22
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
policy: Policy ACE keyword, the rule applies to all ports configured with the specified policy. port: Port ACE keyword, the rule applies to the specified port only. switch: Switch ACE keyword, the rule applies to all ports <port-list>...
Page 23
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
EXAMPLE: logging
:
Use
t his
c ommand
t o
c onfigure
a n
A CL
p ort
d efault
logging
...
Page 24
Syntax: policy <port-list> <1-8> <port-list> Port list, available value is from switch physical port Parameter : density, format: 1,3-5 <1-8> Policy number EXAMPLE: Use
t his
c ommand
t o
s et
a n
a cl
p ort-‐rate
o n
t he
...
Page 25
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
acl-status Show ACL status port Show ACL port configuration rate-limiter Show ACL rate limiter EXAMPLE: shutdown:
Configure
A CL
p ort
d efault
s hut
d own
o peration.
Syntax: shutdown <port-list>...
Page 26
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
state:
Use
t his
c ommand
t o
c onfigure
a n
A CL
p ort
s tate.
state <port-list>...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Aggregation
C ommands
o f
C LI
Chapter 6 Aggregation
Aggregation
configures
the
Link
Aggregation
settings.
You
can
bundle
more
...
Page 28
mode:
Use
t his
c ommand
t o
c onfigure
t he
l ink
a ggregation
traffic
d istribution
m ode.
mode dmac/ ip/ port/ smac disable/enable Syntax: Parameter : dmac Destination MAC address.
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Arp-‐inspection
C ommands
o f
C LI
Chapter 7 Arp
i nspection
The
section
describes
how
to
configure
the
switch’s
ARP
Inspection
parameters.
...
Page 30
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
mode
:
Use
t his
c ommand
t o
c onfigure
A RP
i nspection
m ode.
delete <port-list>...
Page 31
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
translate:
This
c ommand
l ets
y ou
a dd
A RP
i nspection
s tatic
e ntry.
Syntax: translate Parameter :...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Auth
C ommands
o f
C LI
Chapter 8 Auth
m ethod
This
p age
s hows
h ow
t o
c onfigure
a
u ser
a s
a uthenticated
w hen
h e
l ogs
into
...
Page 33
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
telnet Use remote RADIUS authentication. tacacs+ Use remote TACACS+ authentication. EXAMPLE: show:
Use
t his
c ommand
t o
d isplay
t he
A RP
i nspection
configuration
...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Config-‐file
C ommands
o f
C LI
Chapter 9 Config-‐file
This
s ection
d escribes
h ow
t o
e xport
a nd
i mport
t he
S witch
c onfiguration.
Any
...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
DHCP
R elay
C ommands
o f
C LI
Chapter 10 DHCP
R elay
The
...
Page 36
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
relay-‐option:
Use
t his
c ommand
t o
c onfigure
t he
D HCP
r elay
a gent
information
...
Page 37
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Syntax: show config/statistics Parameter : config The parameter sets show DHCP relay configuration. statistics The parameter sets show DHCP relay statistics. EXAMPLE: Publication date: May, 2014 Revision A1...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
DHCP
S nooping
C ommands
o f
C LI
Chapter 11 DHCP
The
s ection
d escribes
h ow
t o
c onfigure
t he
D HCP
S nooping
p arameters
o f
the
...
Page 39
port-‐mode:
Use
t his
c ommand
t o
c onfigure
D HCP
s nooping
p ort
mode.
Syntax: Mode <port-list> trusted/ untrusted <port-list> Port list, available value is from 1 to 10B format:1,3-5 Parameter : trusted Configures the port as a trusted source of the DHCP message.
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Diagnostic
C ommands
o f
C LI
Chapter 12 Diagnostic
This
section
provides
a
set
of
basic
system
diagnoses.
It
let
users
know
whether
the
system
is
operating
correctly
or
needs
to
be
fixed.
The
basic
...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Easyport
C ommands
o f
C LI
Chapter 13 Easyport
Easy
Port
provides
a
convenient
way
to
save
and
share
common
configurations.
...
Page 42
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
IP Camera. <1-4094> Access VLAN ID, available value is from 1 to 4094. <admin-edge> The parameter lets you to configure spanning tree admin-edge for IP Camera.
Page 43
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
ip-‐phone:
Use
this
command
to
configure
an
ip-‐phone
easily
on
the
s witch
t hrough
p rofile
a nd
r ule. Syntax: ip-phone <port-list>...
Page 44
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
<psec-limit> The parameter lets you configure port security maximum for IP Camera. <1-50> Max. number of MAC addresses. <psec-mode> The parameter lets you configure port security mode for IP Camera.
Page 45
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Parameter : <port-list> Port list, available value is from 1 to 10B format:1,3-5 level), below are 2 level parameter. <access-vlan> The parameter lets you configure access VLAN for IP Camera.
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
EEE
C ommands
o f
C LI
Chapter 14 EEE
The
s ection
a llows
t he
u ser
t o
i nspect
a nd
c onfigure
t he
c urrent
E EE
p ort
settings.
...
Page 47
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
EXAMPLE: show:
Use
t his
c ommand
t o
S how
E EE
i nformation. Syntax: show <cr>...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Event
C ommands
o f
C LI
Chapter 15 Event
The
function
is
used
to
set
an
Alarm
trap
and
get
the
Event
log.
The
Trap
Events
...
Page 49
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Show:
Use
this
command
to
display
trap
event
configuration
that
y ou
s et
o n
t he
s witch.
show <cr>...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Fdb
C ommands
o f
C LI
Chapter 16 Fdb
( Filtering
Filtering
Data
Base
Configuration
gathers
many
functions,
including
MAC
Table
Information,
Static
MAC
Learning,
which
cannot
be
categorized
to
...
Page 51
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
delete:
Use
t his
c ommand
t o
d elete
a
s tatic
M AC
a ddress
e ntry
that
...
Page 52
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
learning:
Use
t his
c ommand
t o
c onfigure
t he
l earning
m ode
o f
switch
...
Page 53
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
<mac-address> the parameter is MAC address, format 0a-1b-2c-3d-4e-5f. <port-list> The physical port’s available value is from 1 to 28 format: 1,3-5. <1-4094> VLAN ID, available value is from 1 to 4094. static-mac Show static MAC address.
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Firmware
C ommands
o f
C LI
Chapter 17 firmware
This
section
describes
how
to
upgrade
Firmware.
The
Switch
can
be
enhanced
...
Page 55
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
upgrade
:
Use
t his
c ommand
t o
u pgrade
t he
s ystem
f irmware
t o
an
...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
GARP
C ommands
o f
C LI
Chapter 18 GARP
The
Generic
Attribute
Registration
Protocol
(GARP)
provides
a
generic
framework
...
Page 57
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
join-‐time: Use
t his
c ommand
t o
s et
t he
G ARP
j oin
t imer
configuration
...
Page 58
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
If you didn’t set the GARP environment already, then the switch will show “Set leavetimer failed”. show:
Use
this
command
to
display
the
GARP
configuration
that
...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
GVRP
C ommands
o f
C LI
Chapter 19 GVRP
GVRP
is
an
application
based
on
Generic
Attribute
Registration
Protocol
(GARP),
...
Page 60
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
control:
Use
t his
c ommand
t o
e nable
o r
d isable
t he
G VRP
globally.
Page 61
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
show:
Use
t his
c ommand
t o
d isplay
t he
G VRP
f unction
information.
...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
HTTPs
C ommands
o f
C LI
Chapter 20 Https
This
section
shows
you
how
to
use
HTTPS
to
securely
access
the
Switch.
HTTPS
is
a
secure
communication
protocol
that
combines
authentication
...
Page 63
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
show:
Use
this
command
to
display
the
all
HTTPs
settings
on
the
s witch
o r
s tatus
i nformation.
show <cr>...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
IGMP
C ommands
o f
C LI
Chapter 21 IGMP
The
function,
is
used
to
establish
which
multicast
groups
can
forward
a
multicast
...
Page 65
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
snooping Set IGMP Snooping Mode ssm-range Set IGMP SSM Range state Enable/Disable per-VLAN IGMP Snooping Mode throttling Set per-port Throttling Set per-VLAN Unsolicited Report Interval compatibility: Use
...
Page 66
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Parameter : <port-list> The switch’s physical port; available value is from 1 to 28; format: 1,3-5. disable: To disable the port fast-leave function. enable: To enable the port fast-leave function When you enable IGMP fast-leave processing, the switch immediately removes a port when it detects an IGMP...
Page 67
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Syntax: lmqi <vlan-list> <0-31744> <vlan-list>: VLAN list, available value is from 1 to 4094, and the Parameter : format is: 1,3-5. <0-31744>: Range:0~31744 tenths of sec, Default:100 tenths of sec EXAMPLE: proxy:
...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
IP
C ommands
o f
C LI
Chapter 22 IP
IP
is
an
acronym
for
Internet
Protocol.
It
is
a
protocol
used
for
communicating
...
Page 69
dns-‐proxy: Use
t his
c ommand
t o
c onfigure
D NS
p roxy.
dns-proxy disable/ enable Syntax: disable: Disable DNS proxy operation. Parameter : enable: Enable DNS proxy operation. EXAMPLE: mgmt-‐vlan:
...
Page 70
show:
Use
t his
c ommand
t o
s how
I P
i nformation.
show <cr> Syntax: Parameter : <cr> Press the carriage return key. EXAMPLE: Publication date: May., 2014 Revision A1...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
IP-‐Source-‐Guard
C ommands
o f
C LI
Chapter 23 IP-‐Source
The
section
describes
how
to
configure
the
IP
Source
Guard
detailed
parameters
of
the
switch.
You
can
use
the
IP
Source
Guard
configure
to
...
Page 72
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
<ip-address>: IP address <ip-mask>: IP mask for allowed IP address EXAMPLE: limit:
Use
t his
c ommand
t o
s et
u p
I P
s ource
g uard
p ort
limitation
...
Page 73
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
port-‐mode:
Use
t his
c ommand
t o
s et
I P
s ource
g uard
p ort
m ode.
Move <port-list>...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
IPv6
C ommands
o f
C LI
Chapter 24 IPv6
This
section
describes
how
to
configure
the
switch-‐managed
IPv6
information.
...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
a colon separating each field (:). For example, 'fe80::215:c5ff:fe03:4dc7'. The symbol '::' is a special syntax that can be used as a shorthand way of representing multiple 16-bit groups of contiguous zeros;...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Configure the LACP key mode Configure the LACP mode role Configure the LACP role Show Show LACP information clear:
Use
...
Page 77
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Use
t his
c ommand
to
c onfigure
t he
L ACP
r ole.
role <port-list>...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
LLDP
C ommands
o f
C LI
Chapter 26 LLDP
The
s witch
s upports
L LDP.
F or
c urrent
i nformation
o n
y our
s witch
m odel,
the
...
Page 79
clear:
Use
t his
c ommand
t o
c lear
L LDP
s tatistics.
clear Syntax: Parameter : <cr> EXAMPLE: delay
:
Use
t his
c ommand
t o
c onfigure
L LDP
T x
d elay.
Publication date: May., 2014 Revision A1...
Page 80
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Syntax: delay <1-8192> Parameter : <1-8192>: LLDP transmission delay EXAMPLE: hold:
Use
t his
c ommand
t o
c onfigure
L LDP
T x
h old
v alue.
Syntax: hold <2-10>...
Page 81
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
mode:
Use
t his
c ommand
t o
c onfigure
t he
L LDP
m ode.
Syntax: mode <port-list>...
Page 82
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Syntax: reinit <1-10> <1-10>: LLDP reinit delay Parameter : EXAMPLE: show:
Use
t his
c ommand
t o
s how
L LDP
i nformation.
Syntax: show config/ info/ statistics Parameter :...
LLDP
M edia
C ommands
o f
C LI
Chapter 27 LLDP
M edia
Media
E ndpoint
D iscovery
i s
a n
e nhancement
o f
L LDP,
k nown
a s
LLDP-‐MED,
...
Page 84
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
comm-name: Postal community name. country-code: The two-letter ISO 3166 country code. county: County, parish, gun (Japan), district. district: City division, borough, city district, ward, chou(Japan). floor: Floor house-no: House number house-no-suffix: House number suffix...
Page 85
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
specified. datum : Map datum nad83-mllw North American Datum 1983, CRS Code 4269, Prime Meridian Name: Greenwich; The associated vertical datum is Mean Lower Low Water (MLLW).
Page 86
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
ecs:
Use
t his
c ommand
t o
c onfigure
L LDP-‐MED
E mergency
Call
...
Page 87
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
such as PCs or laptops. This class of endpoints frequently does not support multiple VLANs, if at all,and are typically configured to use an untagged VLAN or a single tagged data specific VLAN streaming-video Streaming Video for use by broadcast or...
Page 88
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
EXAMPLE: show:
Use
t his
c ommand
t o
d isplay
L LDP-‐MED
i nformation. ...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Loop
p rotection
C ommands
o f
C LI
Chapter 28 Loop
The
l oop
d etection
i s
u sed
t o
d etect
t he
p resence
o f
t raffic.
W hen
s witch
receives
...
Page 90
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
port
a ction.
port-action <port-list> both/ log/ shutdown Syntax: Parameter : <port-list>: available value is from switch physical port density, format: 1,3-5 both: Shut down the port and log event.
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
information.
show config/ status Syntax: Parameter : config: Show loop protection configuration status: Show loop protection status EXAMPLE: shutdown:
Use
t his
c ommand
t o
c onfigure
l oop
p rotection
shutdown
...
Page 92
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Port
r espectively,
s o,
t he
traffic
r eceived
b y
P ort
B
w ill
b e
c opied
t o
P ort
A
f or
m onitoring. Table 27: Port Mirroring Commands Command Function...
Page 93
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Publication date: May, 2014 Revision A1...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
MLD
C ommands
o f
C LI
Chapter 30 MLD
A
n etwork
n ode
t hat
a cts
a s
a
s ource
o f
I Pv6
m ulticast
t raffic
i s
o nly
a n
indirect
...
Page 95
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
state Enable/Disable the per-VLAN MLD Snooping throttling Set per-port Throttling Set the per-VLAN Unsolicited Report Interval compatibility:
Use
t his
c ommand
t o
s et
t he
V ersions
o f
M LD
Operating
...
Page 96
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
will
b e
f iltered. filtering <port-list> <ipv6-address> Syntax: Parameter : <port-list> available value is from switch physical port density, format: 1,3-5 <ipv6-address>: IPv6 address is in 128-bit records represented as eight fields of up to four hexadecimal digits with a colon separating each...
Page 97
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Enable: Enable MLD proxy. EXAMPLE: qi:
Use
t his
c ommand
t o
s et
t he
p er-‐VLAN
Q uery
I nterval. Syntax: qi <vlan-list>...
Page 98
router:
Use
t his
c ommand
t o
s et
R outer
P ort. router <port-list> disable/ enable Syntax: <port-list> available value is from switch physical port density, Parameter : format: 1,3-5. disable: Disable router port. Enable: Enable router port.
Page 99
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Syntax: snooping disable/ enable disable: Disable the global MLD snooping. Parameter : Enable: Enable the global MLD snooping. EXAMPLE: ssm-‐range:
Use
t his
c ommand
t o
s et
M LD
S SM
R ange.
Syntax: ssm-range <ipv6-address>...
Page 100
Syntax: uri <vlan-list> <0-31744> <vlan-list>: VLAN list, available value is from 1 to 4094 format: 1,3-5. Parameter : <0-31744>: Range:0–31744 sec, default: 1 sec EXAMPLE: Publication date: May., 2014 Revision A1...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
MVR
C ommands
o f
C LI
Chapter 31 MVR
The
MVR
feature
enables
multicast
traffic
forwarding
on
the
Multicast
VLAN.
...
Page 102
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
<ipmc-address>: Add a new entry to the group allow table. EXAMPLE: immediate-‐leave:
Use
this
command
to
configure
the
MVR
port
state
for
immediate
...
Page 103
port-‐type:
Use
t his
c ommand
t o
c onfigure
M VR
p ort
t ype. port-type <port-list> receiver/ source Syntax: Parameter : <port-list>: available value is from switch physical port density, format: 1,3-5 receiver: Define the port as a receiver port.
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
NAS
C ommands
o f
C LI
Chapter 32 NAS
The
section
describes
how
to
configure
the
Network
Access
Server
parameters
...
Page 105
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
clear:
Use
t his
c ommand
t o
c lear
N AS
s tatistics.
clear <port-list>...
Page 106
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
hold-‐time:
Use
t his
c ommand
t o
c onfigure
t he
t ime
i n
s econds
before
...
Page 107
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Syntax: port-radius-qos <port-list> disable/ enable <port-list>: available value is from switch physical port density, Parameter : format: 1,3-5 disable: Disable RADIUS-assigned QoS. Enable: Enable RADIUS-assigned QoS.
Page 108
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
QoS
m ode.
radius-qos disable/ enable Syntax: Parameter : disable: Disable RADIUS-assigned QoS. Enable: Enable RADIUS-assigned QoS. EXAMPLE: radius-‐vlan:
Use
...
Page 109
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
reatart:
Use
t his
c ommand
t o
r estart
t he
N AS
a uthentication
process.
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Port
c onfiguration
C ommands
o f
C LI
Chapter 33 Port
This
chapter
describes
how
to
view
the
current
port
configuration
and
how
...
Page 111
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
<LINE>: Up to 47 characters describing this interface. EXAMPLE: excessive-‐collision:
Use
t his
c ommand
t o
c onfigure
e xcessive
c ollision
operation.
...
Page 112
power-‐saving:
Use
t his
c ommand
t o
c onfigure
p ower
s aving
operation.
power-saving <port-list> actiphy/ disable/ dynamic/ enable Syntax: Parameter : <port-list>: available value is from switch physical port density, format: 1,3-5 actiphy: Enable ActiPHY power control.
Page 113
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
operation.
speed-duplex <port-list> 10-full/ 10-half…/ 100fx-ams Syntax: Parameter : <port-list>: available value is from switch physical port density, format: 1,3-5 10-full: Force speed duplex to 10-full operation.
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Port
s ecurity
C ommands
o f
C LI
Chapter 34 Port
s ecurity
This
...
Page 115
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
aging:
Use
t his
c ommand
t o
c onfigure
t he
a ging
m ode
a nd
period.
Page 116
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Parameter : <port-list>: available value is from switch physical port density, format: 1,3-5 disable: Disable port security on selected port. enable: Enable port security on selected port. EXAMPLE: reopen:
...
Page 117
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Syntax: show config/ switch-status port-status <port> config: Show port security configuration Parameter : port-status: Show MAC addresses learned by port security. <port>: Port number, available value is from switch physical port density.
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Privilege
l evel
C ommands
o f
C LI
Chapter 35 privilege
This
page
provides
an
overview
of
the
privilege
levels.
The
switch
provides
...
Page 119
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Publication date: May, 2014 Revision A1...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Private
V LAN
C ommands
o f
C LI
Chapter 36 Private
VLAN
In
a
private
VLAN,
communication
between
ports
in
that
private
VLAN
is
not
...
Page 121
private-‐vlan:
Use
t his
c ommand
t o
c onfigure
a
p rivate
V LAN
g roup.
private-vlan <1-X> Syntax: <1-X>: Private VLAN ID. The allowed range for a Private VLAN ID is the Parameter : same as the switch port number range.
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
QoS
C ommands
o f
C LI
Chapter 37 QoS
The
s witch
s upports
f our
Q oS
q ueues
p er
p ort
w ith
s trict
o r
w eighted
f air
queuing
...
Page 123
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
port-scheduler QoS egress port schedulers port-shaper Port shaper Add or modify QoS control entry queue-shaper Queue shaper show Show QoS information storm Configure storm rate control tag-remarking QoS egress port tag remarking...
Page 124
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
EXAMPLE: dscp-‐map:
Use
t his
c ommand
t o
c onfigure
D SCP
m apping
t able.
Syntax: dscp-map <dscp-list>...
Page 125
Syntax: dscp-trust <port-list> <dscp-list>: DSCP list, format : 1,3,5-7 Parameter : disable: Set DSCP as untrusted DSCP. enable: Set DSCP as trusted DSCP. EXAMPLE: port-‐classify:
Use
t his
c ommand
t o
c onfigure
Q oS
i ngress
p ort
classification.
...
Page 126
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
format: 1,3-5 Switch(qos)# port-classify dscp 3 enable Switch(qos)# show port-classify <0-7>: Priority Code Point Port QoS class DP level Tag class. DSCP Based ---- --------- --------...
Page 127
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
port-‐dscp:
Use
t his
c ommand
t o
c onfigure
Q oS
p ort
D SCP.
Syntax: port-dscp <port-list>...
Page 128
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
EXAMPLE: port-‐policer:
Use
t his
c ommand
t o
d o
P ort
p olicer.
port-policer flow-control/ mode <port-list>...
Page 129
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
<1-100>: Scheduler weight. EXAMPLE: port-‐shaper:
Use
t his
c ommand
t o
c onfigure
P ort
s haper.
Syntax: port-shaper mode <port-list>...
Page 130
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Parameter : <1-256>: If the QCE ID parameter <qce_id> is specified and an entry with this QCE ID already exists, the QCE will be modified. Otherwise, a new QCE will be added.
Page 131
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
any: Don't care <0-7>: Priority Code Point show: Show QCE smac: Configure source MAC address for this QCE <oui-address>: A frame that hits this QCE matches this source OUI address value.
Page 132
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Syntax: show <port-list> class-map: Show QoS class and DP level to DSCP mapping. Parameter : dscp-map: Show DSCP to QoS class and DP level mapping. dscp-translation: Show DSCP ingress and egress translation.
Page 133
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Switch(qos)# show port-dscp Port DSCP translation Ingress classification Egress remark ---- ---------------- ---------------------- ------------- Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Switch(qos)# show port-map 1 Port...
Page 134
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Switch(qos)# show qce 200 Switch(qos)# show qcl-status combined Number of QCEs: 0 Switch(qos)# show qcl-status conflicts Number of QCEs: 0 Switch(qos)# show qcl-status static Number of QCEs: 0 Switch(qos)# show qcl-status voice-vlan Switch(qos)# show queue-shaper 1...
Page 135
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Switch(qos)# show scheduler-mode Port Mode ---- -------- Strict Strict Strict Switch(qos)# show scheduler-weight 1 Port Queue Weight ---- ----- --------- (17%) (17%) (17%) (17%) (17%)
Page 136
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Kfps: Rate in kilo frame per second (Kfps) Mbps: Rate in mega bits per second (Mbps) fps: Rate in frame per second (fps) <1-10000>/ <100-10000000>: Rate EXAMPLE: tag-‐remarking:
...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Reboot
C ommands
o f
C LI
Chapter 38 Reboot
This
section
describes
how
to
restart
the
switch
for
maintenance.
Any
configuration
...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
SFlow
C ommands
o f
C LI
Chapter 39 SFlow
The
sFlow
Collector
configuration
for
the
switch
can
be
monitored
and
modified
...
Page 139
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
none: Sampling is disabled <0-4095>: If parameter sample_rate is 'N' then 1/N of packets is sampled. <14-200>: Configures the size of the header of the sampled frame to be copied to the Queue for further processing.
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Single
I P
C ommands
o f
C LI
Chapter 40 Single
IP
Single
...
Page 141
Syntax: mode disable/ master/ slave disable: Disable single ip operation Parameter : master: Configure as master slave: Configure as slave EXAMPLE: show:
Use
t his
c ommand
t o
s how
s ingle
I P
i nformation.
Syntax: show config/ info Parameter :...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
SNMP
C ommands
o f
C LI
Chapter 41 SNMP
Any
Network
Management
System
(NMS)
running
the
Simple
Network
Management
...
Page 143
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
<WORD>: group name: max 32 chars Parameter : any: Security Model usm: Security Model AuthNoPriv: Security Level. If security_model is not usm, the security_level value must be NoAuthNoPriv.
Page 144
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Parameter : access: Delete snmpv3 access entry <1-14>: table index community: Delete community entry <1-4>: table index group: Delete snmpv3 groups entry <1-14>: table index trap: Delete trap entry <1-6>: table index...
Page 145
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Syntax: group <WORD> usm/ v1/ v2c <WORD>:user name: max 32 chars Parameter : usm: Security Model v1: Security Model v2c: Security Model EXAMPLE: mode:
...
Page 146
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Parameter : access: Show snmpv3 access entry community: Show snmpv3 community entry group: Show snmpv3 groups entry mode: Show snmp configuration snmp: Show snmp community configuration trap: Show snmp trap entry user: Show snmpv3 users entry view: Show snmpv3 views entry...
Page 147
Syntax: user <WORD> AuthNoPriv/ AuthPriv/ NoAuthNoPriv MD5/ SHA <WORD> Parameter : <WORD>: user name: max 32 chars AuthNoPriv: Security_Level AuthPriv: Security_Level NoAuthNoPriv: Security_Level MD5: Authentication Protocol SHA: Authentication Protocol <WORD>: MD5 Authentication Password is restricted to 8 - 32 EXAMPLE: view:
...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
SSH
C ommands
o f
C LI
Chapter 42 SSH
This
section
shows
you
how
to
use
SSH
(Secure
SHell)
to
securely
access
the
...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
STP
C ommands
o f
C LI
Chapter 43 STP
The
Spanning
Tree
Protocol
(STP)
can
be
used
to
detect
and
disable
network
loops,
and
to
provide
backup
links
between
switches,
bridges
or
...
Page 150
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
p-AutoEdge Set the STP autoEdge port parameter p-bpduGuard Set the bpduGuard port parameter p-cost Set the STP port instance path cost p-edge Set the STP adminEdge port parameter p-mode Set the STP enabling for a port...
Page 151
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
EXAMPLE: MaxHops:
Use
t his
c ommand
t o
s et
M axHops. Syntax: maxhops <6-40> <6-40>: STP BPDU MaxHops (6-40)) Parameter : EXAMPLE:...
Page 152
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
bpduFilter:
Use
t his
c ommand
t o
e nable
o r
d isable
t he
e dge
p ort
BPDU
...
Page 153
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
<0-7>: STP bridge instance no (0-7, CIST=0, MSTI1=1, ...) <1-4094>: available from 1 to 4094 EXAMPLE: p-‐AutoEdge:
Use
t his
c ommand
t o
s et
t he
S TP
a utoEdge
p ort
parameter.
Page 154
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Syntax: p-cost <0-7> aggregations/<port-list> <0-200000000> <0-7>: STP bridge instance no (0-7, CIST=0, MSTI1=1, ...) Parameter : aggregations: available value is for aggregated port <port-list>: available value is from switch physical port density, format: 1,3-5 <0-200000000>: STP port path cost (1-200000000) or the value zero...
Page 155
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
p-‐p2p:
Use
t his
c ommand
t o
s et
t he
S TP
p oint2point
p ort.
p-p2p aggregations/<port-list>...
Page 156
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
parameter.
r-role aggregations/<port-list> disable/ enable Syntax: Parameter : aggregations: available value is for aggregated port <port-list>: available value is from switch physical port density, format: 1,3-5 disable: Disable MSTP restricted role.
Page 157
Syntax: show CName/ Statistics/ instance/ msti-vlan/ msti-vlan / pconf show Status/ p-config <0-7> CName: Show MSTP Configuration name. Parameter : Statistics: Show STP port statistics. Status: Show STP Bridge status. <0-7>: STP bridge instance no (0-7, CIST=0, MSTI1=1, ...) instance: Show instance status. msti-vlan: Show MSTP MSTI VLAN mapping configuration.
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Syslog
C ommands
o f
C LI
Chapter 44 Syslog
The
S yslog
i s
a
s tandard
f or
l ogging
p rogram
m essages.
I t
a llows
separation
...
Page 159
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
level:
c Use
t his
c ommand
t o
C onfigure
s yslog
l evel. Syntax: level <0-7>...
Page 160
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
mode:
Use
t his
c ommand
t o
c onfigure
s yslog
m ode.
Syntax: mode disable/ enable Parameter :...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
System
C ommands
o f
C LI
Chapter 45 System
After
you
login,
the
switch
shows
you
the
system
information.
This
page
is
...
Page 162
Syntax: name <WORD> <WORD>: Up to 255 characters describing device name Parameter : EXAMPLE: show:
Use
t his
c ommand
t o
s how
s ystem
i nformation.
Syntax: show <cr> <cr> Press the carriage return key. Parameter : EXAMPLE: Publication date: May., 2014...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
System
t ime
C ommands
o f
C LI
Chapter 46 Time
This
page
configures
the
switch
Time,
including
Time
Configuration
and
NTP
...
Page 164
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Parameter : disable: Disable Daylight Savings operation. enable: Enable Daylight Savings operation. <1-1440>: Minute. Time Set Offset. By-dates: Manually enter day and time that DST starts and ends. <YYYY:MM:DD>: Day that DST starts <HH:MM>: Time that DST starts <YYYY:MM:DD>: Day that DST ends...
Page 165
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
< MM- DD-YYYY >: Date and time format is MM-DD-YYYY HH:MM:SS < YYYY-DD-MM >: Date and time format is YYYY-MM-DD HH:MM:SS < 12Hours >: The time is always represented in the 12-hour system <...
Page 166
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
time-‐zone:
Use
t his
c ommand
t o
c onfigure
s ystem
t ime
z one.
time-zone <HH:MM>...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
UPnP
C ommands
o f
C LI
Chapter 47 UPnP
UPnP
i s
a n
a cronym
f or
U niversal
P lug
a nd
P lay.
T he
g oals
o f
U PnP
a re
t o
allow
devices
to
connect
seamlessly
and
to
simplify
the
implementation
...
Page 168
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
EXAMPLE: ttl:
Use
t his
c ommand
t o
c onfigure
t he
T TL
v alue
o f
t he
I P
header
...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
VCL
C ommands
o f
C LI
Chapter 48 VCL
VLAN
Control
List
indicates
two
types
of
VLANs:
MAC
address-‐based
VLAN
...
Page 170
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
<0x00-0xff>: DSAP value <0x00-0xff>: SSAP value snap: Delete protocol-based VLAN SNAP protocol to group mapping. <oui-address>: address, format 00-40-c7 <0x0000-0xffff>: Protocol ID is the Ethernet type field value for the protocol running on top of SNAP.
Page 171
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
<0x00-0xff>: SSAP value snap: protocol-based VLAN SNAP protocol to group mapping <oui-address>: address, format 00-40-c7 <0x0000-0xffff>: Protocol ID is the Ethernet type field value for the protocol running on top of SNAP.
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
VLAN
C ommands
o f
C LI
Chapter 49 VLAN
You
can
assign
a
specific
VLAN
for
management.
The
management
VLAN
is
...
Page 173
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
access: Untag all frames. hybrid: Tag all frames except VLAN ID same as PVID. trunk: Tag all frames. EXAMPLE: forbidden:
Use
...
Page 174
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
format: 1,3-5 disable: Disable ingress filtering. enable: Enable ingress filtering. If ingress port is not a member of the classified VLAN of the frame, the frame is discarded. EXAMPLE: port-‐type:
...
Page 175
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Parameter : forbidden: Show VLAN forbidden group port-config: Show VLAN port configuration port-status: Show VLAN port status combined: VLAN port status for combined VLAN Users gvrp: VLAN port status for GVRP mstp: VLAN port status for MSTP mvr: VLAN port status for MVR...
Page 176
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
custom
S -‐ports.
This
i s
a
g lobal
s etting
f or
a ll
t he
c ustom
S -‐ports.
tpid Syntax: Parameter :...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Voice
V LAN
C ommands
o f
C LI
Chapter 50 Voice
VLAN
Voice
...
Page 178
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
delete:
Use
t his
c ommand
t o
d elete
a
c ommand.
delete oui <oui-address>...
Page 179
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Syntax: port-mode <port-list> auto/ disable/ force <port-list>: available value is from switch physical port density, Parameter : format: 1,3-5 auto: Enable auto detect mode. It detects whether there is VoIP phone attached on the specific port and configures the Voice VLAN members automatically.
Global
C ommands
o f
C LI
Chapter 51 Global
Global
commands
are
probably
the
most
commonly
used
commands
in
the
C LI
c onsole.
U se
f or
g lobal
c onfiguration
a t
a ny
l evel
o f
c ommand. Table: Global Commands Command Function...
Page 181
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
Parameter : <cr>: Press the carriage return key. EXAMPLE: history:
Use
t his
c ommand
t o
s how
a
l ist
o f
p reviously
r un
commands.
...
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
logout:
Use
t his
c ommand
t o
d isconnect. logout Syntax: <cr>: Press the carriage return key. Parameter : EXAMPLE: quit:
...
Page 183
CLI
R eference
G uide
Copyright
2015.
Black
Box
Corporation.
save:
Use
t his
c ommand
t o
s ave
a
r unning
c onfiguration.
Syntax: save start/ user Parameter :...
Page 184
About Black Box Black Box provides an extensive range of networking and infrastructure products. You’ll find everything from cabinets and racks and power and surge protection products to media converters and Ethernet switches all supported by free, live 24/7 Tech support available in 60 seconds or less.
Need help?
Do you have a question about the LGB1108A and is the answer not in the manual?
Questions and answers