MPLS 隧道提取
MPLS 隧道提取通过解析 tunnel_path 命令的输出来检索隧道的实际放置以及 LSP 路径的状态(向上或向下):
杜松:
show mpls lsp statistics extensive
思科:
show mpls traffic-eng tunnels
此功能显示隧道路径的确切网络视图。如果 LSP 可以是动态的(而不是显式的),这将非常有用。NorthStar 计划器将显示已定义网络中 LSP 隧道的当前状态和路由。
命令行隧道路径:rdjpath
程序 /u/wandl/bin/rdjpath 可用于自动提取隧道信息。命令行选项如下: /u/wandl/bin/rdjpath -r runcode tunnel_path_dir
将 运行代码 替换为网络项目使用的相同文件扩展名,并用包含从路由器收集的隧道路径文件的目录 tunnel_path_dir 。
生成的文件 tunnelpath。runcode 可以通过 /u/wandl/bin/bbdsgn 选项 M. MPLSView 3 导入到网络中。读取 MPLS 隧道路径。这也可以通过输入跟踪文件自动执行。
注意:
隧道路径文件必须为 UNIX 格式。
命令行隧道流量(仅限瞻博网络):convjtraf
/u/wandl/bin/convjtraf 程序可用于从瞻博网络路由器提取隧道流量数据。命令行选项如下:
/u/wandl/bin/convjtraf Usage: /u/wandl/bin/convjtraf {[-start hh:mm] [-pct [avg|max|99|95|90|80]]} runcode tunnelfile duration traf1 traf2 ... Example1: /u/wandl/bin/convjtraf runcode tunnel.x 60 traf1 groups traffic in traf1 into 60-min periods Example2: /u/wandl/bin/convjtraf runcode tunnel.x 5 traf1 groups traffic in traf1 into 5-min periods If data spans more than 24 periods, the traffic of last two hours are displayed
生成的文件可以通过“>加载网络文件>隧道流量> t_trafficload”导入到网络中。