Changing between network operating systems is one of the most challenging things for new engineers. Most people learned cisco cli due to their extensive training system or got on the job training for whatever their company runs.
We are hoping to make moving back and forth between network operating systems a little easier with some useful show and operational commands for Mikrotik, Juniper, Cisco, and IP Infusion. There are in detail usages of these commands on stubarea51.net.
OSPF Commands
MikroTik | Juniper | Cisco | IP Infusion |
routing ospf neighbor print | show ospf neighbor | show ip ospf neighbor | show ip ospf neighbor |
routing ospf interface print | show ospf interface | show ip ospf interface | show ip ospf interface |
routing ospf instance print detail | show ospf overview brief | show ip ospf 1 | show ip ospf 1 |
routing ospf lsa print | show ospf database | show ip ospf database | show ip ospf database |
ip route print where ospf=yes | show route protocol ospf | show ip route ospf | show ip route ospf |
routing ospf area-border-router print | show ospf route abr | show ip ospf border-routers | show ip ospf border-routers |
routing ospf as-border-router print | show ospf route asbr | show ip ospf border-routers | show ip ospf border-routers |
MPLS – LDP Commands
Mikrotik | Juniper | Cisco | IP Infusion |
mpls ldp neighbor print | show ldp neighbor | show mpls ldp neighbor | show mpls ldp neighbor |
mpls ldp interface print | show ldp interface | show mpls interfaces | show ldp interface |
mpls forwarding-table print | show route forwarding-table family mpls | show mpls forwarding-table | show mpls forwarding-table |
mpls remote-bindings print | show ldp database | show mpls binding | show mpls ilm-table |
mpls local-bindings print | show ldp database | sh mpls ip binding local | show mpls ilm-table |
mpls print | show mpls label usage | sh mpls ldp parameters | show mpls label-space 0 |
BGP Commands
MikroTik | Juniper | Cisco | IP Infusion |
routing bgp peer print brief | show bgp summary | show ip bgp summary | show ip bgp summary |
routing bgp peer print status | show bgp neighbor | show ip bgp neighbor | show ip bgp neighbors |
routing bgp advertisements print peer=peer_name | show route advertising-protocol bgp 172.31.254.2 | show ip bgp neighbor 172.31.254.2 advertised-routes | show ip bgp neighbors 172.31.254.2 advertised-routes |
ip route print where received-from=peer_name | show route receive-protocol bgp 172.31.254.2 | show ip bgp neighbor 172.31.254.2 received-routes | show ip bgp neighbors 172.31.254.2 received-routes |
ip route print where bgp=yes | show route protocol bgp | show ip route bgp | show ip route bgp |
routing bgp peer refresh peer1 | clear bgp neighbor 172.31.254.2 soft-inbound | clear ip bgp 172.31.254.2 soft in | clear ip bgp 172.31.254.2 soft in |
routing bgp peer resend peer1 | clear bgp neighbor 172.31.254.2 soft | clear ip bgp 172.31.254.2 soft out | clear ip bgp 172.31.254.2 soft out |
Let us know what other commands you would like to see in our rosetta stone to make switching network operating systems a breeze.