0% found this document useful (0 votes)
338 views4 pages

Command Syntax Comparison & Contrast: Command/Function Ios/Ios-Xe Ios-Xr Nx-Os Comments

This document compares and contrasts command syntax across Cisco IOS, IOS-XR, and NX-OS operating systems. Some key differences noted are that IOS-XR uses 'commit' instead of 'write memory' to save configurations, and NX-OS simplifies interface configuration by classifying all Ethernet interfaces as 'ethernet'. Additionally, IOS only supports numbered access lists while IOS-XR and NX-OS support both numbered and named access lists. The document also highlights variations in commands for functions like displaying routes, enabling routing protocols and configuring static routes across the three operating systems.

Uploaded by

Ahmed Yahia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
338 views4 pages

Command Syntax Comparison & Contrast: Command/Function Ios/Ios-Xe Ios-Xr Nx-Os Comments

This document compares and contrasts command syntax across Cisco IOS, IOS-XR, and NX-OS operating systems. Some key differences noted are that IOS-XR uses 'commit' instead of 'write memory' to save configurations, and NX-OS simplifies interface configuration by classifying all Ethernet interfaces as 'ethernet'. Additionally, IOS only supports numbered access lists while IOS-XR and NX-OS support both numbered and named access lists. The document also highlights variations in commands for functions like displaying routes, enabling routing protocols and configuring static routes across the three operating systems.

Uploaded by

Ahmed Yahia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Command Syntax Comparison & Contrast

Command/Function IOS/IOS-XE IOS-XR NX-OS Comments

configure * In IOS, terminal must be


configuration mode [memory|network|terminal|re configure [terminal|exclusive]* configure [terminal]* specified, while in IOS-XR & NX-
vert] OS it is not required
• interface <type >
interface configuration • [no] interface <type>/ • interface <type> <slot>/<port- Interface support is platform-
<slot >/<port >|<slot >/<port >
submode (selected) <interface-path-id > list> specific
/<subunit >
• interface In NX-OS all Ethernet interfaces
ethernet interface
fast|gigabit|tengigabit ethernet • [no] interface <gigabit| • interface ethernet are classified as ethernet. Also,
configuration submode
<slot>/<port>| tengigabit> interface-path-id> <slot>/<port-list> subinterfaces are configured
(selected)
<slot>/<port>/<subunit> similarly across the OS types
Saving current write memory | copy running- commit (from configuration copy running-config startup- Simplified syntax, more options
configuration config startup-config mode) config are available
Erasing the current commit replace (with blank
write erase write erase Erases all configuration
device configuration config)
exec-timeout <minutes> exec-timeout <minutes>
Console timeout exec-timeout <minutes> Configured under line submode
[<seconds>] [<seconds>]
Display current
show running-configuration show running-configuration show running-configuration Identical syntax
configuration
Display current/stored IOS-XR's two-stage configuration
show startup-configuration Not Supported show startup-configuration
configuration prevents this
Display available Note that in IOS-XR interface is
show interfaces show interface [brief] show interfaces [brief]
interfaces singular
show version
Display hw/sw All supported with some
show version show version [brief] [epld|fex|image|internal|mod
information differences
ule]
Displays current boot show boot
show boot show variables boot XR substantially different
variables [current|module|variables]
Multiple options available
Display log messages show logging show logging show logging
especially on IOS-XR and NX-OS
Display processes Some differences between IOS
show processes cpu show processes cpu show processes cpu
running on the CPU & IOS-XR options
Display system
Nearly identical syntax, some
information for Cisco show tech-support [<options >] show tech-support [<options >] show tech-support [<options >]
option differences
TAC
interface range <type>
Ranges are specified in NX-OS
Multiple interface <slot>/<start-port>| interface <type> <slot>/<port-
Not Supported with the hyphen (e.g., ethernet
configuration <slot>/<port>/<subunit> - <end- list>
2/1-4 )
port>
access-list 1-99 <permit|deny>
Standard numbered Numbered access-lists only
<network> <host|wildcard- Not Supported Not Supported
access-list configuration supported on IOS
mask>
access-list 100-199
<permit|deny> <protocol><start-
Extended numbered Numbered access-lists only
value> <host|wildcard- Not Supported Not Supported
access-list configuration supported on IOS
mask><end-
value><host|wildcard-mask>
Standard named access- Only extended access-lists are
ip access-list standard <name > Not Supported Not Supported
list configuration supported on IOS-XR & NX-OS

Extended named access-


ip access-list extended <name > ipv4 access-list <name > ip access-list <name > Can be configured line by line
list configuration
Display current ip show ip route show route ipv4* show ip route *Also permits show ip route
routing table [<ip-network ><mask >] [<ip-network ><mask >] [<ip-network ><mask >] command
Display running ip
show ip protocols [summary] show protocols Not Supported Not supported solely in NX-OS
routing protocols
ip route <prefix>
Static route ip route <prefix><mask><next- router static [address-family IOS-XR configuration is vastly
<mask>|<bits><next-
configuration hop|interface> [<metric>] ipv4|ipv6 different
hop>|<interface> [<metric>]
RIP routing process feature rip router RIP must be enabled as a feature
router rip router rip
configuration rip <process-name > with NX-OS
*Under interface configuration
RIP routing interface interface <type>/ <interface-
network <major-network# >* ip router rip <process-name >* submode
configuration path-id>**
**Under RIP process submode
OSPF routing process feature ospf router
router ospf <process-id > router ospf <process-id > In global configuration mode
configuration ospf <process-id >
address-family <ipv4|ipv6>
network <ip-address > <unicast|multicast> *Under interface configuration
OSPF routing interface ip router ospf <process-name >
<wildcard -mask> area <area- area <area-id > submode
configuration area <area-id >*
id > interface <type >/ <interface- **Under OSPF process submode
path-id > **
EIGRP routing process
router eigrp <AS# > router eigrp <AS# > router eigrp <AS# > In global configuration mode
configuration
address-family <ipv4|ipv6>
*Under interface configuration
EIGRP routing interface network <ip-address > <unicast|multicast>
ip router eigrp <AS# >* submode
configuration <wildcard -mask> interface <type >/ <interface-
**Under OSPF process submode
path-id > **
BGP routing process feature bgp router
router bgp <AS# > router bgp <AS# > In global configuration mode
configuration bgp <AS# >
BGP routing neighbor neighbor <ip-address > remote- neighbor <ip-address > remote- neighbor <ip-address > remote- Under BGP configuration
configuration as <remote-AS#> as <remote-AS#> as <remote-AS#> submode
address-family <ipv4|ipv6> address-family <ipv4|ipv6>
BGP routing network Under BGP configuration
network <prefix > mask <mask > <unicast|multicast> <unicast|multicast>
configuration submode
network <prefix > <mask |bits > network <prefix > <mask |bits >

banner motd <start-delimiter > banner motd <start-delimiter > banner motd <start-delimiter >
Message of the Day Identical syntax
<message > <end-delimiter > <message > <end-delimiter > <message > <end-delimiter >
Disable DNS lookups no ip domain-lookup no domain lookup no ip domain-lookup Slightly different syntax
Enable CDP globally cdp run cdp cdp enable In global configuration mode
Enable CDP on an Some differences between IOS
cdp enable cdp cdp enable
interface & IOS-XR options
Specify a server for DNS domain name-server <ip- Some differences between IOS
ip name-server <ip-address > ip name-server <ip-address >
resolution address > & IOS-XR options
Display ARP table show arp show arp show ip arp Slight variation in NX-OS
standby [<group#> ] [ip <ip- router hsrp *Many more options available
feature hsrp
HSRP configuration address >] [priority <0-255 >] interface <type >/ <interface- ** Under interface configuration
hsrp <group# > <options >**
[preempt] path-id >* submode

You might also like