《CCIE路由和交换认证考试指南(第5版) (第1卷)》——1.4节交换和桥接逻辑...

本节书摘来自异步社区《CCIE路由和交换认证考试指南(第5版) (第1卷)》一书中的第1章,第1.4节交换和桥接逻辑,作者 【美】Narbik Kocharians(那比克 科查理安) , 【斯洛伐克】Peter Paluch(彼得 派拉奇),更多章节内容可以访问云栖社区“异步社区”公众号查看

1.4 交换和桥接逻辑
本章至此已经回顾了以太网线缆的详情,以及以太网帧中每个字段的格式和意义。交换机的终极目标是基于帧头中的MAC地址,将这些帧发给适当的目的地。表1-7总结了交换机在转发帧时使用的逻辑,根据目的以太网地址的类型,以及目的地址是否被增加至MAC地址表,交换机使用的逻辑有所不同。


f1461b801c8c1e474c7f76296d99df273d913a1d

例1-2 查看MAC地址表学习过程的命令

Switch1# show mac-address-table dynamic
      Mac Address Table
------------------------------------------

Vla-    Mac Address   Type    Ports
----   -----------    ----    -----
  1   000f.2343.87cd  DYNAMIC  Fa0/13
  1   0200.3333.3333  DYNAMIC  Fa0/3
  1   0200.4444.4444  DYNAMIC  Fa0/13
Total Ma Addresses for this criterion: 3
! Above, Switch1's MAC address table lists three dynamically learned addresses,
! including Switch4's FA 0/13 MAC.
! Below, Switch1 pings Switch4's management IP address.
Switch1# ping 10.1.1.4

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
! Below Switch1 now knows the MAC address associated with Switch4's management IP
! address. Each switch has a range of reserved MAC addresses, with the first MAC
! being used by the switch IP address, and the rest being assigned in sequence to
! the switch interfaces – note 0xcd (last byte of 2 nd address in the table above)   
! is for Switch4's FA 0/13 interface, and is 13 (decimal) larger than Switch4's
! base MAC address.
Switch1# show mac-address-table dynamic
      Mac Address Table
------------------------------------------

Vlan   Mac Address    Type    Ports
----   -----------    ----    -----
  1   000f.2343.87c0  DYNAMIC  Fa0/13
  1   000f.2343.87cd  DYNAMIC  Fa0/13
  1   0200.3333.3333  DYNAMIC  Fa0/3
  1   0200.4444.4444  DYNAMIC  Fa0/13
Total Mac Addresses for this criterion: 4
! Not shown: PC1 ping 10.1.1.23 (R3) PC1's MAC in its MAC address table
------------------------------------------

Vla-   Mac Address    Type    Ports
----  -----------    ----    -----
  1  000f.2343.87c0  DYNAMIC  Fa0/13
  1  000f.2343.87cd  DYNAMIC  Fa0/13
  1  0010.a49b.6111  DYNAMIC  Fa0/13
  1  0200.3333.3333  DYNAMIC  Fa0/3
  1  0200.4444.4444  DYNAMIC  Fa0/13
Total Mac Addresses for this criterion: 5
! Above, Switch1 learned the PC's MAC address, associated with FA 0/13,
! because the frames sent by the PC came into Switch1 over its FA 0/13.
! Below, Switch4's MAC address table shows PC1's MAC off its FA 0/6
switch4# show mac-address-table dynamic
      Mac Address Table
-------------------------------------------

Vla-    Mac Address    Type    Ports
----    -----------    -------  -----
  1    000a.b7dc.b780  DYNAMIC  Fa0/13
  1    000a.b7dc.b78d  DYNAMIC  Fa0/13
  1    0010.a49b.6111  DYNAMIC  Fa0/6
  1    0200.3333.3333  DYNAMIC  Fa0/13
  1    0200.4444.4444  DYNAMIC  Fa0/4
Total Mac Addresses for this criterion: 5
! Below, for example, the aging timeout (default 300 seconds) is shown, followed     
! by a command just listing the mac address table entry for a single address.     
switch4# show mac-address-table aging-time
Vlan   Aging Time
----   ----------
  1   300
switch4# show mac-address-table address 0200.3333.3333
      Mac Address Table

-------------------------------------------

Vlan   Mac Address    Type      Ports
----   -----------    -------    -----
  1   0200.3333.3333  DYNAMIC    Fa0/13                       
Total Mac Addresses for this criterion: 1
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
通过《CCIE路由交换认证考试指南》,你可以了解关于CCIE路由交换笔试以及通信与服务笔试所涉及的全部知识点:一般路由概念,如OSI模型、网络互连设备以及路由选择协议的特点等。快速以太网、吉比特以太网和无线局域网。透明桥接、VLAN和VLAN中继。帧中继、ATM和SONET/SDH。RIP、IGRP、EIGRP。OSPF和IS-IS。BGP、路由反射器和联盟。队列、MPLS、CAR和流量整形。IP多播、IP优先级和多服务网络。防火墙、加密以及其它的安全主题。, CCIE是网络界炙手可热的认证。获取CCIE认证非常困难,因而在业界拥有无可比拟的声誉。要准备CCIE考试,你必须花大量的时间学习广泛的技术知识,进而在现实网络中加以实践,然后才可以去参加CCIE路由交换的笔试。《CCIE路由交换认证考试指南》涵盖了CCIE路由交换以及通信与服务笔试要求的所有知识点,包括网络理论、设备操作、桥接和局域网交换、WAN、IP和IP路由选择协议、安全性及多业务网络。, 《CCIE路由交换认证考试指南》由CCIE们编写和审校,有助于你理解和掌握通过考试必需的知识。通过每个章关于每个知识点的小测验,可以优化你的学习时间。每章的最后提供了关键概念的回顾,有助于加强记忆。每章的“问题与答案”,可以检验你对知识的理解程度,并且可以在一系列场景中,检验你对知识的吸收和利润,随书的光盘中有模拟测验,包含200多道测验题,你可以选择感兴趣的专题。加上经验和培训,这《CCIE路由交换认证考试指南》可以让你掌握CCIE笔试所需的知识,从而向CCIE进一步靠近。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值