Cisco Befehle

Cisco Grundbefehle

  • run || runnig config
  • ver || Version und allgemeine Infos
  • sh int ser0 || Inhalt des jeweiligen Interfaces
  • sh log || Anzeige des Loggfiles
  • sh ip route || Anzeige worüber geroutet wird und wielange
  • sh ip int brief || Kurzübersicht der Interface's
  • sh int description || Kurzübersicht der Interface's
  • sh pppoe session || zeigt an worüber er läuft
  • sh run | beg Dialer371 || fängt erst ab Eingabe mit der Auflistung an.
  • sh dsl int atm0 || dsl Fehleranzeige aus dem D-SLAM (Cisco836)
  • sh isdn status || zeigt den Status der ISDN-Leitungen an
  • isdn test call int bri0 0305031720 (ab IOS 12.2)
  • isdn call int bri0 0305031720 (ältere Versionen)
  • sh arp || zeigt die IP Adressen im LAN an
  • ping 192.168.255.255 || Die IP-Adresse wird angepingt.
  nach der IP-Adresse können noch folgende Parameter eingegeben werden:
  size x || Größe des versanden Datenpackets (36-18024)
  repart x || Anzahl der versanden Pings (defalult:5)
  source x || Sourchinterface das für den Ping verwendet wird (x= Interfacename oder IP-Adresse)
  • ping atm interface atmx/x.x y z end-loopback 1000 || dieser Ping testet nur die ATM-Verbindung
x/x.x = das ATM-Subinterface  
y = VCI  
z = VPI

Befehlsvariationen

show run | include snmp

sh ru | inc snmp

Here is another useful command, but you have to think about what you are doing. I use this to see what snmp info is configured on a switch. However, it will only show lines that include snmp in them.


show run | begin ntp

sh ru | beg ntp

Here is another handy shortcut I use a lot. The other day I was setting up ntp on a network. I wanted to see what ntp info was configured and since I knew ntp was at the end of the config, it made sense that I could start showing the config at the start of the ntp statements.


prompt>conf t

enable#do sh run int gig 1/1

Dieser Beehl zeigt die Config des interface gigabit 1/1 ohne aus dem configurationsmodus raus zu gehen.

  • Listenpunkt
computer/computertipps/cisco/ciscobefehle.txt · Zuletzt geändert: 2015/04/16 21:12 von 127.0.0.1
CC Attribution-Noncommercial-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0