Cisco IOS-XR to OcNOS: CLI Command Map
Moving from Cisco IOS-XR to OcNOS? This map lists common IOS-XR commands with the OcNOS equivalent and a note on each difference.
Config & commit
| Cisco IOS-XR | OcNOS | Notes |
|---|---|---|
show running-config | show running-config | Identical verb. |
configure terminal | configure terminal | Enters configuration mode. |
commit | commit | OcNOS is transactional like IOS-XR: staged changes apply on commit, or are discarded with abort transaction. |
abort | abort transaction | Discards the pending configuration transaction. The bare form is incomplete on OcNOS. |
end | end | Returns to EXEC from any config sub-mode. On OcNOS, commit or abort the transaction first: end refuses while changes are uncommitted. |
do show route | do show ip route | Run an EXEC command from config mode; IOS-XR uses 'show route', OcNOS 'show ip route'. |
copy running-config startup-config | write memory | Classic IOS / NX-OS save. IOS-XR persists on commit; on OcNOS, commit changes the running configuration and write memory saves it to startup. |
Interfaces
| Cisco IOS-XR | OcNOS | Notes |
|---|---|---|
show interfaces brief | show ip interface brief | The everyday 'what's up' table. |
show interfaces Gi0/0/0/2 | show interface xe2 | Full per-port detail. OcNOS data ports are xe / ce / cd / po; eth0 is the management port. |
show interfaces description | show interface description | |
show controllers optics 0/0/0/2 | show interface xe2 transceiver detail | DDM Tx/Rx power, temperature and current. IOS-XR reads the optics controller by rack/slot/instance/port. On OcNOS, omit the interface for every port. |
show lldp neighbors | show lldp neighbors | Identical verb. |
Routing table
| Cisco IOS-XR | OcNOS | Notes |
|---|---|---|
show route | show ip route | OcNOS prefixes with 'ip'. |
show route vrf CUST-A | show ip route vrf CUST-A | |
show route ipv6 | show ipv6 route | |
show arp | show arp | |
show protocols | show ip protocols | OcNOS = operational active-protocol view. |
OSPF / IS-IS
| Cisco IOS-XR | OcNOS | Notes |
|---|---|---|
show ospf neighbor | show ip ospf neighbor | OcNOS prefixes with 'ip'. |
show ospf interface | show ip ospf interface | |
show ospf database | show ip ospf database | |
show isis adjacency | show clns neighbors | On OcNOS the IS-IS adjacency table is a CLNS command. |
show isis database | show isis database |
BGP & L3VPN
| Cisco IOS-XR | OcNOS | Notes |
|---|---|---|
show bgp summary | show ip bgp summary | 'show bgp summary' is also accepted. |
show bgp neighbors 10.0.0.4 | show ip bgp neighbors 10.0.0.4 | OcNOS is plural 'neighbors'. |
show bgp vpnv4 unicast summary | show ip bgp vpnv4 all summary | L3VPN session state; OcNOS scopes VPNv4 under 'show ip bgp'. |
show bgp vpnv4 unicast | show ip bgp vpnv4 all | All VPNv4 route distinguishers. |
show bgp l2vpn evpn | show bgp l2vpn evpn | EVPN Type 1-5 NLRI. |
MPLS / SR / TE
| Cisco IOS-XR | OcNOS | Notes |
|---|---|---|
show mpls ldp neighbor | show mpls ldp neighbor | OcNOS keeps the 'mpls' prefix. |
show mpls ldp bindings | show mpls ldp fec | Label bindings: FEC-to-label (LIB). |
show mpls forwarding | show mpls forwarding-table | FTN / outgoing labels. |
show mpls interfaces | show mpls interface-list-ftn | On OcNOS the bare form is ambiguous: interface-list-ftn and interface-list-ilm both continue it, so ask for the one you want. |
show mpls traffic-eng tunnels | show rsvp session | RSVP-TE LSPs. |
show segment-routing | show isis segment-routing state | SR-MPLS state (SRGB, node/prefix-SIDs); OSPF: 'show ip ospf segment-routing state'. |
show segment-routing traffic-eng policy | show segment-routing policy | SR-TE policies (color/endpoint). |
L2VPN & EVPN
| Cisco IOS-XR | OcNOS | Notes |
|---|---|---|
show l2vpn xconnect | show mpls l2-circuit | VPWS / E-Line pseudowires. |
show l2vpn bridge-domain | show mpls vpls | VPLS / E-LAN instances. |
show evpn evi | show evpn mpls | EVPN instances (E-Line/E-LAN/E-Tree). |
show evpn ethernet-segment | show evpn multi-homing | Multi-homing ESI state. |
HA & diagnostics
| Cisco IOS-XR | OcNOS | Notes |
|---|---|---|
show bfd session | show bfd session | |
ping 10.0.0.5 | ping 10.0.0.5 | Identical. |
traceroute 10.0.0.5 | traceroute 10.0.0.5 | Identical. |
System
| Cisco IOS-XR | OcNOS | Notes |
|---|---|---|
show platform | show version | Software release, edition (feature code) and hardware model. |
show version | show version |
Config syntax
| Cisco IOS-XR | OcNOS | Notes |
|---|---|---|
interface Gi0/0/0/2 / ipv4 address 10.1.1.1/24 | interface xe2 / ip address 10.1.1.1/24 | OcNOS uses prefix-length form in an interface sub-mode. Configure a data port (xe / ce / cd / po), not eth0, which is management. |
router bgp 64512 / neighbor 10.0.0.4 / remote-as 64512 | router bgp 64512 / neighbor 10.0.0.4 remote-as 64512 | IOS-XR sets 'remote-as' in a neighbor sub-mode; OcNOS sets it on the neighbor line. |
vrf CUST-A | ip vrf CUST-A | OcNOS keyword is 'ip vrf'. |
route-policy NAME | route-map NAME permit 10 | OcNOS uses route-maps, not RPL. |
shutdown / no shutdown | shutdown / no shutdown | Industry-standard 'no' negation. |
Planning a migration? We can scope it for your network and hardware.
Explore OcNOS Contact our teamCisco, IOS, and IOS-XR are trademarks of Cisco Systems, Inc. IP Infusion and OcNOS are not affiliated with or endorsed by Cisco Systems, Inc. Command equivalents are provided as a migration reference and may vary by OcNOS edition, software release and platform; verify against current OcNOS documentation at documentation.ipinfusion.com.