Monitoring Interfaces and Switching Functions
This section describes how to monitor interfaces and switching functions.
Displaying Real-Time Interface Information
Enter the monitor interface command to display real-time traffic, error, alarm, and filter statistics about a physical or logical interface:
Replace interface-name with the name of a physical or logical interface. If you specify the traffic option, statistics for all active interfaces display.
The real-time statistics update every second. The Current delta and Delta columns display the amount the statistics counters have changed since the monitor interface command was entered or since you cleared the delta counters. Table 1 and Table 2 list the keys you use to control the display using the interface-name and traffic options. (The keys are not case sensitive.)
Table 1: CLI monitor interface Output Control Keys
Clears (returns to 0) the delta counters in the Current delta column. The statistics counters are not cleared.
Freezes the display, halting the update of the statistics and delta counters.
Displays information about a different interface. You are prompted for the name of a specific interface.
Displays information about the next interface. The device scrolls through the physical and logical interfaces in the same order in which they are displayed by the show interfaces terse command.
q or ESC
Quits the command and returns to the command prompt.
Thaws the display, resuming the update of the statistics and delta counters.
Table 2: CLI monitor interface traffic Output Control Keys
Displays the statistics in units of bytes and bytes per second (bps).
Clears (returns to 0) the delta counters in the Delta column. The statistics counters are not cleared.
Displays the Delta column instead of the rate column—in bps or packets per second (pps).
Displays the statistics in units of packets and packets per second (pps).
q or ESC
Quits the command and returns to the command prompt.
Displays the rate column—in bps and pps—instead of the Delta column.
The following are sample displays from the monitor interface command:
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)  Output bytes: 137411893 (3344 bps)  Input packets: 7155064 (2 pps)  Output packets: 636071 (1 pps)  Error statistics: Input errors: 0  Input drops: 0  Input framing errors: 0  Policed discards: 0  L3 incompletes: 0  L2 channel errors: 0  L2 mismatch timeouts: 0  Carrier transitions: 1  Output errors: 0  Output drops: 0  Aged packets: 0  Active alarms : None Active defects: None Input MAC/Filter statistics: Unicast packets 73083  Broadcast packets 3629058  Multicast packets 3511364  Oversized frames 0  Packet reject count 0  DA rejects 0  SA rejects 0  Output MAC/Filter Statistics: Unicast packets 629555  Broadcast packets 6494 Multicast packet 
The output fields that display when you enter the monitor interface interface-name command are determined by the interface you specify.
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)
Monitoring Ethernet Switching
View information about the Ethernet Switching interface details.
Select Monitor>Switching>Ethernet Switching in the J-Web user interface, or enter the following CLI commands:
show ethernet-switching table
show ethernet-switching mac-learning-log
Table 3 summarizes the Ethernet Switching output fields.
Table 3: Summary of Ethernet Switching Output Fields
The VLAN for which Ethernet Switching is enabled.
The MAC address associated with the VLAN. If a VLAN range has been configured for a VLAN, the output displays the MAC addresses for the entire series of VLANs that were created with that name.
The type of MAC address. Values are:
The time remaining before the entry ages out and is removed from the Ethernet switching table.
Interface associated with learned MAC addresses or All-members (flood entry).
The VLAN ID.
The learned MAC address.
Timestamp when the MAC address was added or deleted from the log.
Indicates the MAC address learned on the interface.
View general information about all physical and logical interfaces for a device.
Enter the following show commands in the CLI to view interface status and traffic statistics.
show interfaces terse
On SRX Series devices, 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
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.
Display PPP monitoring information, including PPP address pool information, session status for PPP interfaces, cumulative statistics for all PPP interfaces, and a summary of PPP sessions.
PPP monitoring information is available only in the CLI. The J-Web user interface does not include pages for displaying PPP monitoring information.
Enter the following CLI commands:
show ppp address-pool pool-name
show ppp interface interface-name
show ppp statistics
show ppp summary