Cisco IOS-XR to OcNOS: CLI Command Map
Vous passez de Cisco IOS-XR à OcNOS ? Cette table de correspondance répertorie les commandes IOS-XR courantes avec leur équivalent OcNOS et une note sur chaque différence.
Config & commit
| Cisco IOS-XR | OcNOS | Notes |
|---|---|---|
show running-config | show running-config | Identical verb. |
configure terminal | configure terminal | Passe en mode configuration. |
commit | commit | OcNOS est transactionnel comme IOS-XR : les modifications préparées s'appliquent au commit ou sont abandonnées avec abort transaction. |
abort | abort transaction | Abandonne la transaction de configuration en attente. La forme seule est incomplète sur OcNOS. |
end | end | Revient en mode EXEC depuis n'importe quel sous-mode de configuration. Sur OcNOS, validez (commit) ou abandonnez d'abord la transaction : end est refusé tant que des modifications ne sont pas validées. |
do show route | do show ip route | Exécuter une commande EXEC depuis le mode configuration ; IOS-XR utilise 'show route', OcNOS 'show ip route'. |
copy running-config startup-config | write memory | Sauvegarde classique IOS / NX-OS. IOS-XR enregistre de façon persistante au commit ; sur OcNOS, commit modifie la configuration en cours et write memory l'enregistre dans la configuration de démarrage. |
Interfaces
| Cisco IOS-XR | OcNOS | Notes |
|---|---|---|
show interfaces brief | show ip interface brief | Le tableau quotidien de ce qui est 'up'. |
show interfaces Gi0/0/0/2 | show interface xe2 | Détail complet par port. Les ports de données OcNOS sont xe / ce / cd / po ; eth0 est le port de management. |
show interfaces description | show interface description | |
show controllers optics 0/0/0/2 | show interface xe2 transceiver detail | DDM : puissance Tx/Rx, température et courant. IOS-XR lit le contrôleur optique par rack/slot/instance/port. Sous OcNOS, omettez l'interface pour afficher tous les ports. |
show lldp neighbors | show lldp neighbors | Identical verb. |
Routing table
| Cisco IOS-XR | OcNOS | Notes |
|---|---|---|
show route | show ip route | OcNOS ajoute le préfixe '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 = vue opérationnelle des protocoles actifs. |
OSPF / IS-IS
| Cisco IOS-XR | OcNOS | Notes |
|---|---|---|
show ospf neighbor | show ip ospf neighbor | OcNOS ajoute le préfixe 'ip'. |
show ospf interface | show ip ospf interface | |
show ospf database | show ip ospf database | |
show isis adjacency | show clns neighbors | Sur OcNOS, la table d'adjacences IS-IS est une commande CLNS. |
show isis database | show isis database |
BGP & L3VPN
| Cisco IOS-XR | OcNOS | Notes |
|---|---|---|
show bgp summary | show ip bgp summary | 'show bgp summary' est également accepté. |
show bgp neighbors 10.0.0.4 | show ip bgp neighbors 10.0.0.4 | OcNOS utilise le pluriel 'neighbors'. |
show bgp vpnv4 unicast summary | show ip bgp vpnv4 all summary | État des sessions L3VPN ; OcNOS place VPNv4 sous 'show ip bgp'. |
show bgp vpnv4 unicast | show ip bgp vpnv4 all | Tous les route distinguishers VPNv4. |
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 conserve le préfixe 'mpls'. |
show mpls ldp bindings | show mpls ldp fec | Associations de labels : FEC vers label (LIB). |
show mpls forwarding | show mpls forwarding-table | FTN / labels sortants. |
show mpls interfaces | show mpls interface-list-ftn | Sur OcNOS, la forme seule est ambiguë : interface-list-ftn et interface-list-ilm la complètent toutes deux, demandez donc celle que vous voulez. |
show mpls traffic-eng tunnels | show rsvp session | RSVP-TE LSPs. |
show segment-routing | show isis segment-routing state | État SR-MPLS (SRGB, node/prefix-SID) ; OSPF : 'show ip ospf segment-routing state'. |
show segment-routing traffic-eng policy | show segment-routing policy | Politiques SR-TE (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 | État ESI du multi-homing. |
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 | Version logicielle, édition (code de fonctionnalités) et modèle matériel. |
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 utilise la notation par longueur de préfixe dans un sous-mode d'interface. Configurez un port de données (xe / ce / cd / po), pas eth0, qui sert au 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 définit 'remote-as' dans un sous-mode neighbor ; OcNOS le définit sur la ligne neighbor. |
vrf CUST-A | ip vrf CUST-A | Le mot-clé OcNOS est 'ip vrf'. |
route-policy NAME | route-map NAME permit 10 | OcNOS utilise des route-maps, pas RPL. |
shutdown / no shutdown | shutdown / no shutdown | Négation 'no' conforme aux standards du secteur. |
Vous planifiez une migration ? Nous pouvons en définir le périmètre pour votre réseau et votre matériel.
Découvrir OcNOS Contacter notre équipeCisco, IOS et IOS-XR sont des marques de Cisco Systems, Inc. IP Infusion et OcNOS ne sont ni affiliés à Cisco Systems, Inc. ni approuvés par celle-ci. Les équivalences de commandes sont fournies à titre de référence pour la migration et peuvent varier selon l'édition OcNOS, la version logicielle et la plateforme ; vérifiez-les dans la documentation OcNOS actuelle sur documentation.ipinfusion.com.