Troubleshooting
NN46200-704
.
Trademarks
*Nortel, the Nortel Networks logo and the Globemark are trademarks of Nortel Networks.
Adobe and Acrobat Reader are trademarks of Adobe Systems Incorporated.
Microsoft, Windows, and Windows NT are trademarks of Microsoft Corporation.
The asterisk after a name denotes a trademarked item.
Statement of conditions
In the interest of improving internal design, operational function, and/or reliability, Nortel Networks reserves the right
to make changes to the products described in this document without notice.
Nortel Networks does not assume any liability that may occur due to the use or application of the product(s) or
circuit layout(s) described herein.
Licensed Use of Software. Nortel Networks grants Customer a nonexclusive license to use a copy of the
Software on only one machine at any one time or to the extent of the activation or authorized usage level,
whichever is applicable. To the extent Software is furnished for use with designated hardware or Customer
furnished equipment (CFE), Customer is granted a nonexclusive license to use Software only on such
hardware or CFE, as applicable. Software contains trade secrets and Customer agrees to treat Software as
confidential information using the same care and discretion Customer uses with its own similar information that it
does not wish to disclose, publish or disseminate. Customer will ensure that anyone who uses the Software
does so only in compliance with the terms of this Agreement. Customer shall not a) use, copy, modify, transfer or
distribute the Software except as expressly authorized; b) reverse assemble, reverse compile, reverse engineer
or otherwise translate the Software; c) create derivative works or modifications unless expressly authorized; or d)
sublicense, rent or lease the Software. Licensors of intellectual property to Nortel Networks are beneficiaries of
this provision. Upon termination or breach of the license by Customer or in the event designated hardware or
CFE is no longer in use, Customer will promptly return the Software to Nortel Networks or certify its destruction.
Nortel Networks may audit by remote polling or other reasonable means to determine Customers Software
activation or usage levels. If suppliers of third party software included in Software require Nortel Networks to
include additional or different terms, Customer agrees to abide by such terms provided by Nortel Networks
with respect to such third party software.
2.
Warranty. Except as may be otherwise expressly agreed to in writing between Nortel Networks and Customer,
Software is provided AS IS without any warranties (conditions) of any kind. NORTEL NETWORKS DISCLAIMS
ALL WARRANTIES (CONDITIONS) FOR THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING,
BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABLITITY AND FITNESS FOR A
PARTICULAR PURPOSE AND ANY WARRANTY OF NON-INFRINGEMENT. Nortel Networks is not obligated
to provide support of any kind for the Software. Some jurisdictions do not allow exclusion of implied warranties,
and, in such event, the above exclusions may not apply.
3.
4.
General
a.
If Customer is the United States Government, the following paragraph shall apply: All Nortel Networks
Software available under this License Agreement is commercial computer software and commercial
computer software documentation and, in the event Software is licensed for or on behalf of the United States
Government, the respective rights to the software and software documentation are governed by Nortel
Networks standard commercial license in accordance with U.S. Federal Regulations at 48 C.F.R. Sections
12.212 (for non-DoD entities) and 48 C.F.R. 227.7202 (for DoD entities).
b.
Customer may terminate the license at any time. Nortel Networks may terminate the license if Customer
fails to comply with the terms and conditions of this license. In either event, upon termination, Customer
must either return the Software to Nortel Networks or certify its destruction.
c.
Customer is responsible for payment of any taxes, including personal property taxes, resulting from
Customers use of the Software. Customer agrees to comply with all applicable laws including all applicable
export and import laws and regulations.
d.
Neither party may bring an action, regardless of form, more than two years after the cause of the action
arose.
e.
The terms and conditions of this License Agreement form the complete and exclusive agreement between
Customer and Nortel Networks.
f.
This License Agreement is governed by the laws of the country in which Customer acquires the Software.
If the Software is acquired in the United States, then this License Agreement is governed by the laws of
the state of New York.
Contents
New in this release
Features 9
System core image dump 9
Other changes 9
Introduction
11
Troubleshooting planning
13
Troubleshooting fundamentals
17
Port mirroring 18
Port statistics 20
Route tracing 20
Ping snoop 20
Log files 21
Loopback testing 21
System log (syslog) 21
Virtual Cable Tester 21
System core image dump 22
General diagnostic tools 22
Initial troubleshooting
NNCLI and CLI 23
About the NNCLI 23
Accessing the NNCLI (from the CLI) 25
Returning to the CLI (from the NNCLI) 26
Using the Knowledge and Solution Engine 26
Gathering information 28
Displaying configuration information using the show config command 28
23
6 Contents
Displaying system status using the show tech command 29
Using log files 29
Viewing the software version 30
Providing a network topology diagram 30
Documenting changes to your system or network 30
Assessing connectivity problems 30
Assessing CPU utilization problems 31
Using a trace to assess a CPU utilization problem 31
Using an auto-trace to assess a CPU utilization problem 32
Using system logging 33
Transferring a log file to a remote machine 34
Setting syslog file size 34
Setting host address for file transfer 35
Job aid: example of change syslog sizes 35
Hardware troubleshooting
37
Software troubleshooting
39
44
Downloading software
47
Troubleshooting tools
Configuring port mirroring using Device Manager 49
Configuring port mirroring ports 50
Selecting ports for mirroring 51
Editing existing port mirroring values 52
Sorting entries 52
Displaying configured port mirrored entries 52
Editing existing mirrored or mirroring ports 54
Editing the Mode field values 54
49
Contents 7
Editing the Enable field values 55
Configuring and monitoring port mirroring using the NNCLI 55
Navigation 55
Deleting port mirroring on a port 55
Configuring port-mirroring entries 56
Displaying mirrored port information 57
Configuring and monitoring port mirroring using the CLI 58
Displaying port mirroring settings 59
Configuring mirror-by-port entries 59
Creating a new mirror-by-port table entry 59
Deleting mirror-by-port entries 60
Enabling a mirroring port 61
Configuring the mirrored port and mirroring port 61
Configuring the mirror-by-port mode 62
Displaying mirrored port information 62
Trapping errors using Device Manager 63
Displaying and configuring log files 64
Configuring and displaying log files using the NNCLI 64
Configuring and displaying log files using the CLI 71
Using syslog 81
Checking the MIB status using Device Manager 97
Checking the details of the MIB status 98
Using the Virtual Cable Tester 99
Using the Virtual Cable Tester with Device Manager 99
Testing ports using the Virtual Cable Tester in the NNCLI 106
Testing ports using the Virtual Cable Tester using the CLI 111
Monitoring ports 117
Monitoring how often a port goes down using Device Manager 117
Displaying port statistics using the NNCLI 118
Displaying port information using the CLI 122
Configuring the duration/interval of the monitor commands 128
Monitoring port statistics using the NNCLI 131
Monitoring port statistics using the CLI 134
Clearing statistics using the NNCLI 136
Clearing statistics using the CLI 137
Using ping snoop 138
Running a trace test 143
Tracing a route to a remote host using the NNCLI 143
Tracing a route to a remote host using the CLI 144
Configuring an automatic trace 145
Configuring an automatic trace using the CLI 146
Configuring an automatic trace using the NNCLI 149
Performing a loopback test 153
8 Contents
Performing a loopback test using the NNCLI 153
Performing a loopback test using the CLI 154
Configuring the system core image dump 155
System core image dump navigation 155
Configuring the system core image dump using the CLI 155
Configuring the system core image dump using the NNCLI 157
161
163
Supported RFCs
167
169
Diagnostics reference
173
Index
182
"Features" (page 9)
Features
See the following section for information about a feature change:
Other changes
Nortel Ethernet Routing Switch 8300: Troubleshooting (NN46200-704) is a
new document for Ethernet Routing Switch 8300 Release 4.0. Content from
the following two sources has been added to this document. The following
two documents are obsolete for this release.
11
Introduction
The Nortel Ethernet Routing Switch 8300 is a flexible and multifunctional
Layer 2/Layer 3 switch that supports diverse network architectures and
protocols. The Ethernet Routing Switch 8300 provides security and control
features such as Extensible Authentication Protocol over LAN (EAPoL),
Simple Network Management Protocol, Version 3 (SNMP3), and Secure
Shell (SSH). The Ethernet Routing Switch 8300 provides quality of service
(QoS) for a high number of attached devices and supports future network
requirements for QoS for critical applications, such as Voice over IP (VoIP).
This guide describes the diagnostic tools available for the Nortel Ethernet
Routing Switch 8300 including the Java Device Manager (Device Manager),
Nortel Networks Command Line Interface (NNCLI), and the Command Line
Interface (CLI).
Prerequisites
This guide is intended for network administrators with the following
background:
12 Introduction
Navigation
13
Troubleshooting planning
You can better troubleshoot the problems on your network by planning for
these events in advance. To do this, you must know the following:
Navigation
Network configuration
To keep track of your networks configuration, gather the information
described in the following sections. This information, when kept up-to-date,
is extremely helpful for locating information when you experience network
or device problems.
Navigation
14 Troubleshooting planning
Logical connections
With virtual LANs (VLANs), you must know how your devices are connected
logically as well as physically.
15
16 Troubleshooting planning
17
Troubleshooting fundamentals
This section provides conceptual information about the methods and tools
that you can use to troubleshoot and isolate problems in your Ethernet
Routing Switch 8300 network.
The types of problems that typically occur with networks involve connectivity
and performance. The Ethernet Routing Switch 8300 supports a diverse
range of network architectures and protocols, some of which are used to
maintain and monitor connectivity and isolate connectivity faults.
In addition, the Ethernet Routing Switch 8300 supports a wide range of
diagnostic tools that you can use to monitor and analyze traffic, capture and
analyze data packets, trace data flows, view statistics, and manage event
messages.
Certain protocols and tools are tailored for troubleshooting specific Ethernet
Routing Switch 8300 network topologies. For instance, the Connectivity
Fault Management (CFM), the IEEE standard 802.1ag, is used to maintain
connectivity for Provider Backbone Transport (PBT) trunks and service
instances. Other tools are more general in their application and can be
used to diagnose and monitor ingress and egress traffic on the Ethernet
Routing Switch 8300.
When connectivity problems occur and the source of the problem is
unknown, it is usually best to follow the OSI network architecture layers.
Therefore, confirm that your physical environment, such as the cables and
module connections, is operating without any failures before moving up to
the network and application layers.
ATTENTION
Nortel recommends that you use debugging procedures only under Global
Product Support (GPS) team guidance. To contact the GPS team, call
1-8004NORTEL (1-800-466-7835).
18 Troubleshooting fundamentals
Navigation
Port mirroring
Ethernet Routing Switch 8300 switches have a port mirroring feature that
helps you to monitor and analyze network traffic. The port mirroring feature
supports both ingress (incoming traffic) and egress (outgoing traffic) port
mirroring. When you enable port mirroring , the ingress or egress packets of
the mirrored (source) port are forwarded normally and a copy of the packets
is sent out the mirrored port to the mirroring (destination) port. Although you
can configure Ethernet Routing Switch 8300 to monitor both ingress and
egress traffic, some restrictions apply:
You can configure up to 383 total entries in the port mirroring table for
mirroring, and you can have up to 383 entries active at any given time.
This total is the combination of the maximum number of entries in egress
port mirroring (8) and the number of entries in ingress port mirroring.
For ingress port mirroring, you can only configure one port as the
mirroring (destination) port. You can configure any number of ingress
ports as mirrored (source) ports. Therefore, all ingress mirrored traffic
is sent to the single mirroring (destination) port. Similarly, for egress
mirroring, you can only configure one port as the mirroring (destination)
port. You can configure a maximum of eight ports in egress. For ingress
and egress mirroring, you can configure the mirroring port as the same
port for both ingress and egress mirroring.
Port mirroring
19
When mirroring ports where VLAN tagging is enabled, the VLAN tags
are not included in the packets received at the mirroring (destination)
port.
You can observe and analyze packet traffic at the mirroring port using a
network analyzera copy of the packet can be captured and analyzed.
Unlike other methods that are used to analyze packet traffic, the packet
traffic is uninterrupted and packets flow normally through the mirrored
port.
You can use the port mirroring feature to monitor and analyze network traffic
flowing on a port.
Use port mirroring to specify a destination port on which you want to see
mirrored traffic and specify the source ports from which traffic is mirrored.
You configure one mirroring port (destination port) for each mirrored port.
This port can reside on any fast packet inspection (FPI) unit. Any packet
entering or leaving a specified port is forwarded normally, and a copy of the
packet is sent out to the mirroring or destination port. When enabled, the
mirroring operation is non-intrusive; mirrored traffic is always treated in
the lowest priority queue.
You can observe and analyze packet traffic at the mirroring port using a
network analyzer. Unlike other methods that are used to analyze packet
traffic, the packet traffic is uninterrupted and packets flow normally through
the mirrored port.
You can also use the port mirroring feature to monitor traffic from Media
Access Control (MAC) addresses where traffic with a given MAC source
address (SA) or MAC destination address (DA) is copied to the mirror port.
You can enable this feature by setting the Device Manager Monitor field to
true for a MAC address in the Forwarding dialog box. Monitoring of MAC
address traffic must be within the context of a VLAN.
The port mirroring feature can be used to monitor the MAC table to show the
total count of MAC addresses and IP addresses that have been learned on
an ESM port or R module lane. You can view the number of MAC addresses
learned on each ESM port (ingress) or R module lane (ingress and egress).
Monitoring the MAC table helps you to understand how resources are
being used and how close you are to approaching the C-MAC limit per
R module lane.
Nortel recommends that you enable port mirroring only for diagnostic
purposes because this feature degrades switch performance.
Nortel Ethernet Routing Switch 8300
Troubleshooting
NN46200-704 01.01 Standard
4.0 29 October 2007
Copyright 2007, Nortel Networks
.
20 Troubleshooting fundamentals
You can use Device Manager, the Nortel Command Line Interface (NNCLI),
or the Command Line Interface (CLI) to configure port mirroring.
Port statistics
The port statistics commands allow you to display information on received
and transmitted packets at the ports. The ingress and egress counts are
taken at the MAC layer. These counts are updated once every second.
Route tracing
The traceroute command records the route (the specific gateway
computers at each hop) through the internet between your computer and a
specified destination computer. It also calculates and displays the amount of
time each hop took. It is a handy tool both for understanding where problems
are in the Internet network and for getting a detailed sense of the internet.
Ping snoop
You can use the ping snoop feature to troubleshoot MultiLink Trunking (MLT)
and Split MultiLink Trunking (SMLT) networks. This feature displays the
route that IP traffic takes over an MLT or SMLT path. Ping snoop enables a
filter that copies Internet Control Message Protocol (ICMP) messages to the
CPU. The CPU then monitors the ICMP stream. The console displays the
port that is used for each IP traffic flow, from source to destination station.
There is no mechanism to prevent line rate ICMP traffic from going to the
CPU as a result of enabling ping snoop.
You create a ping snoop filter by specifying a source and destination IP
address. Then, you specify the ports on which you want to enable ping
snoop. Only one ping snoop filter is supported on a port. If an ICMP
request is received on any of the added ports, the source and destination IP
address and the port, on which the packet was received, are displayed on
the management console.
If you do not know the source and destination IP address, use 0.0.0.0/0.0.0.0
as a wild card. The wild card shows all of the ICMP flows though the port
or ports.
Ping snoop is limited by the maximum number of Access Control Groups
(ACGs) configured on the ports. The maximum is 1024 ACGs.
By design, ping snoop configurations are not saved to the configuration
file and are deleted by resetting the switch. In addition, your ping snoop
configuration is erased if you log off and then log on under a different
security level.
21
Log files
Important events in the switch are logged into the log file with the timestamp,
status, and severity level (INFO, WARNING, ERROR, and FATAL). You can
use system log files to track old events which may have caused a problem.
Some of these event messages are displayed on the screen as they happen
and some of them are logged only to the file depending on how the logging
system is configured. Event message time stamp information can be used
to track the sequence of events occurring on various switches. The log file
on the PCMCIA is not saved when you reboot the system. The Ethernet
Routing Switch 8300 also logs events from the I/O modules.
Loopback testing
The Ethernet Routing Switch 8300 supports port-based internal loopback
testing. During an internal loopback test, packets are looped back at the
CPU. The CPU continues to send one packet at a time and wait for the
reply until you stop the test.
8324GT
8348TX
8348TX-PWR
Note: The VCT does not work with optical ports nor with the
management port on the 8393SF module.
22 Troubleshooting fundamentals
The VCT technology uses time domain reflectometry (TDR) to diagnose the
attached cable plant. Similar to the principle of radar, TDR is the analysis
of a conductor by sending a pulsed signal into the conductor, and then
examining the reflection of that pulse. When the transmitted pulse reaches
the end of the cable, or a fault in the cable, part or all of the pulse energy is
reflected back to the source.
The VCT algorithm measures the time it takes for the signal to travel
down the cable, see the problem, and reflect back. This measured time is
converted to distance (0 to 255 meters). The polarity and magnitude of the
reflection, together with the distance, indicates the cable condition. For
example, +1 V indicates an open cable; -1 V indicates a short in the cable.
A VCT can tell you:
whether or not the cable contains a short circuit (wires touching each
other through damaged or missing insulation)
whether or not the cable suffers from electrical cross talk (interference)
23
Initial troubleshooting
As part of your initial troubleshooting, Nortel recommends that you check
the Knowledge and Solution Engine on the Nortel Web site for known issues
and solutions related to the problem you are experiencing.
If you have to call Technical Support with your issue, the Technical Support
personnel will ask for information about your system. It is a good practice to
gather critical information prior to contacting Technical Support.
Navigation
Telnet session
rlogin
User EXEC
Nortel Ethernet Routing Switch 8300
Troubleshooting
NN46200-704 01.01 Standard
4.0 29 October 2007
24 Initial troubleshooting
Privileged EXEC
Global configuration
Interface configuration
Prompt
Mode
name
Command/mode
to enter or exit mode
User EXEC
Passport-8300:5>
exec
Default mode
when NNCLI is started
logout to exit
Privileged EXEC
Passport-8300:5#
privExec
Global
configuration
Passport-8300:5(conf
ig)#
config
configure to enter
from Privileged EXEC
mode
exit to exit to
Privileged EXEC mode
Interface
configuration
Passport-8300:5(confi
g-if)#
config-if
interface to
enter from Global
configuration mode
exit to exit to Global
configuration mode
Note: Prompts are expressed in this table using the format Passport-8300:5;
however, prompts returned from your switch typically reflect the specific chassis
you use. For example, if you use the 8310 chassis, the prompts use the format
Passport-8310:5. Prompts can be customized, also, using the NNCLI command
snmp-server name <prompt>. Refer to Nortel Ethernet Routing Switch 8300
Installation Read Me First for more information.
26 Initial troubleshooting
log in to the software using the default user name and password
27
Procedure steps
Step
Action
From the ALL TYPES drop-down list, select the document type you
want to search against.
The default is ALL TYPES, which searches on all available
documents (bulletins, documentation, services requests, software,
and solutions).
Click > (the arrow adjacent to the text box) or press Enter to start
your search.
The page reloads and provides the option to narrow your search by
product family.
End
28 Initial troubleshooting
Gathering information
Before contacting Nortel Technical Support, you must gather information
that can help the Technical Support personnel when troubleshooting. This
includes the following information:
log files
software version
Navigation
"Displaying system status using the show tech command" (page 29)
Procedure steps
Step
Action
Gathering information 29
Procedure steps
Step
Action
30 Initial troubleshooting
For more information about configuring and displaying log files, see
"Displaying and configuring log files" (page 64).
Procedure steps
Step
Action
When were these changes made? Provide the date and time.
31
Prerequisites
Procedure steps
Step
Action
Navigation
Procedure steps
Step
Action
32 Initial troubleshooting
trace clear
If you need to save the trace you can save the trace file to the
PCMCIA card using the following command:
save trace
Use the following procedure to configure the module and verbosity to trace
and then enable the feature.
Procedure steps
Step
Action
33
For example:
trace auto-trace add-module 9 3
End
Variable definitions
Variable
Value
<module_id>
<verbosity_level>
The first six characters of the log file name contains the last three bytes
of the chassis base MAC address.
The next two characters specify the slot number of CPU that generated
the logs.
The last three characters (sss) denote the sequence number of the log
file. The sequence number of the log file is incremented after every
successful auto-transfer of the file to the remote host.
After a reboot, the logs are stored in the log file name with the highest
sequence number present in the PCMCIA. If the log file does not exist,
then a new log file with the sequence number 000 is created and the logs
are stored.
Over time the syslog eventually grows to the capacity of the PCMCIA
card and thus stops logging. To prevent this, you can specify the minsize,
maxsize, and maxoccupypercentage for the syslog. By default they are
as follows:
minsize 100KB
maxsize 1024KB
Nortel Ethernet Routing Switch 8300
Troubleshooting
NN46200-704 01.01 Standard
4.0 29 October 2007
34 Initial troubleshooting
maxoccupypercentage 90%
Change the maxsize to a larger value than the default and manually
maintain the syslog files on the switches. See "Setting syslog file size"
(page 34).
Create syslog hosts and transfer the syslog files to this host. See
"Setting host address for file transfer" (page 35).
Procedure steps
Step
Action
To prevent the syslog file from stopping logging, change the maxsize
to a larger value than the default value of 1024 KB.
End
Variable definitions
Variable
Value
maxoccupyPercentage {10..90}
Variable
Value
maxsize {500..16384}
minsize {64..500}
35
Procedure steps
Step
Action
End
64 8192 90
36 Initial troubleshooting
37
Hardware troubleshooting
Use the tasks in this section to troubleshoot problems related to the Ethernet
Routing Switch 8300 hardware components.
Probable cause
Corrective action
38 Hardware troubleshooting
Symptom
Probable cause
Corrective action
Procedure steps
Step
Action
Ensure that the (S,G) entry number is not larger than 512.
End
39
Software troubleshooting
Use the tasks in this section to troubleshoot connectivity, packet loss, and
performance issues that occur with specific features and functional layers of
the Ethernet Routing Switch 8300.
Navigation
Navigation
"Troubleshooting for No (*,G) and (S,G) in the Mroute table" (page 41)
"Troubleshooting for (*,G) setup, No (S,G) in the Mroute Table" (page 43)
Procedure steps
Step
Action
Ensure that at least one switch within the PIM domain is configured
as the candidate BSR.
40 Software troubleshooting
To display information about the BSR for this PIM-SM domain, use
the following command: show ip pim bsr
"Show ip pim bsr command output" (page 40) shows sample output
for the show ip pim bsr command.
Show ip pim bsr command output
Variable definitions
Variable
Definition
Action
Variable definitions
Variable
Definition
GRPADDR
RP-ADDR
RP-PRIORITY
42 Software troubleshooting
Procedure steps
Step
Action
Procedure steps
Step
Action
Procedure steps
Step
Action
Procedure steps
Step
Action
44 Software troubleshooting
End
Navigation
Procedure steps
Step
Action
Action
Use Single Link Trunk (SLT) by configuring SMLT on one port directly.
46 Software troubleshooting
47
Downloading software
To download software from the Nortel Web site, see the following site for
download content:
http://www.nortel.com/downloadingcontent
Navigation
Procedure steps
Step
Action
48 Downloading software
49
Troubleshooting tools
This section describes the tools that are part of the Ethernet Routing Switch
8300 that you can use to troubleshoot operational and configuration issues.
Navigation
"Configuring and monitoring port mirroring using the NNCLI" (page 55)
"Configuring and monitoring port mirroring using the CLI" (page 58)
Navigation
50 Troubleshooting tools
Procedure steps
Step
Action
Click Insert.
The Diagnostics, Insert Port Mirrors dialog box appears. See
"Diagnostics, Insert Port Mirrors dialog box" (page 50).
Diagnostics, Insert Port Mirrors dialog box
End
Description
Id
MirroredPort
MirroringPort
Mode
Enable
Procedure steps
Step
Action
51
52 Troubleshooting tools
The Diagnostics, Insert Port Mirrors dialog box displays the new
entry in the MirroredPort field.
2
Sorting entries
You can click on the column heading of any entry listed in the Port Mirrors
tab to sort the entries in ascending or descending numerical order, or you
can sort to group entry values.
53
Procedure steps
Step
Action
End
Table 4 "Port Mirrors tab fields" (page 53) describes the Port Mirrors tab
fields on the Diagnostics dialog box.
Table 4
Port Mirrors tab fields
Field
Description
Enable
Id
MirroredPort
MirroringPort
Mode
Enable
54 Troubleshooting tools
Procedure steps
Step
Action
From the Port Mirrors dialog box, double click on an entry you want
to modify in the MirroredPort or MirroringPort column heading.
The MirroringPort dialog box appears with the port you clicked to
modify shown selected. See "MirroringPort dialog box" (page 54).
MirroringPort dialog box
Click Ok.
The entry in the Port Mirrors tab is replaced with the new port.
End
Procedure steps
Step
Action
Procedure steps
Step
Action
Prerequisites
Navigation
Procedure steps
Step
Action
56 Troubleshooting tools
Variable definitions
Variable
Value
id
Procedure steps
Step
Action
To create a new port mirroring table entry to mirror both transmit and
receive packets, enter the following command:
port-mirroring <id> both <mirrored_port> <mirroring_por
t> [enable|disable]
End
Variable definitions
Variable
Value
id
enable|disable
mirrored_port
mirroring_port
mode
Procedure steps
Step
Action
58 Troubleshooting tools
Show port-mirroring
End
ATTENTION
Nortel recommends that you disable port mirroring when not in use to reduce
the load on the switch.
Prerequisites
If you are using a network sniffer, connect the sniffer to port 9/3.
Navigation
Procedure steps
Step
Action
End
Procedure steps
Step
Action
End
Variable definitions
Variable
Value
id
60 Troubleshooting tools
Procedure steps
Step
Action
End
Variable definitions
Variable
Value
enable <value>
id
in-port <value>
mode <value>
Procedure steps
Step
Action
End
Variable definitions
Variable
Value
id
Procedure steps
Step
Action
End
Variable definitions
Variable
Value
enable <true|false>
id
Procedure steps
Step
Action
62 Troubleshooting tools
End
Variable definitions
Variable
Value
id
port
Procedure steps
Step
Action
End
Variable definitions
Variable
Value
id
63
Procedure steps
Step
Action
End
Procedure steps
Step
Action
End
Table 5 "Error tab fields" (page 64) describes the Error tab fields on the
Diagnostics dialog box.
64 Troubleshooting tools
Table 5
Error tab fields
Field
Description
AuthenticationTrap
LastErrorCode
LastErrorSeverity
0= Informative Information
1= Warning Condition
2= Error Condition
3= Manufacturing Information
4= Fatal Condition
Navigation
"Configuring and displaying log files using the NNCLI" (page 64)
"Configuring and displaying log files using the CLI" (page 71)
65
Procedure steps
Step
Action
To specify the filtering action you want on matching logs; enter the
following command:
logging filter <str> <action> <position>
To set the log display on the screen to on or off, enter the following
command:
logging screen <true|false>
To write the log file with the designated string, enter the following
command:
logging write <str>
End
Variable definitions
Variable
Value
clear
66 Troubleshooting tools
Variable
Value
filter <str>
<action> <position>
logToPCMCIA
screen <true|false>
Variable
Value
transferFile
<id> [add-IP
<ipaddr>|filename
<filename>|remove-I
P]
write <str>
67
Procedure steps
Step
Action
To specify the name of the log file that you want to display, enter
the following command:
show logging file name-of-file <filename>
68 Troubleshooting tools
To specify the name of the file for which you want to save the log
information, enter the following command:
show logging file save-to-file <filename>
To specify the CPU for which you want to display information, enter
the following command:
show logging file CPU <CPU>
To specify the severity level of the events that you want to display,
enter the following command:
show logging file severity <level>
To display the log file in reverser order (most recent information first),
enter the following command:
show logging file tail
End
Variable definitions
Variable
Value
category <service>
CPU <CPU>
name-of-file
<filename>
save-to-file
<filename>
69
Variable
Value
severity <level>
tail
70 Troubleshooting tools
Figure 1
Show logging file tail command output
Action
71
Displaying filter
Use the following procedure to display the configured log filters.
Procedure steps
Step
Action
"Show logging filter command output" (page 71) displays output from
the show logging filter command.
Show logging filter command output
End
72 Troubleshooting tools
Step
Action
To show and set the logging level, enter the following command:
config log level <level>
To set the log display on the screen to on or off, enter the following
command:
config log screen [<setting>]
To write the log file with the designated string, enter the following
command:
config log write <str>
End
Variable definitions
Variable
Value
level [<level>]
Variable
Value
screen [<setting>]
write <str>
logToPCMCIA
73
74 Troubleshooting tools
Procedure steps
Step
Action
To specify the filtering action you want on matching logs, enter the
following command:
config log filter add <string> action <value> [pos
<value>]
End
Variable definitions
Variable
Value
add <string>
action <value> [pos
<value>]
Variable
75
Value
pos <value> is an optional parameter that
specifies the numerical position to insert the new
string. value is a range from 1 to 50 characters.
delete [string
<value>] [pos
<value>]
76 Troubleshooting tools
Step
Action
To specify the name of a file at the remote host, enter the following
command:
config log transferFile filename <str>
To display the remote IP address and file name of the remote host,
enter the following command:
config log transferFile info
End
Variable definitions
Variable
Value
add-IP <ipaddr>
filename <str>
<id>
77
Action
To specify the CPU for which you want to display information, enter
the following command:
show log file CPU <value>
To specify the name of the log file for which you want to display
information, enter the following command:
show log file name-of-file <value>
To specify the name of the file to which you want to save the log
information, enter the following command:
Nortel Ethernet Routing Switch 8300
Troubleshooting
NN46200-704 01.01 Standard
4.0 29 October 2007
78 Troubleshooting tools
To specify the severity level of the events that you want to display,
enter the following command:
show log file severity <value>
To display the log file in reverse order; enter the following command:
show log file tail
End
Variable definitions
Variable
Value
category <value>
CPU <value>
name-of-file <value>
save-to-file <value>
Variable
Value
severity <value>
tail
79
80 Troubleshooting tools
Figure 5
Show log tail file command output
Action
"Show log level command output" (page 80) shows sample output
for the show log level command.
Show log level command output
Using syslog 81
End
Using syslog
Use the system log (syslog) messaging feature to manage event messages.
Navigation
Action
82 Troubleshooting tools
Diagnostics dialog box - System Log tab
Table 6 "System Log tab fields" (page 82) describes the System Log tab
fields on the Diagnostics dialog box.
Table 6
System Log tab fields
Field
Descriptions
Enable
MaxHost
OperState
Using syslog 83
Receives system log messages from the Ethernet Routing Switch 8300
Internally the Ethernet Routing Switch 8300 has four severity levels for log
messages:
Info
Warning
Error
Fatal
Debug
Info
Notice
Warning
Error
Critical
Alert
Emergency
Table 7 "Default severity levels and system log severity levels" (page
84) shows the default mapping of internal severity levels to syslog severity
levels.
84 Troubleshooting tools
Table 7
Default severity levels and system log severity levels
UNIX system
error codes
System log
severity level
Emergency
Fatal
Alert
Critical
Error
Error
Warning
Warning
Notice
Info
Info
Debug
Action
Using syslog 85
Procedure steps
Step
Action
86 Troubleshooting tools
Diagnostics, Insert System Log Table dialog box
Click Insert.
End
Table 8 "Diagnostics, Insert System Log Table dialog box fields" (page
87) describes the System Log Table tab fields and Diagnostics, Insert
System Log Table dialog box.
Using syslog 87
Table 8
Diagnostics, Insert System Log Table dialog box fields
Field
Description
Id
IpAddr
UdpPort
HostFacility
Severity
MapInfoSeverity
MapWarningSeverity
MapErrorSeverity
MapFatalSeverity
Enable
88 Troubleshooting tools
Procedure steps
Step
Action
To configure a host location for the syslog host; enter the following
command:
syslog host <id> address <ipaddr>
To specify the facility used in message to the syslog host, enter the
following command:
syslog host <id> facility <facility>
To specify the syslog severity level to use for the Ethernet Routing
Switch 8300 information messages; enter the following command:
syslog host <id> mapinfo <level>
To specify the syslog severity level to use for the Ethernet Routing
Switch 8300 error messages; enter the following command:
syslog host <id> maperror <level>
To specify the syslog severity level to use for the Ethernet Routing
Switch 8300 fatal messages; enter the following command:
syslog host <id> mapfatal <level>
To specify the syslog severity level to use for the Ethernet Routing
Switch 8300 warning messages; enter the following command:
syslog host <id> mapwarning <level>
10
Using syslog 89
11
12
End
Variable definitions
Variable
Value
address <ipaddr>
facility <facility>
host <id>
maperror <level>
mapfatal <level>
mapinfo <level>
mapwarning <level>
max-hosts <maxhost>
severity <info|warning|
error|fatal>
90 Troubleshooting tools
Variable
Value
state <enable|disable>
udp-port <port>
host 1 create
host 1 address
host 1 facility local0
host 1 mapwarning alert
host 1 mapfatal alert
state enable
Procedure steps
Step
Action
End
Using syslog 91
Variable definitions
Variable
Value
host <id>
Action
If the host ID is entered, then system log information for the specified
host is displayed.
End
Variable definitions
Variable
Value
host <id>
92 Troubleshooting tools
Action
To configure a host location for the syslog host; enter the following
command:
config sys syslog host <id> address <ipaddr>
To specify the facility used in message to the syslog host, enter the
following command:
config sys syslog host <id> facility <facility>
To specify the syslog severity level to use for the Ethernet Routing
Switch 8300 information messages; enter the following command:
config sys syslog host <id> mapinfo <level>
To specify the syslog severity level to use for the Ethernet Routing
Switch 8300 error messages; enter the following command:
config sys syslog host <id> maperror <level>
To specify the syslog severity level to use for the Ethernet Routing
Switch 8300 fatal messages; enter the following command:
config sys syslog host <id> mapfatal <level>
To specify the syslog severity level to use for the Ethernet Routing
Switch 8300 warning messages; enter the following command:
config sys syslog host <id> mapwarning <level>
10
Using syslog 93
11
12
13
14
End
Variable definitions
Variable
Value
address <ipaddr>
facility <facility>
host <id>
maperror <level>
mapfatal <level>
mapinfo <level>
mapwarning <level>
94 Troubleshooting tools
Variable
Value
max-hosts <maxhost>
severity <info|warning|
error|fatal>
state <enable|disable>
udp-port <port>
host 1 facility
host 1 mapwarning
host 1 mapfatal
state enable
host 1 info
Figure 7 "Config sys syslog host 1 info command output" (page 95) shows
sample output for the config sys syslog host 1 info command.
Using syslog 95
Figure 7
Config sys syslog host 1 info command output
Action
End
Variable definitions
Variable
Value
host <id>
Action
96 Troubleshooting tools
Variable definitions
Variable
Value
host <id>
Figure 9 "Show sys syslog host 1 info command output" (page 97) shows
sample output for the show sys syslog host 1 info command.
97
Figure 9
Show sys syslog host 1 info command output
Procedure steps
Step
Action
End
Table 9 "Topology tab fields" (page 98) describes the Topology tab fields on
the Diagnostics dialog box.
Nortel Ethernet Routing Switch 8300
Troubleshooting
NN46200-704 01.01 Standard
4.0 29 October 2007
Copyright 2007, Nortel Networks
.
98 Troubleshooting tools
Table 9
Topology tab fields
Field
Description
IpAddr
Status
NmmLstChg
NmmMaxNum
NmmCurNum
Procedure steps
Step
Action
End
Table 10 "Topology Table tab fields" (page 99) describes the Topology
Table tab fields.
99
Table 10
Topology Table tab fields
Field
Description
Slot
Port
IpAddr
SegId
MacAddr
ChassisType
BkplType
LocalSeg
CurState
Navigation
"Using the Virtual Cable Tester with the Device Manager" (page 99)
"Testing ports using the Virtual Cable Tester in the NNCLI" (page 106)
"Testing ports using the Virtual Cable Tester using the CLI" (page 111)
Navigation
"Testing a port using the Virtual Cable Tester using the Device Manager"
(page 100)
"Testing multiple ports using the Virtual Cable Tester using the Device
Manager" (page 103)
Testing a port with the Virtual Cable Tester using Device Manager
Use the following procedure to test a port using the Virtual Cable Tester
(VCT).
Procedure steps
Step
Action
Click Apply.
The VCT test warning box appears. See "VCT test warning box"
(page 101).
101
Click Yes to configure VCT for this port. Click No if you want to
discontinue the VCT test.
Click Refresh a few seconds after clicking Apply to view the test
results.
When the test is compete, StartTest is set to false and the TestDone
field is set to true. All other fields contain test result data.
Click Close.
End
Table 11 "VCT tab fields" (page 101) describes the VCT tab fields.
Table 11
VCT tab fields
Field
Description
Ifindex
StartTest
TestDone
Field
Description
NormalCableLength
Phy Type
cableUnknown(6)
phyUnknown
Cable Status
PairnStatus
Pairn ErrLength
103
Testing multiple ports with the Virtual Cable Tester using Device
Manager
Use the following procedure to test multiple ports using the Virtual Cable
Tester.
Procedure steps
Step
Action
To start VCT on these ports, double click their StartTest fields and
set the field to true.
Click Apply.
The VCT test warning box appears. See "VCT test warning box"
(page 104).
Click Yes to configure VCT for these ports. Click No if you want to
discontinue the VCT test.
Click Refresh a few seconds after clicking Apply to view the test
results.
When the test is compete, the StartTest field is set to false and the
TestDone field is set to true. All other fields contain test result data.
Click Close.
End
Table 12 "VCT tab fields" (page 104) describes the VCT tab fields.
Table 12
VCT tab fields
Field
Description
Ifindex
StartTest
TestDone
105
Field
Description
NormalCableLeng
th
Phy Type
cableUnknown(6)
Cable Status
phyUnknown
PairnStatus
Pairn ErrLength
Prerequisites
To test ports using the Virtual Cable Tester (VCT), you must be in Global
configuration mode in the NNCLI.
Procedure steps
Step
Action
To test one or more ports using the Virtual Cable Tester (VCT), enter
the following command in Global configuration mode:
vct test <slot/port> [-slot/port][, ...]
When you enter the vct test command, the following warning
message appears:
Passport-8310:6(config)#vct test 1/2
WARNING: VCT test will impact the traffic flow.
Do you want to continue (y/n) ?
End
Variable definitions
Variable
Value
Action
End
Variable definitions
Nortel Ethernet Routing Switch 8300
Troubleshooting
NN46200-704 01.01 Standard
4.0 29 October 2007
Copyright 2007, Nortel Networks
.
107
Variable
Value
Table 13 "VCT tab fields" (page 107) describes the VCT tab fields.
Table 13
VCT tab fields
Field
Description
Port
PhyType
phyUnknown
Field
Description
TestDone
Cable Status
PairnStatus
Pairn ErrLength
109
To configure VCT from the interface configuration mode, use the following
command:
Passport-8310:5(config)# int fast 4/1
To configure and enable VCT, use the following command:
Passport-8310:5(config)# vct test
Figure 13 "VCT test command output" (page 110) shows a VCT test
configured on port 4/1.
Figure 13
VCT test command output
111
Figure 14
Show vct command output
Testing ports using the Virtual Cable Tester using the CLI
You can test a single port or a range of ports using the Virtual Cable Tester
(VCT).
Navigation
Action
To test a single port using the Virtual Cable Tester (VCT), use the
following command:
config ethernet <slot/port> vct test
End
Variable definitions
Variable
Value
<slot/port>
Action
To display the VCT table for the specified port or ports, enter the
following command:
config ethernet <slot/port> vct info <ports>
End
Variable definitions
Variable
Value
<slot/port>
<ports>
113
Figure 15 "Config ethernet 9/1 vct info command output" (page 113) shows
sample output for the config ethernet <slot|port> vct info
command.
Figure 15
Config ethernet 9/1 vct info command output
Table 14 "VCT tab fields" (page 113) describes the VCT tab fields.
Table 14
VCT tab fields
Field
Description
Port
PhyType
TestDone
phyUnknown
Field
Description
Cable Status
PairnStatus
Pairn ErrLength
115
See Table 14 "VCT tab fields" (page 113) for descriptions of the VCT tab
fields.
Passport-8310:5/config/ethernet/4/1/VCT# test
Figure 18 "vct test command output" (page 116) shows a VCT test
configured on port 4/1.
Figure 18
vct test command output
Monitoring ports
117
Monitoring ports
Navigation
"Monitoring how often a port goes down using Device Manager" (page
117)
Procedure steps
Step
Action
End
Table 15 "Link Flap tab fields" (page 118) describes the Link Flap tab fields
on the Diagnostics dialog box.
Table 15
Link Flap tab fields
Field
Description
AutoPortDownEnable
SendTrap
Frequency
Interval
Procedure steps
Step
Action
End
Variable definitions
Variable
Value
rmon
Monitoring ports
119
Variable
Value
slot/port[-slot/port][,...]
stg
Action
To display spanning tree statistics for one or more ports, enter the
following command:
show interfaces FastEthernet statistics stg
{slot/port[-slot/port][,...]}
End
Table 16 "Spanning tree port statistics" (page 120) describes the spanning
tree port statistics.
Table 16
Spanning tree port statistics
Field
Description
PORT NUM
IN_CONFIG BPDU
IN_TCN BPDU
IN_BAD BPDU
OUT_CONFIG BPDU
OUT_TCN BPDU
Monitoring ports
121
Step
Action
To display RMON statistics for one or more ports, enter the following
command:
show interfaces FastEthernet statistics rmon
{slot/port[-slot/port][,...]}
End
Table 17 "RMON port statistics" (page 121) describes the RMON port
statistics.
Table 17
RMON port statistics
Field
Description
PORT NUM
The port number of the port for which this entry contains
RMON management information.
Field
Description
OCTETS
PKTS
MULTICAST
BROADCAST
CRC ALIGN
UNDERSIZE
OVERSIZE
FRAGMENT
COLLISION
Monitoring ports
123
Navigation
Action
End
Variable definitions
Variable
Value
collision [<ports>]
extended [<ports>]
main [<ports>]
ospf [<ports>]
Action
End
Variable definitions
Variable
Value
rmon [<ports>]
stg [<ports>]
Monitoring ports
125
Figure 22
Show ports stats rmon command output
Figure 23 "Show ports stats stg command output" (page 125) shows output
from the show ports stats stg command:
Figure 23
Show ports stats stg command output
Action
End
Variable definitions
Variable
Value
main [<ports>]
extended [<ports>]
Action
End
Variable definitions
Variable
Value
config [<ports>]
filter [<ports>]
interface [<ports>]
name [<ports>]
Monitoring ports
127
Variable
Value
qos [<ports>]
route-discovery
[<ports>]
rate-limit [<ports>]
tx-queue [<ports>]
unknown-mac-discard
[<ports>]
vlans [<ports>]
Job aid: show ports info all Figure 24 "Show ports info all command
output" (page 127) shows output from the show ports info all
command:
Figure 24
Show ports info all command output
Procedure steps
Step
Action
End
Variable definitions
Variable
Value
extended [<ports>]
main [<ports>]
Navigation
Procedure steps
Monitoring ports
Step
Action
129
End
Variable definitions
Variable
Value
duration <integer>
interval <integer>
Step
Action
End
Variable definitions
Variable
Value
info
duration <integer>
interval <integer>
Monitoring ports
131
Passport-8310:5/config/cli/monitor# info
Figure 25 "Config cli monitor command output" (page 131) shows sample
output for the config cli monitor command.
Figure 25
Config cli monitor command output
Table 18 "Monitor commands" (page 131) shows the available options for
the monitor command.
Table 18
Monitor commands
monitor
monitor
Monitoring ports
133
Figure 26
Monitor ports error collision command output
Table 19 "Monitor commands" (page 134) shows the available options for
the monitor command.
Table 19
Monitor commands
monitor
Monitoring ports
135
monitor
Prerequisites
The clear command can be executed from the Privileged EXEC, Global
configuration, or Interface configuration mode.
Procedure steps
Step
Action
To clear ARP VLAN entries from the ARP table , enter the following
command:
clear ip arp vlan <vid>
To clear QoS statistics from the switch counters, enter the following
command:.
clear qos policy-stats <policy_id>
To clear port statistics from the switch counters, enter the following
command:
clear port-stats [<ports>]
End
Variable definitions
Variable
Value
<filter_id>
<policy_id>
[<ports>]
Monitoring ports
Variable
Value
<session id>
<vid>
137
Procedure steps
Step
Action
To clear ARP VLAN entries from the ARP table , enter the following
command:
clear ip arp vlan <vid>
To clear port statistics from the switch counters, enter the following
command:
clear ports stats [<ports>]
End
Variable definitions
Variable
Value
[<ace-id>]
[<acl-id>]
<policy-id>
Variable
Value
[<ports>]
<session id>
<vid>
Navigation
You must be in EXEC mode to configure and enable ping snoop using
the NNCLI.
Procedure steps
Step
Action
To create the ping snoop filter you must set the SIP and DIP patterns.
Enter the following command:
diag ping-snoop src-ip <ip-mask> dst-ip <ip-mask>
To enable the ping snoop filter on specified ports after the filter has
been created, enter the following command:
diag ping-snoop ports <portlist>
Nortel Ethernet Routing Switch 8300
Troubleshooting
NN46200-704 01.01 Standard
4.0 29 October 2007
Monitoring ports
139
Variable definitions
Variable
Value
dst-ip <ip-mask>
ports <portlist>
src-ip <ip-mask>
Action
To disable ping snoop with the NNCLI in the EXEC mode, enter
the following command:
no diag ping-snoop
To remove the ping snoop filter from the specified ports after the filter
has been disabled, enter the following command:
no diag ping-snoop ports <portlist>
Variable definitions
Variable
Value
ports <portlist>
Action
To see which ports have the ping snoop filter enabled with the NNCLI
in the EXEC mode,enter the following command:
show diag ping-snoop
End
Monitoring ports
141
Use the following procedure to configure and enable ping snoop using the
CLI.
Procedure steps
Step
Action
To creates the ping snoop filter you must provide two arguments
(the source IP address and the destination IP address). Enter the
following command:
config diag ping-snoop create src-ip <value> dst-ip
<value>
To add ports to the ping snoop filter after the filter has been created,
enter the following command:
config diag ping-snoop add-ports <ports>
Variable definitions
Variable
Value
dst-ip <value>
enable <true|false>
<ports>
src-ip <value>
Procedure steps
Step
Action
To display the ping snoop filter and the ports on which it is applied,
enter the following command:
config diag ping-snoop info
End
Action
To delete the ping snoop filter on a particular port, enter the following
command:
config diag ping-snoop remove-ports <ports>
To remove the ping snoop filter from any ports that were added and
delete the filter, enter the following command:
config diag ping-snoop delete
End
Variable definitions
Variable
Value
<ports>
143
Navigation
Prerequisites
Procedure steps
Step
Action
End
Variable definitions
Variable
Value
datasize
ipaddr
-m <value>
-p <value>
-q <value>
-w <value>
-v
Procedure steps
Step
Action
145
End
Variable definitions
Variable
Value
<datasize>
<ipaddr>
-m <value>
-p <value>
-q <value>
-w <value>
-v
Navigation
ATTENTION
The enabling or disabling of auto-trace is not saved to the configuration file. When
a Ethernet Routing Switch 8300 re-boots, the auto-trace functionality is disabled.
Navigation
Enabling an auto-trace
Use the following procedure to enable the trace auto-enable feature.
Procedure steps
Step
Action
End
Variable definitions
Variable
Value
auto-trace <enable|disable>
Adding a module
Use the following procedure to add a module to be traced by the trace
auto-enable feature.
Procedure steps
Step
Action
147
End
Variable definitions
Variable
Value
<level>
<modid>
Removing a module
Use the following procedure to remove a module from automatic tracing.
Procedure steps
Step
Action
End
Variable definitions
Variable
Value
<modid>
Action
End
Variable definitions
Variable
Value
high-percentage <percent>
low-percentage <percent>
Action
End
149
Variable definitions
Variable
Value
<seconds>
Action
End
ATTENTION
The enabling or disabling of auto-trace is not saved to the configuration file. When
a Ethernet Routing Switch 8300 reboots, the auto-trace functionality is disabled.
Navigation
Enabling an auto-trace
Use the following procedure to enable the trace auto-enable feature.
Prerequisites
Procedure steps
Step
Action
End
Variable definitions
Variable
Value
auto-trace <enable|disable>
Adding a module
Use the following procedure to add a module to be traced by the trace
auto-enable feature.
Procedure steps
Step
Action
End
Nortel Ethernet Routing Switch 8300
Troubleshooting
NN46200-704 01.01 Standard
4.0 29 October 2007
Copyright 2007, Nortel Networks
.
151
Variable definitions
Variable
Value
<level>
<modid>
Removing a module
Use the following procedure to remove a module from automatic tracing.
Procedure steps
Step
Action
End
Variable definitions
Variable
Value
<modid>
Step
Action
End
Variable definitions
Variable
Value
high-percentage <percent>
low-percentage <percent>
Action
End
Variable definitions
153
Variable
Value
<seconds>
Navigation
Prerequisites
Before you perform a port loopback test, you must place the port in
loopback mode using the following command
interface FastEthernet <slot/port> test
Procedure steps
Step
Action
"Test loopback warning message " (page 153) appears when you
perform a loopback test:
Test loopback warning message
End
Variable definitions
Variable
Value
slot/port
Prerequisites
Before you perform a port loopback test, you must place the port in
loopback mode using the following command
config ethernet <slot/port> test
Procedure steps
Step
Action
"Test loopback warning message " (page 154) appears when you
perform a loopback test using the test loopback command.
Test loopback warning message
End
Variable definitions
155
Variable
Value
ports
"Configuring the system core image dump using the CLI" (page 155)
"Enabling the system core image dump using the NNCLI" (page 157)
Prerequisites
The flash or the PCMCIA card must have enough free space to save a
core save compact file of more than 10 megabytes (MB).
The TFTP server must have write access for a core save normal file of
more than 100 MB .
Procedure steps
Step
Action
Variable definitions
Variable
Value
enable | disable
Variable
Value
file
slot#
Example 1: Configuring the system core image dump with the flash
as a target
Example 2: Configuring the system core image dump with the PCMCIA
card as a target
Example 1: Configuring the system core image dump with the flash
as a target
To enable the system core image dump with the flash as a target location,
use the following command:
Passport-8310:5 config diag slot 5 core-save enable
/flash/cp5_core.zip
Example 2: Configuring the system core image dump with the PCMCIA
card as a target
To enable the system core image dump with the PCMCIA card as a target
location, use the following command:
Passport-8310:5 config diag slot 5 core-save enable
/pcmcia/cp5_core.zip
Example 3 : Configuring the system core image dump with a TFTP
server as a target location
To enable the system core image dump with a TFTP server (10.10.10.5)
as a target location, use the following command:
Passport-8310:5 config diag slot 5 core-save enable
10.10.10.5:cp5_core.zip
157
Prerequisites
The flash or the PCMCIA card must have enough free space to save
a core save compact file of more than 10 MB.
The TFTP server must have write access for a core save normal file of
more than 100 MB.
Procedure steps
Step
Action
Variable definitions
Variable
Value
filename <WORD/1-127>
slotlist
Example 1: Configuring the system core image dump with the flash
as a target
Example 2: Configuring the system core image dump with the PCMCIA
card as a target
Nortel Ethernet Routing Switch 8300
Troubleshooting
NN46200-704 01.01 Standard
4.0 29 October 2007
Example 1: Configuring the system core image dump with the flash
as a target
To enable the system core image dump with PCMCIA as a target location,
use the following command:
Passport-8310:5<config># core-save 5
/flash/cp5_core.zip
To show the system core image dump, use the following command:
Passport-8310:5<config># show core-save 5
The following figure shows the output for this example.
Figure 30
Example 1
Example 2: Configuring the system core image dump with the PCMCIA
card as a target
To enable the system core image dump with the PCMCIA card as a target
location, use the following command:
Passport-8310:5<config># core-save 5 /pcmcia/cp5_core.zip
To show the system core image dump, use the following command:
Passport-8310:5<config># show core-save 5
The following figure shows the output for this example.
Figure 31
Example 2
159
161
163
Troubleshooting configuration
examples
Navigation
Example 1
To set up ingress port mirroring and set the mode to receive, use the
following command:
Passport-8310:5(config)# port-mirroring 1 rx 2/1 6/4
enable
Example 2
To delete mirroring on a port, use the following command:
Passport-8310:5(config)# no port-mirroring 1
Example 3
To change the port mirroring mode, use the following command:
Passport-8310:5(config)# port-mirroring 1 mode tx
Example 4
To change a mirrored port, use the following command:
Passport-8310:5(config)# port-mirroring 1 monitor-port
2/2
Example 5
To disable port mirroring on port 1, use the following command:
Passport-8310:5(config)# port-mirroring 1 disable
Example 6
To change a mirroring port, use the following command:
Passport-8310:5(config)# port-mirroring 1 mirror-port
6/7
Example 7
To display information about port-mirror configuration in a switch, use the
following command:
Passport-8310:5(config)# show port-mirroring
Figure 33 "Show port-mirroring command output" (page 164) shows sample
output for this command.
Figure 33
Show port-mirroring command output
Example 1
To set up ingress port mirroring and set the mode to receive, use the
following command:
Passport-8310:5/config/diag/mirror-by-port/1# create
in-port 1/1 out port 5/4 mode rx enable true
Example 2
To delete mirroring on a port, use the following command:
Passport-8310:5/config/diag/mirror-by-port/1# delete
Example 3
To change the port mirroring mode to mirror both transmit and receive
packets, use the following command:
Passport-8310:5/config/diag/mirror-by-port/1# mode both
Example 4
To change a mirrored port, use the following command:
Passport-8310:5/config/diag/mirror-by-port/1#
mirrored-port 1/3
Example 5
To disable port mirroring on port 1, use the following command:
Passport-8310:5/config/diag/mirror-by-port/1# enable
false
Example 6
To change a mirroring port use the following command:
Passport-8310:5/config/diag/mirror-by-port/1#
mirroring-port 5/5
Example 7
To display information about mirrored ports on the switch, use the following
command:
Passport-8310:5 # show diag mirror-by-port
Figure 34 "Show diag mirror-by-port command output" (page 166) shows
sample output for this command.
Figure 34
Show diag mirror-by-port command output
167
Supported RFCs
The supported Request for Comments (RFCs) are outlined inNortel
Ethernet Routing Switch 8300: Release Notes - Software Release 4.0
(NN46200-401).
169
"Getting help over the phone from a Nortel Solutions Center" (page 170)
Have you searched the solutions database? Did you find any related
solutions? Is there currently a workaround for this issue?
When were these changes made? Provide the date and time. Who
made these changes? Were the changes made by a partner or
customer? Provide the names of the individuals who made the changes.
Also provide Nortel Technical Support with the following information:
Log files
search the Technical Support Web site and the Nortel Knowledge Base
for answers to technical issues
173
Diagnostics reference
This section contains reference material you can use when you perform
diagnostics on the Ethernet Routing Switch 8300.
Navigation
Command
^H
Backspace.
^D
Logout of cli.
^C
^P
^N
^S
Output suspend.
^Q
Output resume.
^I
Command completion.
^B
^F
^A
^E
Key Combination
Command
ESC B
ESC F
DEL
^K
^X
^U
^W
ESC D
^L
Redisplay line.
^R
Redisplay line.
^T
ESC L
ESC U
"..."
Description
:q
:w
ZZ
Redraw screen.
Nortel Ethernet Routing Switch 8300
Troubleshooting
NN46200-704 01.01 Standard
4.0 29 October 2007
Key Combination
Description
^F
^B
^D
^U
<n>G
Go to command number n.
/<s>
?<s>
<n>k
<n>-
Same as "k."
<n>j
<n>+
Same as "j."
RETURN
Same as "j."
<n>h
^H
Same as "h."
<n>l
SPACE
Same as "l."
<n>w
<n>W
<n>e
<n>E
<n>b
<n>B
f<c>
F<c>
Go to end of line.
Go to beginning of line.
Append.
c SPACE
Change character.
Nortel Ethernet Routing Switch 8300
Troubleshooting
NN46200-704 01.01 Standard
4.0 29 October 2007
Key Combination
Description
cl
Change character.
cw
Change word.
cc
c$
Same as "c$."
Same as "cc."
Insert.
Editing Commands
<n>r<c>
<n>x
<n>X
d SPACE
Delete character.
dl
Delete character.
Port numbering
A port number includes the slot location of the module in the chassis, as
well as the ports position in the I/O module. In the Ethernet Routing Switch
8300, slots are numbered from top to bottom. Figure 35 "8310 chassis
slots" (page 177) shows slot numbering for an 8310 chassis.
Ports are numbered generally from left to right beginning with 1 for the far
left port. On high-density modules with two rows of ports, such as the
8348TX module, ports in the top row are assigned sequential odd numbers,
and ports in the bottom row are assigned sequential even numbers. See
Figure 36 "Port numbers on high-density modules" (page 177).
Figure 36
Port numbers on high-density modules
Interface indexes
Interface indexes are used in Simple Network Management Protocol
(SNMP) to identify ports, Virtual Local Area Networks (VLANs), and
Multi-Link Trunks.
The interface index of a port is computed using the following formula:
ifIndex = (64 x slot number) + (port number 1)
where:
For example, the interface index of port 1/1 is 64, and the interface index
of port 10/48 is 687.
The interface index of a VLAN is computed using the following formula:
ifIndex = 2048 + VLAN ID
Because the default VLAN always has an ID of 1, the interface index is
always 2049.
The interface index of a Multi-Link Trunk (MLT) is computed using the
following formula:
ifIndex = 6144 + MLT_ID -1
Text conventions
179
BPDUs are sent using the physical MAC address as the source because
identifying which physical port sent the BPDU is critical to how the Spanning
Tree Protocol works.
The ports on the switch fabric/CPU module have the following last 12 bits:
Text conventions
This guide uses the following text conventions:
angle brackets (< >)
braces ({})
brackets ([ ])
ellipsis points (. . . )
Text conventions
italic text
181
separator ( > )
vertical line ( | )
182
Index
A
access policies 59
accessing
NNCLI 25
automatic trace, configuring using the
CLI 146
automatic trace, configuring using the
NNCLI 149
C
clear commands 136, 137
CLI
returning to, from NNCLI 26
commands, NNCLI
modes 23
config cli monitor command 128
config cli montor command 129
config sys syslog commands 87, 92
conventions, text 179
D
diagnostics
error trapping 63
port mirroring 18
E
edit mode commands 174
error trapping 63
errors, collision 124
Ethernet collision errors 124
I
interface index 177
L
LEDs
power supplies 37
log files, description 21
loopback testing, descripion 21
M
MAC address assignment 178
managing messages 82
messages
loopback test warning 153, 154
MIBs
checking status 97
checking status details 98
mirror-port, disabling 57
mirror-port, enabling 57
mirroring
port 18
mirroring mode, setting 62
mirroring port, enabling 60
module LEDs
problem indications 37
monitor commands 128, 128, 129, 131, 134
Multi-Link Trunk interface index 178
N
NMM (network management MIB) 97
NNCLI
accessing 25
Nortel Ethernet Routing Switch 8300
Troubleshooting
NN46200-704 01.01 Standard
4.0 29 October 2007
Index 183
returning to CLI 26
switching from CLI 25
NNCLI commands
modes 23
P
physical MAC address 179
ping snoop 138
CLI 140
description 20
disable 139
enable 138
NNCLI 138
show ports 140
port mirroring 18
description 18
displaying entries 52
editing existing values 52
egress 18
ingress 18
MAC addresses 18
VLANs 19
port mirroring commands 55, 58
port numbering 177
port statistics, description 20
port-mirroring table entry 56
ports
interface index 178
numbering 176
R
Route tracing, description 20
S
severity codes 83
severity levels
Ethernet Routing Switch 83
mapping 84
Passport 84
syslog 83
system log 83, 84
show interfaces FastEthernet statistics
command 118
V
VCT
description 21
testing a port using 100
testing multiple ports using 103
virtual MAC address 179
VLAN interface index 178
184 Index
Troubleshooting
Copyright 2007, Nortel Networks
All Rights Reserved.
Publication: NN46200-704
Document status: Standard
Document version: 01.01
Document date: 29 October 2007
Sourced in Canada and the United States of America
To provide feedback or report a problem in this document, go to www.nortel.com/documentfeedback.
LEGAL NOTICE
While the information in this document is believed to be accurate and reliable, except as otherwise expressly agreed to in writing
NORTEL PROVIDES THIS DOCUMENT "AS IS" WITHOUT WARRANTY OR CONDITION OF ANY KIND, EITHER EXPRESS OR
IMPLIED. The information and/or products described in this document are subject to change without notice.
Nortel, the Nortel logo, and the Globemark are trademarks of Nortel Networks.
IEEE is a trademark of the Institute of Electrical and Electronics Engineers, Inc.
All other trademarks are the property of their respective owners.