×¢²á | µÇ¼ Íü¼ÇÃÜÂ룿 51ctoÊ×Ò³ | ²©¿Í | ÂÛ̳ | ÕÐÆ¸
ÈȵãÎÄÕ linux·þÎñ---DHCP
¡¡°ïÖú

CCIEÊÔÑ鱸¿¼Ö®½»»»TRUNK


2007-03-11 20:04:56
°æÈ¨ÉùÃ÷£ºÔ­´´×÷Æ·£¬ÈçÐè×ªÔØ£¬ÇëÓë×÷ÕßÁªÏµ¡£·ñÔò½«×·¾¿·¨ÂÉÔðÈΡ£
Öм̽ӿÚ
ÖмÌÁ´½Ó(Trunk Link)Ö¸µÄÊÇÄܹ»×ª·¢¶à¸ö²»Í¬VLANµÄͨÐŵĶ˿ڡ£
 
Öм̽ӿڷâ×°µÄÀàÐÍ
CiscoÖ§³Ö¶àÖÖTrunk·½Ê½(¼´¶ÔVLANÖ¡±êʶ)£º
 1. ISL¨D¨DCiscoרÓзâװЭÒ飬ҲÊÇĬÈϵġ£Ç°Ãæ¼Ó26×Ö½Ú£¬ºóÃæ¼Ó4×Ö½ÚFCS¡£ Ö¡³¤¶È1518/1548¡£¿ÉÖ§³ÖµÄVLANÊýΪ1-1046¡£
 
 2. IEEE 802.1Q¨D¨DIEEE±ê×¼·½·¨£¬ÔÚ֡ͷдÈëVLANÐÅÏ¢£¬ºóÃæÖ»Ôö¼Ó4×Ö½ÚFCS¡£
  
 Ö¡³¤¶ÈΪ1518/1522¡£ÓÐ12λµÄvlan±êʶ£¬Ëü¿ÉÒÔÖ§³Öµ½4096¸öVLAN¡£
    802.1Q-trunkΪת·¢Î´±»±ê¼ÇµÄframe¶ø¶¨ÒåÁËnative VLAN(±¾µØVLAN)¡£½»»»»úÄܹ»´Óδ±»±ê¼ÇµÄtrunkÉϵÄnativeVLANת·¢2²ãframe£¬½ÓÊÜ·½½«°ÑËùÓеÄδ±ê¼Çframeת·¢µ½native VLANÖÐ ¡£VLAN1ÊÇĬÈϵı¾µØVLAN,Ò²¿ÉÒÔ°ÑÆäËûµÄVLAN¸ü¸ÄΪ±¾µØVLAN¡£Èç¹ûÊÇISL£¬Ôòû±»·â×°µÄframe½«»á¶ªÆú£¬°üÀ¨nativeVLAN£¬ËùÓеÄÊý¾Ý½«±»·â×°
 3. 802.10¨D¨DFDDIÉÏ´«ÊäVLANÐÅÏ¢µÄCiscoרÓÐЭÒ飬°ÑVLANÐÅϢдÈëSAID°²È«¹ØÁª±êʶ·û²¿·Ö
 4. LANE¨D¨D»ùÓÚATMÉÏ´«ÊäVLANÐÅÏ¢µÄÒ»ÖÖIEEE±ê×¼·½·¨¡£
 
ÅäÖÃÖм̽ӿÚģʽ
1.½»²æÏßÁ¬½ÓÁ½Ì¨½»»»»ú
2.½øÈë½Ó¿Ú
  sw2(config)#interface f0/24
3.ÅäÖýӿÚģʽ
¡¤ switchport mode access£ºÉèÖýӿÚΪ·ÃÎʽӿڣ¬»á½«½Ó¿ÚµÄģʽ×÷Ϊ·ÇÖм̽ӿڻòÕßЭÉ̵ؽ«Ä³¸ö½Ó¿Úµ÷ÕûΪ·ÃÎʽӿڣ¨²»¹Ü¶Ô·½ÁÚ¾ÓÊÇʲôģʽ£©
¡¤ switchport mode dynamic auto£ºÉèÖýӿÚΪ×Ô¶¯¶¯Ì¬Ð­ÉÌ£¨Èô¶Ô·½ÁÚ¾Ó½Ó¿ÚµÄģʽΪÖм̽ӿڻòÕßÊÇÖ÷¶¯Ð­ÉÌ£¬Õâ¸ö½Ó¿Ú»áת±äΪÖмÌÁ´Â·£©£¬½»»»»úĬÈϵĽӿÚģʽ¡£
¡¤ switchport mode dynamic desirable£ºÉèÖýӿÚΪÖ÷¶¯¶¯Ì¬Ð­ÉÌ¡£Èç¹ûÏàÁڵĽӿÚΪtrunk¡¢desirable¡¢autoģʽ£¬ÉèÖÃλdesirableģʽµÄ½Ó¿Ú»á³ÉΪÖм̽ӿڡ£
¡¤ switchport mode trunk£ºÉèÖýӿÚģʽΪÖмÌģʽ¡£
¡¤ switchport nonegotiate£º×èÖ¹½Ó¿Ú²úÉúDTP£¨×Ô¶¯Ð­ÉÌ£©Ö¡£¬¹Ø±ÕÖм̵ÄЭÉÌ¡£¸ÃÃüÁîÖ»ÓÐÔÚ½Ó¿ÚÉÏÒѾ­ÅäÖÃaccess»òtrunkÖ®ºó²ÅÄÜʹÓᣱØÐëÊÖ¹¤È¥ÅäÖÃÏàÁÚ½Ó¿ÚµÄģʽ¡£
¡¤ switchport mode dot1q-tunnel£ºÉèÖýӿÚΪdot1qËíµÀ ¡£
 
·â×°ÅäÖÃ
1£® ½øÈëÖм̽ӿÚÅäÖÃģʽ
interface f0/24
   2. ÉèÖÃÖм̽ӿڵķâ×°ÀàÐÍ
¡¤ switchport trunk encapsulation isl£ºÖм̽ӿڵÄÀàÐÍΪciscoרÓеÄisl(3550)
¡¤ switchport trunk encapsulation dot1q:Öм̽ӿڵÄÀàÐÍΪ IEEE 802.1Q £¨2950£©
¡¤ switchport trunk encapsulation negotiate£º¸ù¾ÝÏàÁÚ½Ó¿ÚµÄÀàÐÍÀ´Ð­ÉÌ·â×°ÀàÐÍ
 
ÔÊÐíÖм̷ÃÎʵÄVLAN
ÔÚĬÈÏÇé¿öÏ£¬½»»»»úµÄÖм̽ӿڷ¢ËͺͽÓÊÕÀ´×ÔËùÓÐVLAN£¨1-4094£©Êý¾ÝÁ÷Á¿¡£ÎÒÃÇ¿ÉÒÔʹÓÃÃüÁһЩVLAN´ÓÔÊÐí·ÃÎʵÄVLANÁбíÖÐɾ³ý£¬Ê¹µÃÕâЩVLANÔÚÖмÌÁ´Â·Éϲ»×°ÔØ¡£
ÅäÖò½Ö裺
1£® ½øÈë½Ó¿Úģʽ  interface f0/24
2£® ½«½Ó¿ÚÅäÖÃΪÖмÌģʽ£¨Èç¹ûÒѾ­ÊÇÖм̽ӿھͲ»ÐèÒª£©
switchport mode trunk
3. ÅäÖÃÔÊÐíVLANÁбí
switchport trunk allowed vlan {add | all | except | remove} vlan-list
¡¤ add:½«VLANÌí¼Óµ½ÔÊÐíÖмÌÔËÔØµÄVLANÁбí
¡¤ all:ÔÊÐíÖмÌÁ´Â·ÔÎÔÚËùÓеÄVLAN£¬ÕâÊÇÒ»¸öĬÈÏÖµ
¡¤ except£º³ýÁËVLAN-listÖ¸¶¨µÄVLANÍ⣬ÆäËûµÄVLAN¶¼ÔÊÐí
¡¤ remove£º½«vlan-listÖ¸¶¨µÄVLAN´ÓÔÊÐíÁбíÖÐÒÆ³ý
¡¤ vlan-list:¿ÉÒÔʹÓõ¥¸ö£¨1-4094£©»òÕßÒ»¸ö·¶Î§(²»ÄܳöÏÖ¿Õ¸ñ)
4£®²é¿´ÅäÖýá¹û
   show running interface f0/24   //²é¿´Öм̽ӿÚÅäÖÃ
   show interface f0/24 switchport  //²é¿´Öм̽ӿڵÄ״̬
È磺
   show running interface f0/24

   show interface f0/24 switchport
Name: Fa0/24
Switchport: Enabled
Administrative Mode: dynamic desirable
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk private VLANs: none
Operational private-vlan: none
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL
Protected: false
Appliance trust: none
------------------------------------------------------------------
   conf t
   interface f0/24
   switchport trunk allowed vlan remove 3,5,6-10
   end

   show interface f0/24 switchport
Name: Fa0/24
Switchport: Enabled
Administrative Mode: dynamic desirable
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk private VLANs: none
Operational private-vlan: none
Trunking VLANs Enabled: 1,2,4,11-4094
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL
Protected: false
Appliance trust: none
-----------------------------------------------------------------------------
   show running interface f0/24
!
interface FastEthernet0/24
 switchport trunk allowed vlan 1,2,4,11-4094
end
----------------------------------------------------------------------
   conf t
   interface f0/24
   switchport trunk allowed vlan add 3
   end

   show running interface f0/24
 interface FastEthernet0/24
  switchport trunk allowed vlan 1-4,11-4094
¿¼ÊÔÌâÄ¿£º
YY°æ±¾£ºSW1ºÍSW2ÉÏ×ùtrunk,·â×°ÀàÐÍΪisl£¬Ê¹ËùÓеÄoddµÄvlan³ÐÔØÔÚfa0/23ÉÏ£¬¶øevenµÄvlan³ÐÔØÔÚfa0/24ÉÏ£¬²¢ÇÒÖ»³ÐÔØÌâÄ¿ÖдæÔÚµÄvlan
ÅäÖãº
SW1ºÍSW2
Interface f0/23
  Switchport mode trunk
  Switchport trunk encapsulation isl
  Switchport trunk allowed vlan 11,13,15,17
Interface f0/24
   Switchport trunk encapsulation isl
   Switchport mode trunk
   Switchport trunk allowed vlan 12,14,16
ÑéÖ¤£º
show interface trunk
 
ÉèÖÃÖмÌÐÞ¼ôÊÊÒËÁбí
Prunning-eligibleºÏÊÊÐÞ¼ôÁбíÖ»ÄÜÓ¦ÓÃÔÚÖмÌÁ´Â·ÉÏ£¬VTPµÄÐÞ¼ô¹¦ÄܱØÐë´ò¿ª¡£
ÅäÖùý³Ì£º
1£® ´ò¿ªvtpµÄÐÞ¼ô¹¦ÄÜ
ÌØÈ¨Ä£Ê½Ï£º  vlan database
vtp pruning
exit
2.½øÈëÖм̽ӿÚģʽ
interface f0/24
switch trunk pruning vlan {add |except | none | remove} vlan-list [,vlan[,vlan[,,,]]
add:½«vlan¼ÓÈëµ½ÊÊÒËÐÞ¼ôµÄÁбíÖÐ
except£º³ýÁËÖ¸¶¨µÄvlanÖ®Íâ¶¼ÐÞ¼ô
none:²»×öÈκεÄÐÞ¼ô
remove:½«Ö¸¶¨µÄvlanÒÆ³ýÐèÒªÐÞ¼ôµÄÁбí
vlan-list:¿ÉÒÔÊÇÓöººÅ·Ö¸ôµÄµ¥¸övlan£¨2-1001,ÆäËû²»Äܱ»ÐÞ¼ôµô£©£¬¶ÌÏß±íʾΪһ¸ö·¶Î§£¬²»ÄܳöÏÖ¿Õ¸ñ
3£®²é¿´ÅäÖýá¹û
   show interface f0/24 switchport
   show running interface f0/24
   show interface trunk
È磺
   show running inter f0/24

   show interface f0/24 switchport
Name: Fa0/24
Switchport: Enabled
Administrative Mode: dynamic desirable
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk private VLANs: none
Operational private-vlan: none
Trunking VLANs Enabled: 1,2,4-4094
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL
Protected: false
Appliance trust: none
--------------------------------------------------------------------------
   conf t
   interface f0/24
   switchport trunk pruning vlan add 3,5,6-10

   show interface f0/24 switchport
Name: Fa0/24
Switchport: Enabled
Administrative Mode: dynamic desirable
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk private VLANs: none
Operational private-vlan: none
Trunking VLANs Enabled: 1,2,4-4094
Pruning VLANs Enabled: 2,4,11-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL
Protected: false
Appliance trust: none
--------------------------------------------------------
  Show interface trunk
  Port     Vlans in spanning tree forwarding state and not pruned
  Fa0/24      1-2,10
 
ÅäÖÃ802.1QµÄ±¾µØvlan(native vlan)
·â×°ÀàÐÍΪ802.1qµÄtrunkÖм̽ӿڣ¬¿ÉÒÔ½ÓÊÕ¡°´ø±ê¼Çtagged)¡±ºÍ¡°Î´¼Ó±ê¼Ç£¨untagged£©¡±µÄÊý¾Ý¡£È±Ê¡Ê±£¬½»»»»ú»áÓøö˿ڵı¾µØvlan(native vlan)À´×ª·¢Î´¼Ó±ê¼ÇµÄÊý¾Ý¡£¶ø·â×°ÀàÐÍΪislµÄδ¼Ó±ê¼ÇµÄÊý¾Ý½«»á¶ªÆú¡£È±Ê¡vlan 1Ϊ±¾µØvlan¡£
   ±¾µØvlan¿ÉÒÔ±»Ö¸¶¨ÎªÈËÒ»µÄvlanºÅ£¬Ëü²»ÒÀÀµÓÚ¹ÜÀívlan¡£
ÅäÖùý³Ì£º
1£® ½øÈë½Ó¿Úģʽ£¬Öм̵ķâ×°ÀàÐÍΪ802.1q
interface f0/24
switchport mode trunk
switchport trunk encap dot1q
2. ÉèÖÃÄĸövlan×÷Ϊ±¾µØvlan
   switchport trunk native vlan vlan-id
   vlan-id:1-4094
3. ²é¿´ÅäÖýá¹û
   show interface f0/24 switchport
   Èç¹ûij¸öÊý¾ÝÖ¡µÄvlan idÓë³ö¶Ë¿ÚµÄ±¾µØvlanºÅÏàͬ£¬¸ÃÊý¾Ý°ü¾Í°´ÕÕδ±ê¼Ç´«ËÍ£»·ñÔò£¬½»»»»ú»áʹÓôø±ê¼ÇÀ´´«ÊäÊý¾Ý°ü
È磺
  # show interface f0/24 switchport
Name: Fa0/24
Switchport: Enabled
Administrative Mode: dynamic desirable
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk private VLANs: none
Operational private-vlan: none
Trunking VLANs Enabled: 1,2,4-4094
Pruning VLANs Enabled: 2-9,11-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL
Protected: false
Appliance trust: none
---------------------------------------------------------------------------
   conf t
   interface f0/24
   switchport mode trunk
   switchport trunk encap dot1q
   switchport trunk native vlan 3
   end
  
 show interf f0/24 switchport
Name: Fa0/24
Switchport: Enabled
Administrative Mode: dynamic desirable
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 3 (VLAN_B)
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk private VLANs: none
Operational private-vlan: none
Trunking VLANs Enabled: 1,2,4-4094
Pruning VLANs Enabled: 2-9,11-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL
Protected: false
Appliance trust: none
--------------------------------------------------------------------------
   Show interface trunk
Port        Mode         Encapsulation  Status   Native vlan
Fa0/24      desirable    802.1q         trunking      3
Port      Vlans allowed on trunk
Fa0/24      1-2,4-4094
Port        Vlans allowed and active in management domain
Fa0/24      1-2,10
Port        Vlans in spanning tree forwarding state and not pruned
      Fa0/24      1-2,10
 
¶¯Ì¬ÖмÌЭÒéDTP
ÒÔÌ«ÍøÖм̽ӿÚÖ§³ÖÒÔϼ¸ÖÖÖмÌģʽ£º
¡¤ ½ÓÈëaccess
¡¤ ¶¯Ì¬dynamic
o Ö÷¶¯desirable
o ×Ô¶¯auto
¡¤ ÖмÌtrunk
¡¤ ²»Ð­ÉÌnonegotiate
¡¤ dot1qËíµÀ
ͨ¹ýʹÓò»Í¬µÄÖмÌģʽ£¬¿ÉÒÔÉèÖýӿڵIJ»Í¬×´Ì¬£¬ÈçÖм̡¢·ÇÖмÌÒÔ¼°ÓëÏàÁÚ½Ó¿ÚЭÉÌÖм̡£Òª×Ô¶¯½øÐÐÖмÌЭÉÌ£¬Ë«·½µÄ¶Ë¿Ú±ØÐë´¦ÓÚͬһ¸öVTPÓòÖУ¬ÓÉcisco¿ª·¢µÄÒ»¸öµã¶ÔµãЭÒé---DTP¶¯Ì¬ÖмÌЭÒéÍê³É£¨Ë½ÓÐvlanµÄ½Ó¿ÚºÍËíµÀ½Ó¿ÚÖв»Ö§³ÖDTP£©
×éºÏģʽ±í
ÁÚ½ÓÀàÐÍ ±¾µØ¶Ë¿ÚµÄÀàÐÍ
£¨ÂÔ¹ý£©

 ÅäÖÃģʽ£º
¡¤ switchport mode access£ºÉèÖýӿÚΪÓÀ¾ÃÐÔ½ÓÈë½Ó¿Ú£¬²úÉúDTPÖ¡£¬ÓëÏàÁÚ½Ó¿Ú½øÐÐЭÉÌ¡£»á½«½Ó¿ÚµÄģʽ×÷Ϊ·ÇÖм̽ӿڻòÕßЭÉ̵ؽ«Ä³¸ö½Ó¿Úµ÷ÕûΪ½ÓÈë½Ó¿Ú£¨²»¹Ü¶Ô·½ÁÚ¾ÓÊÇʲôģʽ£©
¡¤ switchport mode dynamic auto£ºÉèÖýӿÚΪ×Ô¶¯¶¯Ì¬Ð­ÉÌ£¨Èô¶Ô·½ÁÚ¾Ó½Ó¿ÚµÄģʽΪÖм̽ӿڻòÕßÊÇÖ÷¶¯Ð­ÉÌ£¬Õâ¸ö½Ó¿Ú»áת±äΪÖмÌÁ´Â·£©£¬½»»»»úĬÈϵĽӿÚģʽ¡£
¡¤ switchport mode dynamic desirable£ºÉèÖýӿÚΪÖ÷¶¯¶¯Ì¬Ð­É̽«Á´Â·×ª»»ÎªÖмÌÁ´Â·¡£Èç¹ûÏàÁڵĽӿÚΪtrunk¡¢desirable¡¢autoģʽ£¬ÉèÖÃΪdesirableģʽµÄ½Ó¿Ú»á³ÉΪÖм̽ӿڡ£Èç¹ûÏàÁÚ½Ó¿ÚÊǽÓÈë»ònonegotiateģʽ£¬¸ÃÁ´Â·³ÉΪ·ÇÖмÌ
¡¤ switchport mode trunk£ºÉèÖýӿÚģʽÓÀ¾ÃΪÖмÌģʽ»òЭÉÌת»»ÎªÖм̡£¼´Ê¹ÏàÁÚ½Ó¿Ú²»Í¬Òâ¸Ä±ä£¬µ«¸Ã½Ó¿ÚÒÀÈ»ÊÇÖм̽ӿڡ£
¡¤ switchport nonegotiate£º×èÖ¹½Ó¿Ú²úÉúDTP£¨×Ô¶¯Ð­ÉÌ£©Ö¡£¬¹Ø±ÕÖм̵ÄЭÉÌ¡£¸ÃÃüÁîÖ»ÓÐÔÚ½Ó¿ÚÉÏÒѾ­ÅäÖÃaccess»òtrunkÖ®ºó²ÅÄÜʹÓᣱØÐëÊÖ¹¤È¥ÅäÖÃÏàÁÚ½Ó¿ÚµÄģʽ¡£
¡¤ switchport mode dot1q-tunnel£ºÉèÖýӿÚΪdot1qËíµÀ ¡£
 
¼ì²éDTP
   show interface ½Ó¿Ú switchport
   show interface trunk
È磺
   conf t
   interface f0/24
      switchport mode dynamic desirable
   end
   show interface f0/24 switchport
Name: Fa0/24
Switchport: Enabled
Administrative Mode: dynamic desirable
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
¡­¡­
  --------------------------------------------------------------------------
 conf t
  interface f0/24
   switchport mode trunk(Èç¹ûÕâÒ»²½²»×ö£¬ÏÂÒ»²½½«²»»áÓÐЧ¹û)
   switchport nonegotiate
end

   show interface f0/24 switchport
Name: Fa0/24
Switchport: Enabled
Administrative Mode: trunk       //¹ÜÀíģʽ
Operational Mode: trunk          //¹¤×÷ģʽ
Administrative Trunking Encapsulation: dot1q    //¹ÜÀí·â×°ÀàÐÍ
Operational Trunking Encapsulation: dot1q       //¹¤×÷·â×°ÀàÐÍ
Negotiation of Trunking: Off                    //ЭÉÌ״̬
Access Mode VLAN: 1 (default)
   Show interface trunk
Port        Mode         Encapsulation  Status        Native  vlan
Fa0/24      on           802.1q         trunking      3
ÌâÄ¿£º
YY°æ±¾£º¹Ø±Õ½»»»»úÉÏDTPÁ÷Á¿
ÅäÖãº
SW1ºÍSW2
Interface rang f0/1-24
   Switchport mode access
   Switchport nonegotiata
 

±¾Îijö×Ô ¡°ÎÞÁÄÉú»î£¬»ý¼«Ãæ¶Ô¡± ²©¿Í£¬×ªÔØÇëÓë×÷ÕßÁªÏµ£¡





    ÎÄÕÂÆÀÂÛ
 
2007-03-22 15:49:09
ºÃ¶«Î÷!
Ï£ÍûÄÜ¿´µ½¸ü¶àµÄºÃÎÄÕÂ!

 

·¢±íÆÀÂÛ

êÇ   ³Æ£º
ÑéÖ¤Â룺 ¡¡µã»÷ͼƬ¿ÉË¢ÐÂÑéÖ¤Âë¡¡¡¡²©¿Í¹ý2¼¶£¬ÎÞÐèÌîдÑéÖ¤Âë
ÄÚ   ÈÝ£º