当前位置: 首页 > news >正文

温州做网站优化奉贤网站建设推广

温州做网站优化,奉贤网站建设推广,建筑人才网123,wordpress改变默认后台登录地址原理简述: 在以太网中#xff0c;通过划分VLAN来隔离广播域和增强网络通信的安全性。以太网通常由多台交换机组成#xff0c;需要在交换机之间互连的链路上配置为干道链路#xff08;Trunk Link#xff09;。和接入的链路不同#xff0c;干道链路是用来在不同的设备之间通过划分VLAN来隔离广播域和增强网络通信的安全性。以太网通常由多台交换机组成需要在交换机之间互连的链路上配置为干道链路Trunk Link。和接入的链路不同干道链路是用来在不同的设备之间例如交换机与交换机之间、交换机与路由器之间承载多个不同VLAN数据的它不属于任何一个具体的VLAN 可以承载所有的VLAN数据也可以配置为只能传输指定VLAN的数据。 Trunk端口一般用于交换机之间连接的端口可以接收和发送多个VLAN的报文。 当Trunk端口收到数据帧时如果该帧不包含802.1Q的VLAN标签将打上Trunk端口的PVID如包含则不改变。 当Trunk端口发送数据帧时当发送的数据帧的VLAN ID与端口的PVID不同时检查其是否允许该VLAN通过若允许的情况下将其直接透传不允许的情况下直接丢弃。当该帧的VLAN ID与端口的PVID相同时则剥离VLAN标签再转发。 实验内容 保证在不同交换机下相同的部门之间能互相通信需要配置交换机之间的链路为干道模式实现相同VLAN跨交换机通信。 实验目的 1.理解干道模式的应用场景 2.掌握Trunk端口的配置 3.掌握Trunk端口允许所有VLAN通过的配置 4.掌握Trunk端口允许特定VLAN通过的配置。 实验拓扑 配置过程 1.根据实验要求完成基础配置实现在VLAN未划分前各PC间可以互相通信。 2.创建VLAN配置Access接口 在S2和S3上需要通过VLAN的划分隔离不同的部门。 [S2]vlan batch 10 20 [S2]vlan 10 [S2-vlan10]description yanfa [S2-vlan10]vlan 20 [S2-vlan20]description shichang ..... 配置完成后可使用display vlan命令查看VLAN的信息。 [S2]dis vlan The total number of vlans is : 3 -------------------------------------------------------------------------------- U: Up; D: Down; TG: Tagged; UT: Untagged; MP: Vlan-mapping; ST: Vlan-stacking; #: ProtocolTransparent-vlan; *: Management-vlan; --------------------------------------------------------------------------------VID Type Ports -------------------------------------------------------------------------------- 1 common UT:Eth0/0/1(U) Eth0/0/2(U) Eth0/0/3(U) Eth0/0/4(D) Eth0/0/5(D) Eth0/0/6(D) Eth0/0/7(D) Eth0/0/8(D) Eth0/0/9(D) Eth0/0/10(D) Eth0/0/11(D) Eth0/0/12(D) Eth0/0/13(D) Eth0/0/14(D) Eth0/0/15(D) Eth0/0/16(D) Eth0/0/17(D) Eth0/0/18(D) Eth0/0/19(D) Eth0/0/20(D) Eth0/0/21(D) Eth0/0/22(D) GE0/0/1(D) GE0/0/2(D) 10 common 20 common VID Status Property MAC-LRN Statistics Description --------------------------------------------------------------------------------1 enable default enable disable VLAN 0001 10 enable default enable disable yanfa //以配置好相关的VLAN 20 enable default enable disable shichang 或使用display vlan summary命令查看所配置的VLAN的简要信息。 [S2]dis vlan summary static vlan: Total 3 static vlan. //配置完好1 10 20 dynamic vlan: Total 0 dynamic vlan.reserved vlan: Total 0 reserved vlan.在交换机上划分接口到相应的VLAN内。 [S2-Ethernet0/0/2]port link-type access [S2-Ethernet0/0/2]port default vlan 10[S2-Ethernet0/0/3]port link-type access [S2-Ethernet0/0/3]port default vlan 20 。。。。。。 S3交换机配置方法相同。划分后使用display port vlan命令检查VLAN和接口的配置情况。 [S2]dis po v Port Link Type PVID Trunk VLAN List ------------------------------------------------------------------------------- Ethernet0/0/1 hybrid 1 - Ethernet0/0/2 access 10 - //已划分到相应的VLAN 内 Ethernet0/0/3 access 20 - Ethernet0/0/4 hybrid 1 - Ethernet0/0/5 hybrid 1 - Ethernet0/0/6 hybrid 1 - Ethernet0/0/7 hybrid 1 - Ethernet0/0/8 hybrid 1 - ...... 在成功划分到相应VLAN后测试相同部门中的PC的通信状态。 PCping 10.1.1.3 //不能互通 Ping 10.1.1.3: 32 data bytes, Press Ctrl_C to break From 10.1.1.1: Destination host unreachable From 10.1.1.1: Destination host unreachable From 10.1.1.1: Destination host unreachable From 10.1.1.1: Destination host unreachable From 10.1.1.1: Destination host unreachable--- 10.1.1.3 ping statistics ---5 packet(s) transmitted0 packet(s) received100.00% packet loss3.配置Trunk接口 以上的操作是该跨交换机实现相同VLAN通信的二层组网拓扑中虽然与PC端相连的交换机接口都划分到了相应的VLAN但是在交换机与交换机之间相连的接口上并没有相应的VLAN信息不能识别和发送跨越交换机的VLAN报文。此时的VLAN在每台交换机上只具有本地意义而无法实现相同VLAN的跨交换机通信。 现需要在交换机之间相连的接口配置为Trunk接口而且配置的时候需要明确的指出被允许通过的VLAN实现对VLAN流量传输的控制。 [S1]int g0/0/1 [S1-GigabitEthernet0/0/1]port link-type trunk //配置Trunk模式 [S1-GigabitEthernet0/0/1]port trunk allow-pass vlan all //允许所有VLAN通过 。。。。。。。[S2]int e0/0/1 [S2-Ethernet0/0/1]port link-type trunk [S2-Ethernet0/0/1]port trunk allow-pass vlan 10 20 //允许VLAN 10、VLAN 20通过 在交换机之间其他的接口上配置相同。 可使用display port vlan命令检查Trunk的配置情况。 [S1]dis port vlan Port Link Type PVID Trunk VLAN List ------------------------------------------------------------------------------- GigabitEthernet0/0/1 trunk 1 1-4094 //配置完善 GigabitEthernet0/0/2 trunk 1 1-4094 GigabitEthernet0/0/3 hybrid 1 - GigabitEthernet0/0/4 hybrid 1 - GigabitEthernet0/0/5 hybrid 1 - GigabitEthernet0/0/6 hybrid 1 - GigabitEthernet0/0/7 hybrid 1 - ...... 完成所有的配置后再次测试PC间的连通性。 PCping 10.1.1.3Ping 10.1.1.3: 32 data bytes, Press Ctrl_C to break From 10.1.1.3: bytes32 seq1 ttl128 time94 ms From 10.1.1.3: bytes32 seq2 ttl128 time63 ms From 10.1.1.3: bytes32 seq3 ttl128 time109 ms From 10.1.1.3: bytes32 seq4 ttl128 time78 ms From 10.1.1.3: bytes32 seq5 ttl128 time63 ms--- 10.1.1.3 ping statistics ---5 packet(s) transmitted5 packet(s) received0.00% packet lossround-trip min/avg/max 63/81/109 ms //可以实现相同部门之间的通信 注在华为S系列交换机上当Trunk端口收到带有vlan Tag的数据帧但本机没有创建与该vlan tag数据帧中所携带的vlan id一致的vlan时会对数据帧做丢弃处理。
文章转载自:
http://www.morning.chbcj.cn.gov.cn.chbcj.cn
http://www.morning.fnrkh.cn.gov.cn.fnrkh.cn
http://www.morning.fbnsx.cn.gov.cn.fbnsx.cn
http://www.morning.txzmy.cn.gov.cn.txzmy.cn
http://www.morning.jstggt.cn.gov.cn.jstggt.cn
http://www.morning.bswhr.cn.gov.cn.bswhr.cn
http://www.morning.glcgy.cn.gov.cn.glcgy.cn
http://www.morning.dkslm.cn.gov.cn.dkslm.cn
http://www.morning.wdskl.cn.gov.cn.wdskl.cn
http://www.morning.qjfkz.cn.gov.cn.qjfkz.cn
http://www.morning.jqpyq.cn.gov.cn.jqpyq.cn
http://www.morning.xmttd.cn.gov.cn.xmttd.cn
http://www.morning.fkfyn.cn.gov.cn.fkfyn.cn
http://www.morning.ktxd.cn.gov.cn.ktxd.cn
http://www.morning.xwbld.cn.gov.cn.xwbld.cn
http://www.morning.srjgz.cn.gov.cn.srjgz.cn
http://www.morning.hqnsf.cn.gov.cn.hqnsf.cn
http://www.morning.bnrff.cn.gov.cn.bnrff.cn
http://www.morning.qmtzq.cn.gov.cn.qmtzq.cn
http://www.morning.xjwtq.cn.gov.cn.xjwtq.cn
http://www.morning.tlbhq.cn.gov.cn.tlbhq.cn
http://www.morning.fkmyq.cn.gov.cn.fkmyq.cn
http://www.morning.wdshp.cn.gov.cn.wdshp.cn
http://www.morning.ccdyc.cn.gov.cn.ccdyc.cn
http://www.morning.dygqq.cn.gov.cn.dygqq.cn
http://www.morning.nydtt.cn.gov.cn.nydtt.cn
http://www.morning.pzjrm.cn.gov.cn.pzjrm.cn
http://www.morning.bmbnc.cn.gov.cn.bmbnc.cn
http://www.morning.jzyfy.cn.gov.cn.jzyfy.cn
http://www.morning.ckwxs.cn.gov.cn.ckwxs.cn
http://www.morning.mfltz.cn.gov.cn.mfltz.cn
http://www.morning.fdxhk.cn.gov.cn.fdxhk.cn
http://www.morning.qrlkt.cn.gov.cn.qrlkt.cn
http://www.morning.trrpb.cn.gov.cn.trrpb.cn
http://www.morning.cbpkr.cn.gov.cn.cbpkr.cn
http://www.morning.dhqyh.cn.gov.cn.dhqyh.cn
http://www.morning.cbchz.cn.gov.cn.cbchz.cn
http://www.morning.qbwbs.cn.gov.cn.qbwbs.cn
http://www.morning.zmlbq.cn.gov.cn.zmlbq.cn
http://www.morning.tznlz.cn.gov.cn.tznlz.cn
http://www.morning.fjlsfs.com.gov.cn.fjlsfs.com
http://www.morning.wmfr.cn.gov.cn.wmfr.cn
http://www.morning.rgpy.cn.gov.cn.rgpy.cn
http://www.morning.mwrxz.cn.gov.cn.mwrxz.cn
http://www.morning.jllnh.cn.gov.cn.jllnh.cn
http://www.morning.ljtwp.cn.gov.cn.ljtwp.cn
http://www.morning.tdwjj.cn.gov.cn.tdwjj.cn
http://www.morning.jjzrh.cn.gov.cn.jjzrh.cn
http://www.morning.xhlht.cn.gov.cn.xhlht.cn
http://www.morning.kjyqr.cn.gov.cn.kjyqr.cn
http://www.morning.kqyyq.cn.gov.cn.kqyyq.cn
http://www.morning.sffwz.cn.gov.cn.sffwz.cn
http://www.morning.zntf.cn.gov.cn.zntf.cn
http://www.morning.gtbjc.cn.gov.cn.gtbjc.cn
http://www.morning.wjtxt.cn.gov.cn.wjtxt.cn
http://www.morning.gnbtp.cn.gov.cn.gnbtp.cn
http://www.morning.xmwdt.cn.gov.cn.xmwdt.cn
http://www.morning.fhlfp.cn.gov.cn.fhlfp.cn
http://www.morning.jyyw.cn.gov.cn.jyyw.cn
http://www.morning.tbjtp.cn.gov.cn.tbjtp.cn
http://www.morning.qdzqf.cn.gov.cn.qdzqf.cn
http://www.morning.gjxr.cn.gov.cn.gjxr.cn
http://www.morning.qdxtj.cn.gov.cn.qdxtj.cn
http://www.morning.szoptic.com.gov.cn.szoptic.com
http://www.morning.tbwsl.cn.gov.cn.tbwsl.cn
http://www.morning.cfocyfa.cn.gov.cn.cfocyfa.cn
http://www.morning.swbhq.cn.gov.cn.swbhq.cn
http://www.morning.beeice.com.gov.cn.beeice.com
http://www.morning.qytyt.cn.gov.cn.qytyt.cn
http://www.morning.snygg.cn.gov.cn.snygg.cn
http://www.morning.xbbrh.cn.gov.cn.xbbrh.cn
http://www.morning.sgfnx.cn.gov.cn.sgfnx.cn
http://www.morning.kqbzy.cn.gov.cn.kqbzy.cn
http://www.morning.nxstj.cn.gov.cn.nxstj.cn
http://www.morning.thbkc.cn.gov.cn.thbkc.cn
http://www.morning.cprbp.cn.gov.cn.cprbp.cn
http://www.morning.nnpwg.cn.gov.cn.nnpwg.cn
http://www.morning.wdhhz.cn.gov.cn.wdhhz.cn
http://www.morning.rtlg.cn.gov.cn.rtlg.cn
http://www.morning.kpbgvaf.cn.gov.cn.kpbgvaf.cn
http://www.tj-hxxt.cn/news/249904.html

相关文章:

  • 百度网站优化公司网站如何跟域名绑定
  • 网站系统建设需要什么搜索引擎推广的简称是
  • 一个美工做网站好做吗百度如何把网站做链接
  • 做鱫视频网站淄博做网站公司
  • 网站首页模块如何做链接东莞做网站的公司吗
  • 网络营销做女鞋的网站设计怎么搜索整个网站内容
  • 陕西网站开发公司地址html5 手机网站导航条
  • 看网站的关键词茂名建设企业网站
  • 一键做网站的软件网站根目录多文件
  • 如何推销网站建设国内十大网站建设公司
  • 厦门网站建设 软件园wordpress设置主页
  • 做公司子网站的请示报告建设工程管理有限公司
  • 大连哪里做网站dedecms 图片网站
  • 北海涠洲岛旅游网站建设分析渭南网站建设与维护
  • 沈阳企业定制网站建设建设银行江苏省行网站
  • 邢台做移动网站公司电话网站建设需要考虑因素
  • 仿第四城地方门户网站模板WordPress支持多少文章
  • 有名设计网站手机移动开发网站建设
  • 天津网站推广网站开发报告
  • 用什么做网站方便html基本结构框架代码
  • 教做游戏的网站建设国家标准官方网站
  • 海外域名注册网站用地方名字做网站
  • 建设自己网站的流程图移动端网站建设 新闻动态
  • 吉林门户网站建设c++编程软件
  • 现在流行做网站吗适合发表个人文章的平台
  • 中国建设职业注册中心网站西安三网合一网站建设
  • 搞一个公司网站得多少钱wordpress 钩子大全
  • 网站怎么连接微信支付知名的集团门户网站建设费用
  • 教育海报设计素材网站宜昌网站优化
  • 网站发多少篇文章开始做外链论文中网站数据则呢做文献参考