试验9 查看路由器的Running-config文件

在特权模式下输入show run
Router#sh run
Building configuration…
Current configuration:
!
version 12.0 IOS版本
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname Router 路由器名称
!
enable secret 5 $1$V0Uu$l1ec5Wm7dzkB32NdE4RCh. 加密密码
enable password 7 0204175F
!
ip subnet-zero IP匹配
!
!
!
interface Ethernet0/0 以下为各各接口信息
no ip address
no ip directed-broadcast
shutdown
!
interface Ethernet0/1
no ip address
no ip directed-broadcast
shutdown
!
interface Ethernet0/2
no ip address
no ip directed-broadcast
shutdown
!
interface Ethernet0/3
no ip address
no ip directed-broadcast
shutdown
!
interface Serial1/0
no ip address
no ip directed-broadcast
shutdown
clockrate 2015232
!
interface Serial1/1
no ip address
no ip directed-broadcast
shutdown
clockrate 2015232
!
interface Serial1/2
no ip address
no ip directed-broadcast
shutdown
clockrate 2015232
!
interface Serial1/3
no ip address
no ip directed-broadcast
shutdown
clockrate 2015232
!
interface Serial3/0
no ip address
no ip directed-broadcast
shutdown
clockrate 2015232
!
interface Serial3/1
no ip address
no ip directed-broadcast
shutdown
clockrate 2015232
!
interface Serial3/2
no ip address
no ip directed-broadcast
shutdown
clockrate 2015232
!
interface Serial3/3
no ip address
no ip directed-broadcast
shutdown
clockrate 2015232
!
ip classless
!
!
line con 0
password 7 08235F4A
login
transport input none
line aux 0
line vty 0 4
password 7 04591802
login
!
end
查看路由器上的文件
Router#dir system:
Directory of system:/
2  dr-x           0              <no date>  memory
1  -rw-        1395              <no date>  running-config
No space information available
使用命令
Router#more system:/running-config
结果跟show run是一样的

你可能感兴趣的:(加密,职场,路由器,休闲)