2019/04/09

Configure Root Bridge and Analyze STP Topology


2p64.  Step 1~ step 8
SW1#sh spanning-tree vlan 20
VLAN0020
  Spanning tree enabled protocol ieee
  Root ID    Priority    32788
             Address     aabb.cc00.0100
             This bridge is the root (因為 SW1 MAC Addr 最小)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32788  (priority 32768 sys-id-ext 20)
             Address     aabb.cc00.0100
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec
Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Et0/1               Desg FWD 100       128.2    Shr
Et0/2               Desg FWD 100       128.3    Shr

2019/04/07

[CCNA Notes 8-3] Routing Between VLANs

不同的 VLAN 間溝通的方法有 :用 Router (1.有多個界面 2.單個界面跟做法)、L3 Switch(最常見的做法)。

1.多個界面:Router with a Separate Interface in Each VLAN

在[8-2]裡我們已經設好這兩台 Switch 及各電腦的 ip ,現在用一台 Router 來做 Routing ,因為有兩個 vlan 我們先用兩條線,不同的 vlan 的電腦請設好各自的 gateway。

SwitchA 的 fa0/23 跟 Router 的 fa0/0 規劃給 vlan 10走,SwitchA 的 fa0/24 與 Router fa0/1 給 vlan 20

Router(config)#int fa0/0
Router(config-if)#ip addr 192.168.10.254 255.255.255.0
Router(config-if)#no sh

2019/04/04

Troubleshooting VLANs and Trunks

1
相關設定可在 STARTUP-CONFIGS 中查到,我們可知 PC3、5、7 同屬於 vlan 11,PC2、4、6 同屬 vlan 22,題目指出目前大家都 ping 不到 SW5,vlan 11的PC3跟PC5不通,請開始 Troubleshooting 吧!
5台 Switch 的資訊:

2019/04/01

[CCNA Notes 8-2] VLAN Connectivity


Switch(config-if)#switchport ?

  access         Set access mode characteristics of the interface
  mode           Set trunking mode of the interface
  native         Set trunking native characteristics when interface is in trunking mode
  nonegotiate    Device will not engage in negotiation protocol on this interface
  port-security  Security related command
  priority       Set appliance 802.1p priority
  trunk          Set trunking characteristics of the interface
  voice          Voice appliance attributes

SwitchA#show vlan

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                                 active    Fa0/1, Fa0/2, Fa0/3, Fa0/4
                                                                 Fa0/5, Fa0/6, Fa0/7, Fa0/8
                                                                 Fa0/9, Fa0/10, Fa0/11, Fa0/12
                                                                 Fa0/13, Fa0/14, Fa0/15, Fa0/16
                                                                 Fa0/17, Fa0/18, Fa0/19, Fa0/20
                                                                 Fa0/21, Fa0/22, Fa0/23, Fa0/24