PlAwAnSaI
Administrator
ต่อไปจะเป็นการ Set Switch Cisco รุ่น 2950 IOS 12.1+
VLANs:
Cisco Interface Vlan:
Layer 2 Neighbor discover:
- สร้าง Vlan ใช้คำสั่ง:
vlan (Vlan ID)
name (ชื่อ Vlan)
- การทำให้ Port นั้นเป็น Mode ต่างๆ:
interface fa(port number)
switchport mode (trunk/access)
- การทำให้ Vlan อยู่ใน Port:
interface fa(port number)
switchport access vlan (vlan id)
- การ Set ค่า Bridge Priority สำหรับ Spanning Tree:
spanning-tree vlan (vlan id) priority (number Default 32768)
- การทำ PVST เป็นการทำให้แบ่งเบาภาระของ Switch เพราะการเป็น Root Bridge นั้นจะกิน Process มาก โดยจะ Set ให้ต่างกันไปตาม Vlan
VLANs:

Cisco Interface Vlan:
- SVI: Switch Virtual Interface > IOS
- BVI: Bridge group Virtual Interface > IOS XR
- BDI: Bridge Domain Interface > IOS XE
- Advertise VLAN attributes across multiple switches.
- VTP Mode:
- Server (default model)
- Client
- Transparent
- Layer3 Routed Ports:
no switchport - Router-on-a-Stick: Sub-interfaces
- SVI (Switched Virtual Interface): Interface Vlan
- Juniper: AE (Aggregated-Ether)
- Nokia: LAG (Link Aggregation Group)
- Huawei: Ether-Trunk
- Cisco: Bundle Ethernet (XR) / Ether-Channel/Port-Channel (IOS)
Protocol: - LACP: IEEE Standard
- PAgP: Cisco Proprietary
- interface Port-channel3
description To_Nokia_LAG3
!
interface GigabitEthernet0/4/2
description To_Nokia_1/1/3
channel-group 3 mode active
- # show int po3
Port-channel3 is up, line protocol is up
- lag 3
description "To_Cisco_PO3"
port 1/1/3
lacp active
no shutdown
#
port 1/1/3
description "To_Cisco_Gi0/4/2"
ethernet
no autonegotiate
- # show lag 3
===============================================================================
Lag Data
===============================================================================
Lag-id Adm Opr Port-Threshold Up-Link-Count MC Act/Stdby
3 up up

Layer 2 Neighbor discover:
- LLDP (Link Layer Discovery Protocol): IEEE Standard
- CDP (Cisco Discovery Protocol): Cisco Proprietary
- Prevent bridging loops in layer 2 networks.
- STP switches exchange Bridge Protocol Data Units (BPDU's) to build the topology database.
- en.wikipedia.org/wiki/Radia_Perlman
- กลไลป้องกัน Loop บน Layer 2 ด้วย Spanning-Tree Protocol (STP):
netprime-system.com/stp-part2
