Вы находитесь на странице: 1из 12

Establishing a Single

Switched Network

HUAWEI TECHNOLOGIES CO., LTD.


Foreword

The introduction of a switching device as part of the enterprise network


demonstrates how networks are able to expand beyond point-to-point
connections, and shared networks in which collisions may occur. The
behavior of the enterprise switch when introduced to the local area
network is detailed along with an understanding of the handling of unicast
and broadcast type frames, to demonstrate how switches enable
networks to overcome the performance obstacles of shared networks.

Copyright © 2013 Huawei Technologies Co., Ltd. All rights reserved. Page 2
Objectives

Upon completion of this section, trainees will be able to:


 Explain the decision making process of a link layer switch

 Configure parameters for negotiation on a link layer switch

Copyright © 2013 Huawei Technologies Co., Ltd. All rights reserved. Page 3
Building a Single Switched Network

Switch A

G0/0/1

G0/0/2 G0/0/3

Host A Host B Host C


IP: 10.1.1.1/24 IP: 10.1.1.2/24 IP: 10.1.1.3/24
MAC:00-01-02-03-04-AA MAC:00-01-02-03-04-BB MAC:00-01-02-03-04-CC

 Switches operate within the scope of the data link layer.

Copyright © 2013 Huawei Technologies Co., Ltd. All rights reserved. Page 4
The Initial State of The Switch

Switch A MAC Address Table

MAC Interface

G0/0/1

G0/0/2 G0/0/3

Host A Host B Host C


IP: 10.1.1.1/24 IP: 10.1.1.2/24 IP: 10.1.1.3/24
MAC:00-01-02-03-04-AA MAC:00-01-02-03-04-BB MAC:00-01-02-03-04-CC

 Each switch uses a MAC table for making forwarding decisions.

Copyright © 2013 Huawei Technologies Co., Ltd. All rights reserved. Page 5
MAC Address Learning

Switch A MAC Address Table

MAC Interface
00-01-02-03-04-AA G0/0/1

A
-A
G0/0/1

04
3-
0
2-
G0/0/2 G0/0/3
-0

P
1

AR
-0
00
F
-F

SM
F
-F
FF

M
F-

D
-F
F
-F
FF

Host A Host B Host C


IP: 10.1.1.1/24 IP: 10.1.1.2/24 IP: 10.1.1.3/24
MAC:00-01-02-03-04-AA MAC:00-01-02-03-04-BB MAC:00-01-02-03-04-CC

 The source MAC addresses of received frames are recorded.

Copyright © 2013 Huawei Technologies Co., Ltd. All rights reserved. Page 6
Forwarding The First Data

Switch A

G0/0/1 FF-FF-FF-FF-FF-FF 00-01-02-03-04-AA

G0/0/2 G0/0/3 DM SM ARP

Host A Host B Host C


IP: 10.1.1.1/24 IP: 10.1.1.2/24 IP: 10.1.1.3/24
MAC:00-01-02-03-04-AA MAC:00-01-02-03-04-BB MAC:00-01-02-03-04-CC

 Frames destined for unknown link layer destinations are


flooded.
Copyright © 2013 Huawei Technologies Co., Ltd. All rights reserved. Page 7
The Destination Reply

Switch A

00
-
01
MAC Interface

- 02
-0
G0/0/1

3-
0
00-01-02-03-04-AA G0/0/1

4-
AA
DM
G0/0/2 G0/0/3
00-01-02-03-04-CC G0/0/3

00
-0
SM

1-
2-0
03
AR

-0
P

4
-C
C
Host A Host B Host C
IP: 10.1.1.1/24 IP: 10.1.1.2/24 IP: 10.1.1.3/24
MAC:00-01-02-03-04-AA MAC:00-01-02-03-04-BB MAC:00-01-02-03-04-CC

 Frames are forwarded to destinations based on the MAC table.

Copyright © 2013 Huawei Technologies Co., Ltd. All rights reserved. Page 8
Basic Configuration

Switch A Host A

G0/0/1

<SWA>system-view
Enter system view, return user view with Ctrl+Z.
[SWA]interface GigabitEthernet 0/0/1
[SWA-GigabitEthernet0/0/1]undo negotiation auto
[SWA-GigabitEthernet0/0/1]duplex full
[SWA-GigabitEthernet0/0/1]speed 100

Copyright © 2013 Huawei Technologies Co., Ltd. All rights reserved. Page 9
Basic Configuration Verification

Switch A Host A

G0/0/1

[SWA]display interface GigabitEthernet 0/0/1


GigabitEthernet0/0/1 current state : UP
Line protocol current state : UP
……
Speed : 100, Loopback: NONE
Duplex: FULL, Negotiation: DISABLE

Copyright © 2013 Huawei Technologies Co., Ltd. All rights reserved. Page 10
Summary

 If a switch records the source MAC address of a host device on a port


interface, and the physical connection of the host is then changed to
another port interface on the switch, what action would the switch
take?

Copyright © 2013 Huawei Technologies Co., Ltd. All rights reserved. Page 11
Thank you
www.huawei.com

Вам также может понравиться