show interfaces (M Series, MX Series, T Series Routers, and PTX Series Management and Internal Ethernet)
语法(M 系列、MX 系列、T 系列和 PTX 系列路由器管理以太网接口)
show interfaces em0 | fxp0 | mgmtre0 <brief | detail | extensive | terse> <descriptions> <media> <snmp-index snmp-index> <statistics>
语法(M 系列、MX 系列、T 系列和 PTX 系列路由器内部以太网接口)
show interfaces bcm0 | em0 | em1| fxp1 | fxp2 | ixgbe0 | ixgbe1 <brief | detail | extensive | terse> <descriptions> <media> <snmp-index snmp-index> <statistics>
描述
(仅限 M 系列、T 系列、TX Matrix Plus 和 PTX 系列设备)显示有关管理以太网和内部以太网接口的状态信息。
选项
em0 | fxp0 | mgmtre0 | (M 系列、MX 系列、T 系列和 PTX 系列)显示有关管理以太网接口的标准信息。有关机箱和路由引擎支持的以太网接口,请参阅 路由器支持的路由引擎。 |
bcm0 | em0 | em1 | fxp1 | fxp2 | ixgbe0 | ixgbe1 | (M 系列、MX 系列、T 系列和 PTX 系列)显示有关内部以太网接口的标准信息。有关每个路由引擎(按硬件平台)的内部以太网接口名称,请参阅 路由器支持的路由引擎 。
注意:
在 Junos OS 演化版上,ixgbe0 和 ixgbe1 内部接口已弃用。 |
brief | detail | extensive | terse | (可选)显示指定的输出级别。 |
descriptions | (可选)显示接口说明字符串。 |
media | (可选)显示特定于媒体的信息。 |
snmp-index snmp-index | (可选)显示接口的指定 SNMP 索引的信息。 |
statistics | (可选)显示静态接口统计信息。 |
所需权限级别
视图
输出字段
表 1 列出了 M 系列路由器、T 系列路由器、TX Matrix Plus 路由器和 PTX 系列上 (management) 命令的 show interfaces
输出字段。输出字段按其出现的大致顺序列出。
字段名称 |
字段说明 |
输出级别 |
---|---|---|
物理接口 | ||
物理接口 |
物理接口的名称。 |
所有级别 |
启用 |
接口的状态。通用 输出字段说明下的“已启用字段”部分介绍了可能的值。 |
所有级别 |
接口索引 |
物理接口索引号,反映其初始化顺序。 |
细节 广泛 无 |
SNMP ifIndex |
物理接口的 SNMP 索引号。 |
细节 广泛 无 |
生成 |
仅供瞻博网络技术支持使用的唯一编号。 |
细节丰富 |
类型 |
接口类型。 |
所有级别 |
链路级别类型 |
物理接口上使用的封装类型。 |
所有级别 |
Mtu |
最大传输单元 (MTU) — 要传输的最大数据包的大小。 |
所有级别 |
时钟 |
接口的参考时钟源。 |
所有级别 |
速度 |
接口上的网络速度。 |
所有级别 |
设备标志 |
有关物理设备的信息。通用 输出字段说明下的“设备标志”部分介绍了可能的值。 |
所有级别 |
接口标志 |
有关接口的信息。通用 输出字段说明下的“接口标志”部分介绍了可能的值。 |
所有级别 |
链路类型 |
数据传输类型。 |
细节 广泛 无 |
链接标志 |
有关链接的信息。通用 输出字段说明下的“链路标志”部分介绍了可能的值。 |
细节丰富 |
物理信息 |
有关物理接口的信息。 |
细节丰富 |
保持时间 |
当前接口保持时间启动和保持时间关闭。值以毫秒为单位。 |
细节丰富 |
当前地址 |
配置的 MAC 地址。 |
细节 广泛 无 |
硬件地址 |
接口的媒体访问控制 (MAC) 地址。 |
细节 广泛 无 |
备用链路地址 |
备份链接地址。 |
细节丰富 |
最后一次翻动 |
接口从下到上的日期、时间和前多久。格式为上次翻动:year-month- hourday :minute:(hourtimezonesecond:minute:前)。second例如,上次翻动:2002-04-26 10:52:40 PDT(04:33:20 前)。 |
细节 广泛 无 |
输入数据包 |
物理接口上接收的数据包数。 |
未指定 |
输出数据包 |
在物理接口上传输的数据包数。 |
未指定 |
上次清除的统计信息 |
上次将接口的统计信息设置为零的时间。 |
细节 丰富 |
流量统计 |
逻辑和物理接口上接收和传输的字节和数据包的数量和速率。
|
细节丰富 |
输入错误 |
|
广泛 |
输出错误 |
|
广泛 |
逻辑接口 | ||
逻辑接口 |
逻辑接口的名称 |
所有级别 |
指数 |
逻辑接口索引号,反映其初始化顺序。 |
细节 广泛 无 |
SNMP ifIndex |
逻辑接口 SNMP 接口索引号。 |
细节 广泛 无 |
生成 |
仅供瞻博网络技术支持使用的唯一编号。 |
细节丰富 |
标志 |
有关逻辑接口的信息;值在 通用输出字段说明下的“设备标志”部分中进行了描述。 |
所有级别 |
封装 |
逻辑接口上的封装。 |
细节 广泛 无 |
伊内特 |
逻辑接口的 IP 地址。 |
简短 |
协议 |
在逻辑接口上配置的协议家族(例如 iso 或 inet6)。 |
细节 广泛 无 |
Mtu |
逻辑接口上的 MTU 大小。 |
细节 广泛 无 |
生成 |
仅供瞻博网络技术支持使用的唯一编号。 |
细节丰富 |
路由表 |
此地址所在的路由表。例如, 路由表:0 引用 inet.0。 |
细节丰富 |
标志 |
有关协议家族标志的信息。 通用输出字段说明下的“族标志”部分介绍了可能的值。 |
细节 广泛 无 |
地址、标志 |
有关地址标志的信息。通用 输出字段说明下的“地址标志”部分介绍了可能的值。 |
细节 广泛 无 |
目的地 |
连接远程端的 IP 地址。 |
细节 广泛 无 |
当地 |
逻辑接口的 IP 地址。 |
细节 广泛 无 |
广播 |
广播地址。 |
细节 广泛 无 |
生成 |
仅供瞻博网络技术支持使用的唯一编号。 |
细节丰富 |
示例输出
- show interfaces brief(管理以太网)
- show interfaces(管理以太网)
- show interfaces(管理以太网 [TX Matrix Plus 路由器])
- show interfaces(管理以太网 [PTX 系列数据包传输路由器])
- show interfaces detail(管理以太网)
- show interfaces detail(管理以太网 [TX Matrix Plus 路由器])
- show interfaces detail(管理以太网 [PTX 数据包传输路由器])
- show interfaces extensive(管理以太网)
- show interfaces extensive(管理以太网 [TX Matrix Plus 路由器])
- show interfaces extensive(管理以太网 [PTX 系列数据包传输路由器])
- show interfaces mgmtre0(管理以太网 [PTX5000 路由器])
- show interfaces brief(管理以太网)
- show interfaces brief(管理以太网 [TX Matrix Plus 路由器])
- show interfaces brief(管理以太网 [PTX 系列数据包传输路由器])
- show interfaces(内部以太网)
- show interfaces(内部以太网 [TX Matrix Plus 路由器])
- show interfaces detail(内部以太网)
- show interfaces detail(内部以太网 [TX Matrix Plus 路由器])
- show interfaces extensive(内部 以太网)
- show interfaces extensive(内部 以太网 [TX Matrix Plus 路由器])
show interfaces brief(管理以太网)
user@host> show interfaces fxp0 brief Physical interface: fxp0, Enabled, Physical link is Up Type: Ethernet, Link-level type: Ethernet, MTU: 1514, Clocking: Unspecified, Speed: 100mbps Device flags : Present Running Interface flags: SNMP-Traps Logical interface fxp0.0 Flags: SNMP-Traps Encapsulation: ENET2 inet 192.168.70.143/21
show interfaces(管理以太网)
user@host> show interfaces fxp0 Physical interface: fxp0, Enabled, Physical link is Up Interface index: 1, SNMP ifIndex: 1 Type: Ethernet, Link-level type: Ethernet, MTU: 1514, Speed: 100mbps Device flags : Present Running Interface flags: SNMP-Traps Link type : Half-Duplex Current address: 00:00:5E:00:53:89, Hardware address: 00:00:5E:00:53:89 Last flapped : Never Input packets : 80804 Output packets: 1105 Logical interface fxp0.0 (Index 2) (SNMP ifIndex 13) Flags: SNMP-Traps Encapsulation: ENET2 Protocol inet, MTU: 1500 Flags: Is-Primary Addresses, Flags: Is-Preferred Is-Primary Destination: 192.168.64/21, Local: 192.168.70.143, Broadcast: 192.168.71.255
show interfaces(管理以太网 [TX Matrix Plus 路由器])
user@host> show interfaces em0 Physical interface: em0, Enabled, Physical link is Up Interface index: 8, SNMP ifIndex: 17 Type: Ethernet, Link-level type: Ethernet, MTU: 1514, Speed: 100mbps Device flags : Present Running Interface flags: SNMP-Traps Link type : Full-Duplex Current address: 00:00:5E:00:53:c0, Hardware address: 00:00:5E:00:53:c0 Last flapped : Never Input packets : 1424 Output packets: 5282 Logical interface em0.0 (Index 3) (SNMP ifIndex 18) Flags: SNMP-Traps Encapsulation: ENET2 Input packets : 1424 Output packets: 5282 Protocol inet, MTU: 1500 Flags: Is-Primary Addresses, Flags: Is-Preferred Is-Primary Destination: 192.168.178.0/25, Local: 192.168.178.11, Broadcast: 192.168.178.127
show interfaces(管理以太网 [PTX 系列数据包传输路由器])
user@host> show interfaces em0 Physical interface: em0, Enabled, Physical link is Up Interface index: 8, SNMP ifIndex: 0 Type: Ethernet, Link-level type: Ethernet, MTU: 1514, Speed: 1000mbps Device flags : Present Running Interface flags: SNMP-Traps Link type : Full-Duplex Current address: 00:00:5E:00:53:1b, Hardware address: 00:00:5E:00:53:1b Last flapped : Never Input packets : 212581 Output packets: 71 Logical interface em0.0 (Index 3) (SNMP ifIndex 0) Flags: SNMP-Traps Encapsulation: ENET2 Input packets : 212551 Output packets: 71 Protocol inet, MTU: 1500 Flags: Is-Primary Addresses, Flags: Is-Default Is-Preferred Is-Primary Destination: 192.168.3/24, Local: 192.168.3.30, Broadcast: 192.168.3.255
show interfaces detail(管理以太网)
user@host> show interfaces fxp0 detail Physical interface: fxp0, Enabled, Physical link is Up Interface index: 1, SNMP ifIndex: 1, Generation: 0 Type: Ethernet, Link-level type: Ethernet, MTU: 1514, Clocking: Unspecified, Speed: 100mbps Device flags : Present Running Interface flags: SNMP-Traps Link type : Half-Duplex Physical info : Unspecified Hold-times : Up 0 ms, Down 0 ms Current address: 00:00:5E:00:53:89, Hardware address: 00:00:5E:00:53:89 Alternate link address: Unspecified Last flapped : Never Statistics last cleared: Never Traffic statistics: Input bytes : 6484031 Output bytes : 167503 Input packets: 81008 Output packets: 1110 Logical interface fxp0.0 (Index 2) (SNMP ifIndex 13) (Generation 1) Flags: SNMP-Traps Encapsulation: ENET2 Protocol inet, MTU: 1500, Generation: 6, Route table: 0 Flags: Is-Primary Addresses, Flags: Is-Preferred Is-Primary Destination: 192.168.64/21, Local: 192.168.70.143, Broadcast: 192.168.71.255, Generation: 1
show interfaces detail(管理以太网 [TX Matrix Plus 路由器])
user@host> show interfaces em0 detail Physical interface: em0, Enabled, Physical link is Up Interface index: 8, SNMP ifIndex: 17, Generation: 2 Type: Ethernet, Link-level type: Ethernet, MTU: 1514, Clocking: Unspecified, Speed: 100mbps Device flags : Present Running Interface flags: SNMP-Traps Link type : Full-Duplex Physical info : Unspecified Hold-times : Up 0 ms, Down 0 ms Current address: 00:00:5E:00:53:c0, Hardware address: 00:00:5E:00:53:c0 Alternate link address: Unspecified Last flapped : Never Statistics last cleared: Never Traffic statistics: Input bytes : 124351 Output bytes : 1353212 Input packets: 1804 Output packets: 5344 IPv6 transit statistics: Input bytes : 0 Output bytes : 0 Input packets: 0 Output packets: 0 Logical interface em0.0 (Index 3) (SNMP ifIndex 18) (Generation 1) Flags: SNMP-Traps Encapsulation: ENET2 Traffic statistics: Input bytes : 117135 Output bytes : 1331647 Input packets: 1804 Output packets: 5344 Local statistics: Input bytes : 117135 Output bytes : 1331647 Input packets: 1804 Output packets: 5344 Protocol inet, MTU: 1500, Generation: 1, Route table: 0 Flags: Is-Primary Addresses, Flags: Is-Preferred Is-Primary Destination: 192.168.178.0/25, Local: 192.168.178.11, Broadcast: 192.168.178.127, Generation: 1
show interfaces detail(管理以太网 [PTX 数据包传输路由器])
user@host> show interfaces detail em0 Physical interface: em0, Enabled, Physical link is Up Interface index: 8, SNMP ifIndex: 0, Generation: 3 Type: Ethernet, Link-level type: Ethernet, MTU: 1514, Clocking: Unspecified, Speed: 1000mbps Device flags : Present Running Interface flags: SNMP-Traps Link type : Full-Duplex Physical info : Unspecified Hold-times : Up 0 ms, Down 0 ms Current address: 00:00:5E:00:53:1b, Hardware address: 00:00:5E:00:53:1b Alternate link address: Unspecified Last flapped : Never Statistics last cleared: Never Traffic statistics: Input bytes : 15255909 Output bytes : 4608 Input packets: 214753 Output packets: 72 IPv6 transit statistics: Input bytes : 0 Output bytes : 0 Input packets: 0 Output packets: 0 Logical interface em0.0 (Index 3) (SNMP ifIndex 0) (Generation 1) Flags: SNMP-Traps Encapsulation: ENET2 Traffic statistics: Input bytes : 14394630 Output bytes : 3024 Input packets: 214723 Output packets: 72 Local statistics: Input bytes : 14394630 Output bytes : 3024 Input packets: 214723 Output packets: 72 Protocol inet, MTU: 1500, Generation: 1, Route table: 0 Flags: Is-Primary Addresses, Flags: Is-Default Is-Preferred Is-Primary Destination: 192.168.3/24, Local: 192.168.3.30, Broadcast: 192.168.3.255, Generation: 1
show interfaces extensive(管理以太网)
user@host> show interfaces fxp0 extensive Physical interface: fxp0, Enabled, Physical link is Up Interface index: 1, SNMP ifIndex: 1, Generation: 0 Type: Ethernet, Link-level type: Ethernet, MTU: 1514, Clocking: Unspecified, Speed: 100mbps Device flags : Present Running Interface flags: SNMP-Traps Link type : Half-Duplex Physical info : Unspecified Hold-times : Up 0 ms, Down 0 ms Current address: 00:00:5E:00:53:89, Hardware address: 00:00:5E:00:53:89 Alternate link address: Unspecified Last flapped : Never Statistics last cleared: Never Traffic statistics: Input bytes : 6678904 Output bytes : 169657 Input packets: 83946 Output packets: 1127 Input errors: Errors: 12, Drops: 0, Framing errors: 0, Runts: 0, Giants: 0, Policed discards: 0, Resource errors: 0 Output errors: Carrier transitions: 0, Errors: 0, Drops: 0, MTU errors: 0, Resource errors: 0 Logical interface fxp0.0 (Index 2) (SNMP ifIndex 13) (Generation 1) Flags: SNMP-Traps Encapsulation: ENET2 Protocol inet, MTU: 1500, Generation: 6, Route table: 0 Flags: Is-Primary Addresses, Flags: Is-Preferred Is-Primary Destination: 192.168.64/21, Local: 192.168.70.143, Broadcast: 192.168.71.255, Generation: 1
show interfaces extensive(管理以太网 [TX Matrix Plus 路由器])
user@host> show interfaces em0 extensive Physical interface: em0, Enabled, Physical link is Up Interface index: 8, SNMP ifIndex: 17, Generation: 2 Type: Ethernet, Link-level type: Ethernet, MTU: 1514, Clocking: Unspecified, Speed: 100mbps Device flags : Present Running Interface flags: SNMP-Traps Link type : Full-Duplex Physical info : Unspecified Hold-times : Up 0 ms, Down 0 ms Current address: 00:00:5E:00:53:c0, Hardware address: 00:00:5E:00:53:c0 Alternate link address: Unspecified Last flapped : Never Statistics last cleared: Never Traffic statistics: Input bytes : 127120 Output bytes : 1357414 Input packets: 1843 Output packets: 5372 IPv6 transit statistics: Input bytes : 0 Output bytes : 0 Input packets: 0 Output packets: 0 Input errors: Errors: 0, Drops: 0, Framing errors: 0, Runts: 0, Giants: 0, Policed discards: 0, Resource errors: 0 Output errors: Carrier transitions: 0, Errors: 0, Drops: 0, MTU errors: 0, Resource errors: 0 Logical interface em0.0 (Index 3) (SNMP ifIndex 18) (Generation 1) Flags: SNMP-Traps Encapsulation: ENET2 Traffic statistics: Input bytes : 119748 Output bytes : 1335719 Input packets: 1843 Output packets: 5372 Local statistics: Input bytes : 119748 Output bytes : 1335719 Input packets: 1843 Output packets: 5372 Protocol inet, MTU: 1500, Generation: 1, Route table: 0 Flags: Is-Primary Addresses, Flags: Is-Preferred Is-Primary Destination: 192.168.178.0/25, Local: 192.168.178.11, Broadcast: 192.168.178.127, Generation: 1
show interfaces extensive(管理以太网 [PTX 系列数据包传输路由器])
user@host> show interfaces extensive em0 Physical interface: em0, Enabled, Physical link is Up Interface index: 8, SNMP ifIndex: 0, Generation: 3 Type: Ethernet, Link-level type: Ethernet, MTU: 1514, Clocking: Unspecified, Speed: 1000mbps Device flags : Present Running Interface flags: SNMP-Traps Link type : Full-Duplex Physical info : Unspecified Hold-times : Up 0 ms, Down 0 ms Current address: 00:00:5E:00:53:1b, Hardware address: 00:00:5E:00:53:1b Alternate link address: Unspecified Last flapped : Never Statistics last cleared: Never Traffic statistics: Input bytes : 15236459 Output bytes : 4608 Input packets: 214482 Output packets: 72 IPv6 transit statistics: Input bytes : 0 Output bytes : 0 Input packets: 0 Output packets: 0 Input errors: Errors: 0, Drops: 0, Framing errors: 0, Runts: 0, Giants: 0, Policed discards: 0, Resource errors: 0 Output errors: Carrier transitions: 0, Errors: 0, Drops: 0, MTU errors: 0, Resource errors: 0 Logical interface em0.0 (Index 3) (SNMP ifIndex 0) (Generation 1) Flags: SNMP-Traps Encapsulation: ENET2 Traffic statistics: Input bytes : 14376264 Output bytes : 3024 Input packets: 214452 Output packets: 72 Local statistics: Input bytes : 14376264 Output bytes : 3024 Input packets: 214452 Output packets: 72 Protocol inet, MTU: 1500, Generation: 1, Route table: 0 Flags: Is-Primary Addresses, Flags: Is-Default Is-Preferred Is-Primary Destination: 192.168.3/24, Local: 192.168.3.30, Broadcast: 192.168.3.255, Generation: 1
show interfaces mgmtre0(管理以太网 [PTX5000 路由器])
user@host> show interfaces mgmtre0 extensive Physical interface: mgmtre0, Enabled, Physical link is Up Interface index: 1001, SNMP ifIndex: 501 Link-level type: Ethernet, MTU: 1500 Device flags : Present Interface flags: None Link flags : None Current address: ec:9e:cd:06:30:da, Hardware address: ec:9e:cd:06:30:da Last flapped : Never Logical interface mgmtre0.0 (Index 1001) (SNMP ifIndex 503) Flags: Encapsulation: ENET2 Protocol inet, MTU: 1486 Flags: None Addresses, Flags: Is-Preferred Is-Primary Destination: 10.92.248/23, Local: 10.92.248.22, Broadcast: 10.92.249.255 Protocol multiservice, MTU: Unlimited Flags: None
show interfaces brief(管理以太网)
user@host> show interfaces fxp1 brief Physical interface: fxp1, Enabled, Physical link is Up Type: Ethernet, Link-level type: Ethernet, MTU: 1514, Clocking: Unspecified, Speed: 100mbps Device flags : Present Running Interface flags: SNMP-Traps Logical interface fxp1.0 Flags: SNMP-Traps Encapsulation: ENET2 inet 10.0.0.4/8 inet6 fe80::200:ff:fe00:4/64 fec0::10:0:0:4/64 tnp 4
show interfaces brief(管理以太网 [TX Matrix Plus 路由器])
user@host> show interfaces em0 brief Physical interface: em0, Enabled, Physical link is Up Type: Ethernet, Link-level type: Ethernet, MTU: 1514, Clocking: Unspecified, Speed: 100mbps Device flags : Present Running Interface flags: SNMP-Traps Logical interface em0.0 Flags: SNMP-Traps Encapsulation: ENET2 inet 192.168.178.11/25
show interfaces brief(管理以太网 [PTX 系列数据包传输路由器])
user@host> show interfaces em0 brief Physical interface: em0, Enabled, Physical link is Up Type: Ethernet, Link-level type: Ethernet, MTU: 1514, Clocking: Unspecified, Speed: 1000mbps Device flags : Present Running Interface flags: SNMP-Traps Logical interface em0.0 Flags: SNMP-Traps Encapsulation: ENET2 inet 192.168.3.30/24 root@aboslutely> show interfaces em0 terse Interface Admin Link Proto Local Remote em0 up up em0.0 up up inet 192.168.3.30/24
show interfaces(内部以太网)
user@host> show interfaces fxp1 Physical interface: fxp1, Enabled, Physical link is Up Interface index: 2, SNMP ifIndex: 2 Type: Ethernet, Link-level type: Ethernet, MTU: 1514, Speed: 100mbps Device flags : Present Running Interface flags: SNMP-Traps Link type : Full-Duplex Current address: 00:00:5E:00:53:04, Hardware address: 00:00:5E:00:53:04 Last flapped : Never Input packets : 30655 Output packets: 33323 Logical interface fxp1.0 (Index 3) (SNMP ifIndex 14) Flags: SNMP-Traps Encapsulation: ENET2 Protocol inet, MTU: 1500 Flags: Is-Primary Addresses, Flags: Is-Default Is-Preferred Is-Primary Destination: 10/8, Local: 10.0.0.4, Broadcast: 10.255.255.255 Protocol inet6, MTU: 1500 Flags: Is-Primary Addresses, Flags: Is-Preferred Destination: fe80::/64, Local: fe80::200:ff:fe00:4 Addresses, Flags: Is-Default Is-Preferred Is-Primary Destination: fec0::/64, Local: fec0::10:0:0:4 Protocol tnp, MTU: 1500 Flags: Primary, Is-Primary Addresses Local: 4
show interfaces(内部以太网 [TX Matrix Plus 路由器])
user@host> show interfaces ixgbe0 Physical interface: ixgbe0, Enabled, Physical link is Up Interface index: 2, SNMP ifIndex: 116 Type: Ethernet, Link-level type: Ethernet, MTU: 1514, Speed: 1000mbps Device flags : Present Running Interface flags: SNMP-Traps Link type : Full-Duplex Current address: 00:00:5E:00:53:04, Hardware address: 00:00:5E:00:53:04 Last flapped : Never Input packets : 2301738 Output packets: 3951155 Logical interface ixgbe0.0 (Index 4) (SNMP ifIndex 117) Flags: SNMP-Traps Encapsulation: ENET2 Input packets : 2301595 Output packets: 3951155 Protocol inet, MTU: 1500 Flags: Is-Primary Addresses, Flags: Is-Preferred Destination: 10/8, Local: 10.34.0.4, Broadcast: 10.255.255.255 Addresses, Flags: Primary Is-Default Is-Preferred Is-Primary Destination: 192.168/16, Local: 192.168.0.4, Broadcast: 192.168.0.4 Protocol inet6, MTU: 1500 Flags: Is-Primary Addresses, Flags: Is-Preferred Destination: fe80::/64, Local: fe80::200:ff:fe22:4 Addresses, Flags: Is-Default Is-Preferred Is-Primary Destination: fec0::/64, Local: fec0::a:22:0:4 Protocol tnp, MTU: 1500 Flags: Primary, Is-Primary Addresses Local: 0x22000004
show interfaces detail(内部以太网)
user@host> show interfaces fxp1 detail Physical interface: fxp1, Enabled, Physical link is Up Interface index: 2, SNMP ifIndex: 2, Generation: 1 Type: Ethernet, Link-level type: Ethernet, MTU: 1514, Clocking: Unspecified, Speed: 100mbps Device flags : Present Running Interface flags: SNMP-Traps Link type : Full-Duplex Physical info : Unspecified Hold-times : Up 0 ms, Down 0 ms Current address: 00:00:5E:00:53:04, Hardware address: 00:00:5E:00:53:04 Alternate link address: Unspecified Last flapped : Never Statistics last cleared: Never Traffic statistics: Input bytes : 2339969 Output bytes : 15880707 Input packets: 30758 Output packets: 33443 Logical interface fxp1.0 (Index 3) (SNMP ifIndex 14) (Generation 2) Flags: SNMP-Traps Encapsulation: ENET2 Protocol inet, MTU: 1500, Generation: 7, Route table: 1 Flags: Is-Primary Addresses, Flags: Is-Default Is-Preferred Is-Primary Destination: 10/8, Local: 10.0.0.4, Broadcast: 10.255.255.255, Generation: 3 Protocol inet6, MTU: 1500, Generation: 8, Route table: 1 Flags: Is-Primary Addresses, Flags: Is-Preferred Destination: fe80::/64, Local: fe80::200:ff:fe00:4, Broadcast: Unspecified, Generation: 5 Addresses, Flags: Is-Default Is-Preferred Is-Primary Destination: fec0::/64, Local: fec0::10:0:0:4, Broadcast: Unspecified, Generation: 7 Protocol tnp, MTU: 1500, Generation: 9, Route table: 1 Flags: Primary, Is-Primary Addresses, Flags: None Destination: Unspecified, Local: 4, Broadcast: Unspecified, Generation: 8
show interfaces detail(内部以太网 [TX Matrix Plus 路由器])
user@host> show interfaces ixgbe0 detail Physical interface: ixgbe0, Enabled, Physical link is Up Interface index: 2, SNMP ifIndex: 116, Generation: 3 Type: Ethernet, Link-level type: Ethernet, MTU: 1514, Clocking: Unspecified, Speed: 1000mbps Device flags : Present Running Interface flags: SNMP-Traps Link type : Full-Duplex Physical info : Unspecified Hold-times : Up 0 ms, Down 0 ms Current address: 00:00:5E:00:53:04, Hardware address: 00:00:5E:00:53:04 Alternate link address: Unspecified Last flapped : Never Statistics last cleared: Never Traffic statistics: Input bytes : 238172825 Output bytes : 1338948955 Input packets: 2360984 Output packets: 4061512 IPv6 transit statistics: Input bytes : 0 Output bytes : 0 Input packets: 0 Output packets: 0 Logical interface ixgbe0.0 (Index 4) (SNMP ifIndex 117) (Generation 2) Flags: SNMP-Traps Encapsulation: ENET2 Traffic statistics: Input bytes : 228720309 Output bytes : 1261387447 Input packets: 2360841 Output packets: 4061512 IPv6 transit statistics: Input bytes : 0 Output bytes : 0 Input packets: 0 Output packets: 0 Local statistics: Input bytes : 228720309 Output bytes : 1261387447 Input packets: 2360841 Output packets: 4061512 Protocol inet, MTU: 1500, Generation: 2, Route table: 1 Flags: Is-Primary Addresses, Flags: Is-Preferred Destination: 10/8, Local: 10.34.0.4, Broadcast: 10.255.255.255, Generation: 2 Addresses, Flags: Primary Is-Default Is-Preferred Is-Primary Destination: 192.168/16, Local: 192.168.0.4, Broadcast: 191.255.255.255, Generation: 3 Protocol inet6, MTU: 1500, Generation: 3, Route table: 1 Flags: Is-Primary Addresses, Flags: Is-Preferred Destination: fe80::/64, Local: fe80::200:ff:fe22:4 Generation: 4 Addresses, Flags: Is-Default Is-Preferred Is-Primary Destination: fec0::/64, Local: fec0::a:22:0:4 Protocol tnp, MTU: 1500, Generation: 5 Generation: 4, Route table: 1 Flags: Primary, Is-Primary Addresses, Flags: None Destination: Unspecified, Local: 0x22000004, Broadcast: Unspecified, Generation: 6
show interfaces extensive(内部 以太网)
user@host> show interfaces fxp1 extensive Physical interface: fxp1, Enabled, Physical link is Up Interface index: 2, SNMP ifIndex: 2, Generation: 1 Type: Ethernet, Link-level type: Ethernet, MTU: 1514, Clocking: Unspecified, Speed: 100mbps Device flags : Present Running Interface flags: SNMP-Traps Link type : Full-Duplex Physical info : Unspecified Hold-times : Up 0 ms, Down 0 ms Current address: 00:00:5E:00:53:04, Hardware address: 00:00:5E:00:53:04 Alternate link address: Unspecified Last flapped : Never Statistics last cleared: Never Traffic statistics: Input bytes : 2349897 Output bytes : 15888605 Input packets: 30896 Output packets: 33607 Input errors: Errors: 0, Drops: 0, Framing errors: 0, Runts: 0, Giants: 0, Policed discards: 0, Resource errors: 0 Output errors: Carrier transitions: 0, Errors: 0, Drops: 0, MTU errors: 0, Resource errors: 0 Logical interface fxp1.0 (Index 3) (SNMP ifIndex 14) (Generation 2) Flags: SNMP-Traps Encapsulation: ENET2 Protocol inet, MTU: 1500, Generation: 7, Route table: 1 Flags: Is-Primary Addresses, Flags: Is-Default Is-Preferred Is-Primary Destination: 10/8, Local: 10.0.0.4, Broadcast: 10.255.255.255, Generation: 3 Protocol inet6, MTU: 1500, Generation: 8, Route table: 1 Flags: Is-Primary Addresses, Flags: Is-Preferred Destination: fe80::/64, Local: fe80::200:ff:fe00:4, Broadcast: Unspecified, Generation: 5 Addresses, Flags: Is-Default Is-Preferred Is-Primary Destination: fec0::/64, Local: fec0::10:0:0:4, Broadcast: Unspecified, Generation: 7 Protocol tnp, MTU: 1500, Generation: 9, Route table: 1 Flags: Primary, Is-Primary Addresses, Flags: None Destination: Unspecified, Local: 4, Broadcast: Unspecified, Generation: 8
show interfaces extensive(内部 以太网 [TX Matrix Plus 路由器])
user@host> show interfaces ixgbe0 extensive Physical interface: ixgbe0, Enabled, Physical link is Up Interface index: 2, SNMP ifIndex: 116, Generation: 3 Type: Ethernet, Link-level type: Ethernet, MTU: 1514, Clocking: Unspecified, Speed: 1000mbps Device flags : Present Running Interface flags: SNMP-Traps Link type : Full-Duplex Physical info : Unspecified Hold-times : Up 0 ms, Down 0 ms Current address: 00:00:5E:00:53:04, Hardware address: 00:00:5E:00:53:04 Alternate link address: Unspecified Last flapped : Never Statistics last cleared: Never Traffic statistics: Input bytes : 242730780 Output bytes : 1348312269 Input packets: 2398737 Output packets: 4133510 IPv6 transit statistics: Input bytes : 0 Output bytes : 0 Input packets: 0 Output packets: 0 Input errors: Errors: 0, Drops: 0, Framing errors: 0, Runts: 0, Giants: 0, Policed discards: 0, Resource errors: 0 Output errors: Carrier transitions: 0, Errors: 0, Drops: 0, MTU errors: 0, Resource errors: 0 Logical interface ixgbe0.0 (Index 4) (SNMP ifIndex 117) (Generation 2) Flags: SNMP-Traps Encapsulation: ENET2 Traffic statistics: Input bytes : 233127252 Output bytes : 1269350897 Input packets: 2398594 Output packets: 4133510 IPv6 transit statistics: Input bytes : 0 Output bytes : 0 Input packets: 0 Output packets: 0 Local statistics: Input bytes : 233127252 Output bytes : 1269350897 Input packets: 2398594 Output packets: 4133510 Protocol inet, MTU: 1500, Generation: 2, Route table: 1 Flags: Is-Primary Addresses, Flags: Is-Preferred Destination: 10/8, Local: 10.34.0.4, Broadcast: 10.255.255.255, Generation: 2 Addresses, Flags: Primary Is-Default Is-Preferred Is-Primary Destination: 192.168/16, Local: 192.168.0.4, Broadcast: 191.255.255.255, Generation: 3 Protocol inet6, MTU: 1500, Generation: 3, Route table: 1 Flags: Is-Primary Addresses, Flags: Is-Preferred Destination: fe80::/64, Local: fe80::200:ff:fe22:4 Generation: 4 Addresses, Flags: Is-Default Is-Preferred Is-Primary Destination: fec0::/64, Local: fec0::a:22:0:4 Protocol tnp, MTU: 1500, Generation: 5 Generation: 4, Route table: 1 Flags: Primary, Is-Primary Addresses, Flags: None Destination: Unspecified, Local: 0x22000004, Broadcast: Unspecified, Generation: 6
发布信息
在 Junos OS 7.4 版之前引入的命令。
在适用于 Junos OS 12.1 版的 PTX 系列数据包传输路由器上引入的命令。