SG

SG

Rabu, 21 Desember 2011

RSTP, MST Configuration


















Pertama gunakan EIGRP AS 2003, dan pastikan walker1 dan walker2 bisa ping..lalu kita lanjut ke walker1:

hostname walker1
!
interface Vlan1
 no ip address
 shutdown
!
interface Vlan192
! ip address 172.16.192.16 255.255.255.0

Configurasi VTP di walker1

walker1#vlan database
walker1(vlan)#vtp domain walker
walker1(vlan)#vtp server
walker1(vlan)#vtp password psv2

lanjut ke konfigurasi VLAN port :

interface FastEthernet0/3
 switchport access vlan 300
! assigned to VLAN 300
 switchport mode access
 spanning-tree portfast
! Portfast used in 802.1w
 no ip address
!
interface FastEthernet0/5
 switchport access vlan 100
! assigned to VLAN 100
 switchport mode access
spanning-tree portfast
! Portfast used in 802.1w
 no ip address
!
interface FastEthernet0/8
 switchport access vlan 100
! assigned to VLAN 100
 switchport mode access
 spanning-tree portfast
! Portfast used in 802.1w
 no ip address

dilanjutkan dengan configurasi portfast :

walker1(config)#interface range fastEthernet 0/10 - 15
walker1(config-if-range)#switchport mode access
walker1(config-if-range)#switchport access vlan 20
walker1(config-if-range)#spanning-tree portfast
%Warning: portfast should only be enabled on ports connected to a single
 host. Connecting hubs, concentrators, switches, bridges, etc... to this
 interface  when portfast is enabled, can cause temporary bridging loops.
 Use with CAUTION
%Portfast will be configured in 6 interfaces due to the range command
 but will only have effect when the interfaces are in a non-trunking mode.
walker1(config-if-range)#exit

untuk memverifikasi VLAN dan VTP status :

walker1#show vlan
VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/1, Fa0/2, Fa0/4,
                                                Fa0/6, Fa0/9, Fa0/16
                                                Fa0/17, Fa0/18, Fa0/19, Fa0/20
                                                Fa0/21, Fa0/22, Fa0/23, Fa0/24
20   psv2_vlan20                      active    Fa0/10, Fa0/11, Fa0/12, Fa0/13
  Fa0/14, Fa0/15
100  psv2_vlan100                     active    Fa0/5, Fa0/8
192  psv2_vlan192                     active
300  psv2_vlan300                     active    Fa0/3
1002 fddi-default                     active
1003 token-ring-default               active
1004 fddinet-default                  active
1005 trnet-default                    active
VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1    enet  100001     1500  -      -      -        -    -        0      0
20   enet  100020     1500  -      -      -        -    -        0      0
100  enet  100100     1500  -      -      -        -    -        0      0
192  enet  100192     1500  -      -      -        -    -        0      0
300  enet  100300     1500  -      -      -        -    -        0      0
1002 fddi  101002     1500  -      -      -        -    -        0      0
1003 tr    101003     1500  -      -      -        -    srb      0      0
1004 fdnet 101004     1500  -      -      1        ieee -        0      0
1005 trnet 101005     1500  -      -      1        ibm  -        0      0
walker1#
walker1#show vtp status
VTP Version                     : 2
Configuration Revision          : 3
Maximum VLANs supported locally : 1005
Number of existing VLANs        : 9
VTP Operating Mode              : Server
VTP Domain Name                 : walker
VTP Pruning Mode                : Enabled
VTP V2 Mode                     : Disabled
VTP Traps Generation            : Disabled
MD5 digest                      : 0xEF 0xD8 0x4D 0x0A 0x57 0x8F 0x7E 0x14
Configuration last modified by 172.16.192.16 at 3-1-93 01:10:51
Local updater ID is 172.16.192.16 on interface Vl192 (lowest numbered VLAN interface)
walker1#

Konfigurasi Trunking di walker1 :

walker1(config)#interface gigabit 0/2
walker1(config-if)#switchport trunk encapsulation dot1q
walker1(config-if)#switchport mode trunk
walker1(config-if)#exit
walker1(config)#interface fast 0/17
walker1(config-if)#switchport trunk encapsulation dot1q
walker1(config-if)#switchport mode trunk
walker1(config-if)#exit

Konfigurasi MST pada walker1 :

walker1(config)#spanning-tree mst config        
walker1(config-mst)#name walker                 
walker1(config-mst)#revision 1                  
walker1(config-mst)#instance 1 vlan 2-300        
walker1(config-mst)#exit                        
walker1(config)#spanning-tree mst 1 root primary    
walker1(config)#spanning-tree mode mst          


MST configuration di walker1 :

walker1#show spanning-tree mst 1
###### MST01        vlans mapped:   2-300
Bridge      address 000a.8a0e.ba80  priority  24577 (24576 sysid 1)
Root        this switch for MST01
Interface        role state cost      prio type
---------------- ---- ----- --------- ---- --------------------------------
Fa0/3            desg FWD   200000    128  edge P2P
Fa0/5            desg FWD   2000000   128  edge SHR
Fa0/8            desg FWD   200000    128  edge P2P
Fa0/10           desg FWD   2000000   128  edge SHR
Fa0/17           desg FWD   200000    128  P2P
Gi0/2            desg FWD   20000     128  P2P
walker1#show spanning-tree root
                                        Root    Hello Max Fwd
MST Instance           Root ID          Cost    Time  Age Dly  Root Port
---------------- -------------------- --------- ----- --- ---  ------------
MST00            32768 0004.275e.f0c0    200000    2   20  15  Gi0/2
MST01            24577 000a.8a0e.ba80         0    2   20  15
walker1#

untuk testing RSTP dan MST :

surgery#ping
Protocol [ip]:
Target IP address: 172.16.30.7
Repeat count [5]: 10000
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 10000, 100-byte ICMP Echos to 172.16.30.7, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!..!
 U2190.GIFGig 0/2 dropped
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Success rate is 99 percent (9998/10000), round-trip min/avg/max = 1/2/20 ms

konfigurasi SVI interface :

interface Vlan20
 ip address 172.16.2.16 255.255.255.0
!
interface Vlan100
 ip address 172.16.10.16 255.255.255.0
!
interface Vlan192
 ip address 172.16.192.16 255.255.255.0
!
interface Vlan300
 ip address 172.16.30.16 255.255.255.0


Untuk konfigurasi di walker2 :

hostname walker2
!
enable secret 5 $1$oTsK$C95mG2YeDzQ4w3ecs0CkS0
!
spanning-tree mode mst
spanning-tree extend system-id
!
spanning-tree mst configuration
 name walker
 revision 1
 instance 1 vlan 2-300
!
interface FastEthernet0/1
 switchport access vlan 300
 switchport mode access
 no ip address
 spanning-tree portfast
!
interface FastEthernet0/17
 switchport trunk encapsulation dot1q
 switchport mode trunk
 no ip address
!
interface GigabitEthernet0/2
 switchport trunk encapsulation dot1q
 switchport mode trunk
 no ip address
!
interface Vlan1
 no ip address
 shutdown
!
interface VLAN192
 ip address 172.16.192.13 255.255.255.0
 no ip directed-broadcast
 no ip route-cache
!
ip default-gateway 172.16.192.16

Konfigurasi Protected ports :

walker1(config)#interface range fastEthernet 0/10 - 15
walker1(config-if-range)#switchport protected
walker1(config-if-range)#^z
walker1#
walker1#show interfaces fastEthernet 0/10 switchport
Name: Fa0/10
Switchport: Enabled
Administrative Mode: static access
Operational Mode: static access
Administrative Trunking Encapsulation: negotiate
Operational Trunking Encapsulation: native
Negotiation of Trunking: Off
Access Mode VLAN: 20 (psv2_vlan20)
Trunking Native Mode VLAN: 1 (default)
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Protected: true
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled

Voice VLAN: none (Inactive)
Appliance trust: none

sekian untuk posting ini...

Tidak ada komentar:

Posting Komentar