验证接口
用途
确认接口已使用family mpls语句正确配置。
操作
要确定相关接口已启动并正确配置,请从入口、传输和出口路由器中输入以下命令:
user@host> show interfaces terse
user@host> show configuration interfaces type-fpc/pic/port
示例输出
user@R1> show interfaces so* terse Interface Admin Link Proto Local Remote so-0/0/0 up up so-0/0/0.0 up up inet 10.1.12.1/30 iso mpls so-0/0/1 up up so-0/0/1.0 up up inet 10.1.15.1/30 iso mpls so-0/0/2 up up so-0/0/2.0 up up inet 10.1.13.1/30 iso <<< family mpls is missing so-0/0/3 up down user@R1> show configuration interfaces so-0/0/2 unit 0 { family inet { address 10.1.13.1/30; } family iso; <<< family mpls is missing }
含义
示例输出显示该接口 so-0/0/2.0在入口路由器上没有 family mpls语句配置于 [edit interfaces type-fpc/pic/端口] 层次结构级别,表示接口未正确配置为支持 LSP。LSP 的配置正确无误于 [编辑协议 mpls] 层次结构级别。
传输和出口路由器的输出(未显示)表示这些路由器上的接口配置正确。