顯示具有 vlan 標籤的文章。 顯示所有文章
顯示具有 vlan 標籤的文章。 顯示所有文章

2019/04/09

Building Redundant Switched Topologies

2Step 1 Ensure that all VLANs exist on the switches.Also,make sure that the ports have been configured in correct VLANs based on the topology diagram.

Step2 將 SW2 調整成為 vlan 10,11,20,22 的 Route Bridge,SW2 若掛掉由 SW1 取代,SW3 為 vlan 30 的 Route Bridge。

Step3 Enable PortFast and BPDU guard on the access ports on the three switches.

SW1#sh vlan
VLAN Name                             Status    Ports
---- -------------------------------- --------- --------------------
1    default                                  active    Et0/1, Et0/2, Et0/3, Et1/3
10   VLAN0010                         active    Et0/0
11   VLAN0011                         active    Et0/0
20   VLAN0020                         active
33   VLAN0033                         active   .....>設錯,少了22、30,多33
...

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/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