Difference between revisions of "Juniper"
Jump to navigation
Jump to search
m |
(add ifmon/iftop) |
||
Line 1: | Line 1: | ||
= EX Switches = | = EX Switches = | ||
− | == Semi-hidden interfaces == | + | == Helpful CLI commands == |
+ | === ifmon === | ||
+ | Time-elapsing interface counters: i/o bytes, i/o packets, errors, etc.<br/> | ||
+ | Pass the interface name when calling the command.<br/> | ||
+ | <br/> | ||
+ | Usage: ifmon [-v] [-JL <lrname>] [interface]<br/> | ||
+ | <br/> | ||
+ | What do the other flags do..? | ||
+ | |||
+ | === iftop === | ||
+ | Time-elapsing overview of interface counters: for all interfaces<br/> | ||
+ | Gives each port's rate in pps or bps, etc.<br/> | ||
+ | <br/> | ||
+ | Usage: iftop [-v] [-d]<br/> | ||
+ | * -v : shows version | ||
+ | * -d : same as running without arguments, but adds interface descriptions | ||
+ | |||
+ | |||
+ | == Semi-hidden debug interfaces == | ||
=== lcdd: Line Card Daemon === | === lcdd: Line Card Daemon === | ||
"lcdd" from a shell (not the cli) connects you to various other parts of the switch,<br/> | "lcdd" from a shell (not the cli) connects you to various other parts of the switch,<br/> |
Revision as of 14:27, 19 November 2010
EX Switches
Helpful CLI commands
ifmon
Time-elapsing interface counters: i/o bytes, i/o packets, errors, etc.
Pass the interface name when calling the command.
Usage: ifmon [-v] [-JL <lrname>] [interface]
What do the other flags do..?
iftop
Time-elapsing overview of interface counters: for all interfaces
Gives each port's rate in pps or bps, etc.
Usage: iftop [-v] [-d]
- -v : shows version
- -d : same as running without arguments, but adds interface descriptions
lcdd: Line Card Daemon
"lcdd" from a shell (not the cli) connects you to various other parts of the switch,
including the software forwarding infrastructure (sfid), chassis manager (chassism),
and the virtual chassis system (vccpd). You don't need to be root to get into these.
The general idea is:
> lcdd 0 <area>
Where area is one of the above/below items. The digit (0) is the FPC slot number. EX switches only have FPC0.