Schnittstellen und Schaltfunktionen überwachen
In diesem Abschnitt wird beschrieben, wie Schnittstellen und Switching-Funktionen überwacht werden.
Anzeige von Schnittstelleninformationen in Echtzeit
Geben Sie den monitor interface
Befehl ein, um Echtzeit-Datenverkehrs-, Fehler-, Alarm- und Filterstatistiken zu einer physischen oder logischen Schnittstelle anzuzeigen:
user@host> monitor interface (interface-name | traffic)
Ersetzen Sie durch den Namen einer physischen oder logischen Schnittstelle interface-name
. Wenn Sie die traffic
Option angeben, werden Statistiken für alle aktiven Schnittstellen angezeigt.
Die Echtzeitstatistiken werden im Sekundentakt aktualisiert. In den Current delta
Spalten und Delta
wird der Betrag angezeigt, um den sich die Statistikzähler seit der Eingabe des monitor interface
Befehls oder seit dem Löschen der Deltazähler geändert haben. Tabelle 1 und Tabelle 2 listen Sie die Tasten auf, mit denen Sie die Anzeige mit den interface-name
Optionen und traffic
steuern. (Bei den Tasten wird nicht zwischen Groß- und Kleinschreibung unterschieden.)
Schlüssel |
Action! |
---|---|
c |
Löscht die Delta-Zähler in der |
f |
Friert die Anzeige ein und stoppt die Aktualisierung der Statistik- und Delta-Zähler. |
Ich |
Zeigt Informationen zu einer anderen Schnittstelle an. Sie werden aufgefordert, den Namen einer bestimmten Schnittstelle einzugeben. |
n |
Zeigt Informationen über die nächste Schnittstelle an. Das Gerät durchläuft die physischen und logischen Schnittstellen in der Reihenfolge, in der sie durch den |
q oder ESC |
Beendet den Befehl und kehrt zur Eingabeaufforderung zurück. |
t |
Taut die Anzeige auf und setzt die Aktualisierung der Statistik- und Delta-Zähler fort. |
Schlüssel |
Action! |
---|---|
b |
Zeigt die Statistiken in Bytes und Bytes pro Sekunde (bps) an. |
c |
Löscht die Delta-Zähler in der |
d |
Zeigt die |
p |
Zeigt die Statistiken in Einheiten von Paketen und Paketen pro Sekunde (pps) an. |
q oder ESC |
Beendet den Befehl und kehrt zur Eingabeaufforderung zurück. |
r |
Zeigt die Spalte "Rate" (in bps und pps) anstelle der |
Im Folgenden finden Sie Beispielanzeigen des monitor interface
Befehls:
user@host> monitor interface fe-0/0/0
host1 Seconds: 5 Time: 04:38:40 Delay: 3/0/10 Interface: fe-0/0/0, Enabled, Link is Up Encapsulation: Ethernet, Speed: 1000mbps Traffic statistics: Current delta Input bytes: 885405423 (3248 bps) [2631] Output bytes: 137411893 (3344 bps) [10243] Input packets: 7155064 (2 pps) [28] Output packets: 636071 (1 pps) [23] Error statistics: Input errors: 0 [0] Input drops: 0 [0] Input framing errors: 0 [0] Policed discards: 0 [0] L3 incompletes: 0 [0] L2 channel errors: 0 [0] L2 mismatch timeouts: 0 [0] Carrier transitions: 1 [0] Output errors: 0 [0] Output drops: 0 [0] Aged packets: 0 [0] Active alarms : None Active defects: None Input MAC/Filter statistics: Unicast packets 73083 [16] Broadcast packets 3629058 [5] Multicast packets 3511364 [3] Oversized frames 0 [0] Packet reject count 0 [0] DA rejects 0 [0] SA rejects 0 [0] Output MAC/Filter Statistics: Unicast packets 629555 [28] Broadcast packets 6494 Multicast packet [0]
Die Ausgabefelder, die bei der Eingabe des monitor interface interface-name
Befehls angezeigt werden, werden durch die von Ihnen angegebene Schnittstelle bestimmt.
user@host> monitor interface traffic
Interface Link Input packets (pps) Output packets (pps) fe-0/0/0 Up 42334 (5) 23306 (3) fe-0/0/1 Up 587525876 (12252) 589621478 (12891)
Monitor Interfaces
Purpose
View general information about all physical and logical interfaces for a device.
Action
Enter the following show
commands in the
CLI to view interface status and traffic statistics.
show interfaces terse
Note:On SRX Series Firewalls, when configuring identical IPs on a single interface, you will not see a warning message; instead, you will see a syslog message.
show interfaces extensive
show interfacesinterface-name
If you are using the J-Web user interfaces, select Monitor>Interfaces in the J-Web user interface. The J-Web Interfaces page displays the following details about each device interface:
Port—Indicates the interface name.
Admin Status—Indicates whether the interface is enabled (Up) or disabled (Down).
Link Status—Indicates whether the interface is linked (Up) or not linked (Down).
Address—Indicates the IP address of the interface.
Zone—Indicates whether the zone is an untrust zone or a trust zone.
Services—Indicates services that are enabled on the device, such as HTTP and SSH.
Protocols—Indicates protocols that are enabled on the device, such as BGP and IGMP.
Input Rate graph—Displays interface bandwidth utilization. Input rates are shown in bytes per second.
Output Rate graph—Displays interface bandwidth utilization. Output rates are shown in bytes per second.
Error Counters chart—Displays input and output error counters in the form of a bar chart.
Packet Counters chart—Displays the number of broadcast, unicast, and multicast packet counters in the form of a pie chart. (Packet counter charts are supported only for interfaces that support MAC statistics.)
To change the interface display, use the following options:
Port for FPC—Controls the member for which information is displayed.
Start/Stop button—Starts or stops monitoring the selected interfaces.
Show Graph—Displays input and output packet counters and error counters in the form of charts.
Pop-up button—Displays the interface graphs in a separate pop-up window.
Details—Displays extensive statistics about the selected interface, including its general status, traffic information, IP address, I/O errors, class-of-service data, and statistics.
Refresh Interval—Indicates the duration of time after which you want the data on the page to be refreshed.
Clear Statistics—Clears the statistics for the selected interface.
See Also
PPP überwachen
Zweck
Zeigen Sie PPP-Überwachungsinformationen an, einschließlich PPP-Adresspoolinformationen, Sitzungsstatus für PPP-Schnittstellen, kumulative Statistiken für alle PPP-Schnittstellen und eine Zusammenfassung der PPP-Sitzungen.
PPP-Überwachungsinformationen sind nur in der CLI verfügbar. Die J-Web-Benutzeroberfläche enthält keine Seiten zur Anzeige von PPP-Überwachungsinformationen.
Action!
Geben Sie die folgenden CLI-Befehle ein:
show ppp address-pool pool-name
show ppp interface interface-name
show ppp statistics
show ppp summary