Displaying FRR Routing and Debug Information for vRouters
This feature provides a new vRouter command to display the output of an IP Stack )FRR) routing and debug information from the Netvisor One command line interface(CLI).
CLI (network-admin@Spine1) > help vrouter-vtysh-cmd
vrouter-vtysh-cmd |
display output of a FRR command. |
name name-string |
name of service config. |
cmd cmd-string |
any FRR show/debug/undebug/no debug/clear ip/clear ipv6 command. |
Show Output Examples
CLI (network-admin@Spine1) > vrouter-vtysh-cmd name vr1 cmd "show ip route"
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, P - PIM, A - Babel,
> - selected route, * - FIB route
C>* 100.1.1.0/24 is directly connected, eth1.100
C>* 127.0.0.0/8 is directly connected, lo0
CLI (network-admin@Spine1) > vrouter-vtysh-cmd name vr1 cmd "show running-config"
Building configuration...
Current configuration:
!
hostname vr1
log file zebra.log
!
password zebra
enable password zebra
!
interface eth1.100
ipv6 nd suppress-ra
multicast
no link-detect
!
interface lo0
no link-detect
!
ip forwarding
ipv6 forwarding
!
line vty
!
end
For this feature, only show commands are allowed as legal values in the CLI.
CLI (network-admin@Leaf1) > vrouter-vtysh-cmd name vr1 cmd "config t"
vrouter-vtysh-cmd: Illegal value for "cmd"
vrouter-vtysh-cmd: Legal values: commands starting with show, in quotes