(TIL) Today I Learned...

Started by Seittit, January 13, 2015, 03:50:21 AM

Previous topic - Next topic

deanwebb

using it for transit traffic right now
Take a baseball bat and trash all the routers, shout out "IT'S A NETWORK PROBLEM NOW, SUCKERS!" and then peel out of the parking lot in your Ferrari.
"The world could perish if people only worked on things that were easy to handle." -- Vladimir Savchenko
Вопросы есть? Вопросов нет! | BCEB: Belkin Certified Expert Baffler | "Plan B is Plan A with an element of panic." -- John Clarke
Accounting is architecture, remember that!
Air gaps are high-latency Internet connections.

icecream-guy

Today I learned how to do admin password recovery for a few of my ACS appliances using CIMC.  Next I can remember how to upgrade them.
:professorcat:

My Moral Fibers have been cut.

deanwebb

How to edit the known_hosts file on a Linux box.

http://www.linkedin.com/redir/redirect?url=http%3A%2F%2Fwww%2Ethegeekstuff%2Ecom%2F2010%2F04%2Fhow-to-fix-offending-key-in-sshknown_hosts-file&urlhash=L9UF&_t=tracking_anet

If you change a certificate on a device and have other devices set to strict checking on certificates, the strict box will refuse a connection to the box with the new cert unless one clears the appropriate line in known_hosts. Copying, editing, pasting, and then running the perl command did the trick and I was able to connect to the boxes with new certs once again.
Take a baseball bat and trash all the routers, shout out "IT'S A NETWORK PROBLEM NOW, SUCKERS!" and then peel out of the parking lot in your Ferrari.
"The world could perish if people only worked on things that were easy to handle." -- Vladimir Savchenko
Вопросы есть? Вопросов нет! | BCEB: Belkin Certified Expert Baffler | "Plan B is Plan A with an element of panic." -- John Clarke
Accounting is architecture, remember that!
Air gaps are high-latency Internet connections.

icecream-guy

#228
TIL one can get into the FEX operating system and manipulate the FEX from within (with a limited about of functionality)


5K-SWITCH# attach fex 102
Attaching to FEX 102 ...
To exit type 'exit', to abort type '$.'
fex-102# ?
  begin       Begin with line that matches
  clear       Reset functions
  configure   Enter configuration mode
  count       Count the number of lines in the output
  dbgexec     Execute debug shell command
  debug       Debugging functions
  diff-clean  Remove temp files created by '| diff' filters
  echo        Echo argument back to screen (useful for scripts)
  exclude     Exclude lines that match
  include     Include lines that match
  last        Display last few lines of the output
  mping       Run mping
  no          Negate a command or set its defaults
  python      Source using python script
  reload      Reboot FEX
  scripting   Configure scripting parameters
  show        Show running system information
  shutdown    Shutdown FEX
  sleep       Sleep for the specified number of seconds
  system      System management commands
  tar         Archiving operations
  tclsh       Source tclsh script
  terminal    Set terminal line parameters
  test        Test commands
  end         Go to exec mode
  exit        Exit from command interpreter
  pop         Pop mode from stack or restore from name
  push        Push current mode to stack or save it under name
  where       Shows the cli context you are in

fex-102#


Cisco had to troubleshoot weird dropping packet issue, determined that there was congestion on the links between the FEX and the 5K
:professorcat:

My Moral Fibers have been cut.

deanwebb

TIL that trying to get something to work with an unsupported IOS version is a lot harder than upgrading it to a supported IOS version.

We are now checking versions before we start changing the configs.
Take a baseball bat and trash all the routers, shout out "IT'S A NETWORK PROBLEM NOW, SUCKERS!" and then peel out of the parking lot in your Ferrari.
"The world could perish if people only worked on things that were easy to handle." -- Vladimir Savchenko
Вопросы есть? Вопросов нет! | BCEB: Belkin Certified Expert Baffler | "Plan B is Plan A with an element of panic." -- John Clarke
Accounting is architecture, remember that!
Air gaps are high-latency Internet connections.

NetworkGroover

Quote from: ristau5741 on July 27, 2016, 11:45:09 AM
TIL one can get into the FEX operating system and manipulate the FEX from within (with a limited about of functionality)


5K-SWITCH# attach fex 102
Attaching to FEX 102 ...
To exit type 'exit', to abort type '$.'
fex-102# ?
  begin       Begin with line that matches
  clear       Reset functions
  configure   Enter configuration mode
  count       Count the number of lines in the output
  dbgexec     Execute debug shell command
  debug       Debugging functions
  diff-clean  Remove temp files created by '| diff' filters
  echo        Echo argument back to screen (useful for scripts)
  exclude     Exclude lines that match
  include     Include lines that match
  last        Display last few lines of the output
  mping       Run mping
  no          Negate a command or set its defaults
  python      Source using python script
  reload      Reboot FEX
  scripting   Configure scripting parameters
  show        Show running system information
  shutdown    Shutdown FEX
  sleep       Sleep for the specified number of seconds
  system      System management commands
  tar         Archiving operations
  tclsh       Source tclsh script
  terminal    Set terminal line parameters
  test        Test commands
  end         Go to exec mode
  exit        Exit from command interpreter
  pop         Pop mode from stack or restore from name
  push        Push current mode to stack or save it under name
  where       Shows the cli context you are in

fex-102#


Cisco had to troubleshoot weird dropping packet issue, determined that there was congestion on the links between the FEX and the 5K

I've heard about issues with this in the past and hidden commands - but mehhhh I think it was more about hidden counters.  Interesting.
Engineer by day, DJ by night, family first always

that1guy15

yup, yup.

At the end of the day Cisco 2Ks are just switches that shift control plane up. Pull the curtans back and you have ZTP and control all handled by a high priced 5K.

Wait, isnt this what SDN and central controllers are trying to do? yes. yes it is.
That1guy15
@that1guy_15
blog.movingonesandzeros.net

wintermute000

Don't forget no local switching [emoji14] I was at a juniper presentation about vcf and presenter had a big talking point up "not a fex does local switching" LOL

icecream-guy

Quote from: wintermute000 on July 28, 2016, 05:10:24 PM
Don't forget no local switching [emoji14] I was at a juniper presentation about vcf and presenter had a big talking point up "not a fex does local switching" LOL

I've heard that the 2300 Series FEX can switch frames without sending up to the 5K,  I didn't see anything in the date sheet I took a quick look at here, but I read it somewhere, don't remember where.

http://www.cisco.com/c/en/us/products/collateral/switches/nexus-2000-series-fabric-extenders/datasheet-c78-731663.html
:professorcat:

My Moral Fibers have been cut.

config t

TIL..

MPLS, L3VPN, MPBGP.

Mind = blown.

Listening to Macklemore & Ryan Lewis - Thrift Shop.

Poppin' tags.. this is f&%ing  :awesome:
:matrix:

Please don't mistake my experience for intelligence.

deanwebb

TIL how to say "hello" in Malagasy: Manahoana.
Take a baseball bat and trash all the routers, shout out "IT'S A NETWORK PROBLEM NOW, SUCKERS!" and then peel out of the parking lot in your Ferrari.
"The world could perish if people only worked on things that were easy to handle." -- Vladimir Savchenko
Вопросы есть? Вопросов нет! | BCEB: Belkin Certified Expert Baffler | "Plan B is Plan A with an element of panic." -- John Clarke
Accounting is architecture, remember that!
Air gaps are high-latency Internet connections.

deanwebb

TIL about DevOps security and Docker container security.

DevOps Protip: security changes can be put in as fast as other changes, everyone has to learn how to deal with it. Also, rapidly changing code means less fun for hackers that like to sit in one place that never changes.

Docker Protip: DO NOT RUN A CONTAINER WITH ROOT PRIVILEGES. EVER.
Take a baseball bat and trash all the routers, shout out "IT'S A NETWORK PROBLEM NOW, SUCKERS!" and then peel out of the parking lot in your Ferrari.
"The world could perish if people only worked on things that were easy to handle." -- Vladimir Savchenko
Вопросы есть? Вопросов нет! | BCEB: Belkin Certified Expert Baffler | "Plan B is Plan A with an element of panic." -- John Clarke
Accounting is architecture, remember that!
Air gaps are high-latency Internet connections.

deanwebb

TIL how to verify the status of a CCIE.

Get the number here: http://www.cciehof.com/

Then log in with your CCO here: https://ccie.cloudapps.cisco.com/CCIE/Schedule_Lab/CCIEOnline/jsp/VerifyCCIE_Form.jsp

The guy I just checked is valid and re-certified. 8)
Take a baseball bat and trash all the routers, shout out "IT'S A NETWORK PROBLEM NOW, SUCKERS!" and then peel out of the parking lot in your Ferrari.
"The world could perish if people only worked on things that were easy to handle." -- Vladimir Savchenko
Вопросы есть? Вопросов нет! | BCEB: Belkin Certified Expert Baffler | "Plan B is Plan A with an element of panic." -- John Clarke
Accounting is architecture, remember that!
Air gaps are high-latency Internet connections.

icecream-guy

Quote from: deanwebb on August 10, 2016, 01:53:39 PM
TIL how to verify the status of a CCIE.

Get the number here: http://www.cciehof.com/

Then log in with your CCO here: https://ccie.cloudapps.cisco.com/CCIE/Schedule_Lab/CCIEOnline/jsp/VerifyCCIE_Form.jsp

The guy I just checked is valid and re-certified. 8)

or he can log into the cert tracker and click a few buttons and have the proof emailed to you...
:professorcat:

My Moral Fibers have been cut.

deanwebb

Well, we'll check again after his anniversary date expires.
Take a baseball bat and trash all the routers, shout out "IT'S A NETWORK PROBLEM NOW, SUCKERS!" and then peel out of the parking lot in your Ferrari.
"The world could perish if people only worked on things that were easy to handle." -- Vladimir Savchenko
Вопросы есть? Вопросов нет! | BCEB: Belkin Certified Expert Baffler | "Plan B is Plan A with an element of panic." -- John Clarke
Accounting is architecture, remember that!
Air gaps are high-latency Internet connections.