{"id":293,"date":"2012-03-26T11:24:48","date_gmt":"2012-03-26T03:24:48","guid":{"rendered":"http:\/\/www.luwl.net\/?p=293"},"modified":"2012-03-26T11:24:48","modified_gmt":"2012-03-26T03:24:48","slug":"%e6%81%a2%e5%a4%8dcisco4503%e4%ba%a4%e6%8d%a2%e6%9c%ba%e7%9a%84%e5%af%86%e7%a0%81","status":"publish","type":"post","link":"http:\/\/www.luwl.net\/?p=293","title":{"rendered":"\u6062\u590dcisco4503\u4ea4\u6362\u673a\u7684\u5bc6\u7801"},"content":{"rendered":"<p>\u516c\u53f8\u76844503\u4ea4\u6362\u673a\u4fee\u597d\u540e\u53ef\u4ee5\u6b63\u5e38\u542f\u52a8\uff0c\u4f46\u6ca1\u6709\u5bc6\u7801\u3002\u67e5\u9605cisco\u7684\u5b98\u65b9\u6587\u6863\u540e\u5bf94503\u8fdb\u884c\u4e86\u5bc6\u7801\u91cd\u7f6e\u3002\u6574\u4e2a\u64cd\u4f5c\u8fc7\u7a0b\u5982\u4e0b\uff1a<\/p>\n<p><!--more--><br \/>\n[cc lang=&#8221;php&#8221;]<br \/>\n\/\/\u542f\u52a8\u7535\u6e90<br \/>\n **********************************************************<br \/>\n *                                                        *<br \/>\n * Welcome to Rom Monitor for WS-X4013+TS System.           *<br \/>\n * Copyright (c) 1999-2004 by Cisco Systems, Inc.         *<br \/>\n * All rights reserved.                                   *<br \/>\n *                                                        *<br \/>\n **********************************************************<\/p>\n<p> Rom Monitor Program Version 12.2(20r)EW1<br \/>\n Supervisor: WS-X4013+TS  Chassis: WS-C4503<br \/>\n Hardware Revisions &#8211; Board: 7.4 CPLD: 4 Dagobah: 226<\/p>\n<p> MAC Address  : 00-1a-2f-fc-0c-51<br \/>\n IP Address   : 10.1.8.105<br \/>\n Netmask      : 255.255.0.0<br \/>\n Gateway      : 10.1.1.1<br \/>\n TftpServer   : 10.1.1.1<br \/>\n Main Memory  : 256 MBytes<\/p>\n<p> ***** The system will autoboot in 5 seconds *****<\/p>\n<p> Type control-C to prevent autobooting.<br \/>\n\/\/\u6309Ctrl+C\u952e<br \/>\n Autoboot cancelled&#8230;&#8230;&#8230; please wait!!!<\/p>\n<p> Autoboot cancelled&#8230;&#8230;&#8230; please wait!!!<br \/>\nrommon 1 ><br \/>\nrommon 1 ><br \/>\nrommon 1 > [interrupt]<\/p>\n<p>rommon 1 > [interrupt]<br \/>\n\/\/\u4f7f\u7528\u547d\u4ee4set<br \/>\nrommon 1 >set<br \/>\n PS1=rommon ! ><br \/>\n TftpServer=10.1.1.1<br \/>\n Gateway=10.1.1.1<br \/>\n IpAddr=10.1.8.105<br \/>\n Netmask=255.255.0.0<br \/>\n Broadcast=10.1.1.255<br \/>\n RommonVer=12.2(20r)EW1<br \/>\n DiagMonitorAction=Normal<br \/>\n BOOT=<br \/>\n BootedFileName=bootflash:<br \/>\n CV=bootflash:<br \/>\n ConfigReg=0x2101\t\/\/\u5f97\u5230ConfigReg\u7684\u503c<br \/>\n ConsecPostPassedCnt=99<br \/>\n\/\/\u4f7f\u7528\u547d\u4ee4confreg<br \/>\nrommon 2 >confreg<\/p>\n<p> Configuration Summary :<br \/>\n => load rom after netboot fails<br \/>\n => console baud: 9600<br \/>\n => autoboot from: the first file from internal flash device<\/p>\n<p> do you wish to change the configuration? y\/n  [n]:  y\t\/\/\u4f7f\u7528yes<br \/>\n enable  &#8220;diagnostic mode&#8221;? y\/n  [n]:  n<br \/>\n enable  &#8220;use net in IP bcast address&#8221;? y\/n  [n]:  n<br \/>\n disable &#8220;load rom after netboot fails&#8221;? y\/n  [n]:  n<br \/>\n enable  &#8220;use all zero broadcast&#8221;? y\/n  [n]:  n<br \/>\n enable  &#8220;break\/abort has effect&#8221;? y\/n  [n]:<br \/>\n enable  &#8220;ignore system config info&#8221;? y\/n  [n]:  y\t\/\/\u4f7f\u7528yes<\/p>\n<p> change console baud rate? y\/n  [n]:  n<\/p>\n<p> change the boot characteristics? y\/n  [n]:  n<\/p>\n<p> Configuration Summary :<br \/>\n => load rom after netboot fails<br \/>\n => ignore system config info<br \/>\n => console baud: 9600<br \/>\n => autoboot from: the first file from internal flash device<\/p>\n<p> do you wish to save this configuration? y\/n  [n]:  y\t\/\/\u4f7f\u7528yes<br \/>\n You must reset or power cycle for new configuration to take effect<\/p>\n<p>\/\/\u4f7f\u7528reset\u547d\u4ee4<br \/>\nrommon 3 >reset<\/p>\n<p>Resetting &#8230;&#8230;.<\/p>\n<p>rommon 4 ><\/p>\n<p> **********************************************************<br \/>\n *                                                        *<br \/>\n * Welcome to Rom Monitor for WS-X4013+TS System.           *<br \/>\n * Copyright (c) 1999-2004 by Cisco Systems, Inc.         *<br \/>\n * All rights reserved.                                   *<br \/>\n *                                                        *<br \/>\n **********************************************************<\/p>\n<p> Rom Monitor Program Version 12.2(20r)EW1<br \/>\n Supervisor: WS-X4013+TS  Chassis: WS-C4503<br \/>\n Hardware Revisions &#8211; Board: 7.4 CPLD: 4 Dagobah: 226<\/p>\n<p> MAC Address  : 00-1a-2f-fc-0c-51<br \/>\n IP Address   : 10.1.8.105<br \/>\n Netmask      : 255.255.0.0<br \/>\n Gateway      : 10.1.1.1<br \/>\n TftpServer   : 10.1.1.1<br \/>\n Main Memory  : 256 MBytes<\/p>\n<p> ***** The system will autoboot in 5 seconds *****<\/p>\n<p> Type control-C to prevent autobooting.<br \/>\n . . . . .<\/p>\n<p> ******** The system will autoboot now ********<\/p>\n<p>\/\/\u6ce8\u610f\uff0c\u6b64\u5904config-register = 0x2141<br \/>\n config-register = 0x2141<\/p>\n<p> Autobooting using the first file from bootflash&#8230;..<\/p>\n<p>Rommon reg: 0xE2004180<br \/>\n##########<br \/>\nk2diags version 4.2.2_h<\/p>\n<p>prod: WS-X4013+TS  part: 73-9337-10  serial: JAE110653K7<\/p>\n<p>Power-on-self-test for Module 1:  WS-X4013+TS<br \/>\n Port\/Test Status: (. = Pass, F = Fail, U = Untested)<br \/>\n Reset Reason: PowerUp Software\/User<\/p>\n<p>Port Traffic: L2 Serdes Loopback &#8230;<br \/>\n 0: .  1: .  2: .  3: .  4: .  5: .  6: .  7: .  8: .  9: . 10: . 11: .<br \/>\n12: . 13: . 14: . 15: . 16: . 17: . 18: . 19: . 20: . 21: . 22: . 23: .<br \/>\n24: . 25: . 26: . 27: . 28: . 29: . 30: . 31: .<\/p>\n<p>Port Traffic: L2 Asic Loopback &#8230;<br \/>\n 0: .  1: .  2: .  3: .  4: .  5: .  6: .  7: .  8: .  9: . 10: . 11: .<br \/>\n12: . 13: . 14: . 15: . 16: . 17: . 18: . 19: . 20: . 21: . 22: . 23: .<br \/>\n24: . 25: . 26: . 27: . 28: . 29: . 30: . 31: .<\/p>\n<p>Port Traffic: L3 Asic Loopback &#8230;<br \/>\n 0: .  1: .  2: .  3: .  4: .  5: .  6: .  7: .  8: .  9: . 10: . 11: .<br \/>\n12: . 13: . 14: . 15: . 16: . 17: . 18: . 19: . 20: . 21: . 22: . 23: .<br \/>\n24: . 25: . 26: . 27: . 28: . 29: . 30: . 31: .<\/p>\n<p>Switch Subsystem Memory &#8230;<br \/>\n 1: .  2: .  3: .  4: .  5: .  6: .  7: .  8: .  9: . 10: . 11: . 12: .<br \/>\n13: . 14: . 15: . 16: . 17: . 18: . 19: . 20: . 21: . 22: . 23: . 24: .<br \/>\n25: . 26: . 27: . 28: . 29: . 30: . 31: . 32: . 33: . 34: . 35: . 36: .<br \/>\n37: . 38: . 39: . 40: . 41: . 42: . 43: . 44: . 45: . 46: . 47: . 48: .<br \/>\n49: . 50: . 51: . 52: . 53: . 54: . 55: .<\/p>\n<p>Front Panel 10\/100\/1000 Ports &#8230;<br \/>\n 1: .  2: .  3: .  4: .  5: .  6: .  7: .  8: .  9: . 10: . 11: . 12: .<\/p>\n<p>Front Panel SFP Ports &#8230;<br \/>\n13: . 14: . 15: . 16: . 17: . 18: . 19: . 20: .<\/p>\n<p>Module 1 Passed<\/p>\n<p>Exiting to ios&#8230;<\/p>\n<p>Rommon reg: 0xE2000180<br \/>\n###################################<br \/>\n              Restricted Rights Legend<\/p>\n<p>Use, duplication, or disclosure by the Government is<br \/>\nsubject to restrictions as set forth in subparagraph<br \/>\n(c) of the Commercial Computer Software &#8211; Restricted<br \/>\nRights clause at FAR sec. 52.227-19 and subparagraph<br \/>\n(c) (1) (ii) of the Rights in Technical Data and Computer<br \/>\nSoftware clause at DFARS sec. 252.227-7013.<\/p>\n<p>           cisco Systems, Inc.<br \/>\n           170 West Tasman Drive<br \/>\n           San Jose, California 95134-1706<\/p>\n<p>Cisco IOS Software, Catalyst 4000 L3 Switch Software (cat4000-I9S-M), Version 12                                                                             <\/p>\n<p>.2(25)EWA6, RELEASE SOFTWARE (fc1)<br \/>\nTechnical Support: http:\/\/www.cisco.com\/techsupport<br \/>\nCopyright (c) 1986-2006 by Cisco Systems, Inc.<br \/>\nCompiled Fri 02-Jun-06 15:20 by ssearch<br \/>\nImage text-base: 0x10000000, data-base: 0x114ED458<\/p>\n<p>Testing packet buffer memory:065536..done<br \/>\nAll packet buffers passed.<br \/>\ncisco WS-C4503 (MPC8245) processor (revision 4) with 262144K bytes of memory.<br \/>\nProcessor board ID FOX1044071Y<br \/>\nMPC8245 CPU at 267Mhz, Supervisor II+TS<br \/>\nLast reset from PowerUp<br \/>\n1 Virtual Ethernet interface<br \/>\n20 Gigabit Ethernet interfaces<br \/>\n511K bytes of non-volatile configuration memory.<\/p>\n<p>Press RETURN to get started!<\/p>\n<p>\/\/\u91cd\u542f\u5b8c\u6210<br \/>\n00:00:25: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan<br \/>\n00:00:26: %SYS-6-STARTUP_CONFIG_IGNORED: System startup configuration is ignored                                                                              <\/p>\n<p>based on the configuration register setting.<br \/>\n00:00:26: %C4K_IOSMODPORTMAN-6-MODULEONLINE: Module 1 (WS-X4013+TS S\/N: JAE11065                                                                             <\/p>\n<p>3K7 Hw: 1.6) is online<br \/>\n00:00:26: %SYS-5-RESTART: System restarted &#8212;<br \/>\nCisco IOS Software, Catalyst 4000 L3 Switch Software (cat4000-I9S-M), Version 12                                                                             <\/p>\n<p>.2(25)EWA6, RELEASE SOFTWARE (fc1)<br \/>\nTechnical Support: http:\/\/www.cisco.com\/techsupport<br \/>\nCopyright (c) 1986-2006 by Cisco Systems, Inc.<br \/>\nCompiled Fri 02-Jun-06 15:20 by ssearch<\/p>\n<p>\/\/\u73b0\u5728\u5df2\u7ecf\u6ca1\u6709\u5bc6\u7801\uff0c\u662f\u7a7a\u8bbe\u7f6e<br \/>\nSwitch><br \/>\nSwitch>en<br \/>\nSwitch#sh ver\t\/\/\u663e\u793a\u5f53\u524d\u7248\u672c<br \/>\nCisco IOS Software, Catalyst 4000 L3 Switch Software (cat4000-I9S-M), Version 12                                                                             <\/p>\n<p>.2(25)EWA6, RELEASE SOFTWARE (fc1)<br \/>\nTechnical Support: http:\/\/www.cisco.com\/techsupport<br \/>\nCopyright (c) 1986-2006 by Cisco Systems, Inc.<br \/>\nCompiled Fri 02-Jun-06 15:20 by ssearch<br \/>\nImage text-base: 0x10000000, data-base: 0x114ED458<\/p>\n<p>ROM: 12.2(20r)EW1<br \/>\nDagobah Revision 226, Swamp Revision 4<\/p>\n<p>Switch uptime is 0 minutes<br \/>\nSystem returned to ROM by power-on<br \/>\nSystem image file is &#8220;bootflash:&#8221;<\/p>\n<p>cisco WS-C4503 (MPC8245) processor (revision 4) with 262144K bytes of memory.<br \/>\nProcessor board ID FOX1044071Y<br \/>\nMPC8245 CPU at 267Mhz, Supervisor II+TS<br \/>\nLast reset from PowerUp<br \/>\n1 Virtual Ethernet interface<br \/>\n20 Gigabit Ethernet interfaces<br \/>\n511K bytes of non-volatile configuration memory.<\/p>\n<p>Configuration register is 0x2141\t\/\/\u6ce8\u610f\u5f53\u524d\u7684\u503c<\/p>\n<p>Switch#configure memory\t\t\/\/\u914d\u7f6e\u539f\u4ea4\u6362\u673a\u7684\u8bbe\u7f6e<\/p>\n<p>Uncompressed configuration from 2881 bytes to 6200 bytes<br \/>\n000005: *Mar 25 01:08:12: %SYS-6-CLOCKUPDATE: System clock has been updated from                                                                              <\/p>\n<p>01:08:12 UTC Sun Mar 25 2012 to 09:08:12 WST Sun Mar 25 2012, configured from c                                                                             <\/p>\n<p>onsole by console.<br \/>\nWaiWang4503#<br \/>\n000006: *Mar 25 01:08:17: %SYS-5-CONFIG_I: Configured from memory by console<br \/>\nWaiWang4503#sh run\t\/\/\u663e\u793a\u539f\u4ea4\u6362\u673a\u7684\u8bbe\u7f6e<br \/>\nBuilding configuration&#8230;<\/p>\n<p>Current configuration : 6220 bytes<br \/>\n!<br \/>\nversion 12.2<br \/>\nno service pad<br \/>\nservice timestamps debug uptime<br \/>\nservice timestamps log datetime<br \/>\nno service password-encryption<br \/>\nservice compress-config<br \/>\nservice sequence-numbers<br \/>\n!<br \/>\nhostname WaiWang4503<br \/>\n!<br \/>\nboot-start-marker<br \/>\nboot-end-marker<br \/>\n!<br \/>\nenable secret 5 $1$fpcU$AHgNUGU1WxmdvhlKI1O.0.<br \/>\n!<br \/>\nusername hyjk privilege 15 secret 5 $1$GbaL$aUf9ZUSpowztBH5btnoqP0<br \/>\naaa new-model<br \/>\naaa authentication login default local<br \/>\n!<br \/>\naaa session-id common<br \/>\nclock timezone WST 8<br \/>\nqos dbl<br \/>\nqos map dscp 24 25 26 27 28 29 30 31 to tx-queue 4<br \/>\nqos map dscp 32 33 34 35 36 37 38 39 to tx-queue 4<br \/>\nqos map cos 3 to dscp 26<br \/>\nqos map cos 5 to dscp 46<br \/>\nqos<br \/>\nip subnet-zero<br \/>\nno ip domain-lookup<br \/>\nip dhcp excluded-address 192.168.1.1 192.168.1.20<br \/>\nip dhcp excluded-address 192.168.1.250 192.168.1.254<br \/>\n!<br \/>\nip dhcp pool vlan1<br \/>\n   network 192.168.1.0 255.255.255.0<br \/>\n   default-router 192.168.1.254<br \/>\n   dns-server 192.168.1.10 202.99.160.68<br \/>\n!<br \/>\nip dhcp pool vlan2<br \/>\n   network 192.168.2.0 255.255.255.0<br \/>\n   default-router 192.168.2.254<br \/>\n   dns-server 192.168.1.10 202.99.160.68<br \/>\n!<br \/>\nip dhcp pool vlan3<br \/>\n   network 192.168.0.0 255.255.255.0<br \/>\n   default-router 192.168.0.254<br \/>\n   dns-server 192.168.1.10 202.99.160.68<br \/>\n!<br \/>\nip dhcp snooping vlan 1<br \/>\nip dhcp snooping<br \/>\n!<br \/>\nno file verify auto<br \/>\n!<br \/>\nspanning-tree mode pvst<br \/>\nspanning-tree extend system-id<br \/>\nspanning-tree uplinkfast<br \/>\nspanning-tree backbonefast<br \/>\nspanning-tree vlan 1-2 priority 24576<br \/>\npower redundancy-mode redundant<br \/>\n!<br \/>\n!<br \/>\n!<br \/>\nvlan internal allocation policy ascending<br \/>\n!<br \/>\npolicy-map autoqos-voip-policy<br \/>\n  class class-default<br \/>\n    dbl<br \/>\n!<br \/>\n!<br \/>\ninterface GigabitEthernet1\/1<br \/>\n description bgl1<br \/>\n switchport trunk encapsulation dot1q<br \/>\n switchport mode trunk<br \/>\n switchport nonegotiate<br \/>\n service-policy output autoqos-voip-policy<br \/>\n qos trust cos<br \/>\n auto qos voip trust<br \/>\n tx-queue 3<br \/>\n   bandwidth percent 33<br \/>\n   priority high<br \/>\n   shape percent 33<br \/>\n macro description cisco-switch<br \/>\n spanning-tree link-type point-to-point<br \/>\n!<br \/>\ninterface GigabitEthernet1\/2<br \/>\n description bgl2<br \/>\n switchport trunk encapsulation dot1q<br \/>\n switchport mode trunk<br \/>\n switchport nonegotiate<br \/>\n service-policy output autoqos-voip-policy<br \/>\n qos trust cos<br \/>\n auto qos voip trust<br \/>\n tx-queue 3<br \/>\n   bandwidth percent 33<br \/>\n   priority high<br \/>\n   shape percent 33<br \/>\n macro description cisco-switch<br \/>\n spanning-tree link-type point-to-point<br \/>\n!<br \/>\ninterface GigabitEthernet1\/3<br \/>\n description bgl3<br \/>\n switchport trunk encapsulation dot1q<br \/>\n switchport mode trunk<br \/>\n switchport nonegotiate<br \/>\n service-policy output autoqos-voip-policy<br \/>\n qos trust cos<br \/>\n auto qos voip trust<br \/>\n tx-queue 3<br \/>\n   bandwidth percent 33<br \/>\n   priority high<br \/>\n   shape percent 33<br \/>\n macro description cisco-switch<br \/>\n spanning-tree link-type point-to-point<br \/>\n!<br \/>\ninterface GigabitEthernet1\/4<br \/>\n description bgl4<br \/>\n switchport trunk encapsulation dot1q<br \/>\n switchport mode trunk<br \/>\n switchport nonegotiate<br \/>\n service-policy output autoqos-voip-policy<br \/>\n qos trust cos<br \/>\n auto qos voip trust<br \/>\n tx-queue 3<br \/>\n   bandwidth percent 33<br \/>\n   priority high<br \/>\n   shape percent 33<br \/>\n macro description cisco-switch<br \/>\n spanning-tree link-type point-to-point<br \/>\n!<br \/>\ninterface GigabitEthernet1\/5<br \/>\n description bgl5<br \/>\n switchport trunk encapsulation dot1q<br \/>\n switchport mode trunk<br \/>\n switchport nonegotiate<br \/>\n service-policy output autoqos-voip-policy<br \/>\n qos trust cos<br \/>\n auto qos voip trust<br \/>\n tx-queue 3<br \/>\n   bandwidth percent 33<br \/>\n   priority high<br \/>\n   shape percent 33<br \/>\n macro description cisco-switch<br \/>\n spanning-tree link-type point-to-point<br \/>\n!<br \/>\ninterface GigabitEthernet1\/6<br \/>\n description ffwai<br \/>\n switchport trunk encapsulation dot1q<br \/>\n switchport mode trunk<br \/>\n switchport nonegotiate<br \/>\n service-policy output autoqos-voip-policy<br \/>\n qos trust cos<br \/>\n auto qos voip trust<br \/>\n tx-queue 3<br \/>\n   bandwidth percent 33<br \/>\n   priority high<br \/>\n   shape percent 33<br \/>\n macro description cisco-switch<br \/>\n spanning-tree link-type point-to-point<br \/>\n!<br \/>\ninterface GigabitEthernet1\/7<br \/>\n description dcwai<br \/>\n switchport trunk encapsulation dot1q<br \/>\n switchport mode trunk<br \/>\n switchport nonegotiate<br \/>\n service-policy output autoqos-voip-policy<br \/>\n qos trust cos<br \/>\n auto qos voip trust<br \/>\n tx-queue 3<br \/>\n   bandwidth percent 33<br \/>\n   priority high<br \/>\n   shape percent 33<br \/>\n macro description cisco-switch<br \/>\n spanning-tree link-type point-to-point<br \/>\n!<br \/>\ninterface GigabitEthernet1\/8<br \/>\n description FW-Router<br \/>\n switchport mode access<br \/>\n spanning-tree portfast<br \/>\n!<br \/>\ninterface GigabitEthernet1\/9<br \/>\n switchport mode access<br \/>\n switchport port-security<br \/>\n switchport port-security aging time 2<br \/>\n switchport port-security violation restrict<br \/>\n switchport port-security aging type inactivity<br \/>\n switchport port-security mac-address sticky<br \/>\n switchport port-security mac-address sticky 001a.6449.bf9f<br \/>\n macro description cisco-desktop<br \/>\n spanning-tree portfast<br \/>\n spanning-tree bpduguard enable<br \/>\n!<br \/>\ninterface GigabitEthernet1\/10<br \/>\n switchport mode access<br \/>\n switchport port-security<br \/>\n switchport port-security aging time 2<br \/>\n switchport port-security violation restrict<br \/>\n switchport port-security aging type inactivity<br \/>\n macro description cisco-desktop<br \/>\n spanning-tree portfast<br \/>\n spanning-tree bpduguard enable<br \/>\n!<br \/>\ninterface GigabitEthernet1\/11<br \/>\n switchport trunk encapsulation dot1q<br \/>\n switchport mode trunk<br \/>\n switchport nonegotiate<br \/>\n service-policy output autoqos-voip-policy<br \/>\n qos trust cos<br \/>\n auto qos voip trust<br \/>\n tx-queue 3<br \/>\n   bandwidth percent 33<br \/>\n   priority high<br \/>\n   shape percent 33<br \/>\n macro description cisco-switch<br \/>\n spanning-tree link-type point-to-point<br \/>\n!<br \/>\ninterface GigabitEthernet1\/12<br \/>\n switchport access vlan 2<br \/>\n switchport mode access<br \/>\n switchport port-security<br \/>\n switchport port-security aging time 2<br \/>\n switchport port-security violation restrict<br \/>\n switchport port-security aging type inactivity<br \/>\n macro description cisco-desktop<br \/>\n spanning-tree portfast<br \/>\n spanning-tree bpduguard enable<br \/>\n!<br \/>\ninterface GigabitEthernet1\/13<br \/>\n!<br \/>\ninterface GigabitEthernet1\/14<br \/>\n!<br \/>\ninterface GigabitEthernet1\/15<br \/>\n!<br \/>\ninterface GigabitEthernet1\/16<br \/>\n!<br \/>\ninterface GigabitEthernet1\/17<br \/>\n!<br \/>\ninterface GigabitEthernet1\/18<br \/>\n!<br \/>\ninterface GigabitEthernet1\/19<br \/>\n!<br \/>\ninterface GigabitEthernet1\/20<br \/>\n!<br \/>\ninterface Vlan1<br \/>\n ip address 192.168.1.8 255.255.255.0<br \/>\n!<br \/>\ninterface Vlan2<br \/>\n ip address 192.168.2.254 255.255.255.0<br \/>\n shutdown<br \/>\n!<br \/>\ninterface Vlan3<br \/>\n ip address 192.168.0.254 255.255.255.0<br \/>\n shutdown<br \/>\n!<br \/>\nip route 0.0.0.0 0.0.0.0 192.168.1.254<br \/>\nip http server<br \/>\nip http authentication local<br \/>\n!<br \/>\n!<br \/>\n!<br \/>\nsnmp-server community yingxinbl RO<br \/>\n!<br \/>\nradius-server source-ports 1645-1646<br \/>\n!<br \/>\nline con 0<br \/>\n password hyjknet<br \/>\n stopbits 1<br \/>\nline vty 0 4<br \/>\n password hyjknet<br \/>\n length 0<br \/>\n!<br \/>\n!<br \/>\nend<\/p>\n<p>WaiWang4503#config t\t\t\/\/\u8fdb\u5165\u5168\u5c40\u914d\u7f6e\u6a21\u5f0f<br \/>\nEnter configuration commands, one per line.  End with CNTL\/Z.<\/p>\n<p>WaiWang4503(config)#enable secret cisco\t\t\/\/\u4fee\u6539\u7279\u6743\u7684\u5bc6\u7801\uff0c<br \/>\nWaiWang4503(config)#config-register 0x2101\t\/\/\u4fee\u6539\u542f\u52a8\u53c2\u6570\u7684\u503c<br \/>\nWaiWang4503(config)#^Z<br \/>\nWaiWang4503#write memory\t\t\t\/\/\u5c06\u4fee\u6539\u4fdd\u5b58\u5230\u542f\u52a8\u8bbe\u7f6e<br \/>\nBuilding configuration&#8230;<br \/>\nCompressed configuration from 6220 bytes to 2900 bytes[OK]<\/p>\n<p>WaiWang4503#<br \/>\nWaiWang4503#reload\t\t\/\/\u91cd\u542f\u4ea4\u6362\u673a<br \/>\nProceed with reload? [confirm]<\/p>\n<p>000008: *Mar 25 01:12:45: %SYS-5-RELOAD: Reload requested by console. Reload Rea                                                                             <\/p>\n<p>son: Reload Command.<\/p>\n<p> **********************************************************<br \/>\n *                                                        *<br \/>\n * Welcome to Rom Monitor for WS-X4013+TS System.           *<br \/>\n * Copyright (c) 1999-2004 by Cisco Systems, Inc.         *<br \/>\n * All rights reserved.                                   *<br \/>\n *                                                        *<br \/>\n **********************************************************<\/p>\n<p> Rom Monitor Program Version 12.2(20r)EW1<br \/>\n Supervisor: WS-X4013+TS  Chassis: WS-C4503<br \/>\n Hardware Revisions &#8211; Board: 7.4 CPLD: 4 Dagobah: 226<\/p>\n<p> MAC Address  : 00-1a-2f-fc-0c-51<br \/>\n IP Address   : 10.1.8.105<br \/>\n Netmask      : 255.255.0.0<br \/>\n Gateway      : 10.1.1.1<br \/>\n TftpServer   : 10.1.1.1<br \/>\n Main Memory  : 256 MBytes<\/p>\n<p> ***** The system will autoboot in 5 seconds *****<\/p>\n<p> Type control-C to prevent autobooting.<br \/>\n . . . . .<\/p>\n<p> ******** The system will autoboot now ********<\/p>\n<p> config-register = 0x2101<\/p>\n<p> Autobooting using the first file from bootflash&#8230;..<\/p>\n<p>Rommon reg: 0xE2004180<br \/>\n##########<br \/>\nk2diags version 4.2.2_h<\/p>\n<p>prod: WS-X4013+TS  part: 73-9337-10  serial: JAE110653K7<\/p>\n<p>Power-on-self-test for Module 1:  WS-X4013+TS<br \/>\n Port\/Test Status: (. = Pass, F = Fail, U = Untested)<br \/>\n Reset Reason: Software\/User<\/p>\n<p>Port Traffic: L2 Serdes Loopback &#8230;<br \/>\n 0: .  1: .  2: .  3: .  4: .  5: .  6: .  7: .  8: .  9: . 10: . 11: .<br \/>\n12: . 13: . 14: . 15: . 16: . 17: . 18: . 19: . 20: . 21: . 22: . 23: .<br \/>\n24: . 25: . 26: . 27: . 28: . 29: . 30: . 31: .<\/p>\n<p>Port Traffic: L2 Asic Loopback &#8230;<br \/>\n 0: .  1: .  2: .  3: .  4: .  5: .  6: .  7: .  8: .  9: . 10: . 11: .<br \/>\n12: . 13: . 14: . 15: . 16: . 17: . 18: . 19: . 20: . 21: . 22: . 23: .<br \/>\n24: . 25: . 26: . 27: . 28: . 29: . 30: . 31: .<\/p>\n<p>Port Traffic: L3 Asic Loopback &#8230;<br \/>\n 0: .  1: .  2: .  3: .  4: .  5: .  6: .  7: .  8: .  9: . 10: . 11: .<br \/>\n12: . 13: . 14: . 15: . 16: . 17: . 18: . 19: . 20: . 21: . 22: . 23: .<br \/>\n24: . 25: . 26: . 27: . 28: . 29: . 30: . 31: .<\/p>\n<p>Switch Subsystem Memory &#8230;<br \/>\n 1: .  2: .  3: .  4: .  5: .  6: .  7: .  8: .  9: . 10: . 11: . 12: .<br \/>\n13: . 14: . 15: . 16: . 17: . 18: . 19: . 20: . 21: . 22: . 23: . 24: .<br \/>\n25: . 26: . 27: . 28: . 29: . 30: . 31: . 32: . 33: . 34: . 35: . 36: .<br \/>\n37: . 38: . 39: . 40: . 41: . 42: . 43: . 44: . 45: . 46: . 47: . 48: .<br \/>\n49: . 50: . 51: . 52: . 53: . 54: . 55: .<\/p>\n<p>Front Panel 10\/100\/1000 Ports &#8230;<br \/>\n 1: .  2: .  3: .  4: .  5: .  6: .  7: .  8: .  9: . 10: . 11: . 12: .<\/p>\n<p>Front Panel SFP Ports &#8230;<br \/>\n13: . 14: . 15: . 16: . 17: . 18: . 19: . 20: .<\/p>\n<p>Module 1 Passed<\/p>\n<p>Exiting to ios&#8230;<\/p>\n<p>Rommon reg: 0xE2000180<br \/>\n###################################<br \/>\n              Restricted Rights Legend<\/p>\n<p>Use, duplication, or disclosure by the Government is<br \/>\nsubject to restrictions as set forth in subparagraph<br \/>\n(c) of the Commercial Computer Software &#8211; Restricted<br \/>\nRights clause at FAR sec. 52.227-19 and subparagraph<br \/>\n(c) (1) (ii) of the Rights in Technical Data and Computer<br \/>\nSoftware clause at DFARS sec. 252.227-7013.<\/p>\n<p>           cisco Systems, Inc.<br \/>\n           170 West Tasman Drive<br \/>\n           San Jose, California 95134-1706<\/p>\n<p>Cisco IOS Software, Catalyst 4000 L3 Switch Software (cat4000-I9S-M), Version 12                                                                             <\/p>\n<p>.2(25)EWA6, RELEASE SOFTWARE (fc1)<br \/>\nTechnical Support: http:\/\/www.cisco.com\/techsupport<br \/>\nCopyright (c) 1986-2006 by Cisco Systems, Inc.<br \/>\nCompiled Fri 02-Jun-06 15:20 by ssearch<br \/>\nImage text-base: 0x10000000, data-base: 0x114ED458<\/p>\n<p>Testing packet buffer memory:065536..done<br \/>\nAll packet buffers passed.<br \/>\ncisco WS-C4503 (MPC8245) processor (revision 4) with 262144K bytes of memory.<br \/>\nProcessor board ID FOX1044071Y<br \/>\nMPC8245 CPU at 267Mhz, Supervisor II+TS<br \/>\nLast reset from Reload<br \/>\n1 Virtual Ethernet interface<br \/>\n20 Gigabit Ethernet interfaces<br \/>\n511K bytes of non-volatile configuration memory.<\/p>\n<p>Uncompressed configuration from 2900 bytes to 6220 bytes<\/p>\n<p>Press RETURN to get started.<\/p>\n<p>User Access Verification<\/p>\n<p>Username: hyjk<br \/>\nPassword:\t\t\/\/\u4e0d\u77e5\u9053\u8fd9\u4e2a\u5bc6\u7801\u4e5f\u53ef\u4ee5\u5728\u4fee\u6539\u7279\u6743\u5bc6\u7801\u65f6\u4e00\u5e76\u4fee\u6539\u3002<\/p>\n<p>WaiWang4503>en<br \/>\nPassword:\t\t\/\/\u6b64\u5904\u5df2\u7ecf\u4e3a\u4fee\u6539\u540e\u7684\u5bc6\u7801<br \/>\nWaiWang4503#sh run<br \/>\nBuilding configuration&#8230;<\/p>\n<p>Current configuration : 6220 bytes<br \/>\n!<br \/>\nversion 12.2<br \/>\nno service pad<br \/>\nservice timestamps debug uptime<br \/>\nservice timestamps log datetime<br \/>\nno service password-encryption<br \/>\nservice compress-config<br \/>\nservice sequence-numbers<br \/>\n!<br \/>\nhostname WaiWang4503<br \/>\n!<br \/>\nboot-start-marker<br \/>\nboot-end-marker<br \/>\n!<br \/>\nenable secret 5 $1$FwKY$muXKdDiyLGeNQNP9vFy.61<br \/>\n!<br \/>\nusername hyjk privilege 15 secret 5 $1$GbaL$aUf9ZUSpowztBH5btnoqP0<br \/>\naaa new-model<br \/>\naaa authentication login default local<br \/>\n!<br \/>\naaa session-id common<br \/>\nclock timezone WST 8<br \/>\nqos dbl<br \/>\nqos map dscp 24 25 26 27 28 29 30 31 to tx-queue 4<br \/>\nqos map dscp 32 33 34 35 36 37 38 39 to tx-queue 4<br \/>\nqos map cos 3 to dscp 26<br \/>\nqos map cos 5 to dscp 46<br \/>\nqos<br \/>\nip subnet-zero<br \/>\nno ip domain-lookup<br \/>\nip dhcp excluded-address 192.168.1.1 192.168.1.20<br \/>\nip dhcp excluded-address 192.168.1.250 192.168.1.254<br \/>\n!<br \/>\nip dhcp pool vlan1<br \/>\n   network 192.168.1.0 255.255.255.0<br \/>\n   default-router 192.168.1.254<br \/>\n   dns-server 192.168.1.10 202.99.160.68<br \/>\n!<br \/>\nip dhcp pool vlan2<br \/>\n   network 192.168.2.0 255.255.255.0<br \/>\n   default-router 192.168.2.254<br \/>\n   dns-server 192.168.1.10 202.99.160.68<br \/>\n!<br \/>\nip dhcp pool vlan3<br \/>\n   network 192.168.0.0 255.255.255.0<br \/>\n   default-router 192.168.0.254<br \/>\n   dns-server 192.168.1.10 202.99.160.68<br \/>\n!<br \/>\nip dhcp snooping vlan 1<br \/>\nip dhcp snooping<br \/>\n!<br \/>\nno file verify auto<br \/>\n!<br \/>\nspanning-tree mode pvst<br \/>\nspanning-tree extend system-id<br \/>\nspanning-tree uplinkfast<br \/>\nspanning-tree backbonefast<br \/>\nspanning-tree vlan 1-2 priority 24576<br \/>\npower redundancy-mode redundant<br \/>\n!<br \/>\n!<br \/>\n!<br \/>\nvlan internal allocation policy ascending<br \/>\n!<br \/>\npolicy-map autoqos-voip-policy<br \/>\n  class class-default<br \/>\n    dbl<br \/>\n!<br \/>\n!<br \/>\ninterface GigabitEthernet1\/1<br \/>\n description bgl1<br \/>\n switchport trunk encapsulation dot1q<br \/>\n switchport mode trunk<br \/>\n switchport nonegotiate<br \/>\n service-policy output autoqos-voip-policy<br \/>\n qos trust cos<br \/>\n auto qos voip trust<br \/>\n tx-queue 3<br \/>\n   bandwidth percent 33<br \/>\n   priority high<br \/>\n   shape percent 33<br \/>\n macro description cisco-switch<br \/>\n spanning-tree link-type point-to-point<br \/>\n!<br \/>\ninterface GigabitEthernet1\/2<br \/>\n description bgl2<br \/>\n switchport trunk encapsulation dot1q<br \/>\n switchport mode trunk<br \/>\n switchport nonegotiate<br \/>\n service-policy output autoqos-voip-policy<br \/>\n qos trust cos<br \/>\n auto qos voip trust<br \/>\n tx-queue 3<br \/>\n   bandwidth percent 33<br \/>\n   priority high<br \/>\n   shape percent 33<br \/>\n macro description cisco-switch<br \/>\n spanning-tree link-type point-to-point<br \/>\n!<br \/>\ninterface GigabitEthernet1\/3<br \/>\n description bgl3<br \/>\n switchport trunk encapsulation dot1q<br \/>\n switchport mode trunk<br \/>\n switchport nonegotiate<br \/>\n service-policy output autoqos-voip-policy<br \/>\n qos trust cos<br \/>\n auto qos voip trust<br \/>\n tx-queue 3<br \/>\n   bandwidth percent 33<br \/>\n   priority high<br \/>\n   shape percent 33<br \/>\n macro description cisco-switch<br \/>\n spanning-tree link-type point-to-point<br \/>\n!<br \/>\ninterface GigabitEthernet1\/4<br \/>\n description bgl4<br \/>\n switchport trunk encapsulation dot1q<br \/>\n switchport mode trunk<br \/>\n switchport nonegotiate<br \/>\n service-policy output autoqos-voip-policy<br \/>\n qos trust cos<br \/>\n auto qos voip trust<br \/>\n tx-queue 3<br \/>\n   bandwidth percent 33<br \/>\n   priority high<br \/>\n   shape percent 33<br \/>\n macro description cisco-switch<br \/>\n spanning-tree link-type point-to-point<br \/>\n!<br \/>\ninterface GigabitEthernet1\/5<br \/>\n description bgl5<br \/>\n switchport trunk encapsulation dot1q<br \/>\n switchport mode trunk<br \/>\n switchport nonegotiate<br \/>\n service-policy output autoqos-voip-policy<br \/>\n qos trust cos<br \/>\n auto qos voip trust<br \/>\n tx-queue 3<br \/>\n   bandwidth percent 33<br \/>\n   priority high<br \/>\n   shape percent 33<br \/>\n macro description cisco-switch<br \/>\n spanning-tree link-type point-to-point<br \/>\n!<br \/>\ninterface GigabitEthernet1\/6<br \/>\n description ffwai<br \/>\n switchport trunk encapsulation dot1q<br \/>\n switchport mode trunk<br \/>\n switchport nonegotiate<br \/>\n service-policy output autoqos-voip-policy<br \/>\n qos trust cos<br \/>\n auto qos voip trust<br \/>\n tx-queue 3<br \/>\n   bandwidth percent 33<br \/>\n   priority high<br \/>\n   shape percent 33<br \/>\n macro description cisco-switch<br \/>\n spanning-tree link-type point-to-point<br \/>\n!<br \/>\ninterface GigabitEthernet1\/7<br \/>\n description dcwai<br \/>\n switchport trunk encapsulation dot1q<br \/>\n switchport mode trunk<br \/>\n switchport nonegotiate<br \/>\n service-policy output autoqos-voip-policy<br \/>\n qos trust cos<br \/>\n auto qos voip trust<br \/>\n tx-queue 3<br \/>\n   bandwidth percent 33<br \/>\n   priority high<br \/>\n   shape percent 33<br \/>\n macro description cisco-switch<br \/>\n spanning-tree link-type point-to-point<br \/>\n!<br \/>\ninterface GigabitEthernet1\/8<br \/>\n description FW-Router<br \/>\n switchport mode access<br \/>\n spanning-tree portfast<br \/>\n!<br \/>\ninterface GigabitEthernet1\/9<br \/>\n switchport mode access<br \/>\n switchport port-security<br \/>\n switchport port-security aging time 2<br \/>\n switchport port-security violation restrict<br \/>\n switchport port-security aging type inactivity<br \/>\n switchport port-security mac-address sticky<br \/>\n switchport port-security mac-address sticky 001a.6449.bf9f<br \/>\n macro description cisco-desktop<br \/>\n spanning-tree portfast<br \/>\n spanning-tree bpduguard enable<br \/>\n!<br \/>\ninterface GigabitEthernet1\/10<br \/>\n switchport mode access<br \/>\n switchport port-security<br \/>\n switchport port-security aging time 2<br \/>\n switchport port-security violation restrict<br \/>\n switchport port-security aging type inactivity<br \/>\n macro description cisco-desktop<br \/>\n spanning-tree portfast<br \/>\n spanning-tree bpduguard enable<br \/>\n!<br \/>\ninterface GigabitEthernet1\/11<br \/>\n switchport trunk encapsulation dot1q<br \/>\n switchport mode trunk<br \/>\n switchport nonegotiate<br \/>\n service-policy output autoqos-voip-policy<br \/>\n qos trust cos<br \/>\n auto qos voip trust<br \/>\n tx-queue 3<br \/>\n   bandwidth percent 33<br \/>\n   priority high<br \/>\n   shape percent 33<br \/>\n macro description cisco-switch<br \/>\n spanning-tree link-type point-to-point<br \/>\n!<br \/>\ninterface GigabitEthernet1\/12<br \/>\n switchport access vlan 2<br \/>\n switchport mode access<br \/>\n switchport port-security<br \/>\n switchport port-security aging time 2<br \/>\n switchport port-security violation restrict<br \/>\n switchport port-security aging type inactivity<br \/>\n macro description cisco-desktop<br \/>\n spanning-tree portfast<br \/>\n spanning-tree bpduguard enable<br \/>\n!<br \/>\ninterface GigabitEthernet1\/13<br \/>\n!<br \/>\ninterface GigabitEthernet1\/14<br \/>\n!<br \/>\ninterface GigabitEthernet1\/15<br \/>\n!<br \/>\ninterface GigabitEthernet1\/16<br \/>\n!<br \/>\ninterface GigabitEthernet1\/17<br \/>\n!<br \/>\ninterface GigabitEthernet1\/18<br \/>\n!<br \/>\ninterface GigabitEthernet1\/19<br \/>\n!<br \/>\ninterface GigabitEthernet1\/20<br \/>\n!<br \/>\ninterface Vlan1<br \/>\n ip address 192.168.1.8 255.255.255.0<br \/>\n!<br \/>\ninterface Vlan2<br \/>\n ip address 192.168.2.254 255.255.255.0<br \/>\n shutdown<br \/>\n!<br \/>\ninterface Vlan3<br \/>\n ip address 192.168.0.254 255.255.255.0<br \/>\n shutdown<br \/>\n!<br \/>\nip route 0.0.0.0 0.0.0.0 192.168.1.254<br \/>\nip http server<br \/>\nip http authentication local<br \/>\n!<br \/>\n!<br \/>\n!<br \/>\nsnmp-server community yingxinbl RO<br \/>\n!<br \/>\nradius-server source-ports 1645-1646<br \/>\n!<br \/>\nline con 0<br \/>\n password hyjknet<br \/>\n stopbits 1<br \/>\nline vty 0 4<br \/>\n password hyjknet<br \/>\n length 0<br \/>\n!<br \/>\n!<br \/>\nend<\/p>\n<p>WaiWang4503#<br \/>\n\/\/\u81f3\u6b64\uff0c4503\u4ea4\u6362\u673a\u5df2\u7ecf\u5728\u6ca1\u6709\u4fee\u6539\u914d\u7f6e\u7684\u60c5\u51b5\u4e0b\u91cd\u7f6e\u4e86\u5bc6\u7801<br \/>\n[\/cc]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u516c\u53f8\u76844503\u4ea4\u6362\u673a\u4fee\u597d\u540e\u53ef\u4ee5\u6b63\u5e38\u542f\u52a8\uff0c\u4f46\u6ca1\u6709\u5bc6\u7801\u3002\u67e5\u9605cisco\u7684\u5b98\u65b9\u6587\u6863\u540e\u5bf9 &hellip; <a href=\"http:\/\/www.luwl.net\/?p=293\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-293","post","type-post","status-publish","format-standard","hentry","category-net"],"_links":{"self":[{"href":"http:\/\/www.luwl.net\/index.php?rest_route=\/wp\/v2\/posts\/293","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.luwl.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.luwl.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.luwl.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.luwl.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=293"}],"version-history":[{"count":0,"href":"http:\/\/www.luwl.net\/index.php?rest_route=\/wp\/v2\/posts\/293\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.luwl.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=293"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.luwl.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=293"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.luwl.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=293"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}