Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

监控接口和交换功能

本节介绍如何监控接口和交换功能。

显示实时接口信息

输入命令以 monitor interface 显示有关物理或逻辑接口的实时流量、错误、告警和过滤器统计信息:

替换为 interface-name 物理或逻辑接口的名称。如果指定该 traffic 选项,将显示所有活动接口的统计信息。

实时统计信息每秒更新一次。和Current deltaDelta列显示自monitor interface输入命令或清除增量计数器以来统计信息计数器发生更改的数量。 表 1 并使用表 2traffic选项列出用于控制显示interface-name的键。(键不区分大小写。

表 1: CLI 监视器接口输出控制键

图例标示

操作

c

清除(返回到 0)列中的 Current delta 增量计数器。不会清除统计信息计数器。

f

冻结显示,停止统计信息和增量计数器的更新。

显示有关其他接口的信息。系统将提示您输入特定接口的名称。

n

显示有关下一个接口的信息。设备将按照命令显示 show interfaces terse 物理和逻辑接口的相同顺序滚动浏览这些接口。

Q 或电调

退出命令并返回到命令提示符。

t

解冻显示,恢复统计信息和增量计数器的更新。

表 2: CLI 监控接口流量输出控制键

图例标示

操作

b

以字节和每秒字节数 (bps) 为单位显示统计信息。

c

清除(返回到 0)列中的 Delta 增量计数器。不会清除统计信息计数器。

d

显示 Delta 列而不是速率列 — 以 bps 或每秒数据包数 (pps) 为单位。

p

以数据包和每秒数据包数 (pps) 为单位显示统计信息。

Q 或电调

退出命令并返回到命令提示符。

r

显示费率列(以 bps 和 pps 为单位),而不是列 Delta

以下是命令 monitor interface 中的示例显示:

注:

输入 monitor interface interface-name 命令时显示的输出字段由您指定的接口决定。

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

Note:

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.

监控购买力平价

目的

显示 PPP 监控信息,包括 PPP 地址池信息、PPP 接口的会话状态、所有 PPP 接口的累积统计信息以及 PPP 会话摘要。

注:

PPP 监控信息仅在 CLI 中可用。J-Web 用户界面不包括用于显示 PPP 监控信息的页面。

操作

输入以下 CLI 命令:

  • show ppp address-pool pool-name

  • show ppp interface interface-name

  • show ppp statistics

  • show ppp summary