¼ÆËã»úÍøÂçʵÑéÖ¸µ¼1(1) ÏÂÔØ±¾ÎÄ

\

configuration or there is a software problem and system operation may be compromised. Rounded IOMEM up to: 10Mb.

Using 3 percent iomem. [10Mb/256Mb] Restricted Rights Legend

Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (c) of the Commercial Computer Software - Restricted Rights clause at FAR sec. 52.227-19 and subparagraph (c) (1) (ii) of the Rights in Technical Data and Computer Software clause at DFARS sec. 252.227-7013. cisco Systems, Inc. 170 West Tasman Drive

San Jose, California 95134-1706

Cisco IOS Software, 2800 Software (C2800NM-IPBASE-M), Version 12.4(3g), RELEASE SOFTWARE (fc2)

Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2006 by Cisco Systems, Inc. Compiled Mon 06-Nov-06 02:36 by alnguyen

Image text-base: 0x400A1994, data-base: 0x41540000 Port Statistics for unclassified packets is not turned on. Cisco 2811 (revision 49.46) with 251904K/10240K bytes of memory. Processor board ID FHK1107F150 2 FastEthernet interfaces

DRAM configuration is 64 bits wide with parity enabled. 239K bytes of non-volatile configuration memory. 62720K bytes of ATA CompactFlash (Read/Write) Press RETURN to get started! //¼Óµç×Ô¼ì½áÊø

Cisco Router and Security Device Manager (SDM) is installed on this device. This feature requires the one-time use of the username \ with the password \vel of 15.

Please change these publicly known initial credentials using SDM or the IOS CLI. Here are the Cisco IOS commands.

username privilege 15 secret 0 no username cisco

Replace and with the username and password you want to use For more information about SDM please follow the instructions in the QUICK START GUIDE for your router or go to http://www.cisco.com/go/sdm ----------------------------------------------------------------------- ÅäÖÃÁ¬½ÓÍøÂç1µÄF0/0½Ó¿Ú

User Access Verification Username: cisco //°´ÒªÇóÊäÈëÓû§Ãû Password: //ÊäÈëÃÜÂ룺cisco router-A3# //½øÈëÌØÈ¨Ä£Ê½ router-A3#configure t

Enter configuration commands, one per line. End with CNTL/Z. router-A3(config)#int fa0/0 //ÅäÖ÷ÓÉÆ÷fa0/0¿Ú router-A3(config-if)#ip address 192.168.2.1 255.255.255.0 //ÅäÖÃfa0/0µÄipºÍ×ÓÍø router-A3(config-if)#no shut //¼¤»î¶Ë¿Ú router-A3(config-if)#exit router-A3(config)#exit Building configuration...

ÅäÖÃÁ¬½ÓÍøÂç2µÄF0/1½Ó¿Ú router-A3#config t

Enter configuration commands, one per line. End with CNTL/Z. router-A3(config)#int fa0/1 //ÅäÖÃfa0/1¿Ú router-A3(config-if)#ip address 10.0.0.1 255.0.0.0 //ÉèÖÃipºÍ×ÓÍø router-A3(config-if)#no shut //¼¤»î router-A3(config-if)#^Z

Á½¸ö×ÓÍøÏàÁ¬½ÓµÄ·ÓÉÆ÷ÉèÖÃÒÔÍê³É

ÏÂÃæÅäÖÃÍøÂ磬ÒÔʵÏÖÁ½¸ö²»Í¬µÄÍøÂçÁ¬½Ó¡£

Ê×ÏÈÅäÖÃÓëfa0/0ÏàÁ¬½ÓµÄ½»»»»úÉϵÄËùÓÐpc»úµÄip ºÍÍø¹ØÈçÉϱíÖÐÍøÂç1 µÄÅäÖÃ

È»ºóͬÀí£¬ÅäÖÃÍøÂç2µÄip

ÅäÖÃÍê³Éºó´ÓÍøÂç1£¨»òÍøÂç2£©µÄÈκÎһ̨Ö÷»úÉÏpingÍøÂç2£¨»òÍøÂç1£©ÉϵÄÖ÷»ú£¬¿´ÊÇ·ñÄÜping ͨ¡£

Ping ͨ˵Ã÷ʵÑé³É¹¦

¶þ¡¢Ó÷ÓÉÆ÷µÄÀ©Õ¹¶Ë¿ÚÁ¬½ÓÁ½¸ö×ÓÍø

Á½¸ö×ÓÍøÅäÖò»±ä£¬¶Ë¿ÚÓÃfa0/3/0,fa0/3/1,fa0/3/2,fa0/3/3ÖеÄÈÎÒâÁ½¸ö£¬¶Ë¿ÚÅäÖÃÃüÁî

ÈçÏ£º

Ê×ÏȰÑfa0/0ºÍfa0/1¶Ë¿ÚµÄipÈ¡Ïûµô£¬·ÀÖ¹ºóÃæÉèÖÃʱ³ö´í¡£

router-A3#config t

Enter configuration commands, one per line. End with CNTL/Z. router-A3(config)#int fa0/0

router-A3(config-if)#no ip address 192.168.2.1 255.255.255.0 router-A3(config-if)#exit router-A3(config)#int fa0/1

router-A3(config-if)#no ip address 10.0.0.1 255.0.0.0 router-A3(config-if)#exit router-A3(config)#exit

ÏÂÃæÎÒÃÇÓÃfa0/3/0ºÍfa0/3/1¶Ë¿ÚΪÀýÀ´ÅäÖá£

router-A3#vlan database router-A3(vlan)#vlan 2 VLAN 2 added:

Name: VLAN0002 router-A3(vlan)#vlan 3 VLAN 3 added:

Name: VLAN0003 router-A3(vlan)#vlan 4 VLAN 4 added:

Name: VLAN0004 router-A3(vlan)#vlan 5 VLAN 5 added:

Name: VLAN0005 router-A3(vlan)#exit APPLY completed. Exiting....

router-A3#config t

Enter configuration commands, one per line. End with CNTL/Z. router-A3(config)#int fa0/3/0

router-A3(config-if)#switchport mode access router-A3(config-if)#switchport access vlan 2 router-A3(config-if)#exit router-A3(config)#int fa0/3/1

router-A3(config-if)#switchport mode access router-A3(config-if)#switchport access vlan 3 router-A3(config-if)#exit router-A3(config)#int fa0/3/2

router-A3(config-if)#switchport mode access router-A3(config-if)#switchport access vlan 4 router-A3(config-if)#exit router-A3(config)#int fa0/3/3

router-A3(config-if)#switchport mode access