¾È³çÇϼ¼¿©.. ³×Æ®¿÷ ¿ÕÃʺ¸ÀÚ Á¦·Ó´Ï´Ù..^^; À̱ÛÀ» ÀÛ¼ºÇϱâ À§ÇØ ÇÏ·çÁÑÀÏ °É¸®´Ù´Ï...ÂÁ..¿¡±Ã..
º¸±â¿¡µû¶ó¼´Â ¸Ó ÀÌ·±°Å °¡Áö°í ÇÏ·ç ÁÑÀÏ °É¸®³Ä°í ÇÒ¼ö µµ ÀÖÁö¸¸..
¸ð¸£´Â°Å ¹°¾î ¹°¾î¼ Á¤¸®Çϴµ¥ ±× Á¤µµÀÇ ½Ã°£Àº ÇÊ¿äÇÏ´õ±º¿©..
Á¦°¡ ÇÏ·çÁÑÀÏ °É·Á¼ Á¤¸®ÇÑ °ÍÀÎ ¸¸Å ´Ù¸¥ ºÐµé¿¡°Ô ¸¹Àº µµ¿òÀÌ µÆÀ¸¸é ÇÕ´Ï´Ù.
À̱ÛÀ» ÀÌÇØÇϱâ Àü¿¡ ´ÙÀ½°ú °°Àº »çÀüÁö½ÄÀÌ ÇÊ¿äÇÕ´Ï´Ù.
ether channel(sub-interface), vtp(router¿¡¼ÀÇ sub-interface¸¦ ÀÌ¿ëÇÑ trunk, negotiate),
ÀÌ ½ºÀ§Ä¡´Â islÀ» Áö¿øÇÏÁö ¾Ê°í dot1.q¸¸ Áö¿øÇÕ´Ï´Ù.
À§¿¡ ³ª¿Â°Í¿¡ ´ëÇؼ ¸ð¸£½Ã´Â ºÐÀº ÀÌ ¹®¼¸¦ ºÁµµ ÀÌÇØ ¸øÇÏ´Â ºÎºÐÀÌ ¸¹±â¿¡
À§ÀÇ °ÍÀ» ¸ÕÀú °øºÎÇÑÈÄ º¸½Ã±æ ±ÇÇÕ´Ï´Ù. Ãʱ޶õ¿¡ ¿Ã¸±¶ó´Ù°¡.. ¾Æ¹«·¡µµ »çÀüÁö½ÄÀÌ ÇÊ¿äÇÑ °Å °°¾Æ¼ ÀÌ·¸°Ô °í±Þ¿¡ ¿Ã¸³´Ï´Ù. ¸Ó..Á¦°¡ °í±Þ °Á¸¦ ¾µ Á¤µµÀÇ ³»°øÀº ¾ÈµÇÁö¸¸..ÇìÇì.. ´ÙÀ½ ¼³¸íÀº Cisco Catalyst 4000serier switch¿¡ L3 ¸ðµâÀÌ Æ÷ÇÔµÈ °æ¿ì¸¦ ¸»ÇÕ´Ï´Ù. Catalyst 4000½Ã¸®Áî ½ºÀ§Ä¡´Â 4003(3slot), 4006(6slot) ÀÌ·¸°Ô µÎ°¡Áö°¡ ÀÖ½À´Ï´Ù. Catalyst 4003 ½ºÀ§Ä¡¿¡ L3¸ðµâÀÌ ²ÉÇô ÀÕ´Â °ÍÀ» ±âÁØÀ¸·Î ¼³¸íÇÕ´Ï´Ù. ±×¸®°í MGMT¸¦ À§ÇÑ Æ÷Æ®´Â ¼³¸í¿¡¼ Á¦¿ÜÇÕ´Ï´Ù.
¾Æ½Ã´Ù ½ÃÇÇ 4003Àº ½½·ÔÀÌ 3°³ ÀÖ½À´Ï´Ù.
1¹øÀº Supervisior¸¦ À§ÇÑ ½½·ÔÀÔ´Ï´Ù.
2,3¹øÀº ´Ù¸¥ Ä«µåµéÀ» »ðÀÔÇÏ¸é µË´Ï´Ù.
Supervisior ½½·ÔÀÌ RS-232 ŸÀÔ ÄÜ¼Ö Æ÷Æ®°¡ ÀÖ½À´Ï´Ù.
¿©±â¿¡ ÄַܼΠÁ¢¼ÓÇؼ º¸¸é ´ÙÀ½°ú °°½¿´Ù.
Conole>sh module
Mod Slot Ports Module-Type Model Sub Status
--- ---- ----- ------------------------- ------------------- --- --------
1 1 0 Switching Supervisor WS-X4012 no faulty
2 2 34 Router Switch Card WS-X4232-L3 no ok
1¹ø ½½·ÔÀº Supervisior°¡ µé¾î°¡ ÀÖ°í 2¹ø ½½·Ô¿¡ L3 ¸ðµâÀÌ µé¾î°¡ ÀÖ½À´Ï´Ù.
¿À´ÃÀÇ ÇÙ½ÉÀº ¹Ù·Î ¿ä°Å L3 ¸ðµâÀÌ µé¾î°¡ ÀÖÀ»¶§ ¾î¶»°Ô ¼ÂÆÃÀ» ÇÏ´À³Ä ÀÔ´Ï´Ù.
L3¸ðµâÀÌ ¾øÀ»¶§´Â ÀÏ¹Ý set ¸í·É¾î ¹æ½ÄÀÇ ¼ÂÆà ¹æ½Ä°ú µ¿ÀÏÇϹǷÎ..
¿©±â¼ ¾ð±ÞÇÒ ÇÊ¿ä°¡ ¾ø½À´Ï´Ù.
L3 ¸ðµâÀÌ Æ÷ÇÔµÈ 4000½ºÀ§Ä¡´Â ¹°¸®ÀûÀ¸·Î ÇϳªÀÇ ½ºÀ§Ä¡ÀÌÁö¸¸..
³í¸®ÀûÀ¸·Î´Â ¶ó¿ìÅÍ ÇÑ´ë + ½ºÀ§Ä¡ ÇÑ´ë = µÎ´ëÀÇ ÀåºñÀÔ´Ï´Ù.
¹°¸®¿Í ³í¸®ÀÇ Â÷ÀÌÁ¡Àº Çѹø¸¸ ´õ ¸»Çϸé õ¹øÀº µÇ´Â °Í °°Áö¸¸...^^;
¹°¸®´Â ´«¿¡ º¸ÀÌ´Â ¸ð¾çÀÌ°í ³í¸®´Â ½ÇÁ¦·Î ±¼·¯°¡´Â ¸ð¾çÀÔ´Ï´Ù.
ÀϹÝÀûÀ¸·Î Çãºê´Â ¹°¸®ÀûÀ¸·Î starÇüÀÌ°í ³í¸®ÀûÀ¸·Î busÇüÀÔ´Ï´Ù.
¿ì¸®°¡ 20±â°¡ Çϵå ÇÑ°³¸¦ C,D ÀÌ·¸°Ô µÎ°³·Î ³ª´©¾î ¾²Áö¿ä..
±×·³ ¹°¸®ÀûÀ¸·Ð ÇÑ°³°í ³í¸®ÀûÀ¸·Ð µÎ°³ÀÓ´Ù..
ù°, ¹°¸®Àû Ãø¸é
¶ó¿ìÅÍ Æ÷Æ® Giga port µÎ°³(1~2¹ø), 100¸Þ°¡ ½ºÀ§Ä¡ Æ÷Æ® 32°³(3¹ø~34¹ø)
µÑ°, ³í¸®Àû Ãø¸é
¶ó¿ìÅÍ Æ÷Æ® : Giga 4°³(1~4),
½ºÀ§Ä¡ Æ÷Æ® : Giga 2°³(1~2), 100M 32°³(3~34)
°á·ÐÀûÀ¸·Î ÀÌ Àåºñ´Â ¹°¸®ÀûÀ¸·Ð ÇϳªÀÇ ½ºÀ§Ä¡ ÀÌÁö¸¸..
³í¸®ÀûÀ¸·Î´Â Router(Giga 4°³) + ½ºÀ§Ä¡(Giga µÎ°³, 100M 32°³)
ÀÌ·¸´Ù´Â ÀǹÌÀÔ´Ï´Ù. µÇ°Ô Çò±ò¸®ÁÒ? Àúµµ ÷¿¡ µÇ°Ô Çò±ò·È½¿´Ù.
¿©±â¼ ¼û¾îÀÖ´Â ÀÎÅÍÆäÀ̽º¶ó´Â °Ô ÀÖ½À´Ï´Ù.
¼û¾î ÀÕ´Ù´Â °ÍÀº ¹Û¿¡¼´Â ¾È º¸À̴µ¥ Á¸ÀçÇÏ°í ÀÕ´Ù´Â °ÍÀÌÁ®..
¶ó¿ìÅÍ Giga3¹ø°ú 4¹øÀÌ ¼û¾îÀÕ°í...
½ºÀ§Ä¡ 1,2¹øÀÌ ¼û¾î ÀÖ´Â Æ÷Æ® ÀÔ´Ï´Ù.
Áï, ³»ºÎ¿¡ ÀÕ´Â °ÍÀ̶ó ¹ÛÀ¸·Î ¾È º¸Àδٴ °ÍÀÓ´Ù~!
Console> (enable) sh port
PortName Status Vlan Level Duplex Speed Type
-------- ------------- ---------- --------- ------- ----- ------------
2/1 connected trunk normal full 1000 No GBIC
2/2 connected trunk normal full 1000 No GBIC
2/3 notconnect 10 normal auto auto 10/100BaseTX
2/4 notconnect 20 normal auto auto 10/100BaseTX
2/5 notconnect 20 normal auto auto 10/100BaseTX
...
...
2/32 notconnect 30 normal auto auto 10/100BaseTX
2/33 notconnect 40 normal auto auto 10/100BaseTX
2/34 notconnect 1 normal auto auto 10/100BaseTX
....
...
À§ÀÇ ³»¿ëÀº ½ºÀ§Ä¡ ÄַܼΠµé¾î°¡¼ º» ³»¿ëÀÔ´Ï´Ù.
¿©±â¼ ¿ì¸®´Â ´Ù½ÃÇѹø Çò±ò¸®°Ô µË´Ï´Ù.^^; (Á¦·Î »ý°¢)
¿ì¸® ´«À¸·Î º¸ÀÌ´Â ¹ÛÀÇ ±â°¡ Æ÷Æ®(GBIC)´Â ½ºÀ§Ä¡ Æ÷Æ®°¡ ¾Æ´Ï¶ó ¶ó¿ìÅÍ Æ÷Æ®¶ó´Â °ÍÀÔ´Ï´Ù.
Áõ°Å¸¦ ´ëº¸°Ù½À´Ï´Ù. À§ÀÇ »óȲ¿¡¼ 2/1-2´Â NO GBICÀ̶ó°í ³ª¿ÍÀÖÂÇ..
À̸»ÀÌ ±× ¶æÀÔ´Ï´Ù. ½ºÀ§Ä¡¿¡¼ 2/1-2´Â ´«¿¡ º¸ÀÌ´Â GBIC°¡ ¾Æ´Ï¶ó´Â °ÍÀÓ´Ù~!
±×·³ À̹ø¿¡ ¶ó¿ìÅÍ·Î µé¾î°¡¼ Æ÷Æ®°¡ ¾î¶»°Ô ÀÕ´ÂÁö º¸°Ù½¿´Ù~!
Router#sh conf
interface GigabitEthernet1
¸Þ·· ¸Þ··
interface GigabitEthernet2
±Ã½Ã·· ±Ã½Ã··
interface GigabitEthernet3
¿¡±¸ ¿¡±¸
interface GigabitEthernet4
±î²á ±î²á
ip classless
line con 0 transport input none
end
º¸½Ã´Ù½ÃÇÇ ±â°¡ ÀÎÅÍÆäÀ̽º°¡ 4°³ÀÔ´Ï´Ù
ºÐ¸íÈ÷ ¿ì¸®°¡ ¹Ù±ù¿¡¼ º¼¼ö ÀÕ´Â °ÍÀº µÎ°³ »ÓÀε¥µµ ¸»ÀÔ´Ï´Ù.
¹Ù±ù¿¡¼ º¸ÀÌ´Â µÎ°³ÀÇ ±â°¡ Æ÷Æ®¿¡ 1¹ø°ú 2¹øÀ̶ó°í ½áÀÖ½À´Ï´Ù.
°í·Î 3,4¹øÀÌ ³»ºÎ ÀÎÅÍÆäÀ̽º¶ó´Â °ÍÀÌÁÒ..
¿ì¸®°¡ ¿¬°áÀ» º¸Åë ´ÙÀ½°ú °°ÀÌ ÇÕ´Ï´Ù.
RouterA - SwitchA - SwitchB
RouterA¿Í SwitchAÀÇ ¿ªÇÒÀ» 4000L3¸ðµâ ½ºÀ§Ä¡¿¡¼ ¼öÇàÇÑ´Ù´Â °ÍÀÓ´Ù.
¶ó¿ìÅÍ ³»ºÎ¿¡ ±â°¡Æ÷Æ® µÎ°³, ½ºÀ§Ä¡ ³»ºÎ¿¡ ±â°¡Æ÷Æ® µÎ°³
¿¬°áÇÏ´Â °ÍÀº ³»ºÎ Æ÷Æ®°¡Áö°í ÇÑ´Ù´Â °ÍÀÌÁÒ..
¶ó¿ìÅÍ ±â°¡ Æ÷Æ® 3,4¹ø°ú ½ºÀ§Ä¡ÀÇ ±â°¡ Æ÷Æ® 1,2¹øÀ» ¿¬°áÇØ¾ß µÈ´Ù´Â °ÍÀÔ´Ï´Ù.
¿ì¸®°¡ ÇÒ°ÍÀº ³»ºÎ¸¦ ÀÌ´õä³Î·Î ¹¾î¼ ¶ó¿ìÅÍ¿Í ½ºÀ§Ä¡¸¦ ¿¬°áÇØ ÁÖ´Â °ÍÀÔ´Ï´Ù.
½ºÀ§Ä¡¿¡¼ vlan ¼³Á¤À» ÇÏ°í ÀÌ´õä³Î ¼ÂÆÃÀ» ÇÏ°í uplink port¿¡¼ trunk·Î ³Ñ±é´Ï´Ù.
¶ó¿ìÅÍ¿¡¼´Â ÀÌ´õä³Î äÆÃÀ» ÇÏ°í sub-interface¿¡¼ trunkÀû¿ë
À§ÀÇ µÎÁÙÀÌ ÀÌÇØ ¾ÈµÇ½Ã´Â ºÐÀº Á¦°¡ óÀ½¿¡ ¸»¾¸µå·ÈµíÀÌ..
»çÀüÁö½ÄÀ» ¸ð¸£°í °è½Å°ÍÀ̱⿡ ÀÌ°Í¿¡ ´ëÇÑ Áú¹®Àº »ç¾çÇÕ´Ï´Ù.
¼öÇÐ ¹®Á¦ Ǫ´Âµ¥ »ê¼ö°øºÎ´Â ±âº»ÀûÀ¸·Î ¾Ë°í ÀÖ´Ù´Â °¡Á¤ÇÏ¿¡¼ ÇÏ´Â °ÍÀÌÁ®..
¼öÇн𣿡 »ê¼ö¹®Á¦ Ç®¾î´Þ¶ó´Â Áú¹®Àº ÇÕ´çÄ¡ ¾Ê±â¿¡ ÀÌ°Í¿¡ ´ëÇÑ Áú¹®Àº ÀÏü ¹ÞÁö ¾Ê°Ú½À´Ï´Ù.
½ºÀ§Ä¡¿¡¼ ¼³Á¤(vlan ¼³Á¤À» ÇÑÈÄ ´ÙÀ½ ¼³Á¤À» ÇÕ´Ï´Ù.)
ù°, ³»ºÎ ±â°¡Æ÷Æ® ether-channel ÁöÁ¤°ú mode ¼³Á¤
set port channel 2/1-2 1
set port channel 2/1-2 mode on
µÑ°, trunk ¼³Á¤
set trunk 2/1 nonegotiate dot1q 1-1005
set trunk 2/2 nonegotiate dot1q 1-1005
À§ÀÇ ¼ýÀÚ 1~1005´Â ¸ðµç vlanÀ» ¶æÇÏ´Â °ÍÀε¥.. Æ®··Å© ½ÃÅ°°íÀÚÇÏ´Â vlan¸¸ Àû¾îÁ൵ µË´Ï´Ù.
4000½Ã¸®Áî´Â islÀ» Áö¿ø¾ÈÇÏ°í 802.1Q ¸¸À» Áö¿øÇÕ´Ï´Ù.
±×¸®°í ¿©±â¿¡ ¿¬°áµÇ´Â Àåºñ°¡ negotiate¸¦ Áö¿øÇÏÁö ¾Ê´Â ÀåºñÀ̱⿡ nonegotiate¶ó´Â mode·Î ¼³Á¤ÇÕ´Ï´Ù.
Âü°íÀûÀ¸·Î negotiate¸¦ Áö¿øÇÏÁö ¾Ê´Â Àåºñ´Â ¶ó¿ìÅÍ¿Í 2900XL, 3500XL ½Ã¸®Áî µîÀÔ´Ï´Ù. Á¦·Î´Â ¿¹Àü¿¡ ÀÌ°Í ¶«½¬.. ÀÏÁÖÀÏ Á¤µµ ¹«Áö Çì¸å¾ú½¿´Ù..^^;
vtp negotiate¸¦ Áö¿øÇÏ´ÂÁö ¾ÈÇÏ´ÂÁö ¾î¶»°Ô ¾Æ´À³Ä±¸¿ä?
trunk mode´Â on, off, auto, desirable, nonegotiateµîÀÌ ÀÕ½À´Ï´Ù.
¶ó¿ìÅͳª 2900xl, 3500xlÀåºñ¿¡ µé¾î°¡¼ trunk mode¿¡¼ À§ÀÇ ¿É¼ÇÀ» ¼±ÅÃÇÏ´Â ¸Þ´º°¡ ¾ø´Ù¸é..
´ç±ÙÈ÷ negotiate¸¦ Áö¿øÇÏÁö ¾Ê´Â´Ù°í º¸½Ã¸é µË´Ï´Ù.
À¯½ÄÇÑ ¸»·Î DTP ¶Ç´Â DISL ÇÁ·¹ÀÓÀ̶ó°í ÇÏÁö¿©..
ÀÌÁ¦ ¶ó¿ìÅÍ¿¡¼ Æ®··Å© ¼³Á¤À» Çؾ߰ÙÁ®..
Áö¸é °ü°è»ó vlan1°ú 4°³ÀÇ vlanÀÌ ÀÖ´Ù°í °¡Á¤ÇÏ°í..
interface Port-channel1.1
encapsulation dot1Q 1
ip address 10.10.1.1 255.255.255.0
interface Port-channel1.10
encapsulation dot1Q 10
ip address 10.10.10.1 255.255.255.0
interface Port-channel1.20
encapsulation dot1Q 20
ip address 10.10.20.1 255.255.255.0
interface Port-channel1.30
encapsulation dot1Q 30
ip address 10.10.30.1 255.255.255.0
interface Port-channel1.40
encapsulation dot1Q 40
ip address 10.10.40.1 255.255.255.0
interface FastEthernet1
no ip address
no ip directed-broadcast
interface GigabitEthernet1
ip address ¸Þ··
interface GigabitEthernet2
ip address ¸Þ·Õ
interface GigabitEthernet3
no ip address
channel-group 1
interface GigabitEthernet4
no ip address
channel-group 1
À§¿¡¼ interface FastEthernet1Àº MGMT¸¦ À§ÇÑ °ÍÀ̹ǷΠ¼³¸í¿¡¼ Á¦¿Ü½ÃÄ×½À´Ï´Ù.
ÀÚ.. ÀÌÁ¦ ¸ðµç °ÍÀÌ ³¡³µ½À´Ï´Ù.
±×·¸´Ù¸é Áö±Ý ÇöÀç ½ºÀ§Ä¡¿¡ Á¢¼ÓÇØ Àִµ¥ ¶ó¿ìÅÍ·Î °¥·Á¸é ÄܼÖÀ» »©¼
¶ó¿ìÅÍ Äֿܼ¡ ´Ù½Ã Á¢¼ÓÇØ¾ß µÇ³Ä°í ÇÒÁö ¸ô¶ó¼ ±×·¯´Âµ¥..
´Ù¸¥ L3½ºÀ§Ä¡¿Í ¸¶Âù°¡Áö·Î session ¹øÈ£ ÀÌ·¸°Ô ÇÏ¸é ¶ó¿ìÅÍ·Î µé¾î°©´Ï´Ù.
¸Ç óÀ½¿¡
Conole>sh module
Mod Slot Ports Module-Type Model Sub Status
--- ---- ----- ------------------------- ------------------- --- --------
1 1 0 Switching Supervisor WS-X4012 no faulty
2 2 34 Router Switch Card WS-X4232-L3 no ok
2¹ø ½½·ÔÀÌ L3 À̹ǷÎ..
Console> session 2 ÀÌ·¸°Ô ÇÏ¸é ¶ó¿ìÅÍ·Î µé¾î°¡°Ô µË´Ï´Ù.
Áö±Ý ºÎÅÍ´Â »ó¼¼ÇÑ ¼ÂÆÿ¡ ´ëÇؼ ¾Ë¾Æ º¾´Ï´Ù.
¿ì¸®°¡ Áö±ÝºÎÅÍ ÇÒ°ÍÀº vlan 1(10.10.1.0/24)°ú vlan 10(10.10.10.0/24), vlan20(10.10.20.0/24), vlan30(10.10.30.0/24), vlan40(10.10.40.0/24) ±×¸®°í °¢ vlanÀÇ ¶ó¿ìÅÍ ip´Â °¢ networkÀÇ 1¹øÀÔ´Ï´Ù. Áï, vlan1ÀÇ ¶ó¿ìÅÍ ip´Â 10.10.1.1/24, vlan10Àº 10.10.10.1, vlan20Àº 10.10.20.1 vlan 30Àº 10.10.30.1, vlan 40Àº 10.10.40.1 ÀÌ·¸°Ô ¼ÂÆÃÇÒ·Á°í ÇÕ´Ï´Ù. º¸Åë pc¿¡¼ÀÇ default gateway°¡ µÇ´Â ¶ó¿ìÅÍ ÀÌ´õ³Ý ÀÎÅÍÆäÀ̽º ÁÖ¼Ò´Â °¢ ³×Æ®¿÷ÀÇ 1¹øÀ̳ª 254¹øÀ¸·Î ¼ÂÆÃÇÏ´Â °æ¿ì°¡ ¸¹Àºµ¥.. Àú °°Àº °æ¿ì´Â ¿¹Àü ºÎÅÍ 1¹øÀ¸·Î ¼ÂÆÃÇÏ´Â °ÍÀÌ ½À°üÀÌ µÇ¾î¼.. 1¹øÀÌ ÆíÇÏ´õ±º¿©.. ±×¸®°í ´Ù ¾Æ½Ã´Â ¸»ÀÌ°ÙÁö¸¸..
vlan 20¿¡ ¿¬°áµÈ pc³ª ½ºÀ§Ä¡°¡ ¾ø´Ù¸é 20.1·Î´Â pingÀÌ ¾ÈµË´Ï´Ù.
vlan20¿¡ pc¸¦ ¿¬°áÇÏ¸é ´ÙÀ½°ú °°Àº ¸Þ¼¼Áö°¡ ¶ß¸é¼ 20.1ÀÌ »ì¾Æ³³´Ï´Ù.
2001 Jun 16 17:21:08 %PAGP-5-PORTTOSTP:Port 2/4 joined bridge port 2/4
01:02:32: %AUTOSTATE-6-BRING_UP: Taking interface Port-channel1.10 out of Autostate mode
01:02:32: %AUTOSTATE-6-SHUT_DOWN: Putting interface Port-channel1.10 into Autostate mode
01:02:32: %AUTOSTATE-6-BRING_UP: Taking interface Port-channel1.10 out of Autostate mode
[1] Switch¿¡¼ÀÇ ¼³Á¤
@ switch ip ¼³Á¤(sc0´Â default vlan 1)
Console> (enable) set int sc0 1.1.1.2/24 1.1.1.255
@ vtp domain°ú mode ¼³Á¤(default server modeÀÓ)
Console> (enable) set vtp domain cyber
VTP domain cyber modified
Console> (enable) set vtp mode ?
client VTP client mode
server VTP server mode
transparent VTP transparent mode
Console> (enable) set vtp mode server
VTP domain cyber modified
@ vlan »ý¼º ¹× À̸§ÁöÁ¤
Console> (enable) set vlan 10 name 10.x
Vlan 10 configuration successful
Console> (enable) set vlan 20 name 20.x
Vlan 20 configuration successful
Console> (enable) set vlan 30 name 30.x
Vlan 30 configuration successful
Console> (enable) set vlan 40 name 40.x
Vlan 40 configuration successful
@ vlan ÇÒ´ç
Console> (enable) set vlan 10 2/3-10
VLAN 10 modified.
VLAN 1 modified.
VLAN Mod/Ports
---- -----------------------
10 2/3-10
Console> (enable) set vlan 20 2/11-18
VLAN 20 modified.
VLAN 1 modified.
VLAN Mod/Ports
---- -----------------------
20 2/11-18
Console> (enable) set vlan 30 2/19-26
VLAN 30 modified.
VLAN 1 modified.
VLAN Mod/Ports
---- -----------------------
30 2/19-26
Console> (enable) set vlan 40 2/27-34
VLAN 40 modified.
VLAN 1 modified.
VLAN Mod/Ports
---- -----------------------
40 2/27-34
@ vlan ÇÒ´ç È®ÀÎ
Console> (enable) sh vlan
VLAN Name Status IfIndex Mod/Ports, Vlans
---- -------------------------------- --------- ------- -----------------------
1 default active 147
10 10.x active 152 2/3-10
20 20.x active 153 2/11-18
30 30.x active 154 2/19-26
40 40.x active 155 2/27-34
1002 fddi-default active 148
1003 token-ring-default active 151
1004 fddinet-default active 149
1005 trnet-default active 150
......
@ channel group »ý¼º ¹× mode ¼³Á¤
Console> (enable) set port channel ?
Port list (ex: 2/1-4 or 2/1-2 or 2/5,2/6)
all All ports
Console> (enable) set port channel 2/1-2 10
Port(s) 2/1-2 are assigned to admin group 10.
2001 Jun 16 20:00:34 %PAGP-5-PORTFROMSTP:Port 2/1 left bridge port 2/1
2001 Jun 16 20:00:35 %PAGP-5-PORTFROMSTP:Port 2/2 left bridge port 2/2
Console> (enable)
Console> (enable)
Console> (enable) set port channel 2/1-2 mode ?
auto Channel auto mode
desirable Channel desirable mode
off Turn off Channelling
on Turn on Channelling
Console> (enable) set port channel 2/1-2 mode on
Port(s) 2/1-2 channel mode set to on.
Console> (enable)
Console> (enable)
@ trunk ¼³Á¤(default·Î ¸ðµç vlanÀÌ trunkµÊ)
Console> (enable) set trunk 2/1 nonegotiate dot1q
Console> (enable) set trunk 2/2 nonegotiate dot1q
@ trunk È®ÀÎ
Console> (enable) sh trunk
* - indicates vtp domain mismatch
Port Mode Encapsulation Status Native vlan
-------- ----------- ------------- ------------ -----------
2/1 nonegotiate dot1q trunking 1
2/2 nonegotiate dot1q trunking 1
Port Vlans allowed on trunk
-------- ---------------------------------------------------------------------
2/1 1-1005
2/2 1-1005
Port Vlans allowed and active in management domain
-------- ---------------------------------------------------------------------
2/1 1,10,20,30,40
2/2 1,10,20,30,40
Port Vlans in spanning tree forwarding state and not pruned
-------- ---------------------------------------------------------------------
2/1 1,10,20,30,40
2/2 1,10,20,30,40
@ config È®ÀÎ
Console> (enable) sh conf
¾î¼±¸ Àú¼±¸..
#vtp
set vtp domain cyber
set vlan 1 name default type ethernet mtu 1500 said 100001 state active
set vlan 10 name 10.x type ethernet mtu 1500 said 100010 state active
set vlan 20 name 20.x type ethernet mtu 1500 said 100020 state active
set vlan 30 name 30.x type ethernet mtu 1500 said 100030 state active
set vlan 40 name 40.x type ethernet mtu 1500 said 100040 state active
...
!
#ip
set interface sc0 1 1.1.1.2/255.255.255.0 1.1.1.255
#set boot command
set boot config-register 0x10f
set boot system flash bootflash:cat4000.5-5-1.bin
!
#module 1 : 0-port Switching Supervisor
!
#module 2 : 34-port Router Switch Card
set vlan 10 2/3-10
set vlan 20 2/11-18
set vlan 30 2/19-26
set vlan 40 2/27-34
set trunk 2/1 nonegotiate dot1q 1-1005
set trunk 2/2 nonegotiate dot1q 1-1005
set port channel 2/1-2 mode on
!
#module 3 empty
end
Console> (enable)
[2] ¶ó¿ìÅÍ¿¡¼ÀÇ ¼³Á¤
@ router·Î µé¾î°£ÈÄ port-channel sub-interface¿¡¼ trunk ¼ÂÆÃ
Console> (enable) session 2
Trying IntlgLineCard-2...
Connected to IntlgLineCard-2.
Escape character is '^]'.
Router>en
Router#
Router(config)#int port-channel 10.1
Router(config-subif)#encapsulation dot1q 1
Router(config-subif)#ip address 10.10.1.1 255.255.255.0
Router(config-subif)#int port-channel 10.10
Router(config-subif)#encapsulation dot1Q 10
Router(config-subif)#ip address 10.10.10.1 255.255.255.0
Router(config-subif)#int port-channel 10.20
Router(config-subif)#encapsulation dot1Q 20
Router(config-subif)#ip address 10.10.20.1 255.255.255.0
Router(config-subif)#int port-channel 10.30
Router(config-subif)#encapsulation dot1q 30
Router(config-subif)#ip address 10.10.30.1 255.255.255.0
Router(config-subif)#int port-channel 10.40
Router(config-subif)#encapsulation dot1q 40
Router(config-subif)#ip address 10.10.40.1 255.255.255.0
Router(config-subif)#exit
@ router port channel-group Âü¿©(10Àº ¾Õ¿¡¼ ½ºÀ§Ä¡ ¹øÈ£¿Í °°°Ô)
Router(config)#int gi3
Router(config-if)#channel-group 10
Router(config-if)#int gi4
Router(config-if)#channel-group 10
@ router Àüü config È®ÀÎ
Router#sh conf
interface Port-channel10
no ip address
no ip directed-broadcast
interface Port-channel10.1
encapsulation dot1Q 1 native
ip address 10.10.1.1 255.255.255.0
interface Port-channel10.10
encapsulation dot1Q 10
ip address 10.10.10.1 255.255.255.0
interface Port-channel10.20
encapsulation dot1Q 20
ip address 10.10.20.1 255.255.255.0
interface Port-channel10.30
encapsulation dot1Q 30
ip address 10.10.30.1 255.255.255.0
interface Port-channel10.40
encapsulation dot1Q 40
ip address 10.10.40.1 255.255.255.0
interface FastEthernet1
no ip address
no ip directed-broadcast
shutdown
interface GigabitEthernet1
no ip address
no ip directed-broadcast
shutdown
interface GigabitEthernet2
no ip address
no ip directed-broadcast
shutdown
interface GigabitEthernet3
no ip address
no negotiation auto
channel-group 10
interface GigabitEthernet4
no ip address
no negotiation auto
channel-group 10
end
Router#
@ Routing table È®ÀÎ
Router#sh 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, * - candidate default
U - per-user static route, o - ODR
Gateway of last resort is not set
C 127.0.0.0/8 is directly connected, INBAND0
10.0.0.0/24 is subnetted, 5 subnets
C 10.10.1.0 is directly connected, Port-channel10.1
C 10.10.10.0 is directly connected, Port-channel10.10
C 10.10.20.0 is directly connected, Port-channel10.20
C 10.10.30.0 is directly connected, Port-channel10.30
C 10.10.40.0 is directly connected, Port-channel10.40
Router#
³»ºÎ ÀÎÅÍÆäÀ̽º¿¡ ´ëÇÑ ºÎºÐÀÌ ÀÌÇØ°¡ Àß ¾ÈµÇ¼³.. ȸ»ç °íÂüÇÑÅ× ¹°¾î ¹°¾î¼ Á¤¸®ÇÑ °ÍÀÔ´Ï´Ù. ^^; Á¦ ±ÛÀÌ µµ¿òÀÌ µÇ¾ú´Ù¸é ´Ù¸¥ ºÐµéµµ Á¦°¡ ÇÑ°ÍÀÇ 1/10¸¸Å¸¸ °øÀ¯ÇØ Áֽñæ.. ÀÌ»ó ³×Æ®¿÷ ¿ÕÃʺ¸ÀÚ Á¦·Î ¿³½¿´Ù~! ÀÌ°Í ¸»°íµµ °øºÎÇÒ°Ô ¸¹¾Æ Áװڴµ.. ¿ø·¡ ÀÌ°ÍÀº ½Ã½ºÄÚÄÚ¸®¾Æ¿¡¼ ÇØ¾ß µÉ°ÍÀε¥.. Á¦°¡ ´ë½Å ÀÌ°ÍÀ» Á¤¸®ÇÏ°Ô µÇ¾î¼.. À¯°¨½º·´½À´Ï´Ù.
|