For the Horde!!

검색어 : Study (41)

  1. 2014. 11. 05. Rapid spanning-tree 테스트 2014.11.05
  2. 2014. 11. 04. Switchport // 라우터 설정 // netive 2014.11.04
  3. 2014. 11. 03. switchport // 라우터 설정 2014.11.03
  4. 루트스위치 2014.10.28

2014. 11. 05. Rapid spanning-tree 테스트

 

 

 Sw1 세팅

 

 RSTP 설정

 S1(config)#spanning-tree vlan 1 priority 0

 S1(config)#spanning-tree mode rapid-pvst

 S2(config)#interface range Fastethernet 1/1-2

 S2(config-if-range)# spanning-tree portfast

 

 

 Sw1 결과

 

spanning-tree mode rapid-pvst
spanning-tree extend system-id
spanning-tree vlan 1 priority 0
!
vlan internal allocation policy ascending
!
!
!

interface FastEthernet0/5
 switchport trunk encapsulation dot1q
 switchport mode trunk
 shutdown
!
interface FastEthernet0/6
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface FastEthernet0/7
 switchport trunk encapsulation dot1q
 switchport mode trunk
!

!

interface FastEthernet0/8
 switchport trunk encapsulation dot1q
 switchport mode trunk
 shutdown
 spanning-tree portfast

 

 Ping 테스트

Sw1#sh spanning-tree vlan 10

VLAN0010
  Spanning tree enabled protocol rstp
  Root ID    Priority    32778
             Address     000d.bca8.ac00
             Cost        19
             Port        7 (FastEthernet0/7)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32778  (priority 32768 sys-id-ext 10)
             Address     000d.bcb7.a200
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time 300

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/6               Desg FWD 19        128.6    P2p
Fa0/7               Root FWD 19        128.7    P2p
Fa0/8               Altn BLK 19        128.8    P2p


Sw1#sh spanning-tree vlan 10

VLAN0010
  Spanning tree enabled protocol rstp
  Root ID    Priority    32778
             Address     000d.bca8.ac00
             Cost        19
             Port        7 (FastEthernet0/7)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32778  (priority 32768 sys-id-ext 10)
             Address     000d.bcb7.a200
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time 300

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/6               Desg FWD 19        128.6    P2p
Fa0/7               Root FWD 19        128.7    P2p
Fa0/8               Altn BLK 19        128.8    P2p

 

 R1 

 

interface FastEthernet0/0
 no ip address
 duplex auto
 speed auto
!
interface FastEthernet0/0.1
 encapsulation dot1Q 1 native
 ip address 10.1.1.1 255.255.255.0
!
interface FastEthernet0/0.10
 encapsulation dot1Q 10
 ip address 10.1.10.1 255.255.255.0
!
interface FastEthernet0/0.20
 encapsulation dot1Q 20
 ip address 10.1.20.1 255.255.255.0
!

'Study > Cisco' 카테고리의 다른 글

스태틱 라우팅  (0) 2014.11.10
2014. 11. 06. Routing  (0) 2014.11.06
2014. 11. 04. Switchport // 라우터 설정 // netive  (0) 2014.11.04
2014. 11. 03. switchport // 라우터 설정  (0) 2014.11.03
루트스위치  (0) 2014.10.28
   

2014. 11. 04. Switchport // 라우터 설정 // netive

설정 조건

※ netive 포트는 Vlan 10으로 한다.

 

 구분

 Sw0

Sw1

Sw2 

 Router0

 hostname

 Sw1

Sw2 

Sw3 

R1 

 ip

 10.1.1.10

10.1.1.20 

10.1.1.30 

10.1.1.1

10.1.10.1

10.1.20.1

 

구분

PC1

PC2

ip

10.1.10.10

10.1.20.10

 

 

 

 R1

 

  R1> enable

  R1# conf t

  R1(config)# int fa 0/0

  R1(config-if)# no shut

 

  R1(config)# int fa 0/0.1   // vlan 1

  R1(config-subif)# encapsulation dot1q 1

  R1(config-subif)# ip add 10.1.1.1 255.255.255.0 // vlan 1의 게이트웨이 ip입력

 

  R1(config)# int fa 0/0.10 // vlan 10

  R1(config-subif)# encapsulation dot1Q 10 netive // vlan 10으로 하며 netive설정

  R1(config-subif)# ip addr 10.1.10.1 255.255.255.0 // vlan 10의 게이트웨이 ip입력

 

  R1(config)# int fa 0/0.10 // vlan 20

  R1(config-subif)# encapsulation dot1Q 20  // 20은 vlan

  R1(config-subif)# ip addr 10.1.20.1 255.255.255.0 // vlan 20의 게이트웨이 ip입력

 

 

 

 Sw1

 

  Sw1> enable

  Sw1# conf t

  Sw1(config)# int  vlan 1

  Sw1(config-if)# ip addr 10.1.1.10 255.255.255.0

 

  //Sw1 묶여있는 네트워크 트렁킹

  Sw1(config)# int range fa 0/1 - 3   // range 영역 설정 0/1 - 3 까지

  Sw1(config-if-range)# switchport mode trunk

  Sw1(config-if-range)# switchprt trunk netive vlan 10 // 네트워크의 netive 설정

 

  //VTP 도메인 설정

  Sw1(config)# vtp mode server

  Sw1(config)# vtp domain AAA

 

  //Vlan 생성

  Sw1(config)# vlan 10

  Sw1(config-vlan)# name B

  Sw1(config)# vlan 20

  Sw1(config-vlan)# name C

 

 

 

Sw2, 3 

 

  //Sw2,3 묶여있는 네트워크 트렁킹

  Sw(config)# int range fa 0/1 - 2   // range 영역 설정 0/1 - 2 까지

  Sw(config-if-range)# switchport mode trunk

  Sw(config-if-range)# switchprt trunk netive vlan 10 // 네트워크의 netive 설정

 

  //VTP 클라이언트로 변경 및 도메인 설정

  Sw(config)# vtp mode client

  Sw(config)# vtp domain AAA

 

  //Vlan 할당

  Sw(config)# int fa 0/3

  Sw(config-if)# switchport mode access

  Sw(config-if)# switchport access vlan 10  // 3번 포트를 Vlan 10에 포함

 

  Sw(config)# int fa 0/4

  Sw(config-if)# switchport mode access

  Sw(config-if)# switchport access vlan 20  // 4번 포트를 Vlan 20에 포함

 

'Study > Cisco' 카테고리의 다른 글

2014. 11. 06. Routing  (0) 2014.11.06
2014. 11. 05. Rapid spanning-tree 테스트  (0) 2014.11.05
2014. 11. 03. switchport // 라우터 설정  (0) 2014.11.03
루트스위치  (0) 2014.10.28
STP 루프방지  (0) 2014.10.27
   

2014. 11. 03. switchport // 라우터 설정

설정 조건

 

 구분

 Sw0

Sw1

Sw2 

 Router0

 hostname

 Sw1

Sw2 

Sw3 

R1 

 ip

 10.1.1.10

10.1.1.20 

10.1.1.30 

10.1.10.1

10.1.20.1

 

구분

PC1

PC2

PC3

PC4

ip

10.1.10.10

10.1.20.10

10.1.10.20

10.1.20.20

 

 

 

 R1

 

  R1> enable

  R1# conf t

  R1(config)# int fa 0/0

  R1(config-if)# no shut

 

  R1(config)# int fa 0/0.1   // vlan 1

  R1(config-subif)# encapsulation dot1q 1

  R1(config-subif)# ip add 10.1.1.1 255.255.255.0 // vlan 1의 게이트웨이 ip입력

 

  R1(config)# int fa 0/0.10 // vlan 10

  R1(config-subif)# encapsulation dot1Q 10  // 10은 vlan

  R1(config-subif)# ip addr 10.1.10.1 255.255.255.0 // vlan 10의 게이트웨이 ip입력

 

  R1(config)# int fa 0/0.10 // vlan 20

  R1(config-subif)# encapsulation dot1Q 20  // 20은 vlan

  R1(config-subif)# ip addr 10.1.20.1 255.255.255.0 // vlan 20의 게이트웨이 ip입력

 

 

 

 Sw1

 

  Sw1> enable

  Sw1# conf t

  Sw1(config)# int  vlan 1

  Sw1(config-if)# ip addr 10.1.1.10 255.255.255.0

 

  //Sw1 묶여있는 네트워크 트렁킹

  Sw1(config)# int range fa 0/1 - 3   // range 영역 설정 0/1 - 3 까지

  Sw1(config-if-range)# switchport mode trunk

 

  //VTP 도메인 설정

  Sw1(config)# vtp mode server

  Sw1(config)# vtp domain AAA

 

  //Vlan 생성

  Sw1(config)# vlan 10

  Sw1(config-vlan)# name B

  Sw1(config)# vlan 20

  Sw1(config-vlan)# name C

 

 

 

Sw2, 3 

 

  //Sw2,3 묶여있는 네트워크 트렁킹

  Sw(config)# int range fa 0/1 - 2   // range 영역 설정 0/1 - 2 까지

  Sw(config-if-range)# switchport mode trunk

 

  //VTP 클라이언트로 변경 및 도메인 설정

  Sw(config)# vtp mode client

  Sw(config)# vtp domain AAA

 

  //Vlan 할당

  Sw(config)# int fa 0/3

  Sw(config-if)# switchport mode access

  Sw(config-if)# switchport access vlan 10  // 3번 포트를 Vlan 10에 포함

 

  Sw(config)# int fa 0/4

  Sw(config-if)# switchport mode access

  Sw(config-if)# switchport access vlan 20  // 4번 포트를 Vlan 20에 포함

 

 

 

'Study > Cisco' 카테고리의 다른 글

2014. 11. 06. Routing  (0) 2014.11.06
2014. 11. 05. Rapid spanning-tree 테스트  (0) 2014.11.05
2014. 11. 04. Switchport // 라우터 설정 // netive  (0) 2014.11.04
루트스위치  (0) 2014.10.28
STP 루프방지  (0) 2014.10.27
   

루트스위치

Root 스위치 : 우선순위, 맥어드레스 값이 제일 적은 스위치

  - 루트스위치의 모든 포트는 Designated Port로 지정해야한다.

 

Nonroot 스위치 : Root 스위치를 제외한 모든 스위치

Root port : 아래 조건중 선택

  1. 루트브리지id 낮은쪽

  2. 경로값이 낮은쪽 

  3. 브리지id가 낮은쪽

  4. 포트id가 낮은쪽

- 하나의 Root 포트를 갖고 나머지는 Nondesignated Port로 지정된다.

'Study > Cisco' 카테고리의 다른 글

2014. 11. 06. Routing  (0) 2014.11.06
2014. 11. 05. Rapid spanning-tree 테스트  (0) 2014.11.05
2014. 11. 04. Switchport // 라우터 설정 // netive  (0) 2014.11.04
2014. 11. 03. switchport // 라우터 설정  (0) 2014.11.03
STP 루프방지  (0) 2014.10.27
   
1 ··· 7 8 9 10 11