STORY of AODDY. » Posts in category 'CISCO'

How to disable Spanning Tree Protocol on Bridge Group interface on CISCO Router.

Problem :
Network traffic is slow, when you start the STP on bridge group interface on router.

Log message :
000183: .Aug 13 10:08:11.549: STP: Serial0/0/0.1 is looped back
000184: .Aug 13 14:41:53.192: STP: Serial0/0/0.1 is looped back
000185: .Aug 13 16:20:01.836: STP: Serial0/0/0.1 is looped back
000186: .Aug 13 16:39:01.308: STP: Serial0/0/0.1 is looped back

How to fix :

Read more »

Tags:,

How to set telnet password on CISCO Switch.

I want to set password when I telnet to my switch. Thank you to P’1 for help me this issue.

Read more »

Tags:

How to set line output when you display information on Switch&Router.

How to set line output when you display information on Switch&Router.

Thanks, P’ Berm so much. I have a problem when I use command “show running-config” on my Switch, many data show in my monitor . So I want to config my Switch to display information from my input number of line per when I press space bar on my keyboard.

  1. SW1#configure terminal
  2. SW1(config)#line console 0
  3. SW1(config)#length 10 <- number of line
  4. SW1(config)#end
  5. SW1#write
Tags:,

LAN Segmentation.

LAN Segmentation ก็คือ การแบ่งเน็ตเวิร์คออกเป็น เน็ตเวิร์คย่อยๆ นั่นเอง โดยในการแบ่งนั้น เราจะเป็นต้องมีอุปกรณ์เข้ามาช่วยแบ่ง ซึ่งก็คือ HUP, Switch และ Router

ในการแบ่งเน็ตเวิร์คนั้นก็จะถูกแบ่งออกเป็น 2 ประเภทคือ

  1. Collision Domain
  2. Broadcast Domain

โดยในการแบ่งนั้น จะใช้ อุปกรณ์ทั้งสามตัวที่ได้กล่าวมา มาช่วยในการแบ่งประเภท ดังนี้

Read more »

Trunking

Trunking หรือเรียกอีกอย่างว่า VLAN Trunking คือ กระบวนการที่ Support ให้ VLANs หลายๆ VLANs ให้มีการเชื่อมต่อข้อมูลการโดยใช้ สายแลน เพียงเส้นเดียว (โดยการใช้ Cisco’s ISL protocol หรือ IEEE 802.1q protocol)

ตัวอย่างการ Config Trunking ให้กับ interface

interface fa0/10
switchport
switchport trunk encapsulation dot1q
switchport mode trunk

เมื่อเราพูดถึง Trunk ก็คงจะไม่พูดถึง VTP [Virtual Trunk Protocol] ก็คงจะไม่ได้ ปัญหาอย่างหนึ่งของ Trunk ก็คือ เมื่อเรามี Switch หลายๆอัน เราก็ต้องไป manual สั่ง command แบบตัวอย่างข้างบนทุกๆอัน อ่ะแน่นอนว่า IT อย่างเราๆ ย่อมจะไม่อยากทำ มันจึงเป็นที่มาของ VTPVTP นั้นจะเข้ามาแก้ปัญหาโดยการที่เรา สร้าง VTP Server เมื่อมีการ update ต่างๆ เช่น มีการเพิ่ม VLAN ที่ VTP Client ก็จะเพิ่มตามโดยอัตโนมัติ เป็นไงครับเยี่ยมเก๋ good มั๊ย มาดูตัวอย่างการ Config VTP กันดีกว่าครับ Read more »

CISCO DISCOVERY PROTOCOL [CDP]

CISCO DISCOVERY PROTOCOL [CDP]

แปลตามชื่อก็คือ โปรโตคอลของ CISCO ที่ทำหน้าที่หาข้อมูลพื้นฐานของ Router&Switch ที่ต่ออยู่ข้างๆ โดยในการค้นหาข้อมูลนั้นไม่ต้องใช้ Password ซึ่งโดยทั่วไปจะ Support ทั้ง LAN, HDLC, Frame Relay และ ATM Interface แต่จะว่าไปมันรองรับหมดครับ ถ้า Interface เหล่านั้นใช้ SNAP Header

CDP นั้นสามารถค้นหา Switch&Router ได้ทั้ง Layer2&3 โดยที่ Layer 3 ไม่ต้อง Config อะไรเพิ่มเติมเลยเพราะ CDP ไม่ได้ใช้ส่วนไหนที่จำเพาะเจาะจงของ Layer 3

CDP ในตอนแรกนั้นถูกสร้างขึ้นมาเพื่อหาข้อมูลระหว่าง Router ที่อยู่ติดกันเท่านั้น แต่ปัจจุบัน อุปกรณ์ CISCO ที่เป็นทั้ง Router&Swicth ได้ Support CDP เรียบร้อยแล้วทั้งหมด

ในการทำงานของอุปกรณ์ที่รองรับ CDP นั้น มันจะทำการอ่านข้อมูลจาก อุปกรณ์ที่รองรับ CDP ที่อยู่ข้างๆ (CDP ใช้ multicase ในการส่งและรับข้อมูลในระดับ Data Link Layer)แล้ว เมื่ออ่านมาแล้ว มันก็จะส่งข้อมูลต่อไปยัง อุปกรณ์ตัวอื่นๆ เช่นกัน นั่นหมายความว่า CDP จะมีการ Share ข้อมูลเหล่านั้นให้แก่กันด้วย

สำหรับข้อมูลที่ CDP ส่งให้แก่กันนั้นมีดังนี้

  • Device Identifier คือ ชนิดของ Host name อุปกรณ์เหล่านั้น
  • Address List คือ Network&Data-Link Address ของอุปกรณ์ที่อยู่ข้างๆ
  • Port Identifier คือ ข้อความที่บอก Port เพื่อใช้ Connect ไปยัง Interface อันอื่น (ในอุปกรณ์เหล่านั้นจะมี หลายๆ interface)
  • Capabilities List คือ ข้อมูลที่บอกว่า อุปกรณ์เหล่านั้นเป็นอะไร เช่น บอกว่าเป็น Router , Switch
  • Platform คือ ข้อมูลที่บอกว่าเป็น Model อะไร Run ที่ OSI level ที่เท่าไหร่

สำหรับ CDP นั้นจะถูก Enable โดย Default อยู่แล้ว หากต้องการให้หยุดการทำงานของ CDP ของอุปกรณ์เหล่าก็สามารถใช้คำสั่ง ได้ดังนี้

Read more »

Access list for allow ssh only on switch 3750G.

This is solution of configure device switch 3750G for allow user connect to host by ssh-client.

1. After you connect to switch you would be create number of access list by this command.

# ip access-list extended 200

2. Configure this access-list for allow port 22 only.

# access-list 200 permit tcp host 123.456.789.012 eq 22 any
# access-list 200 deny tcp any any
# access-list 200 deny udp any any
# end

3. Map this access-list into interface that physical connect though ssh-server.

# interface giX/Y/Z
# ip access-group 200 in
# end

4. If you want to verify you access-list , you could be use this command

# show access-lists

End . :P

Routing Information Protocol [RIP].

RIP คือ Protocol gateway แบบภายในชนิดหนึ่งที่เหมาะกับองค์กรที่มี Network ขนาดเล็ก ซึ่งเป็น Routing Protocol ขนาดเล็กที่ใช้หา distance-vector ของการ routing โดยใช้ broadcast ที่เป็น User Datagram Protocol (UDP) เป็นตัวช่วยในการเก็บข้อมูลในการเปลี่ยน ข้อมูลของ Routing

** RIP นั้นจะเป็น Routing Protocol ที่ Support โดย IP Base image เท่านั้น หากเป็นตัวอื่น จะต้องมีการเรียกใช้ Stack master เพื่อใช้ในการ Run IP Service images.

ในการใช้ RIP นั้น Switch จะทำการส่ง information ที่ update ทุกๆ 30 วินาที โดยหาหาก Router ไม่มีการ Receive ข้อมูลที่ Update 180 วินาที หรือมากกว่านั้น Router ตัวนั้นจะถูก Mark ให้เป็น Router ที่ Unusable แต่ถ้าหลังจากนั้น 240 วินาที Router ตัวนั้นก็จะถูก Remove ออกจาก Routing table ทำให้กลายเป็น non-updating router

How to config VPN on CISCO 2811.

Yesterday, I configured VPN on my router CISCO 2811. I think , it’s a good exercise for me and for you too. P’ Berm , thank you so much for give good suggestion to me.

Read more »

Cisco 2811 Integrated Services Router

CISCO 2811 เป็น router หนึ่งในตระกูล 2800 ซึ่งได้ทำให้ Integrated Services Router Portfolio (ไม่รู็เหมือนกันว่ามันคือ อะไร :( ) มีความสมบูรณ์เพิ่มมากขึ้น

โดยสิ่งที่มันลองรับมีดังนี้

Read more »

© 2008 STORY of AODDY. is powered by WordPress