Cisco Catalyst交换机删除startup-config并重启后,vlan信息仍存在的 ...
Cisco Catalyst交换机删除startup-config并重启后,vlan信息仍存在的原因与解决(彻底删除旧配置) [转贴 2010-05-17 15:33:33]   
今天在一个国外站点上看到这么一篇文章。作者介绍说,当你删除Cisco Catalyst交换机的startup-config配置文件之后,再reload交换机,你会发现交换机上的vlan信息仍然存在,并没有被删除。
VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/4, Fa0/5, Fa0/6, Fa0/7
                                                Fa0/8, Fa0/9, Fa0/10, Fa0/11
                                                Fa0/12, Fa0/13, Fa0/14, Fa0/15
                                                Fa0/16, Fa0/17, Fa0/18, Fa0/19
                                                Fa0/20, Fa0/21, Fa0/22, Fa0/23
                                                Fa0/24, Gig1/2
10   dianjixi                         active    Fa0/1
20   caihuaxi                         active    Fa0/2
30   zihuanxi                         active    Fa0/3

100  admin                            active   
1002 fddi-default                     active   
1003 token-ring-default               active   
1004 fddinet-default                  active   
1005 trnet-default                    active   
VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/1, Fa0/2, Fa0/3, Fa0/4
                                                Fa0/5, Fa0/6, Fa0/7, Fa0/8
                                                Fa0/9, Fa0/10, Fa0/11, Fa0/12
                                                Fa0/13, Fa0/14, Fa0/15, Fa0/16
                                                Fa0/17, Fa0/18, Fa0/19, Fa0/20
                                                Fa0/21, Fa0/22, Fa0/23, Fa0/24
                                                Gig1/2
10   dianjixi                         active   
20   caihuaxi                         active   
30   zihuanxi                         active  
 
100  admin                            active   
1002 fddi-default                     active   
1003 token-ring-default               active   
1004 fddinet-default                  active   
1005 trnet-default                    active 
      但是,从以上例子中,可以清楚地看到之前创建并xx的vlan并没有随startup-config的删除而删除。这是为什么呢?文章作者解释,自建的vlan信息实际上保存在交换机Flash的vlan.dat文件内,该文件不会在删除startup-config的时候被删除,也不会在reload之后清空内容或被删除。以致当重启交换机后,仍然可以从该文件中读取之前保存的vlan信息。该文件需要被手工删除。
VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/1, Fa0/2, Fa0/3, Fa0/4
                                                Fa0/5, Fa0/6, Fa0/7, Fa0/8
                                                Fa0/9, Fa0/10, Fa0/11, Fa0/12
                                                Fa0/13, Fa0/14, Fa0/15, Fa0/16
                                                Fa0/17, Fa0/18, Fa0/19, Fa0/20
                                                Fa0/21, Fa0/22, Fa0/23, Fa0/24
                                                Gig1/2
1002 fddi-default                     active   
1003 token-ring-default               active   
1004 fddinet-default                  active   
1005 trnet-default                    active  
郑重声明:资讯 【Cisco Catalyst交换机删除startup-config并重启后,vlan信息仍存在的 ...】由 发布,版权归原作者及其所在单位,其原创性以及文中陈述文字和内容未经(企业库qiyeku.com)证实,请读者仅作参考,并请自行核实相关内容。若本文有侵犯到您的版权, 请你提供相关证明及申请并与我们联系(qiyeku # qq.com)或【在线投诉】,我们审核后将会尽快处理。
—— 相关资讯 ——