15
Preface
The Lenovo RackSwitch G8332 ISCLI—Industry Standard CLI Command Reference for
Lenovo Enterprise Network Operating System 8.4 describes how to configure and use
the Enterprise NOS 8.4 software with your RackSwitch G8332 (referred to as G8332
throughout this document). This guide lists each command, together with the
complete syntax and a functional description, from the IS Command Line Interface
(ISCLI).
For documentation on installing the switches physically, see the Lenovo Installation
Guide for your RackSwitch G8332. For details about configuration and operation of
your G8332, see the Lenovo RackSwitch G8332 Application Guide for Lenovo Enterprise
Network Operating System 8.4.
16 G8332 Command Reference for ENOS 8.4
Who Should Use This Book
This book is intended for network installers and system administrators engaged in
configuring and maintaining a network. The administrator should be familiar with
Ethernet concepts, IP addressing, Spanning Tree Protocol, and SNMP
configuration parameters.
Preface 17
How This Book Is Organized
Chapter 1, “ISCLI Basics“, describes how to connect to the switch and access the
information and configuration commands. This chapter provides an overview of
the command syntax, including command modes, global commands and
shortcuts.
Chapter 2, “Information Commands“, shows how to view switch configuration
parameters.
Chapter 3, “Statistics Commands“, shows how to view switch performance statistics.
Chapter 4, “Configuration Commands“, shows how to configure switch system
parameters, ports, VLANs, Spanning Tree Protocol, SNMP, Port Mirroring, IP
Routing, Link Aggregation and more.
Chapter 5, “Operations Commands“, shows how to use commands which affect
switch performance immediately, but do not alter permanent switch
configurations (such as temporarily disabling ports). The commands describe how
to activate or deactivate optional software features.
Chapter 6, “Boot Options“, describes the use of the primary and alternate switch
images, how to load a new software image and how to reset the software to factory
defaults.
Chapter 7, “Maintenance Commands“, shows how to generate and access a dump of
critical switch state information, how to clear it and how to clear part or all of the
forwarding database.
Appendix A, “Enterprise NOS System Log Messages“, shows a listing of syslog
messages.
Appendix B, “Getting help and technical assistance“, lists the resources available
from Lenovo to assist you.
Appendix C, “Notices“, displays Lenovo legal information.
“Index” includes pointers to the description of the key words used throughout the
book.
18 G8332 Command Reference for ENOS 8.4
Typographic Conventions
The following table describes the typographic styles used in this book.
Table 1. Typographic Conventions
Typeface or Symbol
Meaning
plain fixedwidth
text
This type is used for names of commands, files, and
directories used within the text. For example:
View the readme.txt file.
It also depicts on‐screen computer output and prompts.
bold fixedwidth
text
This bold type appears in command examples. It shows
text that must be typed in exactly as shown. For
example:
show sysinfo
bold body text
This bold type indicates objects such as window names,
dialog box names, and icons, as well as user interface
objects such as buttons, and tabs.
italicized body text
This italicized type indicates book titles, special terms, or
words to be emphasized.
angle brackets < >
Indicate a variable to enter based on the description
inside the brackets. Do not type the brackets when
entering the command.
Example: If the command syntax is
ping
you enter
ping 192.32.10.12
braces {}
Indicate required elements in syntax descriptions where
there is more than one option. You must choose only one
of the options. Do not type the braces when entering the
command.
Example: If the command syntax is
show portchannel {<1‐208>|hash|information}
you enter:
show portchannel <1‐208>
or
show portchannel hash
or
show portchannel information
Preface 19
brackets []
Indicate optional elements in syntax descriptions. Do
not type the brackets when entering the command.
Example: If the command syntax is
show interface ip [<1‐128>]
you enter
show interface ip
or
show interface ip <1‐128>
vertical line |
Separates choices for command keywords and
arguments. Enter only one of the choices. Do not type
the vertical line when entering the command.
Example: If the command syntax is
show portchannel {<1‐208>|hash|information}
you must enter:
show portchannel <1‐208>
or
show portchannel hash
or
show portchannel information
Table 1. Typographic Conventions (continued)
Typeface or Symbol
Meaning
21
Chapter 1. ISCLI Basics
Your RackSwitch G8332 is ready to perform basic switching functions right out of
the box. Some of the more advanced features, however, require some
administrative configuration before they can be used effectively.
This guide describes the individual ISCLI commands available for the G8332.
The ISCLI provides a direct method for collecting switch information and
performing switch configuration. Using a basic terminal, the ISCLI allows you to
view information and statistics about the switch, and to perform any necessary
configuration.
This chapter explains how to access the Industry Standard Command Line
Interface (ISCLI) for the switch.
22 G8332 Command Reference for ENOS 8.4
ISCLI Command Modes
The ISCLI has three major command modes listed in order of increasing privileges,
as follows:
User EXEC mode
This is the initial mode of access. By default, password checking is disabled for
this mode, on console.
Privileged EXEC mode
This mode is accessed from User EXEC mode. This mode can be accessed using
the following command: enable
Global Configuration mode
This mode allows you to make changes to the running configuration. If you save
the configuration, the settings survive a reload of the G8332. Several sub‐modes
can be accessed from the Global Configuration mode. For more details, see
Table 2. This mode can be accessed using the following command: configure
terminal
Each mode provides a specific set of commands. The command set of a
higher‐privilege mode is a superset of a lower‐privilege mode—all lower‐privilege
mode commands are accessible when using a higher‐privilege mode.
The following table lists the ISCLI command modes.
Table 2. ISCLI Command Modes
Command Mode/Prompt
Command used to enter or exit
User EXEC
RS G8332>
Default mode, entered automatically on console
Exit: exit or logout
Privileged EXEC
RS G8332#
Enter Privileged EXEC mode, from User EXEC mode:
enable
Exit to User EXEC mode: disable
Quit ISCLI: exit or logout
Global Configuration
RS G8332(config)#
Enter Global Configuration mode, from Privileged EXEC mode:
configure terminal
Exit to Privileged EXEC: end or exit
Interface IP
RS G8332(configipif)#
Enter Interface IP Configuration mode, from Global
Configuration mode:
interface ip <1‐128>
Exit to Global Configuration mode: exit
Exit to Privileged EXEC mode: end
Chapter 1: ISCLI Basics 23
Interface loopback
RS G8332(configiploopback)#
Enter Interface Loopback Configuration mode, from Global
Configuration mode:
interface loopback <1‐5>
Exit to Global Configuration mode: exit
Exit to Privileged EXEC mode: end
Interface port
RS G8332(configif)#
Enter Port Configuration mode, from Global Configuration
mode:
interface port
Exit to Privileged EXEC mode: exit
Exit to Global Configuration mode: end
Interface PortChannel
RS G8332(configPortChannel)#
Enter PortChannel Configuration mode, from Global
Configuration mode:
interface portchannel {<1‐208>|lacp }
Exit to Privileged EXEC mode: exit
Exit to Global Configuration mode: end
VLAN
RS G8332(configvlan)#
Enter VLAN Configuration mode, from Global Configuration
mode:
vlan
Exit to Global Configuration mode: exit
Exit to Privileged EXEC mode: end
Router OSPF
RS G8332(configrouterospf)#
Enter OSPF Configuration mode, from Global Configuration
mode:
router ospf
Exit to Global Configuration mode: exit
Exit to Privileged EXEC mode: end
Router OSPFv3
RS G8332(configrouterospf3)#
Enter OSPFv3 Configuration mode, from Global Configuration
mode:
ipv6 router ospf
Exit to Global Configuration mode: exit
Exit to Privileged EXEC mode: end
Router BGP
RS G8332(configrouterbgp)#
Enter BGP Configuration mode, from Global Configuration
mode:
router bgp
Exit to Global Configuration mode: exit
Exit to Privileged EXEC mode: end
Table 2. ISCLI Command Modes (continued)
Command Mode/Prompt
Command used to enter or exit
24 G8332 Command Reference for ENOS 8.4
Router RIP
RS G8332(configrouterrip)#
Enter RIP Configuration mode, from Global Configuration
mode:
router rip
Exit to Global Configuration mode: exit
Exit to Privileged EXEC mode: end
Route Map
RS G8332(configroutemap)#
Enter Route Map Configuration mode, from Global
Configuration mode:
routemap <1‐255>
Exit to Global Configuration mode: exit
Exit to Privileged EXEC mode: end
Router VRRP
RS G8332(configvrrp)#
Enter VRRP Configuration mode, from Global Configuration
mode:
router vrrp
Exit to Global Configuration mode: exit
Exit to Privileged EXEC mode: end
PIM Component
RS G8332(configippimcomp)#
Enter Protocol Independent Multicast (PIM) Component
Configuration mode, from Global Configuration mode:
ip pim component <1‐2>
Exit to Global Configuration mode: exit
Exit to Privileged EXEC mode: end
IKEv2 Proposal
RS G8332(configikev2prop)#
Enter IKEv2 Proposal Configuration mode, from Global
Configuration mode:
ikev2 proposal
Exit to Global Configuration mode: exit
Exit to Privileged EXEC mode: end
MLD Configuration
RS G8332(configroutermld)#
Enter Multicast Listener Discovery Protocol Configuration
mode, from Global Configuration mode:
ipv6 mld
Exit to Global Configuration mode: exit
Exit to Privileged EXEC mode: end
MST Configuration
RS G8332(configmst)#
Enter Multiple Spanning Tree Protocol Configuration mode,
from Global Configuration mode:
spanningtree mst configuration
Exit to Global Configuration mode: exit
Exit to Privileged EXEC mode: end
Table 2. ISCLI Command Modes (continued)
Command Mode/Prompt
Command used to enter or exit
Chapter 1: ISCLI Basics 25
OpenFlow Instance
RS G8332(configopenflow
instance)#
Enter OpenFlow Instance Configuration mode, from Global
Configuration mode:
openflow instance <1‐2>
Exit to Global Configuration mode: exit
Exit to Privileged EXEC mode: end
VSI Database
RS G8332(confvsidb)#
Enter Virtual Station Interface Database Configuration mode,
from Global Configuration mode:
virt evb vsidb
Exit to Global Configuration mode: exit
Exit to Privileged EXEC mode: end
EVB Profile
RS G8332(confevbprof)#
Enter Edge Virtual Bridging VSI Type Profile Configuration
mode, from Global Configuration mode:
virt evb profile <1‐16>
Exit to Global Configuration mode: exit
Exit to Privileged EXEC mode: end
VXLAN Gateway
RS G8332(confnsxgw)#
Enter VXLAN Gateway Configuration mode, from Global
Configuration mode:
nwv nsxgw
Exit to Global Configuration mode: exit
Exit to Privileged EXEC mode: exit
FC Zone Configuration
RS G8332(configzone)#
Enter Fibre Channel Zone Configuration mode, from Global
Configuration mode:
zone name <1‐64 characters> vlan
Exit to Global Configuration mode: exit
Exit to Privileged EXEC mode: end
FC Zoneset Configuration
RS G8332(configzoneset)#
Enter Fibre Channel Zoneset Configuration mode, from Global
Configuration mode:
zoneset name <1‐64 characters> vlan
Exit to Global Configuration mode: exit
Exit to Privileged EXEC mode: end
FC Alias Configuration
RS G8332(configfcalias)#
Enter Fibre Channel FC Alias Configuration mode, from Global
Configuration mode:
fcalias name <1‐64 characters> vlan
Exit to Global Configuration mode: exit
Exit to Privileged EXEC mode: end
Table 2. ISCLI Command Modes (continued)
Command Mode/Prompt
Command used to enter or exit
26 G8332 Command Reference for ENOS 8.4
Global Commands
Some basic commands are recognized throughout the ISCLI command modes.
These commands are useful for obtaining online help, navigating through the
interface, and for saving configuration changes.
For help on a specific command, type the command, followed by help.
Table 3. Description of Global Commands
Command
Action
?
Provides more information about a specific
command or lists commands available at the current
level.
list
Lists the commands available at the current level.
exit
Go up one level in the command mode structure. If
already at the top level, exit from the command line
interface and log out.
copy runningconfig
startupconfig
Write configuration changes to non‐volatile flash
memory.
logout
Exit from the command line interface and log out.
traceroute
Use this command to identify the route used for
station‐to‐station connectivity across the network.
The format is as follows:
traceroute [{|}
[ []]
[dataport|mgtport]]
Where:
hostname/IP address: Sets the hostname or
IP address of the target station.
maxhops: Sets the maximum distance to trace.
msecdelay: Sets the number of milliseconds
to wait for the response.
By default, the management port is used. To use a
specific port, use the following options:
data port: dataport
management port: mgtport
Note: The DNS parameters must be configured if
specifying hostnames.
Chapter 1: ISCLI Basics 27
ping
Use this command to verify station‐to‐station
connectivity across the network. The format is as
follows:
ping [{|} [ [
[ [
[ [
[dontfragment]]]]]]]
[dataport|mgtport]]
Where:
hostname/IP address: Sets the hostname or
IP address of the target station.
tries: Sets the number of attempts (optional).
msecdelay: Sets the number of milliseconds
between attempts (optional).
length: Sets the ping request payload size
(optional).
source IP address: Sets the IP source
address for the IP packet (optional).
ttl: Sets the Time to live in the IP header.
tos: Sets the Type of Service bits in the IP
header.
dontfragment: Sets the don’t fragment bit in
the IP header (only for IPv4 addresses).
By default, the management port is used. To use a
specific port, use the following options:
data port: dataport
management port: mgtport
Note: The DNS parameters must be configured if
specifying hostnames.
Table 3. Description of Global Commands
Command
Action
28 G8332 Command Reference for ENOS 8.4
telnet
This command is used to form a Telnet session
between the switch and another network device. The
format is as follows:
telnet [{|}
[]
[dataport|mgtport]]
Where:
hostname/IP address: Sets the target
station.
port: Sets the logical Telnet port or service
number.
By default, the management port is used. To use a
specific port, use the following options:
data port: dataport
management port: mgtport
Note: The DNS parameters must be configured if
specifying hostnames.
show history
This command displays the last ten issued
commands.
show who
Displays a list of users who are currently logged in.
show line
Displays a list of users who are currently logged in,
in table format.
Table 3. Description of Global Commands
Command
Action
Chapter 1: ISCLI Basics 29
Command Line Interface Shortcuts
The following shortcuts allow you to enter commands quickly and easily.
CLI List and Range Inputs
For VLAN and port commands that allow an individual item to be selected from
within a numeric range, lists and ranges of items can now be specified. For
example, the vlan command permits the following options:
The numbers in a range must be separated by a dash:
Multiple ranges or list items are permitted using a comma: ,
Do not use spaces within list and range specifications.
Ranges can also be used to apply the same command option to multiple items. For
example, to access multiple ports with one command:
Command Abbreviation
Most commands can be abbreviated by entering the first characters which
distinguish the command from the others in the same mode. For example, consider
the following full command and a valid abbreviation:
or:
Tab Completion
By entering the first letter of a command at any prompt and pressing , the
ISCLI displays all available commands or options that begin with that letter.
Entering additional letters further refines the list of commands or options
displayed. If only one command fits the input text when is pressed, that
command is supplied on the command line, waiting to be entered.
If multiple commands share the typed characters, when you press , the
ISCLI completes the common part of the shared syntax.
RS G8332(config)# vlan 1,3,4094
(access VLANs 1, 3, and 4094)
RS G8332(config)# vlan 120
(access VLANs 1 through 20)
RS G8332(config)# vlan 15,9099,40904094 (access multiple ranges)
RS G8332(config)# vlan 15,19,20,40904094 (access a mix of lists and ranges)
RS G8332(config)# interface port 14
(access ports 1 though 4)
RS G8332(config)# show macaddresstable interface port 12
RS G8332(config)# sh ma i p 12
30 G8332 Command Reference for ENOS 8.4
User Access Levels
To enable better switch management and user accountability, three levels or classes
of user access have been implemented on the G8332. Levels of access to CLI, Web
management functions, and screens increase as needed to perform various switch
management tasks. Conceptually, access classes are defined as follows:
user
Interaction with the switch is completely passive—nothing can be changed on
the G8332. Users may display information that has no security or privacy
implications, such as switch statistics and current operational state information.
oper
Operators can make temporary changes on the G8332. These changes are lost
when the switch is rebooted. Operators have access to the switch management
features used for daily switch operations. Because any changes an operator
makes are undone by a reboot of the switch, operators cannot severely impact
switch operation.
admin
Administrators are the only ones that may make permanent changes to the
switch configuration—changes that are persistent across a reboot of the switch.
Administrators can access switch functions to configure and troubleshoot
problems on the G8332. Because administrators can also make temporary
(operator‐level) changes as well, they must be aware of the interactions between
temporary and permanent changes.
Access to switch functions is controlled through the use of unique surnames and
passwords. Once you are connected to the switch via local Telnet, remote Telnet, or
SSH, you are prompted to enter a password. The default user names/password for
each access level are listed in the following table.
Note: It is recommended that you change default switch passwords after initial
configuration and as regularly as required under your network security policies.
Note: With the exception of the “admin” user, access to each user level can be
disabled by setting the password to an empty value.
Table 4. User Access Levels
User Account
Description and Tasks Performed
Password
User
The User has no direct responsibility for switch
management. He or she can view all switch status
information and statistics, but cannot make any
configuration changes to the switch.
Operator
The Operator can make temporary changes that
are lost when the switch is rebooted. Operators
have access to the switch management features
used for daily switch operations.
Administrator
The superuser Administrator has complete access
to all command modes, information, and
configuration commands on the RackSwitch
G8332, including the ability to change both the
user and administrator passwords.
admin
Chapter 1: ISCLI Basics 31
Idle Timeout
By default, the switch will disconnect your Telnet session after ten minutes of
inactivity. This function is controlled by the following command, which can be set
from 1 to 60 minutes, or disabled when set to 0:
system idle <0‐60>
Command mode: Global Configuration
33
Chapter 2. Information Commands
You can view configuration information for the switch in both the user and
administrator command modes. This chapter discusses how to use the command
line interface to display switch information.
Table 5. Information Commands
Command Syntax and Usage
show interface status
Displays configuration information about the selected port(s), including:
Port alias and number
Port speed
Duplex mode (half, full, or, auto)
Flow control for transmit and receive (no, yes, or, both)
Link status (up, down, or, disabled)
Port description
For details, see page 164.
Command mode: All
show interface trunk
Displays port status information, including:
Port alias and number
Whether the port uses VLAN Tagging or not
Port VLAN ID (PVID)
Port description
VLAN membership
FDB Learning status
Flooding status
For details, see page 165.
Command mode: All
show interface transceiver
Displays the status of the port transceiver module on each port. For details, see
page 166.
Command mode: All
show informationdump
Dumps all switch information available (10K or more, depending on your
configuration).
If you want to capture dump data to a file, set your communication software
on your workstation to capture session data prior to issuing the dump
commands.
Command mode: All
34 G8332 Command Reference for ENOS 8.4
System Information
The information provided by each command option is briefly described in the
following table, with pointers to where detailed information can be found.
Table 6. System Information Options
Command Syntax and Usage
dir [configs|images]
Displays the configuration files and NOS images currently on the switch.
configs ‐ displays only the configuration files currently on the switch
images ‐ displays only the system images currently on the switch
For more details, see page 35.
Command mode: Privileged EXEC
show access user
Displays configured user names and their status.
Command mode: Privileged EXEC
show logging [messages] [severity <0‐7>] [reverse]
[|{include|exclude|section|begin|head <1‐2000>|
|last <1‐2000>}]
Displays the current syslog configuration, followed by the most recent 2000
syslog messages.
messages displays the most recent 2000 syslog messages only
severity displays syslog messages of the specified severity level
reverse displays syslog messages starting with the most recent message
| displays syslog messages that match one of the following filters:
• include displays syslog messages that match the specified expression
• exclude displays syslog messages that don’t match the specified
expression
• section displays syslog messages that match the specified section
• begin displays syslog messages beginning from the first message that
matches the specified expression
• head displays the oldest syslog messages for the specified value
• last displays the most recent syslog messages for the specified value
For details, see page 48.
Command mode: All
Chapter 2: Information Commands 35
The following command displays the configuration files and NOS images
currently on the switch:
dir
Command mode: Privileged EXEC
show sysinfo
Displays system information, including:
System date and time
Switch model name and number
Switch name and location
Time of last boot
MAC address of the switch management processor
IP address of management interface
Hardware version and part number
Software image file and version number
Configuration name
Log‐in banner, if one is configured
Internal temperatures
Fan status
Power supply status
For details, see page 46.
Command mode: All
images:
total 18528
rwrr 1 root root 10038789 Jan 8 14:16 image1
rwrr 1 root root 8932087 Jan 7 20:16 image2
rwrr 1 root root 16 Jan 8 14:18 uboothdr
configs:
total 8
rwrr 1 root root 342 Jan 11 14:43 conf1
rwrr 1 root root 7637 Jan 11 14:43 conf2
Table 6. System Information Options (continued)
Command Syntax and Usage
36 G8332 Command Reference for ENOS 8.4
CLI Display Information
These commands allow you to display information about the number of lines per
screen displayed in the CLI.
Table 7. CLI Display Information Options
Command Syntax and Usage
show terminallength
Displays the number of lines per screen displayed in the CLI for the current
session. A value of 0 means paging is disabled.
Command mode: All
show line console length
Displays the number of lines per screen displayed in the CLI by default for
console sessions. A value of 0 means paging is disabled.
Command mode: All
show line vty length
Displays the number of lines per screen displayed in the CLI by default for
Telnet and SSH sessions. A value of 0 means paging is disabled.
Command mode: All
Chapter 2: Information Commands 37
Error Disable and Recovery Information
These commands allow you to display information about the Error Disable and
Recovery feature for interface ports.
Table 8. Error Disable Information Options
Command Syntax and Usage
show errdisable information
Displays all Error Disable and Recovery information.
Command mode: All
show errdisable linkflap [information]
Displays ports that have been disabled due to excessive link flaps.
Command mode: All
show errdisable recovery
Displays a list ports with their Error Recovery status.
Command mode: All
show errdisable timers
Displays a list of active recovery timers, if applicable.
Command mode: All
38 G8332 Command Reference for ENOS 8.4
SNMPv3 System Information
SNMP version 3 (SNMPv3) is an extensible SNMP Framework that supplements
the SNMPv2 framework by supporting the following:
a new SNMP message format
security for messages
access control
remote configuration of SNMP parameters
For more details on the SNMPv3 architecture please refer to RFC2271 to RFC2276.
Table 9. SNMPv3 Information Options
Command Syntax and Usage
show snmpserver v3
Displays all the SNMPv3 information. To view a sample, see page 45.
Command mode: All
show snmpserver v3 access
Displays View‐based Access Control information. To view a sample, see
page 41.
Command mode: All
show snmpserver v3 community
Displays information about the community table information. To view a
sample, see page 42.
Command mode: All
show snmpserver v3 group
Displays information about the group, including the security model, user
name and group name. To view a sample, see page 42.
Command mode: All
show snmpserver v3 notify
Displays the Notify table information. To view a sample, see page 44.
Command mode: All
show snmpserver v3 targetaddress
Displays the Target Address table information. To view a sample, see page 43.
Command mode: All
show snmpserver v3 targetparameters
Displays the Target parameters table information. To view a sample, see page 44.
Command mode: All
Chapter 2: Information Commands 39
SNMPv3 USM User Table Information
The User‐based Security Model (USM) in SNMPv3 provides security services such
as authentication and privacy of messages. This security model makes use of a
defined set of user identities displayed in the USM user table. The following
command displays SNMPv3 user information:
show snmpserver v3 user
Command mode: All
The USM user table contains the following information:
the user name
a security name in the form of a string whose format is independent of the
Secuity Model
an authentication protocol, which is an indication that the messages sent on
behalf of the user can be authenticated
the privacy protocol
show snmpserver v3 user
Displays User Security Model (USM) table information. To view the table, see
page 39.
Command mode: All
show snmpserver v3 view
Displays information about view, subtrees, mask and type of view. To view a
sample, see page 40.
Command mode: All
Table 9. SNMPv3 Information Options (continued)
Command Syntax and Usage
Engine ID = 80:00:4F:4D:03:08:17:F4:8C:E8:00
usmUser Table:
User Name Protocol
adminmd5 HMAC_MD5, DES PRIVACY
adminsha HMAC_SHA, DES PRIVACY
v1v2only NO AUTH, NO PRIVACY
adminshaaes HMAC_SHA, AES PRIVACY
Table 10. USM User Table Information Parameters
Field
Description
User Name
A string representing the user name you can use to access the switch.
Protocol
Whether messages sent from this user are protected from disclosure
using a privacy protocol. Enterprise NOS supports DES algorithm
for privacy and two authentication algorithms: MD5 and
HMAC‐SHA.
40 G8332 Command Reference for ENOS 8.4
SNMPv3 View Table Information
The user can control and restrict the access allowed to a group to only a subset of
the management information in the management domain that the group can access
within each context by specifying the group’s rights in terms of a particular MIB
view for security reasons.
The following command displays the SNMPv3 View Table:
show snmpserver v3 view
Command mode: All
View Name Subtree Mask Type
iso 1.3 included
v1v2only 1.3 included
v1v2only 1.3.6.1.6.3.15 excluded
v1v2only 1.3.6.1.6.3.16 excluded
v1v2only 1.3.6.1.6.3.18 excluded
Table 11. SNMPv3 View Table Information Parameters
Field
Description
View Name
Displays the name of the view.
Subtree
Displays the MIB subtree as an OID string. A view subtree is the
set of all MIB object instances which have a common Object
Identifier prefix to their names.
Mask
Displays the bit mask.
Type
Displays whether a family of view subtrees is included or
excluded from the MIB view.
Chapter 2: Information Commands 41
SNMPv3 Access Table Information
The access control subsystem provides authorization services.
The vacmAccessTable maps a group name, security information, a context, and a
message type, which could be the read or write type of operation or notification
into a MIB view.
The View‐based Access Control Model defines a set of services that an application
can use for checking access rights of a group. This groupʹs access rights are
determined by a read‐view, a write‐view and a notify‐view. The read‐view
represents the set of object instances authorized for the group while reading the
objects. The write‐view represents the set of object instances authorized for the
group when writing objects. The notify‐view represents the set of object instances
authorized for the group when sending a notification.
The following command displays SNMPv3 access information:
show snmpserver v3 access
Command mode: All
Group Name Model Level ReadV WriteV NotifyV
v1v2grp snmpv1 noAuthNoPriv iso iso v1v2only
admingrp usm authPriv iso iso iso
Table 12. SNMPv3 Access Table Information
Field
Description
Group Name
Displays the name of group.
Model
Displays the security model used, for example, SNMPv1, or
SNMPv2 or USM.
Level
Displays the minimum level of security required to gain rights
of access. For example, noAuthNoPriv, authNoPriv, or
authPriv.
ReadV
Displays the MIB view to which this entry authorizes the read
access.
WriteV
Displays the MIB view to which this entry authorizes the write
access.
NotifyV
Displays the Notify view to which this entry authorizes the
notify access.
42 G8332 Command Reference for ENOS 8.4
SNMPv3 Group Table Information
A group is a combination of security model and security name that defines the
access rights assigned to all the security names belonging to that group. The group
is identified by a group name.
The following command displays SNMPv3 group information:
show snmpserver v3 group
Command mode: All
SNMPv3 Community Table Information
The following command displays the SNMPv3 community table information
stored in the SNMP engine:
show snmpserver v3 community
Command mode: All
All active SNMPv3 groups are listed below:
Sec Model User Name Group Name
snmpv1 v1v2only v1v2grp
usm adminmd5 admingrp
usm adminsha admingrp
usm adminshaaes admingrp
Table 13. SNMPv3 Group Table Information Parameters
Field
Description
Sec Model
Displays the security model used, which is any one of: USM,
SNMPv1, SNMPv2, and SNMPv3.
User Name
Displays the name for the group.
Group Name
Displays the access name of the group.
Index Name User Name Tag
trap1 public v1v2only v1v2trap
Table 14. SNMPv3 Community Table Information Parameters
Field
Description
Index
Displays the unique index value of a row in this table
Name
Displays the community string, which represents the configuration.
User Name
Displays the User Security Model (USM) user name.
Tag
Displays the community tag. This tag specifies a set of transport
endpoints from which a command responder application accepts
management requests and to which a command responder
application sends an SNMP trap.
Chapter 2: Information Commands 43
SNMPv3 Target Address Table Information
The following command displays SNMPv3 target address information stored in
the SNMP engine:
show snmpserver v3 targetaddress
Command mode: All
Name Transport Addr Port Taglist Params
trap1 47.81.25.66 162 v1v2trap v1v2param
Table 15. SNMPv3 Target Address Table Information Parameters
Field
Description
Name
Displays the locally arbitrary, but unique identifier associated
with this snmpTargetAddrEntry.
Transport
Addr
Displays the transport addresses.
Port
Displays the SNMP UDP port number.
Taglist
This column contains a list of tag values which are used to select
target addresses for a particular SNMP message.
Params
The value of this object identifies an entry in the
snmpTargetParamsTable. The identified entry contains
SNMP parameters to be used when generating messages to be
sent to this transport address.
44 G8332 Command Reference for ENOS 8.4
SNMPv3 Target Parameters Table Information
The following command displays SNMPv3 target parameters information:
show snmpserver v3 targetparameters
Command mode: All
SNMPv3 Notify Table Information
The following command displays the SNMPv3 Notify Table:
show snmpserver v3 notify
Command mode: All
Name MP Model User Name Sec Model Sec Level
v1v2param snmpv2c v1v2only snmpv1 noAuthNoPriv
Table 16. SNMPv3 Target Parameters Table Information
Field
Description
Name
Displays the locally arbitrary, but unique identifier associated with
this snmpTargeParamsEntry.
MP Model
Displays the Message Processing Model used when generating
SNMP messages using this entry.
User Name
Displays the securityName, which identifies the entry on whose
behalf SNMP messages will be generated using this entry.
Sec Model
Displays the security model used when generating SNMP
messages using this entry. The system may choose to return an
inconsistentValue error if an attempt is made to set this
variable to a value for a security model the system does not
support.
Sec Level
Displays the level of security used when generating SNMP
messages using this entry.
Name Tag
v1v2trap v1v2trap
Table 17. SNMPv3 Notify Table Information
Field
Description
Name
The locally arbitrary, but unique identifier associated with this
snmpNotifyEntry.
Tag
This represents a single tag value which is used to select entries in
the snmpTargetAddrTable. Any entry in the
snmpTargetAddrTable that contains a tag value equal to the
value of this entry, is selected. If this entry contains a value of zero
length, no entries are selected.
Chapter 2: Information Commands 45
SNMPv3 Dump Information
The following command displays SNMPv3 information:
show snmpserver v3
Command mode: All
Engine ID = 80:00:4F:4D:03:08:17:F4:8C:E8:00
usmUser Table:
User Name Protocol
adminmd5 HMAC_MD5, DES PRIVACY
adminsha HMAC_SHA, DES PRIVACY
v1v2only NO AUTH, NO PRIVACY
adminshaaes HMAC_SHA, AES PRIVACY
vacmAccess Table:
Group Name Model Level ReadV WriteV NotifyV
v1v2grp snmpv1 noAuthNoPriv iso iso v1v2only
admingrp usm authPriv iso iso iso
vacmViewTreeFamily Table:
View Name Subtree Mask Type
iso 1 included
v1v2only 1 included
v1v2only 1.3.6.1.6.3.15 excluded
v1v2only 1.3.6.1.6.3.16 excluded
v1v2only 1.3.6.1.6.3.18 excluded
vacmSecurityToGroup Table:
All active SNMPv3 groups are listed below:
Sec Model User Name Group Name
snmpv1 v1v2only v1v2grp
usm adminmd5 admingrp
usm adminsha admingrp
usm adminshaaes admingrp
snmpCommunity Table:
Index Name User Name Tag
trap1 public v1v2only v1v2trap
snmpNotify Table:
Name Tag
v1v2trap v1v2trap
snmpTargetAddr Table:
Name Transport Addr Port Taglist Params
trap1 47.81.25.66 162 v1v2trap v1v2param
snmpTargetParams Table:
Name MP Model User Name Sec Model Sec Level
v1v2param snmpv2c v1v2only snmpv1 noAuthNoPriv
46 G8332 Command Reference for ENOS 8.4
General System Information
The following command displays system information:
show sysinfo
Command mode: All
System Information at 5:00:53 Fri Mar 13, 2015
Time zone: No timezone configured
Daylight Savings Time Status: Disabled
Lenovo RackSwitch G8332
Switch has been up for 0 days, 0 hours, 2 minutes and 6 seconds.
Last boot: 5:00:09 Fri Mar 13, 2015 (reset from console)
MAC address: a8:97:dc:88:c9:00 IP (If 1) address: 0.0.0.0
Management Port MAC Address: a8:97:dc:88:c9:fe
Management Port IP Address (if 128): 10.241.39.14
Hardware Revision: 0
Hardware Part No: BAC0009500
Switch Serial No: Y019CM3CA180
Manufacturing date: 13/49
MTM Value: 8036HC4
ESN: MM17503
Software Version 8.4.1.0 (FLASH image1), active configuration.
Boot kernel version 8.4.1.0
USB Boot: disabled
Temperature CPU Local : 32 C
Temperature Rear In/Ex : 28 C
Temperature Front In/Ex : 25 C
Temperature Hot Spot : 32 C
Temperature Asic Max : 36 C
Temperature MDA : 30 C
System Warning at 85 C / Shutdown at 95 C / Set Point is 70 C
Fan 1 Module 1: 7021rpm 60pwm(23%) FrontToBack
Fan 2 Module 1: 7447rpm 60pwm(23%) FrontToBack
Fan 3 Module 2: 6733rpm 60pwm(23%) FrontToBack
Fan 4 Module 2: 7447rpm 60pwm(23%) FrontToBack
Fan 5 Module 3: 6687rpm 60pwm(23%) FrontToBack
Fan 6 Module 3: 7447rpm 60pwm(23%) FrontToBack
Fan 7 Module 4: 6922rpm 60pwm(23%) FrontToBack
Fan 8 Module 4: 7123rpm 60pwm(23%) FrontToBack
System Fan Airflow: FrontToBack
Power Supply 1: FrontToBack [94Y8104]
Power Supply 2: FrontToBack []
MDA CurrType=8x40GbE BootType=8x40GbE LastEvent=StartUp CurrState=Active
MDA CPLD Firmware=0.4
Power Faults: PS2I2C PS2Vin PS2Pwr
Fan Faults: None
Service Faults: TooFewPS
Chapter 2: Information Commands 47
Note: The display of temperature will come up only if the temperature of any of
the sensors exceeds the temperature threshold. There will be a warning from the
software if any of the sensors exceeds this temperature threshold. The switch will
shut down if the power supply overheats.
System information includes:
System date and time
Switch model
Switch name and location
Time of last boot
MAC address of the switch management processor
Software image file and version number, and configuration name.
IP address of the management interface
Hardware version and part number
Log‐in banner, if one is configured
Internal temperatures
Fan status
Power supply status
Show Specific System Information
The following table lists commands used for displaying specific entries from the
general system information screen.
Sample output for command show version brief:
Displays the software version number, image file and configuration name.
Table 18. Specific System Information Options
Command Syntax and Usage
show environment fan
Displays information about internal temperatures and fan status.
Command mode: All
show environment power
Displays information about power supply status.
Command mode: All
show version brief
Displays the software version number, image file and configuration name. For
a sample output, see below.
Command mode: All
Software Version 8.4.1.0 (FLASH image1), active configuration.
48 G8332 Command Reference for ENOS 8.4
Show Recent Syslog Messages
The following command displays system log messages:
show logging [messages] [severity <0‐7>] [reverse]
Command mode: All
Each syslog message has a severity level associated with it, included in text form as
a prefix to the log message. One of eight different prefixes is used, depending on
the condition that the administrator is being notified of, as shown here.
EMERG
Indicates the system is unusable
ALERT
Indicates action should be taken immediately
CRIT
Indicates critical conditions
ERR
Indicates error conditions or errored operations
WARNING
Indicates warning conditions
NOTICE
Indicates a normal but significant condition
INFO
Indicates an information message
DEBUG
Indicates a debug‐level message
The severity option filters only syslog messages with a specific severity level
between 0 and 7, from EMERG to DEBUG correspondingly.
The reverse option displays the output in reverse order, from the newest entry to
the oldest.
Current syslog configuration:
host 0.0.0.0 via MGT port, severity 7, facility 0
host2 0.0.0.0 via MGT port, severity2 7, facility2 0
console enabled
severity level of console output 6
severity level of write to flash 7
syslogging all features
Syslog source loopback interface not set
Nov 2 5:49:53 172.25.254.19 INFO console: System log cleared by user
admin.
Nov 2 5:51:23 172.25.254.19 CRIT system: Fan Mod 4 Removed
Nov 2 5:54:27 172.25.254.19 CRIT system: **** MAX TEMPERATURE (61)
ABOVE FAIL THRESH ****
Nov 2 5:54:27 172.25.254.19 CRIT system: **** PLATFORM THERMAL
SHUTDOWN ****
Nov 2 6:02:06 0.0.0.0 NOTICE system: link up on management port MGT
Nov 2 6:02:06 0.0.0.0 INFO system: booted version 0.0.0 from FLASH
image2, active configuration
Nov 2 6:02:09 0.0.0.0 NOTICE system: SR SFP+ inserted at port 63 is
Approved
Nov 2 6:02:12 0.0.0.0 NOTICE system: 1m DAC inserted at port 64 is
Accepted
Nov 2 6:02:12 0.0.0.0 NOTICE system: link up on management port MGT
Nov 2 6:03:11 0.0.0.0 NOTICE ip: MGT port default gateway 172.25.1.1
operational
Nov 2 6:22:54 172.25.254.19 NOTICE mgmt: admin(admin) login on Console
Nov 2 6:33:00 172.25.254.19 NOTICE mgmt: admin(admin) idle timeout
from Console
Chapter 2: Information Commands 49
User Status
The following command displays user status information:
show access user
Command mode: All except User EXEC
This command displays the status of the configured usernames.
Usernames:
user enabled offline
oper disabled offline
admin Always Enabled online 1 session
Current User ID table:
1: name paul , dis, cos user , password valid, offline
Current strong password settings:
strong password status: disabled
50 G8332 Command Reference for ENOS 8.4
LDAP Information
The following command displays LDAP server configuration information:
show ldapserver
Command mode: All except User EXEC
for LDAP configured in legacy mode:
for LDAP configured in enhanced mode:
Current LDAP settings:
Primary LDAP Server (null) via MGT port
Secondary LDAP Server (null) via MGT port
Current LDAP server (null)
LDAP port 389, Retries 3, Timeout 5, LDAP server OFF, Backdoor access
disabled
LDAP domain name
LDAP user attribute uid
Current LDAP settings:
LDAP server 1
10.10.43.55:389 via MGT port
LDAP server 2
LDAPserver109:389 via DATA port
LDAP server 3
(null)
LDAP server 4
(null)
LDAP Bind Mode Login Credentials
LDAP Bind DN (null)
Retries 3, Timeout 5, LDAP server OFF, Backdoor access disabled
LDAP domain name
LDAP attributes
user attribute uid
group attribute memberOf
login attribute ibmchassisRole
LDAP group filter (null)
Chapter 2: Information Commands 51
Layer 2 Information
The following commands display Layer 2 information:
Table 19. Layer 2 Information Commands
Command Syntax and Usage
show dot1x information
Displays 802.1X Information. For details, see page 54.
Command mode: All
show failover trigger <1‐8> information
Displays Layer 2 Failover information. For details, see page 61.
Command mode: All
show hotlinks information
Displays Hot Links information. For details, see page 63.
Command mode: All
show layer2 information
Dumps all Layer 2 switch information available (10K lines or more, depending
on your configuration).
If you want to capture dump data to a file, set your communication software
on your workstation to capture session data prior to issuing the dump
commands.
Command mode: All
show lldp information
Displays Link Layer Discovery Protocol (LLDP) information. For details, see
page 64.
Command mode: All
show portchannel information
Displays the state of each port in the various Link Aggregation Groups
(LAGs). For details, see page 80.
Command mode: All
52 G8332 Command Reference for ENOS 8.4
show spanningtree
Displays Spanning Tree information, including the status (on or off), Spanning
Tree mode (RSTP, PVRST, or MSTP) and VLAN membership.
In addition to seeing if STG is enabled or disabled, you can view the following
STG bridge information:
Priority
Hello interval
Maximum age value
Forwarding delay
Aging time
You can also see the following port‐specific STG information:
Port alias and priority
Cost
State
For details, see page 71.
Command mode: All
show spanningtree blockedports
Lists the ports blocked by each STP instance.
Command mode: All
show spanningtree mst configuration
Displays the current MSTP settings.
Command mode: All
show spanningtree mst <0‐32> [information]
Displays Spanning Tree information for the specified instance. 0 is used for
CIST.
CIST bridge information includes:
Priority
Hello interval
Maximum age value
Forwarding delay
Root bridge information (priority, MAC address, path cost, root port)
CIST port information includes:
Port number and priority
Cost
State
For details, see page 78.
Command mode: All
Table 19. Layer 2 Information Commands (continued)
Command Syntax and Usage
Chapter 2: Information Commands 53
show spanningtree root
Displays root bridge ID for every spanning‐tree instance and the path cost
associated to it. For details, see page 77.
Command mode: All
show spanningtree stp <1‐128> [information]
Displays information about a specific Spanning Tree Group. For details, see
page 72.
Command mode: All
show vlag
Displays vLAG Information. For details, see page 69.
Command mode: All
show vlan
Displays VLAN configuration information for all configured VLANs,
including:
VLAN Number
VLAN Name
Status
Port membership of the VLAN
For details, see page 81.
Command mode: All
Table 19. Layer 2 Information Commands (continued)
Command Syntax and Usage
54 G8332 Command Reference for ENOS 8.4
802.1X Information
The following command displays 802.1X information:
show dot1x information
Command mode: All
The following table describes the IEEE 802.1X parameters.
System capability : Authenticator
System status : disabled
Protocol version : 1
Guest VLAN status : disabled
Guest VLAN : none
Authenticator Backend Assigned
Port Auth Mode Auth Status PAE State Auth State VLAN
*1 forceauth unauthorized initialize initialize none
*2 forceauth unauthorized initialize initialize none
*3 forceauth unauthorized initialize initialize none
Table 20. 802.1X Parameter Descriptions
Parameter
Description
Port
Displays each port’s alias.
Auth Mode
Displays the Access Control authorization mode for the
port. The Authorization mode can be one of the following:
forceunauth
auto
forceauth
Auth Status
Displays the current authorization status of the port, either
authorized or unauthorized.
Authenticator
PAE State
Displays the Authenticator Port Access Entity State. The
PAE state can be one of the following:
initialize
disconnected
connecting
authenticating
authenticated
aborting
held
forceAuth
Chapter 2: Information Commands 55
Backend Auth
State
Displays the Backend Authorization State. The Backend
Authorization state can be one of the following:
initialize
request
response
success
fail
timeout
idle
Assigned VLAN
Displays corresponding VLAN associated with the port.
Table 20. 802.1X Parameter Descriptions (continued)
Parameter
Description
56 G8332 Command Reference for ENOS 8.4
FDB Information
The forwarding database (FDB) contains information that maps the media access
control (MAC) address of each known device to the switch port where the device
address was learned. The FDB also shows which other ports have seen frames
destined for a particular MAC address.
Note: The master forwarding database supports up to 128K MAC address entries
on the MP per switch.
Table 21. FDB Information Options
Command Syntax and Usage
show macaddresstable
Displays all entries in the Forwarding Database.
Command mode: All
show macaddresstable all
Displays all unicast and multicast entries in the Forwarding Database.
Command mode: All
show macaddresstable address
Displays a single database entry by its MAC address. You are prompted to
enter the MAC address of the device. Enter the MAC address using the format,
xx:xx:xx:xx:xx:xx. For example, 08:00:20:12:34:56.
You can also enter the MAC address using the format, xxxxxxxxxxxx.
For example, 080020123456.
Command mode: All
show macaddresstable configuredstatic
Displays all configured static MAC entries in the FDB.
Command mode: All
show macaddresstable interface port
Displays all FDB entries for a particular port.
Command mode: All
show macaddresstable multicast
Displays all static multicast MAC entries in the FDB. For details, see page 57.
Command mode: All
show macaddresstable portchannel <1‐208>
Displays all FDB entries for a particular Link Aggregation Group (LAG).
Command mode: All
show macaddresstable privatevlan
Displays all FDB entries on a single private VLAN.
Command mode: All
Chapter 2: Information Commands 57
FDB Multicast Information
The following commands display FDB multicast information.
show macaddresstable state {unknown|forward|trunk}
Displays all FDB entries for a particular state.
Command mode: All
show macaddresstable static
Displays all static unicast MAC entries in the FDB.
Command mode: All
show macaddresstable vlan
Displays all FDB entries on a single VLAN.
Command mode: All
Table 21. FDB Information Options (continued)
Command Syntax and Usage
Table 22. Multicast FDB Information Options
Command Syntax and Usage
show macaddresstable multicast
Displays all Multicast MAC entries in the FDB.
Command mode: All
show macaddresstable multicast address
Displays a single multicast entry by its MAC address. You are prompted to
enter the MAC address of the device. Enter the MAC address using the format,
xx:xx:xx:xx:xx:xx. For example, 08:00:20:12:34:56.
You can also enter the MAC address using the format, xxxxxxxxxxxx.
For example, 080020123456.
Command mode: All
show macaddresstable multicast interface port
Displays all multicast entries for a particular port.
Command mode: All
show macaddresstable multicast vlan
Displays all multicast entries on a single VLAN.
Command mode: All
58 G8332 Command Reference for ENOS 8.4
Show All FDB Information
The following command displays Forwarding Database information:
show macaddresstable
Command mode: All
An address that is in the forwarding (FWD) state, means that it has been learned by
the switch. When in the aggregation (TRK) state, the port field represents the Link
Aggregation Group (LAG) number. If the state for the port is listed as unknown
(UNK), the MAC address has not yet been learned by the switch, but has only been
seen as a destination address.
When an address is in the unknown state, no outbound port is indicated, although
ports which reference the address as a destination are listed under “Reference
ports.”
Clearing Entries from the Forwarding Database
To clear the entire FDB, refer to “Forwarding Database Maintenance” on page 711.
Mac address Aging Time: 300
MAC address VLAN Port Trnk State Permanent Openflow
a8:97:dc:8a:1e:00 1 105 TRK
a8:97:dc:8a:1e:01 1 105 TRK
a8:97:dc:8a:1e:02 2 105 TRK
a8:97:dc:8a:1e:63 3 105 TRK
a8:97:dc:d1:f4:00 4 105 TRK
a8:97:dc:d1:f5:00 5 105 TRK
Chapter 2: Information Commands 59
Link Aggregation Control Protocol Information
Use these commands to display LACP status information about each port on the
G8332.
Table 23. LACP Information Options
Command Syntax and Usage
show lacp
Displays the current LCAP configuration.
Command mode: All
show lacp aggregator
Displays detailed information about the LACP aggregator.
Command mode: All
show lacp information
Displays a summary of LACP information. For details, see page 60.
Command mode: All
show lacp information state {down|off|up}
Displays a summary of LACP information for the interfaces that are down, off
or up.
Command mode: All
show interface port lacp [information]
Displays LACP information about the selected port.
Command mode: All
60 G8332 Command Reference for ENOS 8.4
Link Aggregation Control Protocol
The following command displays LACP information:
show lacp information
Command mode: All
LACP dump includes the following information for each port in the G8332:
mode
Displays the port’s LACP mode (active, passive or off).
adminkey
Displays the value of the port’s adminkey.
operkey
Shows the value of the port’s operational key.
selected
Indicates whether the port has been selected to be part of a
Link Aggregation Group.
prio
Shows the value of the port priority.
aggr
Displays the aggregator associated with each port.
trunk
This value represents the LACP Link Aggregation Group
(LAG) number.
status
Displays the status of LACP on the port (up or down).
minlinks
Displays the minimum number of active links in the LACP
Link Aggregation Group (LAG).
port mode adminkey operkey selected prio aggr trunk status minlinks
1 active 65535 65535 yes 32768 1 65 up 1
2 active 65535 65535 yes 32768 1 65 up 1
3 active 65535 65535 individual 32768 down 1
4 active 65535 65535 yes 32768 1 65 up 1
5 active 65535 65535 yes 32768 1 65 up 1
6 active 65535 65535 yes 32768 1 65 up 1
7 active 65535 65535 yes 32768 1 65 up 1
8 active 65535 65535 yes 32768 1 65 up 1
9 active 1000 1000 suspended 32768 down 1
10 active 1000 1000 suspended 32768 down 1
...
(*) LACP PortChannel is statically bound to the admin key
Chapter 2: Information Commands 61
Layer 2 Failover Information
The following commands display Layer 2 Failover information:
Layer 2 Failover Information
The following command displays Layer 2 Failover information:
show failover trigger information
Command mode: All
Table 24. Layer 2 Failover Information Options
Command Syntax and Usage
show failover trigger [information]
Displays a summary of Layer 2 Failover information. For details, see page 61.
Command mode: All
show failover trigger [information]
Displays detailed information about the selected Layer 2 Failover trigger.
Command mode: All
Failover: On
Trigger 1 Manual Monitor: Enabled
Trigger 1 limit: 0
Monitor State: Up
Member Status
17 Operational
Control State: Auto Controlled
Member Status
Physical ports
1 Operational
Trigger 2: Disabled
Trigger 3: Disabled
Trigger 4: Disabled
Trigger 5: Disabled
Trigger 6: Disabled
Trigger 7: Disabled
Trigger 8: Disabled
62 G8332 Command Reference for ENOS 8.4
A monitor port’s Failover status is Operational only if all the following
conditions hold true:
Port link is up.
If Spanning‐Tree is enabled, the port is in the Forwarding state.
If the port is a member of an LACP Link Aggregation Group (LAG), the port is
aggregated.
If any of these conditions are not true, the monitor port is considered to be failed.
A control port is considered to be operational if the monitor trigger state is Up.
Even if a port’s link status is Down, Spanning‐Tree status is Blocking, and the
LACP status is Not Aggregated, from a teaming perspective the port status is
Operational, since the trigger is Up.
A control port’s status is displayed as Failed only if the monitor trigger state is
Down.
Chapter 2: Information Commands 63
Hot Links Information
The following command displays Hot Links information:
show hotlinks information
Command mode: All
Hot Links information includes the following:
Hot Links status (on or off)
Status of BPDU flood option
Status of FDB send option
Status and configuration of each Hot Links trigger
Hot Links Info: Trigger
Current global Hot Links setting: ON
Hot Links BPDU flood: disabled
Hot Links FDB update: disabled
FDB update rate (pps): 200
Current Trigger 1 setting: enabled
name "Trigger 1", preempt enabled, fdelay 1 sec
Active state: None
Master settings:
port 1
Backup settings:
port 2
64 G8332 Command Reference for ENOS 8.4
LLDP Information
The following commands display LLDP information.
Table 25. LLDP Information Options
Command Syntax and Usage
show lldp
Displays the current Link Layer Discovery Protocol (LLDP) configuration.
Command mode: All
show lldp information
Displays all LLDP information.
Command mode: All
show lldp port []
Displays LLDP information for all ports or a specific port.
Command mode: All
show lldp port tlv evb
Displays Edge Virtual Bridge (EVB) type‐length‐value (TLV) information for
the specified port.
Command mode: All
show lldp receive
Displays information about the LLDP receive state machine.
Command mode: All
show lldp remotedevice [<1‐256>|detail]
Displays information received from LLDP‐capable devices. For more
information, see page 65.
Command mode: All
show lldp remotedevice port
Displays information received from LLDP‐capable devices for a specific port.
A list of ports needs to be delimited by ʹ,ʹ and a range of ports delimited by ʹ‐ʹ.
Command mode: All
show lldp transmit
Displays information about the LLDP transmit state machine.
Command mode: All
Chapter 2: Information Commands 65
LLDP Remote Device Information
The following command displays LLDP remote device information:
show lldp remotedevice
Command mode: All
LLDP remote device information provides a summary of information about
remote devices connected to the switch. To view detailed information about a
device, as shown below, follow the command with the index number of the remote
device. To view detailed information about all devices, use the detail option.
LLDP Remote Devices Information
Legend(possible values in DMAC column) :
NB Nearest Bridge 0180C200000E
NnTB Nearest nonTPMR Bridge 0180C2000003
NCB Nearest Customer Bridge 0180C2000000
Total number of current entries: 9
LocalPort|Index|Remote Chassis ID |Remote Port |Remote System Name|DMAC
|||||
1 | 1 | 00 00 c9 e5 47 e3 | 0000c9e547e3 | | NB
1 | 2 | 00 00 c9 e5 47 e3 | 0000c9e547e3 | | NnTB
2 | 3 | 00 90 fa 75 0e c5 | 0090fa750ec5 | | NB
14 | 4 | a8 97 dc d1 f8 00 | 60 | | NB
14 | 5 | a8 97 dc d1 f8 00 | 60 | | NnTB
15 | 6 | a8 97 dc d1 f8 00 | 80 | | NB
15 | 7 | a8 97 dc d1 f8 00 | 80 | | NnTB
18 | 8 | 00 90 fa 3d 48 49 | 0090fa3d4849 | | NB
MGT | 9 | 74 99 75 c5 08 00 | 6 | G805254 | NB
Local Port Alias: 1
Remote Device Index : 15
Remote Device TTL : 99
Remote Device RxChanges : false
Chassis Type : Mac Address
Chassis Id : 0018b1331d00
Port Type : Locally Assigned
Port Id : 23
Port Description : 23
System Name :
System Description : Lenovo RackSwitch G8296, Lenovo Networking
OS: version 8.2.0.3, Boot image: version 8.2.0.3
System Capabilities Supported : bridge, router
System Capabilities Enabled : bridge, router
Remote Management Address:
Subtype : IPv4
Address : 10.100.120.181
Interface Subtype : ifIndex
Interface Number : 128
Object Identifier :
66 G8332 Command Reference for ENOS 8.4
Unidirectional Link Detection Information
The following commands display UDLD information:
UDLD Port Information
The following command displays UDLD information for the selected port:
show interface port udld
Command mode: All
UDLD information includes the following:
Status (enabled or disabled)
Mode (normal or aggressive)
Port state (link up or link down)
Bi‐directional status (unknown, unidirectional, bidirectional, TX‐RX loop,
neighbor mismatch)
Table 26. UDLD Information Options
Command Syntax and Usage
show udld
Displays all UDLD information.
Command mode: All
show interface port udld
Displays UDLD information about the selected port.
Command mode: All
UDLD information on port 1
Port enable administrative configuration setting: Enabled
Port administrative mode: normal
Port enable operational state: link up
Port operational state: advertisement
Port bidirectional status: bidirectional
Message interval: 15
Time out interval: 5
Neighbor cache: 1 neighbor detected
Entry #1
Expiration time: 31 seconds
Device Name:
Device ID: 00:da:c0:00:04:00
Port ID: 1
Chapter 2: Information Commands 67
802.1x Discovery Information
The following commands display 802.1x information:
802.1x Port Information
The following command displays 802.1x information for the selected port:
show interface port dot1x
Command mode: All
802.1x port display shows information about the selected port and the peer to
which the link is connected.
Table 27. 802.1x Discovery Information Options
Command Syntax and Usage
show interface port dot1x
Displays 802.1x information about the selected port.
Command mode: All
show dot1x
Displays all 802.1x information.
Command mode: All
show dot1x
Displays 802.1x information for specified port.
Command mode: All
Quiet Tx Max Supp Server ReAuth ReAuth VLAN
Port Auth Mode Period Period Req Timeout Timeout Status Period Assign
G forceauth 60 30 2 30 30 off 3600 off
1 forceauth 60 30 2 30 30 off 3600 off
G Global port configuration
68 G8332 Command Reference for ENOS 8.4
OAM Discovery Information
The following commands display OAM information:
OAM Port Information
The following command displays OAM information for the selected port:
show interface port oam
Command mode: All
OAM port display shows information about the selected port and the peer to
which the link is connected.
Table 28. OAM Discovery Information Options
Command Syntax and Usage
show interface port oam
Displays OAM information about the selected port.
Command mode: All
show oam
Displays all OAM information.
Command mode: All
OAM information on port 1
State enabled
Mode active
Link up
Satisfied Yes
Evaluating No
Remote port information:
Mode active
MAC address 00:da:c0:00:04:00
Stable Yes
State valid Yes
Evaluating No
Chapter 2: Information Commands 69
vLAG Information
The following commands display Virtual Link Aggregation Group (vLAG)
information:
Table 29. vLAG Information Options
Command Syntax and Usage
show vlag
Displays the current vLAG configuration.
Command mode: All
show vlag adminkey <1‐65535>
Displays vLAG LACP information.
Command mode: All
show vlag adminkey <1‐65535> information
Displays all vLAG LACP information.
Command mode: All
show vlag information
Displays all vLAG information.
Command mode: All
show vlag isl
Displays vLAG Inter‐Switch Link (ISL) information.
Command mode: All
show vlag peergateway
Displays the current state of the vLAG peer gateway. For details, see page 70.
Command mode: All
show vlag portchannel <1‐104>
Displays vLAG static Link Aggregation Group (LAG) information.
Command mode: All
show vlag portchannel <1‐104> information
Displays all vLAG static Link Aggregation Group (LAG) information.
Command mode: All
70 G8332 Command Reference for ENOS 8.4
vLAG Aggregation Information
The following command displays vLAG information for the Link Aggregation
Group (LAG):
show vlag portchannel <1‐104>
Command mode: All
vLAG Peer Gateway Information
The following command displays the current state of the vLAG peer gateway.
show vlag peergateway
Command mode: All
vLAG VRRP Information
The following command displays vLAG related VRRP information:
show vlag vrrp
Command mode: All
vLAG is enabled on trunk 13
Protocol Static
Current settings: enabled
ports: 13
Current L2 trunk hash settings:
smac dmac
Current L3 trunk hash settings:
sip dip
Current ingress port hash: disabled
Current L4 port hash: disabled
Current FCoE trunk hash settings:
sid did
Current peer gateway state: disabled
vLAG VRRP mode: Active
vLAG related VRRP information:
1: vrid 1, local role master, peer role backup
10: vrid 1, local role backup, peer role backup
100: vrid 1, local role backup, peer role master
vLAG VRRP mode: Passive
vLAG related VRRP information:
1: vrid 1, local role master, peer role init
10: vrid 1, local role backup, peer role init
100: vrid 1, local role backup, peer role init
Chapter 2: Information Commands 71
Spanning Tree Information
The following command displays Spanning Tree information:
show spanningtree
Command mode: All
Max PVRST Instances: 128
Pvst+ compatibility mode enabled
Spanning Tree Group 1: On (PVRST)
VLANs: 1
Current Root: PathCost Port Hello MaxAge FwdDel
8001 a8:97:dc:8a:86:00 0 0 2 20 15
Prev Root: Port Replaced at
8001 74:99:75:be:26:00 24 10:01:50 7162016
Parameters: Priority Hello MaxAge FwdDel Aging Topology Change Counts
32769 2 20 15 300 5
Port Prio Cost State Role Designated Bridge Des Port Type
2 128 500! DISC DSB 805100:00:00:00:00:00 8002 P2P
4 128 500! DISC DSB 805100:00:00:00:00:00 800a P2P
15 128 500! FWD DESG 8051a8:97:dc:8a:86:00 8036 P2P
! = Automatic path cost.
...
72 G8332 Command Reference for ENOS 8.4
RSTP Information
The following command displays RSTP information:
show spanningtree stp <1> information
Command mode: All
The switch software uses the Per VLAN Rapid Spanning Tree Protocol (PVRST)
spanning tree mode, with IEEE 802.1D (2004) Rapid Spanning Tree Protocol (RSTP)
or IEEE 802.1Q (2003) Multiple Spanning Tree Protocol (MSTP), as alternatives.
The following port‐specific information is also displayed:
Spanning Tree Group 1: On (RSTP)
VLANs: 1 10 4095
Current Root: PathCost Port Hello MaxAge FwdDel
8000 00:25:03:49:29:00 0 0 2 20 15
Parameters: Priority Hello MaxAge FwdDel Aging Topology Change Counts
32768 2 20 15 300 1
Port Prio Cost State Role Designated Bridge Des Port Type
1 (pc12) 128 490!+ FWD DESG 800000:25:03:49:29:00 8026 P2P
2 (pc12) 128 490!+ FWD DESG 800000:25:03:49:29:00 8026 P2P
3 (pc12) 128 490!+ FWD DESG 800000:25:03:49:29:00 8026 P2P
4 (pc12) 128 490!+ FWD DESG 800000:25:03:49:29:00 8026 P2P
MGT 0 0 FWD *
* = STP turned off for this port.
! = Automatic path cost.
+ = Portchannel cost, not the individual port cost.
Table 30. PVRST/RSTP/MSTP Port Parameter Descriptions
Parameter
Description
Priority
(port)
The Port Priority parameter helps determine which bridge port
becomes the designated port. In a network topology that has
multiple bridge ports connected to a single segment, the port with
the lowest port priority becomes the designated port for the
segment.
Cost
The Port Path cost parameter is used to help determine the
designated port for a segment. Generally speaking, the faster the
port, the lower the path cost. A setting of 0 indicates that the cost
will be set to the appropriate default after the link speed has been
auto negotiated.
State
The State field shows the current state of the port. The State field
can be one of the following: Discarding (DISC), Learning (LRN), or
Forwarding (FWD).
Role
The Role field shows the current role of this port in the Spanning
Tree. The port role can be one of the following: Designated (DESG),
Root (ROOT), Alternate (ALTN) or Backup (BKUP).
Chapter 2: Information Commands 73
Designated
Bridge
The Designated Bridge shows information about the bridge
connected to each port, if applicable. Information includes the
priority (in hexadecimal notation) and MAC address of the
Designated Bridge.
Designated
Port
The Designated Port field shows the port on the Designated Bridge
to which this port is connected.
Type
Type of link connected to the port, and whether the port is an edge
port. Link type values are AUTO, P2P or SHARED.
Table 30. PVRST/RSTP/MSTP Port Parameter Descriptions (continued)
Parameter
Description
74 G8332 Command Reference for ENOS 8.4
PVRST Information
The following command displays PVRST information:
show spanningtree stp <1‐128> information
Command mode: All
You can configure the switch software to use the IEEE 802.1D (2004) Rapid
Spanning Tree Protocol (RSTP), the IEEE 802.1Q (2003) Multiple Spanning Tree
Protocol (MSTP) or PerVLAN Rapid Spanning Tree Protocol (PVRST).
The following port‐specific information is also displayed:
Spanning Tree Group 1: On (PVRST)
VLANs: 1
Current Root: PathCost Port Hello MaxAge FwdDel
8001 a8:97:dc:03:d5:00 490 1 2 20 15
Prev Root: Port Replaced at
8001 a8:97:dc:d2:12:00 0 16:33:08 3 32016
Parameters: Priority Hello MaxAge FwdDel Aging Topology Change Counts
32769 2 20 15 300 8
Port Prio Cost State Role Designated Bridge Des Port Type
1 (pc1) 128 490!+ FWD ROOT 8001a8:97:dc:03:d5:00 8042 P2P
2 (pc1) 128 490!+ FWD ROOT 8001a8:97:dc:03:d5:00 8042 P2P
3 (pc1) 128 490!+ FWD ROOT 8001a8:97:dc:03:d5:00 8042 P2P
4 (pc1) 128 490!+ FWD ROOT 8001a8:97:dc:03:d5:00 8042 P2P
11 128 2000! FWD DESG 8001a8:97:dc:d2:12:00 800b P2P
13 128 2000! FWD DESG 8001a8:97:dc:d2:12:00 800d P2P
14 128 2000! FWD DESG 8001a8:97:dc:d2:12:00 800e P2P
16 128 2000! FWD DESG 8001a8:97:dc:d2:12:00 8010 P2P
! = Automatic path cost.
+ = Portchannel cost, not the individual port cost.
Table 31. RSTP/MSTP/PVRST Port Parameter Descriptions
Parameter
Description
Prio (port)
The Port Priority parameter helps determine which bridge
port becomes the designated port. In a network topology that
has multiple bridge ports connected to a single segment, the
port with the lowest port priority becomes the designated
port for the segment.
Cost
The port Path Cost parameter is used to help determine the
designated port for a segment. Generally speaking, the faster
the port, the lower the path cost. A setting of 0 indicates that
the cost will be set to the appropriate default after the link
speed has been auto negotiated.
State
The State field shows the current state of the port. The State
field can be one of the following: Discarding (DISC),
Learning (LRN), Forwarding (FWD) or Disabled (DSB).
Chapter 2: Information Commands 75
Role
The Role field shows the current role of this port in the
Spanning Tree. The port role can be one of the following:
Designated (DESG), Root (ROOT), Alternate (ALTN), Backup
(BKUP) or Disabled (DSB).
Designated
Bridge
The Designated Bridge shows information about the bridge
connected to each port, if applicable. Information includes
the priority (in hexadecimal notation) and MAC address of
the Designated Bridge.
Designated Port
The port ID of the port on the Designated Bridge to which
this port is connected.
Type
Type of link connected to the port, and whether the port is an
edge port. Link type values are AUTO, P2P or SHARED.
Table 31. RSTP/MSTP/PVRST Port Parameter Descriptions (continued)
Parameter
Description
76 G8332 Command Reference for ENOS 8.4
Spanning Tree Bridge Information
The following command displays Spanning Tree bridge information:
show spanningtree bridge
Command mode: All
show spanningtree vlan bridge
Command mode: All
STG Priority Hello MaxAge FwdDel Protocol VLANs
1 32768 2 20 15 PVRST 1
2 32768 2 20 15 PVRST 2
128 32768 2 20 15 PVRST 4095
Vlan Priority Hello MaxAge FwdDel Protocol
1 32768 2 20 15 MSTP
Table 32. Bridge Parameter Descriptions
Parameter
Description
VLAN
VLANs that are part of the Spanning Tree Group
Priority
The bridge priority parameter controls which bridge on the
network will become the STP root bridge. The lower the
value, the higher the priority.
Hello
The hello time parameter specifies, in seconds, how often the
bridge transmits a configuration bridge protocol data unit
(BPDU). Any bridge that is not the root bridge uses the root
bridge hello value.
MaxAge
The maximum age parameter specifies, in seconds, the
maximum time the bridge waits without receiving a
configuration bridge protocol data unit before it reconfigures
the STP network.
FwdDel
The forward delay parameter specifies, in seconds, the
amount of time that a bridge port has to wait before it
changes from discarding state to learning state and from
learning state to forwarding state.
Protocol
The STP protocol run by the Spanning Tree Group.
Chapter 2: Information Commands 77
Spanning Tree Root Information
The following command displays information about the root bridge ID for every
spanning‐tree instance and the path cost associated to it:
show spanningtree root
Command mode: All
Instance Root ID PathCost Hello MaxAge FwdDel Root Port
1 8001 08:17:f4:32:95:00 0 2 20 15 0
3 8003 08:17:f4:32:95:00 0 2 20 15 0
6 8001 08:17:f4:fb:d8:00 20000 2 20 15 27
17 8011 08:17:f4:32:95:00 0 2 20 15 0
Table 33. Bridge Parameter Descriptions
Parameter
Description
Instance
Spanning Tree instance
Root ID
Indicates the root switch bridge priority and MAC address.
Path‐Cost
The port path cost is used to help determine the designated
port for a segment.
Hello
The hello time parameter specifies, in seconds, how often the
bridge transmits a configuration bridge protocol data unit
(BPDU). Any bridge that is not the root bridge uses the root
bridge hello value.
MaxAge
The maximum age parameter specifies, in seconds, the
maximum time the bridge waits without receiving a
configuration bridge protocol data unit before it reconfigure
the STP network.
FwdDel
The forward delay parameter specifies, in seconds, the
amount of time that a bridge port has to wait before it
changes from discarding state to learning state and from
learning state to forwarding state.
Root Port
The elected root port for the STP instance (port used to reach
the root switch).
78 G8332 Command Reference for ENOS 8.4
Multiple Spanning Tree Information
The following command displays Multiple Spanning Tree (MSTP) information:
show spanningtree mst <0‐32> information
Command mode: All
In addition to seeing Common Internal Spanning Tree (CIST) status, you can view
the following CIST bridge information:
Mstp Digest: 0x9f71e12a07f4e3004fe0ce1f241a7b66
Spanning Tree Group 5: On (MSTP)
VLANs MAPPED: 5
VLANs: 5
Current Root: PathCost Port
0000 a8:97:dc:88:c9:00 0 0
Parameters: Priority Aging Topology Change Counts
0 300 1
Port Prio Cost State Role Designated Bridge Des Port Type
1 (pc105) 128 156!+ FWD DESG 0000a8:97:dc:88:c9:00 80e8 P2P
2 (pc105) 128 156!+ FWD DESG 0000a8:97:dc:88:c9:00 80e8 P2P
4 128 500! FWD DESG 0000a8:97:dc:88:c9:00 800a P2P,edge
22 (pc105) 128 156!+ FWD DESG 0000a8:97:dc:88:c9:00 80e8 P2P
! = Automatic path cost.
+ = Portchannel cost, not the individual port cost.
Table 34. CIST Parameter Descriptions
Parameter
Description
CIST Root
The CIST Root shows information about the root bridge for
the Common Internal Spanning Tree (CIST). Values on this
row of information refer to the CIST root.
CIST Regional
Root
The CIST Regional Root shows information about the root
bridge for this MSTP region. Values on this row of
information refer to the regional root.
Priority (bridge)
The bridge priority parameter controls which bridge on the
network will become the STP root bridge.
Hello
The hello time parameter specifies, in seconds, how often the
bridge transmits a configuration bridge protocol data unit
(BPDU). Any bridge that is not the root bridge uses the root
bridge hello value.
MaxAge
The maximum age parameter specifies, in seconds, the
maximum time the bridge waits without receiving a
configuration bridge protocol data unit before it reconfigure
the STP network.
Chapter 2: Information Commands 79
The following port‐specific CIST information is also displayed:
FwdDel
The forward delay parameter specifies, in seconds, the
amount of time that a bridge port has to wait before it
changes from discarding state to learning state and from
learning state to forwarding state.
Hops
The maximum number of bridge hops a packet can traverse
before it is dropped. The default value is 20.
Table 35. CIST Parameter Descriptions
Parameter
Description
Prio (port)
The port priority parameter helps determine which bridge
port becomes the designated port. In a network topology that
has multiple bridge ports connected to a single segment, the
port with the lowest port priority becomes the designated
port for the segment.
Cost
The port path cost parameter is used to help determine the
designated port for a segment. Generally speaking, the faster
the port, the lower the path cost. A setting of 0 indicates that
the cost will be set to the appropriate default after the link
speed has been auto negotiated.
State
The state field shows the current state of the port. The state
field can be either Discarding (DISC), Learning (LRN) or
Forwarding (FWD).
Role
The Role field shows the current role of this port in the
Spanning Tree. The port role can be one of the following:
Designated (DESG), Root (ROOT), Alternate (ALTN), Backup
(BKUP), Disabled (DSB) or Master (MAST).
Designated
Bridge
The Designated Bridge shows information about the bridge
connected to each port, if applicable. Information includes
the priority (in hexadecimal notation) and MAC address of
the Designated Bridge.
Designated Port
The port ID of the port on the Designated Bridge to which
this port is connected.
Type
Type of link connected to the port, and whether the port is an
edge port. Link type values are AUTO, P2P or SHARED.
Table 34. CIST Parameter Descriptions (continued)
Parameter
Description
80 G8332 Command Reference for ENOS 8.4
Link Aggregation Group (LAG) Information
The following command displays Link Aggregation Group (LAG) information:
show portchannel information
Command mode: All
When LAGs are configured, you can view the state of each port in the various
LAGs.
Note: If Spanning Tree Protocol on any port in the LAG is set to forwarding, the
remaining ports in the LAG will also be set to forwarding.
Trunk group 1: Enabled
Protocol Static
Port state:
1: STG 1 forwarding
2: STG 1 forwarding
Chapter 2: Information Commands 81
VLAN Information
The following commands display VLAN information:
Table 36. VLAN Information Options
Command Syntax and Usage
show vlan
Displays the current VLAN configuration.
Command mode: All
show vlan
Displays the current configuration for the specified VLAN.
Command mode: All
show vlan privatevlan [type]
Displays Private VLAN information.
type lists only the VLAN type for each private VLAN: community, isolated
or primary
Command mode: All
show vlan information
Displays information about all VLANs, including:
VLAN number and name
VLAN statistics
Port membership
VLAN status (enabled or disabled)
Protocol VLAN status
Spanning Tree membership
Private VLAN information
Flooding settings
VMAP configuration
Command mode: All
show vlan information
Displays information only about the specified VLAN.
Command mode: All
show protocolvlan
Displays Protocol VLAN information.
Command mode: All
82 G8332 Command Reference for ENOS 8.4
The following command displays VLAN information:
show vlan
Command mode: All
This information display includes all configured VLANs and all member ports that
have an active link state. Port membership is represented in slot/port format.
VLAN information includes:
VLAN Number
VLAN Name
Status
Port membership of the VLAN
Protocol VLAN information (if available)
Private VLAN information (if available)
VLAN Name Status Ports
1 Default VLAN ena 120
2 VLAN 2 dis 2122
100 VLAN 100 ena empty
200 VLAN 200 ena empty
300 VLAN 300 ena empty
4095 Mgmt VLAN ena MGT
Primary Secondary Type Ports
100 200 isolated 14
100 300 community 12
Chapter 2: Information Commands 83
Layer 3 Information
The following commands display Layer 3 information:
Table 37. Layer 3 Information Commands
Command Syntax and Usage
show ikev2
Displays IKEv2 information. For more information options, see page 130.
Command mode: All
show interface ip
Displays IP interface Information. For details, see page 125.
Command mode: All
show [ip] arp
Displays Address Resolution Protocol (ARP) information. For details, see
page 90.
Command mode: All
show ip bgp
Displays Border Gateway Protocol (BGP) information. For details, see page 97.
Command mode: All
show ip bootprelay
Displays the current parameters for the BOOTP Relay broadcast domain.
Command mode: All
show ip dhcp snooping
Displays DHCP Snooping information. For details, see page 134.
Command mode: All
show ip dns
Displays the current Domain Name System settings.
Command mode: All
show ip ecmp
Displays ECMP static route information. For details, see page 115.
Command mode: All
show ip gateway <1‐4>
Displays the current gateway settings.
Command mode: All
show ipv6 gateway6 {<1>|<4>}
Displays the current IPv6 default gateway configuration.
Command mode: All
84 G8332 Command Reference for ENOS 8.4
show ip igmp
Displays IGMP Information. For more IGMP information options, see
page 116.
Command mode: All
show ip information
Displays all IP information.
Command mode: All
show ip interface brief
Displays IP Information. For details, see page 128.
IP information, includes:
IP interface information: Interface number, IP address, subnet mask, VLAN
number, and operational status.
Default gateway information: Metric for selecting which configured
gateway to use, gateway number, IP address, and health status
IP forwarding settings, network filter settings, route map settings
Command mode: All
show ipv6 interface
Displays IPv6 interface information. For details, see page 126.
Command mode: All
show ip matchaddress [<1‐256>]
Displays the current the Network Filter configuration.
Command mode: All
show ip mroute
Displays the current IP multicast routes.
Command mode: All
show ip nat
Displays NAT status information. For details, see page 148.
Command mode: All
show ipv6 mld
Displays Multicast Listener Discovery (MLD) information. For more MLD
information options, see page 121.
Command mode: All
show ipv6 neighbors
Displays IPv6 Neighbor Cache information. For more information options, see
page 113.
Command mode: All
Table 37. Layer 3 Information Commands (continued)
Command Syntax and Usage
Chapter 2: Information Commands 85
show ip ospf information
Displays the OSPF information. For details, see page 98.
Command mode: All
show ipv6 ospf information
Displays OSPFv3 information. For more OSPFv3 information options, see
page 104.
Command mode: All
show ip pim component [<1‐2>]
Displays Protocol Independent Multicast (PIM) component information. For
more PIM information options, see page 135.
Command mode: All
show ipv6 pmtu []
Displays IPv6 Path MTU information. For details, see page 127.
Command mode: All
show ip policy
Displays the current routing policy information.
Command mode: All
show ip prefixpolicy
Displays the current Prefix Policy Table configuration.
Command mode: All
show ipv6 prefix
Displays IPv6 Neighbor Discovery prefix information. For details, see
page 114.
Command mode: All
show ip rip
Displays the current Routing Information Protocol (RIP) configuration. For
details, see page 109.
Command mode: All
show ip route
Displays all routes configured on the switch. For details, see page 88.
Command mode: All
show ipv6 route
Displays IPv6 routing information. For more information options, see
page 111.
Command mode: All
Table 37. Layer 3 Information Commands (continued)
Command Syntax and Usage
86 G8332 Command Reference for ENOS 8.4
show ip routing
Displays the current IP forwarding settings.
Command mode: All
show ip slp information
Displays Service Location Protocol (SLP) information.
Command mode: All
show ip slp directoryagents
Displays SLP Directory Agent (DA) information.
Command mode: All
show ip slp useragents
Displays SLP User Agent (UA) information.
Command mode: All
show ip tenant [info] <1‐30>
Displays tenant information.
Command mode: All
show ip vrrp information
Displays VRRP information. For details, see page 123.
Command mode: All
show ipsec manualpolicy
Displays information about manual key management policy for IP security.
For more information options, see page 132.
Command mode: All
show layer3
Dumps all Layer 3 switch information available (10K or more, depending on
your configuration).
If you want to capture dump data to a file, set your communication software
on your workstation to capture session data before issuing the dump
commands.
Command mode: All
show layer3 igmpgroups
Displays the total number of IGMP groups that are registered on the switch.
Command mode: All
show layer3 ipmcgroups
Displays the total number of current IP multicast (IPMC) groups that are
registered on the switch.
Command mode: All
Table 37. Layer 3 Information Commands (continued)
Command Syntax and Usage
Chapter 2: Information Commands 87
IP Routing Information
Using the commands listed in the following table, you can display all or a portion
of the IP routes currently held in the switch.
Table 38. Route Information Options
Command Syntax and Usage
show ip route [all]
Displays all routes configured in the switch. For more information, see
page 88.
Command mode: All
show ip route address
Displays a single route by destination IP address.
Command mode: All
show ip route ecmphash
Displays the current ECMP hashing mechanism.
Command mode: All
show ip route gateway
Displays routes to a single gateway.
Command mode: All
show ip route interface
Displays routes on a single interface.
Command mode: All
show ip route port
Displays routes on a single port.
Command mode: All
show ip route static
Displays static routes configured on the switch.
Command mode: All
show ip route tag {address|bgp|broadcast|fixed|martian|
|multicast|ospf|rip|static}
Displays routes of a single tag. For a description of IP routing tags, see Table 40
on page 88.
Command mode: All
show ip route type {broadcast|direct|indirect|local|
|martian|multicast}
Displays routes of a single type. For a description of IP routing types, see
Table 39 on page 88.
Command mode: All
88 G8332 Command Reference for ENOS 8.4
Show All IP Route Information
The following command displays IP route information:
show ip route
Command mode: All
The following table describes the Type parameters.
The following table describes the Tag parameters.
Mgmt routes:
Status code: * best
Destination Mask Gateway Type Tag Metric If
* 192.168.50.0 255.255.255.0 192.168.50.50 direct fixed 128
* 192.168.50.50 255.255.255.255 192.168.50.50 local addr 128
* 192.168.50.255 255.255.255.255 192.168.50.255 broadcast broadcast 128
Data routes:
Status code: * best
Destination Mask Gateway Type Tag Metric If
* 127.0.0.0 255.0.0.0 0.0.0.0 martian martian
* 224.0.0.0 224.0.0.0 0.0.0.0 martian martian
* 224.0.0.0 240.0.0.0 0.0.0.0 multicast addr
* 255.255.255.255 255.255.255.255 255.255.255.255 broadcast broadcast
Table 39. IP Routing Type Parameters
Parameter
Description
indirect
The next hop to the host or subnet destination will be forwarded
through a router at the Gateway address.
direct
Packets will be delivered to a destination host or subnet
attached to the switch.
local
Indicates a route to one of the switch’s IP interfaces.
broadcast
Indicates a broadcast route.
martian
The destination belongs to a host or subnet which is filtered out.
Packets to this destination are discarded.
multicast
Indicates a multicast route.
Table 40. IP Routing Tag Parameters
Parameter
Description
fixed
The address belongs to a host or subnet attached to the switch.
static
The address is a static route which has been configured on the
RackSwitch G8332.
addr
The address belongs to one of the switch’s IP interfaces.
Chapter 2: Information Commands 89
rip
The address was learned by the Routing Information Protocol
(RIP).
ospf
The address was learned by Open Shortest Path First (OSPF).
bgp
The address was learned via Border Gateway Protocol (BGP).
broadcast
Indicates a broadcast address.
martian
The address belongs to a filtered group.
multicast
Indicates a multicast address.
Table 40. IP Routing Tag Parameters (continued)
Parameter
Description
90 G8332 Command Reference for ENOS 8.4
ARP Information
The ARP information includes IP address and MAC address of each entry, address
status flags (see Table 42 on page 92), VLAN, age and port for the address.
Table 41. ARP Information Options
Command Syntax and Usage
show [ip] arp [all]
Displays all ARP entries. including:
IP address and MAC address of each entry
Address status flag
The VLAN and port to which the address belongs
The elapsed time (in seconds) since the ARP entry was learned
For more information, see page 91.
Command mode: All
show ip arp data
Displays all data ARP entries.
Command mode: All
show [ip] arp find
Displays a single ARP entry by IP address.
Command mode: All
show ip arp inspection
Displays the current Dynamic ARP Inspection (DAI) configuration settings.
For details, see page 93.
Command mode: All
show [ip] arp interface port
Displays the ARP entries on a single port.
Command mode: All
show ip arp management
Displays all management ARP entries.
Command mode: All
show [ip] arp reply
Displays the ARP entries for the switch’s IP interfaces.
Command mode: All
Chapter 2: Information Commands 91
ARP Address List Information
The following command displays owned ARP address list information:
show [ip] arp reply
Command mode: All
Show All ARP Entry Information
The following command displays ARP information:
show [ip] arp
Command mode: All
show [ip] arp static
Displays all static ARP entries.
Command mode: All
show [ip] arp vlan
Displays the ARP entries on a single VLAN.
Command mode: All
Table 41. ARP Information Options (continued)
Command Syntax and Usage
IP address IP mask MAC address VLAN PassUp
1.1.1.1 255.255.255.255 08:17:f4:62:64:00 1
2.2.2.2 255.255.255.255 08:17:f4:62:64:00 1
46.0.0.1 255.255.255.255 08:17:f4:62:64:00 4094
3.3.3.20 255.255.255.255 08:17:f4:62:64:00 3
Mgmt ARP entries:
Total number of Mgmt ARP entries : 6
IP address Flags MAC address VLAN Age Port
9.228.143.1 74:99:75:d1:c4:00 4095 0 MGT
9.228.143.11 P 74:99:75:be:20:fe 4095 MGT
9.228.143.62 00:50:56:81:e3:d3 4095 152 MGT
9.228.143.92 00:50:56:81:9d:9c 4095 121 MGT
9.228.143.93 00:50:56:81:1b:29 4095 107 MGT
9.228.143.94 00:50:56:81:d3:8b 4095 63 MGT
Data ARP entries:
Current ARP configuration:
rearp 5
No static ARP configured.
Total number data ARP entries : 2
IP address Flags MAC address VLAN Age Port
192.168.1.1 fc:cf:62:9d:87:00 2 127 20/1
192.168.1.2 P 74:99:75:be:20:00 2
92 G8332 Command Reference for ENOS 8.4
The Port field shows the target port of the ARP entry.
The Flags field is interpreted as follows:
Table 42. ARP Flag Parameters
Flag
Description
P
Permanent entry created for switch IP interface.
R
Indirect route entry.
U
Unresolved ARP entry. The MAC address has not been learned.
Chapter 2: Information Commands 93
Dynamic ARP Inspection Information
The following commands display Dynamic ARP Inspection (DAI) information:
show ip arp inspection interfaces []
Command mode: All
show ip arp inspection vlan []
Command mode: All
Table 43. Dynamic ARP Inspection Information Options
Command Syntax and Usage
show ip arp inspection
Displays the current DAI configuration settings.
Command mode: All
show ip arp inspection interfaces []
Displays the current DAI configuration settings for the selected interfaces.
Command mode: All
show ip arp inspection vlan []
Displays the current DAI configuration settings for the selected VLANs.
Command mode: All
Interface Trust State
1 Trusted
2 Trusted
3 Untrusted
4 Untrusted
...
Vlan Configuration
2 Enabled
94 G8332 Command Reference for ENOS 8.4
BGP Information
The following commands display BGP information:
Table 44. BGP Peer Information Options
Command Syntax and Usage
show ip bgp aggregateaddress [<1‐16>]
Displays the current BGP aggregation configuration.
Command mode: All
show ip bgp information
Displays the BGP routing table. See page 97 for a sample output.
Command mode: All
show ip bgp neighbor [<1‐192>]
Displays the current BGP peer configuration.
Command mode: All
show ip bgp neighbor advertisedroutes
Displays all BGP advertised routes to all neighbors.
Command mode: All
show ip bgp neighbor <1‐192> advertisedroutes
Displays all BGP advertised routes to a specific peer.
Command mode: All
show ip bgp neighbor group
Displays BGP group information. See page 96 for a sample output.
Command mode: All
show ip bgp neighbor information
Displays BGP peer information. See page 95 for a sample output.
Command mode: All
show ip bgp neighbor <1‐192> information
Displays BGP peer information for a specific peer.
Command mode: All
show ip bgp neighbor <1‐192> redistribute
Displays BGP neighbor redistribution.
Command mode: All
Chapter 2: Information Commands 95
BGP Peer Information
Following is an example of the information provided by the following command:
show ip bgp neighbor information
Command mode: All
show ip bgp neighbor <1‐192> routes
Displays BGP peer routes.
Command mode: All
show ip bgp neighbor summary
Displays peer summary information such as AS, message received, message
sent, up/down or state. See page 97 for a sample output.
Command mode: All
Table 44. BGP Peer Information Options (continued)
Command Syntax and Usage
BGP Peer Information:
Static Peers:
1: 3.5.0.3 , version 4, TTL 255, TTL Security hops 0
Remote AS: 10000, Local AS: 10000, Link type: IBGP
Remote router ID: 3.3.3.3, Local router ID: 5.5.5.5
nexthopself disabled
RR client disabled
BGP status: established, Old status: established
Total received packets: 4321, Total sent packets: 4309
Received updates: 12, Sent updates: 0
Keepalive: 60, Holdtime: 180, MinAdvTime: 60
LastErrorCode: unknown(0), LastErrorSubcode: unspecified(0)
Established state transitions: 1
96 G8332 Command Reference for ENOS 8.4
BGP Group Information
Following is an example of the information provided by the following command:
show ip bgp neighbor group
Command mode: All
BGP Group Information:
Local router ID: 1.1.1.2, Local AS: 100
Group 1:
Name: toG82642007
Addr: 192.168.128.0 Mask: 255.255.255.248
Remote AS list: 200
Dynamic Peers Limit: 8
Dynamic Peers in established state: 1
Dynamic Peers of this group:
97: 192.168.128.4, Group: 1 (toG82642007), TTL 1
Remote AS: 200, Local AS: 100, Link type: EBGP
Remote router ID: 2.2.1.2, Local router ID: 1.1.1.2
Configured Version: 4
Negotiated Version: 4
Total path attribute out: 0
In Total Messages: 74
Out Total Messages: 74
In Updates: 0
Out Updates: 0
Established Time: 01:12:36
MinAdvTime: 00:01:00
Configured holdtime: 00:03:00
Negotiated holdtime: 00:03:00
Configured keepalive 00:01:00
Negotiated keepalive 00:01:00
In Update Last Time: 00:00:00
Out Update Last Time: 00:14:32
Last Send Time: 01:26:54
Last Received Time: 01:26:54
Inrmap list count: 0
Outrmap list count: 0
...
Chapter 2: Information Commands 97
BGP Summary Information
Following is an example of the information provided by the following command:
show ip bgp neighbor summary
Command mode: All
Dump BGP Information
Following is an example of the information provided by the following command:
show ip bgp information [] [longer_prefix]
Command mode: All
The IPv4 network and mask options restrict the output to a specific network in the
BGP routing table.
BGP Peer Summary Information:
Peer V AS MsgRcvd MsgSent Up/Down State
1: 205.178.23.142 4 142 113 121 00:00:28 established
2: 205.178.15.148 0 148 0 0 never connect
Status codes: * valid, > best, = multipath, i internal
Origin codes: i IGP, e EGP, ? incomplete
Network Mask Next Hop Metric LcPrf Wght Path
*> 1.1.1.0 255.255.255.0 0.0.0.0 0 ?
*> 10.100.100.0 255.255.255.0 0.0.0.0 0 ?
*> 10.100.120.0 255.255.255.0 0.0.0.0 0 ?
98 G8332 Command Reference for ENOS 8.4
OSPF Information
The following commands display OSPF information:
Table 45. OSPF Information Options
Command Syntax and Usage
show interface ip <1‐128> ospf
Displays the current OSPF settings for the specified IP interface.
Command mode: All
show ip ospf area <0‐19>
Displays OSPF settings for a particular area index.
Command mode: All
show ip ospf area information [<0‐19>]
Displays area information for all areas or a particular area index.
Command mode: All
show ip ospf arearange <1‐16>
Displays the current OSPF summary range settings.
Command mode: All
show ip ospf areavirtuallink <1‐3>
Displays the current OSPF virtual link settings.
Command mode: All
show ip ospf areavirtuallink information
Displays information about all the configured virtual links.
Command mode: All
show ip ospf generalinformation
Displays general OSPF information. See page 100 for a sample output.
Command mode: All
show ip ospf host <1‐128>
Displays the current OSPF host entries.
Command mode: All
show ip ospf host information
Displays OSPF host configuration information.
Command mode: All
show ip ospf information
Displays the OSPF information.
Command mode: All
Chapter 2: Information Commands 99
show ip ospf interface []
Displays OSPF information for all IP interfaces or a particular interface. See
page 100 for a sample output.
Command mode: All
show ip ospf interface loopback [<1‐5>]
Displays OSPF information for all loopback interfaces or a particular loopback
interface. See page 101 for a sample output.
Command mode: All
show ip ospf interface port []
Displays OSPF information for all ports or a particular port. For details, see
page 101.
Command mode: All
show ip ospf neighbor
Displays the status of all the current neighbors.
Command mode: All
show ip ospf redistribute
Displays the current OSPF redistribute settings.
Command mode: All
show ip ospf routes
Displays OSPF routing table. See page 101 for a sample output.
Command mode: All
show ip ospf summaryrange <0‐19>
Displays the list of summary ranges belonging to non‐NSSA areas.
Command mode: All
show ip ospf summaryrangenssa <0‐19>
Displays the list of summary ranges belonging to NSSA areas.
Command mode: All
Table 45. OSPF Information Options (continued)
Command Syntax and Usage
100 G8332 Command Reference for ENOS 8.4
OSPF General Information
The following command displays general OSPF information:
show ip ospf generalinformation
Command mode: All
OSPF Interface Information
The following command displays OSPF interface information:
show ip ospf interface
Command mode: All
OSPF Version 2
Router ID: 10.10.10.1
Started at 1663 and the process uptime is 4626
Area Border Router: yes, AS Boundary Router: no
LS types supported are 6
External LSA count 0
External LSA checksum sum 0x0
Number of interfaces in this router is 2
Number of virtual links in this router is 1
16 new lsa received and 34 lsa originated from this router
Total number of entries in the LSDB 10
Database checksum sum 0x0
Total neighbors are 1, of which
2 are >=INIT state,
2 are >=EXCH state,
2 are =FULL state
Number of areas is 2, of which 3transit 0nssa
Area Id : 0.0.0.0
Authentication : none
Import ASExtern : yes
Number of times SPF ran : 8
Area Border Router count : 2
AS Boundary Router count : 0
LSA count : 5
LSA Checksum sum : 0x2237B
Summary : noSummary
Ip Address 10.10.12.1, Area 0.0.0.1, Admin Status UP
Router ID 10.10.10.1, State DR, Priority 1
Designated Router (ID) 10.10.10.1, Ip Address 10.10.12.1
Backup Designated Router (ID) 10.10.14.1, Ip Address 10.10.12.2
Timer intervals, Hello 10, Dead 40, Wait 1663, Retransmit 5,
Poll interval 0, Transit delay 1
Neighbor count is 1 If Events 4, Authentication type none
Complete user documentation for the ZyXEL Communications ES-2024PWR Network Router. The manual provides technical details on operation, maintenance procedures, repair references, security instructions.
Device technical manual for the Linksys WRT54G-TM Network Router. It explains troubleshooting and internal layout, operating conditions, control functions.
Complete instruction guide for the Makita RF110 Network Router. The guide offers support information and operational procedures, product handling, operating instructions.