8:利用Cisco Tools/Config Editor&viewer打开下载的config文件,如下是我下载的一份配置文件:
!
version 11.2
no service pad
no service udp-small-servers
no service tcp-small-servers
!
hostname HGHLNDSWSTWD.07.IDF1A.DSW08
!
enable secret 5 $1$ukn/$LU0yrd7/YBqBNJRDlIVes.--->>>>MD5加密
!
!
ip subnet-zero
!
!
interface VLAN1
ip address ***.11.111.8 255.255.255.192
no ip route-cache
!
interface FastEthernet0/1
description Port connected to Apt# 7307
shutdown
port security max-mac-count 1
no port security action trap
!
interface FastEthernet0/2
description Port connected to Apt# 7308
port security max-mac-count 1
no port security action trap
!
interface FastEthernet0/3
description Port connected to Apt# 7309
shutdown
port security max-mac-count 1
no port security action trap
!
interface FastEthernet0/4
description Port connected to Apt# 7310
shutdown
port security max-mac-count 1
no port security action trap
!
interface FastEthernet0/5
description Port connected to Apt# 7311
shutdown
port security max-mac-count 1
no port security action trap
!
interface FastEthernet0/6
description Port connected to Apt# 7337
port security max-mac-count 1
no port security action trap
!
interface FastEthernet0/7
description Port connected to Apt# 7338
shutdown
port security max-mac-count 1
no port security action trap
!
interface FastEthernet0/8
description Port connected to Apt# 7339
shutdown
port security max-mac-count 1
no port security action trap
!
interface FastEthernet0/9
description Port connected to Apt# 7340
shutdown
port security max-mac-count 1
no port security action trap
!
interface FastEthernet0/10
description Port connected to Apt# 7341
shutdown
port security max-mac-count 1
no port security action trap
!
interface FastEthernet0/11
description Port connected to Apt#
shutdown
port security max-mac-count 1
no port security action trap
!
interface FastEthernet0/12
description Port connected to Apt#
shutdown
port security max-mac-count 1
no port security action trap
!
interface FastEthernet0/13
description Port connected to Apt#
shutdown
port security max-mac-count 1
no port security action trap
!
interface FastEthernet0/14
description Port connected to Apt#
shutdown
port security max-mac-count 1
no port security action trap
!
interface FastEthernet0/15
description Port connected to Apt#
shutdown
port security max-mac-count 1
no port security action trap
!
interface FastEthernet0/16
description Port connected to Apt#
shutdown
port security max-mac-count 1
no port security action trap
!
interface FastEthernet0/17
description Port connected to Apt#
shutdown
port security max-mac-count 1
no port security action trap
!
interface FastEthernet0/18
description Port connected to Apt#
shutdown
port security max-mac-count 1
no port security action trap
!
interface FastEthernet0/19
description Port connected to Apt#
shutdown
port security max-mac-count 1
no port security action trap
!
interface FastEthernet0/20
description Port connected to Apt#
shutdown
port security max-mac-count 1
no port security action trap
!
interface FastEthernet0/21
description Port connected to Apt#
shutdown
port security max-mac-count 1
no port security action trap
!
interface FastEthernet0/22
description Port connected to Apt#
shutdown
port security max-mac-count 1
no port security action trap
!
interface FastEthernet0/23
description Port connected to Fiber Link
!
interface FastEthernet0/24
description Port connected to Fiber Link
!
ip default-gateway ***.11.111.*
mac-address-table secure 0001.0235.5a4e FastEthernet0/2 vlan 1
snmp-server community N3tw0rk RO
snmp-server community private RW
snmp-server community public RO
snmp-server chassis-id 0x0F
!
line con 0
stopbits 1
line vty 0 4
password MDU!Admin -->>>>明文口令,未作加密处理!!
login
line vty 5 9
password MDU!Admin
login
!
end