问题:
Hey..

 
Can anyone please help me understand why setting ports to be access ports (switchport mode access) does not accomplish the same thing as Portfast?

 
I guess I am trying to understand why they are 2 separate commands. Wouldn't setting the port to be an Access port be good enough to tell the switch that loops cannot occur on those port since they are Access ports (therefore allowing those access ports to bypass the listening/learning states)?

 
Thank you.

 
回答:
The confusion you are having stems from the fact that you think that access ports are meant for connecting end user devices like computers or printers.

 
Well, that is just wrong.

 
You can have a HUB or a Switch connected to an access port.

 
The same idea applies for Trunks. You can connect any type of device to a Trunk port as long as the NIC inserted into ssaid device can handle the trunking tagging/encapsulation of frames traversing the trunk.

 
In other words, you may have switches connected to Access ports and say, servers connected to Trunk ports.

 
Applying the Access or Trunk configuration on a port only instructs the switch to either handle one or many vlans on said port. It is not telling the switch the nature of devices you will connect to said port.

 
That is why PortFast comes as a separate command. Configuring Portfast on a port tells the switch that you are not connecting into said port, a device capable of creating a layer 2 loops on your network.

 
Contrary to what people believe, you can apply the PortFast command to a trunk port if such trunk is connected say, to a server. And you should not configure PortFast to an access port connected to a Hub.

本文转自zcm8483 51CTO博客,原文链接:http://blog.51cto.com/haolun/991596

access port 与portfast之间的关系相关推荐

  1. Spring各模块的功能及互相之间的关系

    目录 spring-framework 的源码目录 Spring FrameWork 结构图 各个模块功能(该部分参考结构图来看) 模块概述(该部分参考源码目录来看) 核心容器 AOP和Instrum ...

  2. WSGI、Flask及Werkzeug三者之间的关系

    目录 一.WSGI是什么? 二.Werkzeug是什么 三.Flask的WSGI实现 一.WSGI是什么? WSGI是一套接口规范.一个WSGI程序用以接受客户端请求,传递给应用,再返回服务器的响应给 ...

  3. .NET Core 和 .NET Framework 之间的关系

    引用一段描述:Understanding the relationship between .NET Core and the .NET Framework. .NET Core and the .N ...

  4. JVM与计算机之间的关系

    计算机内存硬件架构 CPU,一台现代计算机拥有两个或多个CPU,其中一些CPU还有多核,从这一点可以看出,在一个有两个或多个CPU的现代计算机上,同时运行多个线程是非常有可能的,而且每个CPU在某一个 ...

  5. UML图中类之间的关系:依赖,泛化,关联,聚合,组合,实现

    类与类图 1) 类(Class)封装了数据和行为,是面向对象的重要组成部分,它是具有相同属性.操作.关系的对象集合的总称. 2) 在系统中,每个类具有一定的职责,职责指的是类所担任的任务,即类要完成什 ...

  6. 分布式系统 - CAP, BASE, ACID之间的关系 - 学习/实践

    1.应用场景 主要用于学习分布式系统中CAP, BASE, ACID之间的关系,理清各自的应用场景. 2.学习/操作 1.文档阅读 22 | 想成为架构师,你必须知道CAP理论-极客时间 23 | 想 ...

  7. RunLoop总结:RunLoop 与GCD 、Autorelease Pool之间的关系

    如果在面试中问到RunLoop相关的知识,很有可能也会问到RunLoop与GCD.Autorelease Pool有没有关系,哪些地方用到了GCD.Autorelease Pool等. So,本文就总 ...

  8. strongswan libstrongswan scheduler,processor,job,event和thread之间的关系

    目录 scheduler介绍 scheduler调度的event与job的关系 scheduler的主要操作 job又是如何创建的呢? job的执行 scheduler介绍 scheduler使用he ...

  9. Python进阶----表与表之间的关系(一对一,一对多,多对多),增删改查操作

    Python进阶----表与表之间的关系(一对一,一对多,多对多),增删改查操作,单表查询,多表查询 一丶表与表之间的关系 背景: ​ ​ ​  ​ ​ 由于如果只使用一张表存储所有的数据,就会操作数 ...

最新文章

  1. [bzoj1042][HAOI2008]硬币购物
  2. php 多只能上传20个文件解决办法,修改php.ini 的max_file_uploads
  3. 【STM32】标准外设库,系统架构,时钟系统
  4. 某电商平台开发记要——客服系统
  5. Spring 3.1 Environment Profiles--转载
  6. Linux 内核将要支持最新龙芯 3A2000/3B2000
  7. 线性模型(1) —— 多元线性回归
  8. 一文带你实现RPC框架
  9. MacBook取消自启动程序
  10. MapKit框架使用
  11. 企业网络安全最常遇到的安全问题是什么,主要面临哪些威胁?
  12. mysql数据库技术思考题5_Mysql课后思考题
  13. 考考你、智商题 小明借爸爸500元 又借妈妈500元 买双鞋 970元 还剩30元 还给爸爸10元...
  14. 数字图像处理(冈萨雷斯版)-第一章
  15. 报错:Entering emergency mode. Exit the shell to continue 解决
  16. SpringBoot整合druid数据源,quartz定式框架
  17. 【螺旋旋转爱心特效】(Html+JS+CSS+效果+全部源代码)
  18. 注册电气工程师职业资格考试
  19. JZOJ 1307 Jail
  20. leetcode 273. 整数转换英文表示[困难]

热门文章

  1. 用动画实现android app启动界面的渐变效果
  2. 正则表达式——获取指定IP的物理地址
  3. 考察大新和南宁农业产业园 农业大健康·李喜贵:赋能乡村振兴
  4. 20172329 2017-2018-2 《程序设计与数据结构》实验四报告
  5. 我的编程成长之路——python初体验
  6. linux下添加用户并赋予root权限
  7. sqlite3数据库的性能问题报告
  8. 必读干货 | 如何做好向上管理,分享我实践多年的完整方法论
  9. 晒桌面 | 非主流五线产品汪的简单原木风工作台
  10. 从 2015 年起的未来五年内有哪些创业方向 | PMcaff-产品