📄 rib.cmds
字号:
/* $XORP: xorp/etc/templates/rib.cmds,v 1.9 2007/02/26 10:31:12 atanu Exp $ *//* * At the time this file was written, route redistribution from the * rib only occurs from IGP tables and the ribout. Redistribution from * ribout can be filtered to match a particular protocol. * */show route { %command: "" %help: HELP; %module: rib; %tag: HELP "Show routes";}show route table { %command: "" %help: HELP; %module: rib; %tag: HELP "Show routes from a RIB table";}show route table ipv4 { %command: "" %help: HELP; %module: rib; %tag: HELP "Show IPv4 routes";}show route table ipv6 { %command: "" %help: HELP; %module: rib; %tag: HELP "Show IPv6 routes";}show route table ipv4 unicast { %command: "" %help: HELP; %module: rib; %tag: HELP "Show IPv4 unicast routes";}show route table ipv6 unicast { %command: "" %help: HELP; %module: rib; %tag: HELP "Show IPv6 unicast routes";}show route table ipv4 multicast { %command: "" %help: HELP; %module: rib; %tag: HELP "Show IPv4 MRIB routes";}show route table ipv6 multicast { %command: "" %help: HELP; %module: rib; %tag: HELP "Show IPv6 MRIB routes";}/* * Connected show route table commands */show route table ipv4 unicast connected { %command: "rib/tools/show_routes ribin $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv4 routes from connected interfaces";}show route table ipv6 unicast connected { %command: "rib/tools/show_routes ribin $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv6 routes from connected interfaces";}show route table ipv4 unicast connected brief { %command: "rib/tools/show_routes -b ribin $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv4 routes from connected interfaces (brief format)";}show route table ipv6 unicast connected brief { %command: "rib/tools/show_routes -b ribin $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv6 routes from connected interfaces (brief format)";}show route table ipv4 unicast connected detail { %command: "rib/tools/show_routes -d ribin $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv4 routes from connected interfaces (detailed format)";}show route table ipv6 unicast connected detail { %command: "rib/tools/show_routes -d ribin $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv6 routes from connected interfaces (detailed format)";}show route table ipv4 unicast connected terse { %command: "rib/tools/show_routes -t ribin $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv4 routes from connected interfaces (terse format)";}show route table ipv6 unicast connected terse { %command: "rib/tools/show_routes -t ribin $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv6 routes from connected interfaces (terse format)";}/* * Static show route table commands */show route table ipv4 unicast static { %command: "rib/tools/show_routes ribin $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv4 static routes";}show route table ipv6 unicast static { %command: "rib/tools/show_routes ribin $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv6 static routes";}show route table ipv4 multicast static { %command: "rib/tools/show_routes ribin $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv4 MRIB static routes";}show route table ipv6 multicast static { %command: "rib/tools/show_routes ribin $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv6 MRIB static routes";}show route table ipv4 unicast static brief { %command: "rib/tools/show_routes -b ribin $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv4 static routes (brief format)";}show route table ipv6 unicast static brief { %command: "rib/tools/show_routes -b ribin $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv6 static routes (brief format)";}show route table ipv4 multicast static brief { %command: "rib/tools/show_routes -b ribin $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv4 MRIB static routes (brief format)";}show route table ipv6 multicast static brief { %command: "rib/tools/show_routes -b ribin $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv6 MRIB static routes (brief format)";}show route table ipv4 unicast static detail { %command: "rib/tools/show_routes -d ribin $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv4 static routes (detailed format)";}show route table ipv6 unicast static detail { %command: "rib/tools/show_routes -d ribin $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv6 static routes (detailed format)";}show route table ipv4 multicast static detail { %command: "rib/tools/show_routes -d ribin $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv4 MRIB static routes (detailed format)";}show route table ipv6 multicast static detail { %command: "rib/tools/show_routes -d ribin $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv6 MRIB static routes (detailed format)";}show route table ipv4 unicast static terse { %command: "rib/tools/show_routes -t ribin $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv4 static routes (terse format)";}show route table ipv6 unicast static terse { %command: "rib/tools/show_routes -t ribin $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv6 static routes (terse format)";}show route table ipv4 multicast static terse { %command: "rib/tools/show_routes -t ribin $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv4 MRIB static routes (terse format)";}show route table ipv6 multicast static terse { %command: "rib/tools/show_routes -t ribin $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv6 MRIB static routes (terse format)";}/* * fib2mrib */show route table ipv4 multicast fib2mrib { %command: "rib/tools/show_routes ribin $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv4 unicast routes for multicast extracted from kernel";}show route table ipv6 multicast fib2mrib { %command: "rib/tools/show_routes ribin $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv6 unicast routes for multicast extracted from kernel";}show route table ipv4 multicast fib2mrib brief { %command: "rib/tools/show_routes -b ribin $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv4 unicast routes for multicast extracted from kernel (brief format)";}show route table ipv6 multicast fib2mrib brief { %command: "rib/tools/show_routes -b ribin $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv6 unicast routes for multicast extracted from kernel (brief format)";}show route table ipv4 multicast fib2mrib detail { %command: "rib/tools/show_routes -d ribin $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv4 unicast routes for multicast extracted from kernel (detailed format)";}show route table ipv6 multicast fib2mrib detail { %command: "rib/tools/show_routes -d ribin $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv6 unicast routes for multicast extracted from kernel (detailed format)";}show route table ipv4 multicast fib2mrib terse { %command: "rib/tools/show_routes -t ribin $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv4 unicast routes for multicast extracted from kernel (terse format)";}show route table ipv6 multicast fib2mrib terse { %command: "rib/tools/show_routes -t ribin $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv6 unicast routes for multicast extracted from kernel (terse format)";}/* * BGP */show route table ipv4 unicast ibgp { %command: "rib/tools/show_routes ribout $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv4 iBGP routes";}show route table ipv4 unicast ebgp { %command: "rib/tools/show_routes ribout $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv4 eBGP routes";}show route table ipv4 multicast ibgp { %command: "rib/tools/show_routes ribout $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv4 iBGP MBGP routes";}show route table ipv4 multicast ebgp { %command: "rib/tools/show_routes ribout $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv4 eBGP MBGP routes";}show route table ipv6 unicast ibgp { %command: "rib/tools/show_routes ribout $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv6 iBGP routes";}show route table ipv6 unicast ebgp { %command: "rib/tools/show_routes ribout $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv6 eBGP routes";}show route table ipv6 multicast ibgp { %command: "rib/tools/show_routes ribout $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv6 iBGP MBGP routes";}show route table ipv6 multicast ebgp { %command: "rib/tools/show_routes ribout $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv6 eBGP MBGP routes";}show route table ipv4 unicast ibgp brief { %command: "rib/tools/show_routes -b ribout $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv4 iBGP routes (brief format)";}show route table ipv4 unicast ebgp brief { %command: "rib/tools/show_routes -b ribout $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv4 eBGP routes (brief format)";}show route table ipv4 multicast ibgp brief { %command: "rib/tools/show_routes -b ribout $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv4 iBGP MBGP routes (brief format)";}show route table ipv4 multicast ebgp brief { %command: "rib/tools/show_routes -b ribout $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv4 eBGP MBGP routes (brief format)";}show route table ipv6 unicast ibgp brief { %command: "rib/tools/show_routes -b ribout $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv6 iBGP routes (brief format)";}show route table ipv6 unicast ebgp brief { %command: "rib/tools/show_routes -b ribout $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv6 eBGP routes (brief format)";}show route table ipv6 multicast ibgp brief { %command: "rib/tools/show_routes -b ribout $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv6 iBGP MBGP routes (brief format)";}show route table ipv6 multicast ebgp brief { %command: "rib/tools/show_routes -b ribout $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv6 eBGP MBGP routes (brief format)";}show route table ipv4 unicast ibgp detail { %command: "rib/tools/show_routes -d ribout $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv4 iBGP routes (detailed format)";}show route table ipv4 unicast ebgp detail { %command: "rib/tools/show_routes -d ribout $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv4 eBGP routes (detailed format)";}show route table ipv4 multicast ibgp detail { %command: "rib/tools/show_routes -d ribout $4 $5 $6" %help: HELP; %module: rib; %tag: HELP "Show IPv4 iBGP MBGP routes (detailed format)";}show route table ipv4 multicast ebgp detail { %command: "rib/tools/show_routes -d ribout $4 $5 $6" %help: HELP;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -