Pages

Do you like this site? Remember to share it to all your friends on Facebook and Twitter!

Thursday, October 3, 2013

Displaying text file contents on Cisco IOS and NX-OS


[Cisco IOS]


For Cisco IOS platforms, we use the command more.
http://www.cisco.com/en/US/docs/ios/fundamentals/command/reference/cf_m1.html#wp1022989



Router# more nvram:startup-config

!
! No configuration change since last restart
! NVRAM config last updated at 02:03:26 PDT Thu Oct 2 1997
!
version 12.1
service timestamps debug uptime
service timestamps log uptime
service password-encryption
service udp-small-servers
service tcp-small-servers
.
.
.
end

[NX-OS]

For Cisco NX-OS platforms, we use the command show file.
http://www.cisco.com/en/US/docs/switches/datacenter/sw/6_x/nx-os/fundamentals/command/reference/fnd_commands.html#wp1404886

switch# show file scriptfile
configure terminal
interface $(testinterface)
no shutdown
end
show interface $(testinterface)

Looking over Taipei Railway Station (台北車站) (Wiki), to northern part of Taipei City.


More videos on Show IP Protocols YouTube Channel.

No comments:

Post a Comment

Tip: you can also anonymously comment here.