12.07.2015 Views

BROCADE IP PRIMER

BROCADE IP PRIMER

BROCADE IP PRIMER

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

show commandsThe copy command can be used to back up software on the switch as well.Notice the difference in this command:Switch#copy flash tftp 10.0.0.16 FES03601a.bin secondaryThis copies the software in secondary flash to the TFTP server. By the way, onsome TFTP servers, you need to create an empty file to write to before copyingsomething to the server. Consult your server's documentation.You can even copy software from one flash into the other. This command copiesthe contents of primary flash into secondary:Switch#copy flash flash secondaryAnd this copies the contents of secondary flash into primary:Switch#copy flash flash primaryThe important thing to remember is that you're specifying the destination, notthe source. The source is assumed. If you get confused, you always have contextualhelp to guide you.The copy command can also be used to back up or restore the config file:Switch#copy running-config tftp 10.0.0.16 running-cfg.txtSwitch#copy startup-config tftp 10.0.0.16 startup-cfg.txtThese commands will back up the running and startup config. To restore, justreverse the process:Switch#copy tftp running-config 10.0.0.16 running-cfg.txtSwitch#copy tftp startup-config 10.0.0.16 startup-cfg.txtI don't recommend copying from a TFTP server directly to the running-config.It's much safer to copy it to the startup-config, and reload the switch.show commandsWe've already seen a few of show commands. There are many (too many to putin this book). Here's a bunch that may come in handy:• show version — Displays software version, uptime, the reason for the lastreboot, the device's serial number and more• show interface — Displays interface statistics, including whether an interfaceis up or down, speed of the interface, errors, throughput, etc.• show statistics — Displays throughput and error rates for each interface inan easy-to-read table• show ip — Displays <strong>IP</strong> configuration information• show ip route — Displays the <strong>IP</strong> routing table (if you're running Base Layer-3 or Full Routing code)• show ipx route — Displays the <strong>IP</strong>X routing table (if you're running BaseLayer-3 or Full Routing code)• show span — Displays spanning-tree informationBrocade <strong>IP</strong> Primer 131

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!