½»»»»ú1ÅäÖÃ Switch#sh run
Building configuration...
Current configuration : 1185 bytes !
version 12.1
no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption !
hostname Switch ! !
spanning-tree mode pvst !
interface FastEthernet0/1
switchport trunk allowed vlan 1-3 switchport mode trunk !
interface FastEthernet0/2 switchport access vlan 2 !
interface FastEthernet0/3 --More-- ½»»»»ú2ÅäÖÃ
Building configuration...
Current configuration : 1185 bytes !
version 12.1
no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption !
hostname Switch ! !
spanning-tree mode pvst !
interface FastEthernet0/1
switchport trunk allowed vlan 1-3 switchport mode trunk !
interface FastEthernet0/2 switchport access vlan 2 !
interface FastEthernet0/3 --More-- Áù¡¢ÊÔÑéÐĵÃ
PCÖ®¼äµÄÁ¬Í¨ÐÔÊܺܶàÒòËØÓ°Ïì£¬Íø¶ÎÊÇ·ñÏàͬ£¬ÊÇ·ñ´¦ÓÚÏàͬVLAN£¬Î»ÖÃÎÊÌâ¡£ ´ËʵÑéÓõ½ÁËÉÏÒ»¸öʵÑéµÄVLAN·ÖÅ䣬Ðè×¢Òâ¡£ µç·Á¬½ÓʱӦ¸Ã·ÖÇåËüÃǵĽӿڣ¬²»ÒªÁ¬½Ó´íÎó¡£
ʵÑé6¾²Ì¬Â·ÓÉÅäÖÃ
Ò»¡¢ÊµÑéÄ¿µÄ
ÕÆÎÕ¾²Ì¬Â·ÓÉÅäÖ÷½·¨¡£ ¶þ¡¢ÊµÑéÈÎÎñ
ÖÃ3̨·ÓÉÆ÷Éϵľ²Ì¬Â·ÓÉ£¬ÊµÏÖÄ£ÄâÔ¶³ÌÍøÂ绥Áª¡£ Èý¡¢ÊµÑéÉ豸
Cisco·ÓÉÆ÷3̨£¬¹¤×÷Õ¾PCÁ½Ì¨£¬½»²æÏß¡¢V35Ï߸÷Á½¸ù¡£ ËÄ¡¢ÍØÆË½á¹¹
Î壬ÊÔÑé½á¹û
1£© δÉèÖþ²Ì¬Â·ÓÉ¡£2£©ÉèÖþ²Ì¬Â·ÓÉ¡£
PC1µ½PC3²»Í¨¡£ PC1µ½PC3Á¬Í¨
2£© ¹Û²ì·ÓÉÐÅÏ¢R1
·ÓÉÐÅÏ¢R2
·ÓÉÐÅÏ¢R3 R3>show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route
Gateway of last resort is not set
S 192.168.1.0/24 [1/0] via 192.168.23.2
C 192.168.3.0/24 is directly connected, FastEthernet0/0 S 192.168.12.0/24 [1/0] via 192.168.23.2
C 192.168.23.0/24 is directly connected, Serial0/0/1 R3>
Áù¡¢ÊµÑéÐĵÃ
ÊÔÑéʱ½øÐÐÅäÖÃʱÅäÖÃÃüÁî¹ý¶àÈÝÒ×ÊäÈë´íÎó¡£ÊÔÑé³É¹¦¡£