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

福田专门做网站推广公司酒店网站建设描述

福田专门做网站推广公司,酒店网站建设描述,常州专业网站建设公司咨询,WordPress未设置密码用户【思科】链路聚合实验配置和背景 背景链路聚合基本概念链路聚合聚合接口 思科链路聚合协议01.PAgP协议02.LACP协议 思科链路聚合模式LACP协议模式PAgP协议模式ON模式 实验准备配置二层链路聚合LACP协议模式SW1SW2PC1PC2查看LACP聚合组建立情况查看LACP聚合端口情况查看逻辑聚合… 【思科】链路聚合实验配置和背景 背景链路聚合基本概念链路聚合聚合接口 思科链路聚合协议01.PAgP协议02.LACP协议 思科链路聚合模式LACP协议模式PAgP协议模式ON模式 实验准备配置二层链路聚合LACP协议模式SW1SW2PC1PC2查看LACP聚合组建立情况查看LACP聚合端口情况查看逻辑聚合端口带宽PC1和PC2互Ping PAgP协议模式SW1SW2PC1PC2查看LACP聚合组建立情况查看LACP聚合端口情况查看逻辑聚合端口带宽PC1和PC2互Ping ON模式SW1SW2PC1PC2查看LACP聚合组建立情况查看LACP聚合端口情况查看逻辑聚合端口带宽PC1和PC2互Ping 三层链路聚合ON模式SW1SW2查看LACP聚合组建立情况查看LACP聚合端口情况SW1和SW2互Ping LACP模式SW1SW2SW1和SW2互Ping LACP模式SW1SW2SW1和SW2互Ping 背景 思科的EtherChannel技术是一种链路聚合方法它允许将多个物理以太网链路捆绑在一起作为一个逻辑链路来增加带宽和提高冗余性。 随着网络规模不断扩大用户对骨干链路的带宽和可靠性提出越来越高的要求。在传统技术中常用更换高速率的单板或更换支持高速率单板的设备的方式来增加带宽但这种方案需要付出高额的费用而且不够灵活。 EtherChannel采用链路聚合技术可以在不进行硬件升级的条件下通过将多个物理接口捆绑为一个逻辑接口达到增加链路带宽的目的。在实现增大带宽目的的同时EtherChannel采用备份链路的机制可以有效的提高设备之间链路的可靠性。 如果只是单纯的在交换机上添加多条链路而不启用链路聚合那其实和一条链路没区别因为交换机有STP进行防环操作多条链路会被逻辑阻塞就留下一条链路进行业务传输而已所以就有了链路聚合技术。将多条链路逻辑成一条逻辑链路STP也就只能看到一条逻辑链路而已。 链路聚合基本概念 链路聚合 链路聚合是通过将多个以太网端口捆绑在一起形成的形成一个聚合组Channel-Group聚合组内的所有物理链路作为一条逻辑链路来传送数据逻辑链路的带宽就等于所有成员链路带宽之和。多个端口汇聚成的逻辑接口称为聚合接口Port-Channel一个聚合组和一个聚合接口形成一条聚合链路Etherchannel。 聚合接口 聚合组将物理端口绑定在一个逻辑接口下每个聚合组唯一对应一个逻辑接口称为聚合接口Port-Channel每个聚合接口用一个用户自定义的聚合接口IDGroup-ID唯一标识这个聚合接口的ID是本地有效的。 思科链路聚合协议 01.PAgP协议 PAgP协议Port Aggregation Protocol端口汇聚是思科私有的动态链路汇聚协议通过启用PAgP协议两端端口通过交换PAgP数据包获取对端端口参数根据这些信息自动形成聚合链路并指定哪些端口发送PAgP包哪些端口只接收PAgP包。这种协议只能在思科设备上运行。 02.LACP协议 LACPLink Aggregation Control Protocol链路汇聚控制协议是基于IEEE 802.3ad标准的实现链路动态汇聚与解汇聚的协议是一种国际标准的链路汇聚协议大部分厂商设备都兼容公有协议。LACP协议通过LACPDULink Aggregation Control Protocol Data Unit链路汇聚控制协议数据单元与对端交互端口信息进行协商实现对汇聚的自动化控制。 思科链路聚合模式 思科交换机的链路聚合根据使用的协议可以分为三种工作模式LACP模式、PAgP模式和On模式。 具体这三种工作模式下共有5种不同的端口模式active、passive、auto、desirable、on。如下图 其中active和passive使用LACP协议进行工作auto和desirable使用PAgP协议进行工作on则是强制启用链路聚合手工链路聚合 LACP协议模式 LACP协议模式是使用LACP协议进行链路协商以形成聚合链路。这种模式下有两种端口模式可选即active和passive。 active模式下不管对端设备是否支持LACP协议本端都会无条件启用LACP协议这种模式下端口处于主动协商状态而passive模式下只有检测到对端设备支持LACP协议本端才会启用LACP协议这种模式下端口处于被动协商状态。 所以需要一端是active模式另一端是passive模式或者两端都是active模式 PAgP协议模式 这种链路聚合模式使用思科私有的PAgP协议进行链路协商以形成聚合链路。这种模式系也有两种端口模式可选即auto和desirable。 跟LACP模式下的两种端口模式相似desirable模式下不管对端是否支持PAgP协议本端都会启用PAgP协议就是主动协商状态auto模式下只有检测到对端设备支持PAgP协议本端才会启用LACP协议也就是被动协商状态。 所以需要一端是desirable模式另一端是auto模式或者两端都是desirable模式 ON模式 ON模式静态持久性模式 使用On模式不经过协商不使用任何链路聚合协议直接进行强制链路聚合只要两端端口二层配置一致端口速率和所属VLAN一致就可以直接将端口加入聚合接口建立聚合链路。 这种情况下链路另一端聚合链路也必须使用On模式否则会发生数据丢包。这种模式在两端设备都不支持PAgP协议或LACP协议的情况下使用兼容性强配置起来也比较方便在实际中用的也比较多。 实验准备 实验环境EVE-Community 实验设备镜像 路由器 i86bi LinuxL3-AdvEnterpriseK9-M2 157 3 May 2018.bin 交换机 i86bi linuxl2-adventerprisek9-ms.SSA.high iron 20190423.bin PC用路由器来模拟 6bi LinuxL3-AdvEnterpriseK9-M2 157 3 May 2018.bin 实验目的 让交换机实现链路聚合提高带宽 配置 二层链路聚合 LACP协议模式 SW1 Switchenable Switch#conf t Switch(config)#hostname SW1## 进入需要聚合的接口,先设置为Trunk模式 SW1(config)#int range e0/0-2 SW1(config-if-range)#switchport trunk encapsulation dot1q SW1(config-if-range)#switchport mode trunk ## 创建聚合组“1”用LACP的active模式 ## 思科会自动建一个聚合接口“1”ID和聚合组一致 SW1(config-if-range)#channel-group 1 mode active Creating a port-channel interface Port-channel 1 SW1(config-if-range)#exit## access端口连接PC SW1(config)#vlan 10 SW1(config-vlan)#exitSW1(config)#int e0/3 SW1(config-if)#switchport mode access SW1(config-if)#switchport access vlan 10 SW1(config-if)#exitSW2 Switchenable Switch#conf t Switch(config)#hostname SW2SW2(config)#int range e0/0-2 SW2(config-if-range)#switchport trunk encapsulation dot1q SW2(config-if-range)#switchport mode trunk SW2(config-if-range)#channel-group 1 mode passive Creating a port-channel interface Port-channel 1 SW2(config-if-range)#exitSW2(config)#vlan 10 SW2(config-vlan)#exitSW2(config)#int e0/3 SW2(config-if)#switchport mode access SW2(config-if)#switchport access vlan 10 SW2(config-if)#exitPC1 Routerenable Router#conf t Router(config)#hostname PC1## 关闭路由功能把它变成PC使用 PC1(config)#no ip routing## 进入端口配置IP地址 PC1(config)#int e0/0 PC1(config-if)#no shutdown PC1(config-if)#ip address 192.168.10.1 255.255.255.0 PC1(config-if)#exit## 保存配置 PC1(config)#do write Building configuration... [OK] PC2 Routerenable Router#conf t Router(config)#hostname PC2## 关闭路由功能把它变成PC使用 PC2(config)#no ip routing## 进入端口配置IP地址 PC2(config)#int e0/0 PC2(config-if)#no shutdown PC2(config-if)#ip address 192.168.10.2 255.255.255.0 PC2(config-if)#exit## 保存配置 PC2(config)#do write Building configuration... [OK]查看LACP聚合组建立情况 SW1#show etherchannel summary 可以看到聚合组“1”的成员有e0/0、e0/1、e0/2 聚合组“1”它的聚合端口状态是正在使用二层接口 查看LACP聚合端口情况 SW1#show ip int brief 查看逻辑聚合端口带宽 PC1和PC2互Ping PAgP协议模式 SW1 Switchenable Switch#conf t Switch(config)#hostname SW1## 进入需要聚合的接口,先设置为Trunk模式 SW1(config)#int range e0/0-2 SW1(config-if-range)#switchport trunk encapsulation dot1q SW1(config-if-range)#switchport mode trunk ## 创建聚合组“1”用PAgP的desirable 模式 ## 思科会自动建一个聚合接口“1”ID和聚合组一致 SW1(config-if-range)#channel-group 1 mode desirable Creating a port-channel interface Port-channel 1 SW1(config-if-range)#exit## access端口连接PC SW1(config)#vlan 10 SW1(config-vlan)#exitSW1(config)#int e0/3 SW1(config-if)#switchport mode access SW1(config-if)#switchport access vlan 10 SW1(config-if)#exitSW2 Switchenable Switch#conf t Switch(config)#hostname SW2SW2(config)#int range e0/0-2 SW2(config-if-range)#switchport trunk encapsulation dot1q SW2(config-if-range)#switchport mode trunk SW2(config-if-range)#channel-group 1 mode auto Creating a port-channel interface Port-channel 1 SW2(config-if-range)#exitSW2(config)#vlan 10 SW2(config-vlan)#exitSW2(config)#int e0/3 SW2(config-if)#switchport mode access SW2(config-if)#switchport access vlan 10 SW2(config-if)#exitPC1 Routerenable Router#conf t Router(config)#hostname PC1## 关闭路由功能把它变成PC使用 PC1(config)#no ip routing## 进入端口配置IP地址 PC1(config)#int e0/0 PC1(config-if)#no shutdown PC1(config-if)#ip address 192.168.10.1 255.255.255.0 PC1(config-if)#exit## 保存配置 PC1(config)#do write Building configuration... [OK] PC2 Routerenable Router#conf t Router(config)#hostname PC2## 关闭路由功能把它变成PC使用 PC2(config)#no ip routing## 进入端口配置IP地址 PC2(config)#int e0/0 PC2(config-if)#no shutdown PC2(config-if)#ip address 192.168.10.2 255.255.255.0 PC2(config-if)#exit## 保存配置 PC2(config)#do write Building configuration... [OK]查看LACP聚合组建立情况 SW1#show etherchannel summary 可以看到聚合组“1”的成员有e0/0、e0/1、e0/2 聚合组“1”它的聚合端口状态是正在使用二层接口 查看LACP聚合端口情况 SW1#show ip int brief 查看逻辑聚合端口带宽 PC1和PC2互Ping ON模式 SW1 Switchenable Switch#conf t Switch(config)#hostname SW1## 进入需要聚合的接口,先设置为Trunk模式 SW1(config)#int range e0/0-2 SW1(config-if-range)#switchport trunk encapsulation dot1q SW1(config-if-range)#switchport mode trunk ## 创建聚合组“1”用PAgP的desirable 模式 ## 思科会自动建一个聚合接口“1”ID和聚合组一致 SW1(config-if-range)#channel-group 1 mode on Creating a port-channel interface Port-channel 1 SW1(config-if-range)#exit## access端口连接PC SW1(config)#vlan 10 SW1(config-vlan)#exitSW1(config)#int e0/3 SW1(config-if)#switchport mode access SW1(config-if)#switchport access vlan 10 SW1(config-if)#exitSW2 Switchenable Switch#conf t Switch(config)#hostname SW2SW2(config)#int range e0/0-2 SW2(config-if-range)#switchport trunk encapsulation dot1q SW2(config-if-range)#switchport mode trunk SW1(config-if-range)#channel-group 1 mode on Creating a port-channel interface Port-channel 1 SW2(config-if-range)#exitSW2(config)#vlan 10 SW2(config-vlan)#exitSW2(config)#int e0/3 SW2(config-if)#switchport mode access SW2(config-if)#switchport access vlan 10 SW2(config-if)#exitPC1 Routerenable Router#conf t Router(config)#hostname PC1## 关闭路由功能把它变成PC使用 PC1(config)#no ip routing## 进入端口配置IP地址 PC1(config)#int e0/0 PC1(config-if)#no shutdown PC1(config-if)#ip address 192.168.10.1 255.255.255.0 PC1(config-if)#exit## 保存配置 PC1(config)#do write Building configuration... [OK] PC2 Routerenable Router#conf t Router(config)#hostname PC2## 关闭路由功能把它变成PC使用 PC2(config)#no ip routing## 进入端口配置IP地址 PC2(config)#int e0/0 PC2(config-if)#no shutdown PC2(config-if)#ip address 192.168.10.2 255.255.255.0 PC2(config-if)#exit## 保存配置 PC2(config)#do write Building configuration... [OK]查看LACP聚合组建立情况 SW1#show etherchannel summary 可以看到聚合组“1”的成员有e0/0、e0/1、e0/2 聚合组“1”它的聚合端口状态是正在使用二层接口 查看LACP聚合端口情况 SW1#show ip int brief 查看逻辑聚合端口带宽 PC1和PC2互Ping 三层链路聚合 ON模式 SW1 Switchenable Switch#conf t Switch(config)#hostname SW1## 进入需要聚合的接口,需要关闭交换功能 SW1(config)#int range e0/0-2 SW1(config-if-range)#no switchport ## 创建聚合组“10”用ON聚合模式 ## 思科会自动建一个聚合接口“10”ID和聚合组一致 SW1(config-if-range)#channel-group 10 mode on Creating a port-channel interface Port-channel 10 SW1(config-if-range)#exit## 进入聚合接口“10”去配置地址 SW1(config)#int port-channel 10 SW1(config-if)#ip address 192.168.100.100 255.255.255.0 SW1(config-if)#exitSW2 Switchenable Switch#conf t Switch(config)#hostname SW2SW2(config)#int range e0/0-2 SW2(config-if-range)#no switchport SW1(config-if-range)#channel-group 10 mode on Creating a port-channel interface Port-channel 10 SW2(config-if-range)#exitSW2(config)#int port-channel 10 SW2(config-if)#ip address 192.168.100.200 255.255.255.0 SW2(config-if)#exit查看LACP聚合组建立情况 SW1#show etherchannel summary 这边是RU那就是正在使用的三层接口说明配置成功了 查看LACP聚合端口情况 SW1#show ip int brief SW1和SW2互Ping LACP模式 SW1 Switchenable Switch#conf t Switch(config)#hostname SW1## 进入需要聚合的接口,需要关闭交换功能 SW1(config)#int range e0/0-2 SW1(config-if-range)#no switchport ## 创建聚合组“10”用ON聚合模式 ## 思科会自动建一个聚合接口“10”ID和聚合组一致 SW1(config-if-range)#channel-group 10 mode active Creating a port-channel interface Port-channel 10 SW1(config-if-range)#exit## 进入聚合接口“10”去配置地址 SW1(config)#int port-channel 10 SW1(config-if)#ip address 192.168.100.100 255.255.255.0 SW1(config-if)#exit SW2 Switchenable Switch#conf t Switch(config)#hostname SW2SW2(config)#int range e0/0-2 SW2(config-if-range)#no switchport SW1(config-if-range)#channel-group 10 mode active Creating a port-channel interface Port-channel 10 SW2(config-if-range)#exitSW2(config)#int port-channel 10 SW2(config-if)#ip address 192.168.100.200 255.255.255.0 SW2(config-if)#exitSW1和SW2互Ping LACP模式 SW1 Switchenable Switch#conf t Switch(config)#hostname SW1## 进入需要聚合的接口,需要关闭交换功能 SW1(config)#int range e0/0-2 SW1(config-if-range)#no switchport ## 创建聚合组“10”用ON聚合模式 ## 思科会自动建一个聚合接口“10”ID和聚合组一致 SW1(config-if-range)#channel-group 10 mode desirable Creating a port-channel interface Port-channel 10 SW1(config-if-range)#exit## 进入聚合接口“10”去配置地址 SW1(config)#int port-channel 10 SW1(config-if)#ip address 192.168.100.100 255.255.255.0 SW1(config-if)#exit SW2 Switchenable Switch#conf t Switch(config)#hostname SW2SW2(config)#int range e0/0-2 SW2(config-if-range)#no switchport SW1(config-if-range)#channel-group 10 mode desirable Creating a port-channel interface Port-channel 10 SW2(config-if-range)#exitSW2(config)#int port-channel 10 SW2(config-if)#ip address 192.168.100.200 255.255.255.0 SW2(config-if)#exitSW1和SW2互Ping
http://www.w-s-a.com/news/546835/

相关文章:

  • 网站建设公司华网天下买送活动集团网站设计案例
  • 哪些网站比较容易做哪个网站做中高端衣服
  • 做php网站教程wordpress去水印
  • 深圳微网站建设公司哪家好潍坊专业做网站的公司
  • 网站的弹窗广告怎么做软件开发包括
  • 网站开发人员保密做最优秀的自己演讲视频网站
  • 一般做网站要多少钱怎样选择高性价比的建站公司
  • 免费私人网站建设软件高端网站设计平台高端网站设计企业
  • 响应式网站建设的应用场景怎么申请电商平台
  • 怎么做垂直自营网站游戏咨询网站建设目标是什么
  • 建设网站需要给钱吗建立网站三大基础
  • 金融公司网站 htmlwordpress 防火墙
  • 重庆智能建站模板网站投票系统 js
  • 网站维护的内容和步骤网站做什么内容
  • 万网虚拟主机建网站wordpress协调世界时
  • 微网站建设方式应用大全网站
  • 网站速度测速织梦模板下载
  • 环保网站建设公司排名汉阴网站建设
  • 自己做网站的二维码wordpress用户权限在哪改
  • 网站使用说明书网站建设公司的介绍
  • 推广型网站免费建设网站防盗链设置
  • 建设银行网站查开户行网站反链暴增怎么回事
  • centos7做网站软件实施工程师工资一般多少
  • 专业房产网站建设深圳建设交易集团
  • 政务网站建设标准项目经理接到网站开发怎么开展
  • 网站框架设计好后怎么做网站广告销售怎们做
  • asp技校网站保定八大平台公司
  • wordpress网站前端优化网站备案批量查询
  • 北京企业做网站杭州seo中心
  • 护肤品网站建设前的行业分析wordpress电子书模板