Pages: [1] 2 3
Author Topic: NNCLI COTD (Nortel Cli Command of the Day)  (Read 2647 times)
ngutri000
Newbie
*

Reputation Power: 5
ngutri000 barely matters.ngutri000 barely matters.
Posts: 22


View Profile
« on: November 16, 2009, 03:19:25 PM »


I was frustrated with recently searching for a way to save config file (or any files) from 8600 to tftp server.   So I think it is really nice if we can have a forum to share all NNCLI tips and tricks:

Here is the NNCLI to save file from 8600 to tftp:

ERS-8610:5# save config file <TFTP IP address>:<file name>
Save config to file 172.18.1.70 successful.

Cheers!
Logged

Michael McNamara
default
Administrator
Hero Member
*****

Reputation Power: 64
Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!
Posts: 610



View Profile WWW
« Reply #1 on: November 16, 2009, 09:46:45 PM »

That's a great idea for a sticky thread... how about we keep it in this forum.

You know you can also copy files with copy flash:/filename.txt <TFTP IP Address>:<filename>

Cheers!
Logged

Why not leave some rep if someone provided a helpful post? Click on the icon under the user's avatar.

blog.michaelfmcnamara.com

stauftm
Newbie
*

Reputation Power: 4
stauftm barely matters.stauftm barely matters.
Posts: 38


View Profile
« Reply #2 on: November 17, 2009, 05:34:59 PM »

Great idea, I don't want to flood this with useless cli so for those of you that already know this my apologies. But a command i use a lot at the edge is searching for mac addresses. From time to time I need to figure out where a workstation is located on a stack, and maybe the workstation isn't labeled properly or I need to figure it out remotely. So to find out where it is I can search the stack using this command. Note this command is from 6.x code and it has changed from previous releases. For older code this may not work as stated.

5520(config)#show mac-address-table address 00-0E-A6-AA-A0-81
Mac Address Table Aging Time: 300
Number of addresses: 1

   MAC Address    Vid      Source            MAC Address    Vid      Source
----------------- ---- --------------     ----------------- ---- --------------
00-0E-A6-AA-A0-81   34 Unit:2 Port:29

Again I use this for several things, hopefully this saves someone some time.
Logged

SoNix
Newbie
*

Reputation Power: 2
SoNix has no influence.
Posts: 6


View Profile
« Reply #3 on: November 18, 2009, 11:13:03 AM »

Since Nortel always ask for configs, and technical informations about your switches....


show run              --> Show Current running configurations
show log file tail   --> Show the log file from the last occured events.
show tech             --> Show Every Technical informations about your switches.

NNCLI equivalent of "Config Cli more false".

no boot config cli more     --> Disable the "Press Space for next screen"
boot config cli more          --> Re-Enable the "Press Space for Next Screen"
show boot config cli          --> Show the current status of the "More" option.
« Last Edit: November 20, 2009, 10:17:46 AM by SoNix » Logged

ngutri000
Newbie
*

Reputation Power: 5
ngutri000 barely matters.ngutri000 barely matters.
Posts: 22


View Profile
« Reply #4 on: November 18, 2009, 01:48:26 PM »


You should never cut off the branch that you are standing on, but some time you can’t avoid this situation.  If you have to do this on the 5500, use this command before made changes to the switch:

5510#reload minute-to-wait 10

Switch will reboot after 10 minute and restore the before-change configuration.

Anyone know the same cli for 8600?
   
Logged

Michael McNamara
default
Administrator
Hero Member
*****

Reputation Power: 64
Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!
Posts: 610



View Profile WWW
« Reply #5 on: November 18, 2009, 07:09:07 PM »

5510#reload minute-to-wait 10

Switch will reboot after 10 minute and restore the before-change configuration.

Anyone know the same cli for 8600?

There is no reload command available (to my knowledge) for the ERS 8600 switches.
Logged

Why not leave some rep if someone provided a helpful post? Click on the icon under the user's avatar.

blog.michaelfmcnamara.com

Michael McNamara
default
Administrator
Hero Member
*****

Reputation Power: 64
Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!
Posts: 610



View Profile WWW
« Reply #6 on: November 18, 2009, 07:11:06 PM »

Here's one of my favorites;

config log clear

Any subsequent "show log file tail" commands will only show recent events. You can still retrieve the entire log from the PCMCIA card.
Logged

Why not leave some rep if someone provided a helpful post? Click on the icon under the user's avatar.

blog.michaelfmcnamara.com

edslopes
Newbie
*

Reputation Power: 3
edslopes has no influence.
Posts: 16


View Profile
« Reply #7 on: November 26, 2009, 01:40:12 PM »

>Working with spyReport<
The spyReport, accessed using privilege mode can be used to get information about the process
load of the device. It lists all current running processes of ERS 8600 with their corresponding total
and delta (since the last spyReport) CPU cycles (ticks).
To get into privilege mode a password is required which can be obtained by Nortel technical
support. This password will last for a limited time only (end of the month) and requires the chassis
serial number, the software version running on the 8600 and the actual date of the 8600. (use the
‘show sys info’ and ‘date’ commands)
For entering the privilege mode the command ‘priv’ is used and the password is requested. The
privilege mode is indicated by an asterisk in front of the CLI prompt.

CLI

ERS-8610:6# priv
Password: ******
Entering privilege command mode
*ERS-8610:6#

NNCLI

ERS-8610:6# dbg enable
Password: ******
Entering privilege command mode
*ERS-8610:6#shell
Password: ******
>i
>SpyReport
Logged

Michael McNamara
default
Administrator
Hero Member
*****

Reputation Power: 64
Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!
Posts: 610



View Profile WWW
« Reply #8 on: December 12, 2009, 12:01:46 PM »

show sys perf
Logged

Why not leave some rep if someone provided a helpful post? Click on the icon under the user's avatar.

blog.michaelfmcnamara.com

svl0r
Newbie
*

Reputation Power: 2
svl0r has no influence.
Posts: 22


View Profile
« Reply #9 on: December 14, 2009, 11:05:45 AM »

sho sys top
Logged

John T
Newbie
*

Reputation Power: 3
John T has no influence.
Posts: 22



View Profile
« Reply #10 on: December 30, 2009, 02:18:55 AM »

It's not NNCLI but CLI used to see who's connected to the switch.

ERS-8610:5# show cli who
Logged

bryans
Newbie
*

Reputation Power: 2
bryans has no influence.
Posts: 9


View Profile
« Reply #11 on: December 31, 2009, 11:33:30 AM »

A command I tend to forget over time:

peer telnet

or

peer rlogin

On a 8600 or 8300 chassis with dual CPUs, you can use this command to get to the backup/slave CPU for remote upgrades.
Logged

Michael McNamara
default
Administrator
Hero Member
*****

Reputation Power: 64
Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!
Posts: 610



View Profile WWW
« Reply #12 on: January 03, 2010, 02:44:15 PM »

Here are two that I use almost daily to locate devices in the network via the ARP and MAC/FDB tables.

show ip arp info [IP ADDRESS]
show vlan info fdb-entry mac [MAC ADDRESS (00:12:34:56:78:9a:bc)]

Logged

Why not leave some rep if someone provided a helpful post? Click on the icon under the user's avatar.

blog.michaelfmcnamara.com

ngutri000
Newbie
*

Reputation Power: 5
ngutri000 barely matters.ngutri000 barely matters.
Posts: 22


View Profile
« Reply #13 on: January 12, 2010, 08:02:02 PM »


"show log file" giving you many unnecessary information.  When you are having a burst of CPU utilization, or 8600 is under attack, all you need is the error, warning, fatal. Try this :

8600# show log file severity error|warning|fatal

Logged

Michael McNamara
default
Administrator
Hero Member
*****

Reputation Power: 64
Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!Michael McNamara is awe-inspiring!
Posts: 610



View Profile WWW
« Reply #14 on: January 19, 2010, 12:52:58 AM »

Ethernet Routing Switch 5000, v6.x

show stack-info uptime

Will show the uptime of each switch in the stack.

Code:
Example;
5520-48T-PWR#show stack-info uptime
Unit# Switch Model     Unit UpTime
----- ---------------- --------------------
1     5520-48T-PWR     21 days, 08:45:14
2     5520-48T-PWR     21 days, 08:45:14
3     5520-48T-PWR     21 days, 08:45:14
Logged

Why not leave some rep if someone provided a helpful post? Click on the icon under the user's avatar.

blog.michaelfmcnamara.com

Pages: [1] 2 3
Print
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC | Theme Kani By Fussilet | Sitemap

Page created in 0.12 seconds with 17 queries. (Pretty URLs adds 0.047s, 2q)