摘要: interface Eth-Trunk 1 \\创建并进入链路 mode lacp-static \\配置Eth-Trunk的工作模式为静态LACP模式 port link-type trunk port trunk allow-pass vlan 10 int g0/0/1 eth-Trunk 1 阅读全文
posted @ 2019-11-29 00:51 qwertyuioplkjh 阅读(626) 评论(1) 推荐(0)
摘要: 链路聚合是在两个设备间使用多个物理链路创建一个逻辑链路的功能。这种方式允许物理链路间共享负载。交换机网络中使用的一种链路聚合的方法是EtherChannel。EtherChannel可以通过思科的端口聚合协议(Port Aggregation Protocol, PAgP)或链路聚合协议(Link 阅读全文
posted @ 2019-11-29 00:46 qwertyuioplkjh 阅读(770) 评论(0) 推荐(0)
摘要: stp root primary \\将所在交换机设置为根桥 stp root secondary \\将所在交换机设置为备用根桥 阅读全文
posted @ 2019-11-29 00:45 qwertyuioplkjh 阅读(243) 评论(0) 推荐(0)
摘要: 生成树协议STP(Spanning Tree Protocol)将环形网络修剪成为一个无环的树型网络,避免报文在环形网络中的增生和无限循环。 在一个复杂的网络环境中,难免会出现环路。由于冗余备份的需要,网络设计者都倾向于在设备之间部署多条物理链路,其中一条作主用链路,其他链路作备份,这样都有可能会导 阅读全文
posted @ 2019-11-29 00:43 qwertyuioplkjh 阅读(160) 评论(0) 推荐(0)
摘要: dhcp enable \\启动dhcp服务 ip pool pool1 \\创建地址池,名字为pool1 network 10.0.12.0 mask 24 \\配置网络地址和子网掩码 gateway-list 10.0.12.1 \\指定地址池的网关 lease day 1 hour 12 \\ 阅读全文
posted @ 2019-11-29 00:34 qwertyuioplkjh 阅读(3592) 评论(0) 推荐(0)
摘要: rip 1 \\启动rip协议 network 10.0.0.0 \\需要路由的网段 认证可配可不配,但配置会提升网络的安全性 rip authentication-mode simple huawei \\配置MD5认证。认证密码均为huawei 阅读全文
posted @ 2019-11-29 00:29 qwertyuioplkjh 阅读(253) 评论(0) 推荐(0)
摘要: ip route-static 【需要路由的网端]】【子网掩码】【下一个节点】,如下 ip route-static 0.0.0.0 0 192.168.130.1 ip route-static 10.1.1.1 24 192.168.130.1 阅读全文
posted @ 2019-11-29 00:24 qwertyuioplkjh 阅读(239) 评论(0) 推荐(0)
摘要: 路由器 interface GigabitEthernet0/0/0 ip address 192.168.1.1 24 \\配置ip地址和子网掩码,可做网关或路由 交换机 interface Vlanif 10 ip address 192.168.10.1 24 \\配置vlan的网关和子网掩码 阅读全文
posted @ 2019-11-29 00:03 qwertyuioplkjh 阅读(1487) 评论(1) 推荐(0)
摘要: vlan 10 \\创建vlan,只能同时划分一个vlan vlan batch 20 30 \\可以同时划分多个vlan interface Ethernet 0/0/0 \\进入Ethernet接口 port link-type access \\将接口设置为access模式,access只能有 阅读全文
posted @ 2019-11-28 23:56 qwertyuioplkjh 阅读(141) 评论(0) 推荐(0)
摘要: 广播是主机之间“一对所有”的通讯模式。子网的一台主机作为发送发广播一条信息,该子网中的所有主机都可以接收到该信息(不管你是否需要该信息)。在广播模式下,由于服务器不用向每个客户机单独发送数据,所以服务器流量负载极低。无法在广域网上进行广播,而且广播消息不会被路由转发,所以只能在一个子网中进行广播。因 阅读全文
posted @ 2019-11-28 23:45 qwertyuioplkjh 阅读(275) 评论(0) 推荐(0)