show interfaces routing-instance
语法
show interfaces routing-instance (instance-name | all) <brief | detail | extensive | terse>
描述
显示有关为特定路由实例或所有路由实例配置的接口的信息。
选项
all | 显示有关为路由器上的所有路由实例配置的所有接口的信息。 |
instance-name | 显示有关为指定路由实例配置的接口的信息。 |
brief | detail | extensive | terse | (可选)显示指定的输出级别。 |
所需权限级别
视图
输出字段
命令的 show interfaces routing-instance
输出字段与命令生成的 show interfaces interface-name
输出字段相同。有关输出字段的说明,请参阅本手册中的其他章节。
示例输出
show interfaces routing-instance tese
user@host> show interfaces routing-instance sample terse Interface Admin Link Proto Local Remote ge-0/0/0.0 up up inet 192.168.4.28/24
示例输出
显示接口路由实例全部
user@host> show interfaces terse routing-instance all Interface Admin Link Proto Local Remote Instance at-0/0/1 up up inet 203.0.113.1/24 ge-0/0/0.0 up up inet 192.168.4.28/24 sample-a at-0/1/0.0 up up inet6 fe80::a:0:0:4/64 sample-b so-0/0/0.0 up up inet 203.0.113.1/32
show interfaces routing-instance wide
user@hostshow interfaces fe-0/1/3 routing-instance instance2 extensive Logical interface fe-0/1/3.0 (Index 70) (SNMP ifIndex 53) (Generation 211) Flags: SNMP-Traps Encapsulation: ENET2 Traffic statistics: Input bytes : 0 Output bytes : 42 Input packets: 0 Output packets: 1 IPv6 transit statistics: Input bytes : 0 Output bytes : 0 Input packets: 0 Output packets: 0 Local statistics: Input bytes : 0 Output bytes : 42 Input packets: 0 Output packets: 1 Transit statistics: Input bytes : 0 0 bps Output bytes : 0 0 bps Input packets: 0 0 pps Output packets: 0 0 pps IPv6 transit statistics: Input bytes : 0 Output bytes : 0 Input packets: 0 Output packets: 0 Protocol inet, MTU: 1500, Generation: 252, Route table: 4 Flags: Is-Primary Addresses, Flags: Is-Default Is-Preferred Is-Primary Destination: 192.0.2/24, Local: 192.0.2.51, Broadcast: 192.0.2.255, Generation: 263
发布信息
在 Junos OS 9.1 版中引入的命令。