본문 바로가기
ETC/실습 핵심 네트워크

스위치의 동작원리

by 계영수 2024. 1. 28.
728x90

 

 

Cisco Packet Tracer PC Command Line 1.0
C:\>ping 10.1.1.11

Pinging 10.1.1.11 with 32 bytes of data:

Reply from 10.1.1.11: bytes=32 time=10ms TTL=128
Reply from 10.1.1.11: bytes=32 time=5ms TTL=128
Reply from 10.1.1.11: bytes=32 time=6ms TTL=128
Reply from 10.1.1.11: bytes=32 time=6ms TTL=128

Ping statistics for 10.1.1.11:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 5ms, Maximum = 10ms, Average = 6ms

C:\>ping 10.1.1.12

Pinging 10.1.1.12 with 32 bytes of data:

Reply from 10.1.1.12: bytes=32 time<1ms TTL=128
Reply from 10.1.1.12: bytes=32 time<1ms TTL=128
Reply from 10.1.1.12: bytes=32 time<1ms TTL=128
Reply from 10.1.1.12: bytes=32 time<1ms TTL=128

Ping statistics for 10.1.1.12:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\>ping 10.1.1.13

Pinging 10.1.1.13 with 32 bytes of data:

Reply from 10.1.1.13: bytes=32 time<1ms TTL=128
Reply from 10.1.1.13: bytes=32 time<1ms TTL=128
Reply from 10.1.1.13: bytes=32 time<1ms TTL=128
Reply from 10.1.1.13: bytes=32 time<1ms TTL=128

Ping statistics for 10.1.1.13:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\>ping 10.1.1.14

Pinging 10.1.1.14 with 32 bytes of data:

Reply from 10.1.1.14: bytes=32 time<1ms TTL=128
Reply from 10.1.1.14: bytes=32 time<1ms TTL=128
Reply from 10.1.1.14: bytes=32 time=6ms TTL=128
Reply from 10.1.1.14: bytes=32 time=3ms TTL=128

Ping statistics for 10.1.1.14:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 6ms, Average = 2ms

C:\>

 

Switch>enable
Switch#show mac-address-table
          Mac Address Table
-------------------------------------------

Vlan    Mac Address       Type        Ports
----    -----------       --------    -----

   1    0002.4a85.ab88    DYNAMIC     Fa0/4
   1    0003.e40a.8e2a    DYNAMIC     Fa0/3
   1    0010.11ab.8b97    DYNAMIC     Fa0/1
   1    0050.0fbb.4d0e    DYNAMIC     Fa0/2
Switch#

 

 

시뮬레이션으로 확인하기

 

 

Switch#clear mac-address-table
Switch#show mac-address-table
          Mac Address Table
-------------------------------------------

Vlan    Mac Address       Type        Ports
----    -----------       --------    -----

Switch#

 

 

Flooding 실습

 

스위치의 기능

1. Forwarding/Filtering

2. Flooding

3. MAC Addresss Learning

728x90