摘要: 链路聚合通过聚合多条并行的物理链路,对上层协议表现为一条逻辑链路,来提高吞吐量和冗余性。常见的链路聚合技术有Cisco的Etherchannel ,华为的Eth-trunk 以及 linux bonding 等。链路聚合分为动态和静态两种,静态的通过手工配置,动态的通过协议协商。IEEE 规定的链路 阅读全文
posted @ 2019-06-24 14:53 聂忠乐 阅读(1815) 评论(0) 推荐(0) 编辑
摘要: 一. 术语 LA (Link aggregation): 链路聚合,不同厂家名称不同,ethernet channel(以太通道)。 LAG: Link aggregation group. LACP:Link aggregation control protocol。The IEEE® 802.3 阅读全文
posted @ 2019-06-24 14:51 聂忠乐 阅读(1336) 评论(0) 推荐(0) 编辑
摘要: Linux双网卡绑定实现就是使用两块网卡虚拟成为一块网卡,这个聚合起来的设备看起来是一个单独的以太网接口设备,通俗点讲就是两块网卡具有相同的IP地址而并行链接聚合成一个逻辑链路工作。其实这项 技术在Sun和Cisco中早已存在,被称为Trunking和Etherchannel技术,在Linux的2. 阅读全文
posted @ 2019-06-24 14:50 聂忠乐 阅读(4371) 评论(0) 推荐(0) 编辑
摘要: Linux双网卡绑定的实现就是使用两块网卡虚拟成为一块网卡,这个聚合起来的设备看起来是一个单独的以太网接口设备,通俗点讲就是两块网卡具有相同的 IP地址而并行链接聚合成一个逻辑链路工作。其实这项技术在Sun和Cisco中早已存在,被称为Trunking和Etherchannel技术,在 Linux的 阅读全文
posted @ 2019-06-24 14:49 聂忠乐 阅读(5626) 评论(0) 推荐(0) 编辑
摘要: 1.1 IGMP v1 主机可以加入组播组,没有离开信息(leave messages),路由器使用基于超时的机制去发现其成员不关注的组。 1.1.2 配置 1)全局打开组播 xNet#con t xNet(config)#ip multicast-routing xNet(config)#end 阅读全文
posted @ 2019-06-24 09:25 聂忠乐 阅读(703) 评论(0) 推荐(0) 编辑
摘要: 1.1.1 配置 1)按拓扑连接好,和配置接口相应IP 2)在交换机207和208上配置VRRP 208: xNet#con t xNet(config)#router vrrp 48 ge48 xNet(config-router)#virtual-ip 192.168.4.208 master 阅读全文
posted @ 2019-06-24 09:24 聂忠乐 阅读(272) 评论(0) 推荐(0) 编辑
摘要: 1.1 Flow表 通过CLI或者Controller配置流表 1.1.1 拓扑 1.1.2 配置 1)CLI配置一条流表(in_port = ge1, out_port = ge48): xNet#configure terminal xNet(config)#openflow xNet(conf 阅读全文
posted @ 2019-06-24 09:22 聂忠乐 阅读(608) 评论(0) 推荐(0) 编辑
摘要: 1.1.1 配置 1)先把交换机208的ge1和ge47加入到vlan2当中,不配置端口镜像时,只有PC-91号机能够收到PC-101发出来的报文。 xNet#configure terminal xNet(config)#interface ge1 xNet(config-if)#switchpo 阅读全文
posted @ 2019-06-24 09:21 聂忠乐 阅读(341) 评论(0) 推荐(0) 编辑
摘要: 1.1.1 配置 1)添加一个Nameserver到DNS xNet#configure terminal xNet(config)#ip name-server 10.204.252.1 xNet(config)# 2)打开Domain Lookup xNet#configure terminal 阅读全文
posted @ 2019-06-24 09:20 聂忠乐 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 1.1 StaticRoute 1.1.2 配置 按拓扑配置好接口IP,然后配置静态路由(ECMP): xNet#con t xNet(config)#ip route 192.168.8.0/24 192.168.5.92 xNet(config)#ip route 192.168.8.0/24 阅读全文
posted @ 2019-06-24 09:19 聂忠乐 阅读(3799) 评论(0) 推荐(0) 编辑
摘要: 1.1.1 配置 1)开启全局模式下的认证 xNet#configure terminal xNet(config)#aaa authentication enable weil local xNet(config)#aaa authentication login weil local xNet( 阅读全文
posted @ 2019-06-24 09:17 聂忠乐 阅读(953) 评论(0) 推荐(0) 编辑
摘要: 1.1 Ping 1.1.1 拓扑 1.1.2 配置 1)按拓扑把接口IP配置好 PC-92的默认路由为192.168.4.208 PC-91的默认路由为192.168.3.207 此时PC-91与PC-92互ping不通 2)两个交换机配置RIP,宣告网段,以208为例: xNet#configu 阅读全文
posted @ 2019-06-24 09:17 聂忠乐 阅读(527) 评论(0) 推荐(0) 编辑
摘要: 1.1 DHCP Server 1.1.1 拓扑 1.1.2 配置 1)配置接口IP xNet#con t xNet(config)#interface ge48 xNet(config-if)#ip address 192.168.15.1/24 xNet(config-if)#end xNet# 阅读全文
posted @ 2019-06-24 09:16 聂忠乐 阅读(474) 评论(0) 推荐(0) 编辑
摘要: 在所有ACL应用到到接口上时,在最后都有一条默认的deny all条目,所以,如果需要在没有匹配的报文都正常转发的话要在最后添加一条permit any条目。 1 1.1 MAC ACL 在接口ge1上应用mac acl 700,允许通过MAC地址为:0003.6B00.xxxx的报文 1.1.1 阅读全文
posted @ 2019-06-24 09:15 聂忠乐 阅读(1387) 评论(0) 推荐(0) 编辑
摘要: 1.1 statistics组 配置好统计组后,查看统计的信息 1.1.1 配置 1)在接口上使能统计组,来统计接口数据 xNet#configure terminal xNet(config)#interface ge1 xNet(config-if)#rmon collection stats 阅读全文
posted @ 2019-06-24 09:14 聂忠乐 阅读(712) 评论(0) 推荐(0) 编辑
摘要: 1.1 SNMP V2 1.1.1 拓扑 1.1.2 配置 xNet#configure terminal xNet(config)#snmp-server host xxx 10.204.253.202 xNet(config)#snmp-server community rw xxx xNet( 阅读全文
posted @ 2019-06-24 09:14 聂忠乐 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 1.1 基本功能 通过配置LLDP,在对端查看链路发现信息 1.1.1 拓扑 1.1.2 配置 1)在208的ge1端口配置LLDP功能,设置各项参数; xNet#con t xNet(config)#interface ge1 xNet(config-if)#set lldp enable txr 阅读全文
posted @ 2019-06-24 09:13 聂忠乐 阅读(1749) 评论(0) 推荐(0) 编辑
摘要: 通过配置RSTP,边缘端口,当修改交换机优先级时,改变拓扑,使端口状态快速切换。 1.1.1 拓扑 1.1.2 配置 1)在STP配置下,修改spanning tree mode为rstp。 xNet#configure terminal xNet(config)#spanning-tree mod 阅读全文
posted @ 2019-06-24 09:08 聂忠乐 阅读(1474) 评论(0) 推荐(0) 编辑
摘要: 1.1 STP 使用两个交换机,连接成一个环路,查看端口状态,并发送数据流,看环路是否消除。 1.1.1 拓扑 1.1.2 配置 1)打开生成树stp模式 xNet#configure terminal xNet(config)#spanning-tree mode stp xNet(config) 阅读全文
posted @ 2019-06-24 09:07 聂忠乐 阅读(469) 评论(0) 推荐(0) 编辑
摘要: 1.1 基本功能 通过配置相应route-map与PBR,实现从某一接口流入的报文,指定下一跳。 注:此时交换机应该已经学到下一跳ARP。 1.1.1 拓扑 1.1.2 配置 PC-101发送目的IP为“192.168.4.11”的报文,经过策略路由,下一跳为“192.168.3.91”,报文在PC 阅读全文
posted @ 2019-06-24 08:58 聂忠乐 阅读(951) 评论(0) 推荐(0) 编辑