• November 24, 2017, 08:05:42 AM
Welcome, Guest. Please login or register. Registration is free.
Did you miss your activation email?

Author Topic: NNCLI COTD (Nortel Cli Command of the Day)  (Read 71554 times)

0 Members and 1 Guest are viewing this topic.

Offline Peter Nguyen

  • Full Member
  • ***
  • Posts: 81
NNCLI COTD (Nortel Cli Command of the Day)
« on: November 16, 2009, 12: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!


Offline Michael McNamara

  • Administrator
  • Hero Member
  • *****
  • Posts: 3821
    • michaelfmcnamara
    • Michael McNamara
Re: Suggest a new Forum: NNCLI COTD (Nortel Cli Command of the Day)
« Reply #1 on: November 16, 2009, 06: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!
We've been helping network engineers, system administrators and technology professionals since June 2009.
If you've found this site useful or helpful, please help me spread the word. Link to us in your blog or homepage - Thanks!

Offline stauftm

  • Full Member
  • ***
  • Posts: 89
Re: Suggest a new Forum: NNCLI COTD (Nortel Cli Command of the Day)
« Reply #2 on: November 17, 2009, 02: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.

Offline SoNix

  • Rookie
  • **
  • Posts: 17
Re: Suggest a new Forum: NNCLI COTD (Nortel Cli Command of the Day)
« Reply #3 on: November 18, 2009, 08: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, 07:17:46 AM by SoNix »

Offline Peter Nguyen

  • Full Member
  • ***
  • Posts: 81
5510: reload minute-to-wait
« Reply #4 on: November 18, 2009, 10:48:26 AM »

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?
   

Offline Michael McNamara

  • Administrator
  • Hero Member
  • *****
  • Posts: 3821
    • michaelfmcnamara
    • Michael McNamara
Re: 5510: reload minute-to-wait
« Reply #5 on: November 18, 2009, 04: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.
We've been helping network engineers, system administrators and technology professionals since June 2009.
If you've found this site useful or helpful, please help me spread the word. Link to us in your blog or homepage - Thanks!

Offline Michael McNamara

  • Administrator
  • Hero Member
  • *****
  • Posts: 3821
    • michaelfmcnamara
    • Michael McNamara
Re: Suggest a new Forum: NNCLI COTD (Nortel Cli Command of the Day)
« Reply #6 on: November 18, 2009, 04: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.
We've been helping network engineers, system administrators and technology professionals since June 2009.
If you've found this site useful or helpful, please help me spread the word. Link to us in your blog or homepage - Thanks!

Offline edslopes

  • Rookie
  • **
  • Posts: 16
Re: NNCLI COTD (Nortel Cli Command of the Day)
« Reply #7 on: November 26, 2009, 10:40:12 AM »
>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

Offline Michael McNamara

  • Administrator
  • Hero Member
  • *****
  • Posts: 3821
    • michaelfmcnamara
    • Michael McNamara
Re: NNCLI COTD (Nortel Cli Command of the Day)
« Reply #8 on: December 12, 2009, 09:01:46 AM »
show sys perf
We've been helping network engineers, system administrators and technology professionals since June 2009.
If you've found this site useful or helpful, please help me spread the word. Link to us in your blog or homepage - Thanks!

Offline svl0r

  • Jr. Member
  • **
  • Posts: 41
Re: NNCLI COTD (Nortel Cli Command of the Day)
« Reply #9 on: December 14, 2009, 08:05:45 AM »
sho sys top

Offline John T

  • Rookie
  • **
  • Posts: 22
Re: NNCLI COTD (Nortel Cli Command of the Day)
« Reply #10 on: December 29, 2009, 11:18:55 PM »
It's not NNCLI but CLI used to see who's connected to the switch.

ERS-8610:5# show cli who

Offline bryans

  • Rookie
  • **
  • Posts: 20
Re: NNCLI COTD (Nortel Cli Command of the Day)
« Reply #11 on: December 31, 2009, 08: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.

Offline Michael McNamara

  • Administrator
  • Hero Member
  • *****
  • Posts: 3821
    • michaelfmcnamara
    • Michael McNamara
Re: NNCLI COTD (Nortel Cli Command of the Day)
« Reply #12 on: January 03, 2010, 11:44:15 AM »
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)]

We've been helping network engineers, system administrators and technology professionals since June 2009.
If you've found this site useful or helpful, please help me spread the word. Link to us in your blog or homepage - Thanks!

Offline Peter Nguyen

  • Full Member
  • ***
  • Posts: 81
Re: NNCLI COTD (Nortel Cli Command of the Day)
« Reply #13 on: January 12, 2010, 05: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


Offline Michael McNamara

  • Administrator
  • Hero Member
  • *****
  • Posts: 3821
    • michaelfmcnamara
    • Michael McNamara
Re: NNCLI COTD (Nortel Cli Command of the Day)
« Reply #14 on: January 18, 2010, 09:52:58 PM »
Ethernet Routing Switch 5000, v6.x

show stack-info uptime

Will show the uptime of each switch in the stack.

Code: [Select]
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
We've been helping network engineers, system administrators and technology professionals since June 2009.
If you've found this site useful or helpful, please help me spread the word. Link to us in your blog or homepage - Thanks!