|
portant; word-wrap: break-word !important; clear: both; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; outline: none; font-size: 14px; line-height: 30px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 15px;">一向以来他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,对于华为、H3C、锐捷交换机的号令设置他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,不竭的有朋友留言他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,三家交换机的设置号令轻易弄混他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,经常在现实项目设置中出错他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,是以他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,本期我们未来先容这三家交换机的根本设置号令他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,大师可以别离来看下他们的号令有什么分歧。
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; outline: none; font-size: 14px; line-height: 30px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 15px;">为了让大师加倍清楚他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,每行代码都有诠释。
portant; word-wrap: break-word !important; clear: both; min-height: 1em; overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; color: rgb(219, 55, 52); font-size: 15px; overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; overflow-wrap: break-word !important;">一、华为交换机根本设置号令portant; word-wrap: break-word !important; color: rgb(219, 55, 52); font-size: 15px; letter-spacing: 0.544px; overflow-wrap: break-word !important;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; outline: none; font-size: 14px; line-height: 30px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255); font-size: 15px;">portant; word-wrap: break-word !important; overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; overflow-wrap: break-word !important;">1、建立vlan:
portant; word-wrap: break-word !important; clear: both; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; outline: none; font-size: 14px; line-height: 30px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 15px;"> //用户视图他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,也就是在Quidway形式下运转号令。
system-view //进入设置视图
[Quidway] vlan 10 //建立vlan 10他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,并进入vlan10设置视图他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,假如vlan10存在就间接进入vlan10设置视图
[Quidway-vlan10] quit //回到设置视图
[Quidway] vlan 100 //建立vlan 100他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,并进入vlan100设置视图他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,假如vlan10存在就间接进入vlan100设置视图
portant; word-wrap: break-word !important; clear: both; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; outline: none; font-size: 14px; line-height: 30px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 15px;">[Quidway-vlan100] quit //回到设置视图
portant; word-wrap: break-word !important; clear: both; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; outline: none; font-size: 14px; line-height: 30px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); overflow-wrap: break-word !important;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; outline: none; font-size: 14px; line-height: 30px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255); font-size: 15px;">portant; word-wrap: break-word !important; overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; overflow-wrap: break-word !important;">2、将端口加入到vlan中:
portant; word-wrap: break-word !important; clear: both; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; outline: none; font-size: 14px; line-height: 30px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 15px;">[Quidway] interface GigabitEthernet2/0/1 (10G光口)
[Quidway- GigabitEthernet2/0/1] port link-type access //界说端口授输形式
[Quidway- GigabitEthernet2/0/1] port default vlan 100 //将端口加入vlan100
[Quidway- GigabitEthernet2/0/1] quit //回到设置视图
portant; word-wrap: break-word !important; clear: both; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; outline: none; font-size: 14px; line-height: 30px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; font-size: 15px;">portant; word-wrap: break-word !important; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px;">[Quidway] interface GigabitEthernet1/0/0 //进入1号插槽上的第一个千兆网口设置视图中。0代表1号口
[Quidway- GigabitEthernet1/0/0] port link-type access //界说端口授输形式
[Quidway- GigabitEthernet2/0/1] port default vlan 10 //将这个端口加入到vlan10中
[Quidway- GigabitEthernet2/0/1] quit
portant; word-wrap: break-word !important; font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);">3、将多个端口加入到VLAN中
portant; word-wrap: break-word !important; clear: both; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; outline: none; font-size: 14px; line-height: 30px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 15px;">system-view
[Quidway]vlan 10
[Quidway-vlan10]port GigabitEthernet 1/0/0 to 1/0/29 //将0到29号口加入到vlan10中
[Quidway-vlan10]quit
portant; word-wrap: break-word !important; clear: both; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; outline: none; font-size: 14px; line-height: 30px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); overflow-wrap: break-word !important;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; outline: none; font-size: 14px; line-height: 30px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255); font-size: 15px;">4、交换机设置IP地址
portant; word-wrap: break-word !important; clear: both; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; outline: none; font-size: 14px; line-height: 30px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 15px;">[Quidway] interface Vlanif100 // 进入vlan100接口视图与vlan 100号令进入的地方分歧
[Quidway-Vlanif100] ip address 119.167.200.90 255.255.255.252 // 界说vlan100治理IP三层 交换网关路由
[Quidway-Vlanif100] quit //返回视图
[Quidway] interface Vlanif10 // 进入vlan10接口视图与vlan 10号令进入的地方分歧
[Quidway-Vlanif10] ip address 119.167.206.129 255.255.255.128 // 界说vlan10治理IP三层交换网关路由
portant; word-wrap: break-word !important; clear: both; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; outline: none; font-size: 14px; line-height: 30px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 15px;">[Quidway-Vlanif10] quit
portant; word-wrap: break-word !important; clear: both; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; outline: none; font-size: 14px; line-height: 30px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); overflow-wrap: break-word !important;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; outline: none; font-size: 14px; line-height: 30px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 15px; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);">5、设置默许网关:
portant; word-wrap: break-word !important; clear: both; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; outline: none; font-size: 14px; line-height: 30px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; color: rgb(217, 33, 66); letter-spacing: 0.544px;">[Quidway]iportant; word-wrap: break-word !important; letter-spacing: 0.544px; color: rgb(217, 33, 66);">p route-static 0.0.0.0 0.0.0.0 119.167.200.89portant; word-wrap: break-word !important; letter-spacing: 0.544px;"> //设置默许网关。
portant; word-wrap: break-word !important; clear: both; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; outline: none; font-size: 14px; line-height: 30px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); overflow-wrap: break-word !important;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; outline: none; font-size: 14px; line-height: 30px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255); font-size: 15px;">6、 交换机保存设备和重置号令
portant; word-wrap: break-word !important; clear: both; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; outline: none; font-size: 14px; line-height: 30px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 15px;">save //保存设置信息
reset saved-configuration //重置交换机的设置
reboot //重新启动交换机
portant; word-wrap: break-word !important; clear: both; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; outline: none; font-size: 14px; line-height: 30px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); overflow-wrap: break-word !important;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; outline: none; font-size: 14px; line-height: 30px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0); font-size: 15px;">7、交换机常用的显现号令
portant; word-wrap: break-word !important; clear: both; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; outline: none; font-size: 14px; line-height: 30px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 15px;">用户视图形式下:
display current-configuration //显现现在交换机正在运转的设置明细
display device //显现各装备状态
display interface ? //显现个端口状态他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,用?可以检察后边跟的选项
display version //检察交换机固件版本信息
display vlan ? // 检察vlan的设置信息
portant; word-wrap: break-word !important; clear: both; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; outline: none; font-size: 14px; line-height: 30px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); overflow-wrap: break-word !important;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; outline: none; font-size: 14px; line-height: 30px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255); font-size: 15px;">8、规复交换机出厂设备
portant; word-wrap: break-word !important; clear: both; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; outline: none; font-size: 14px; line-height: 30px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 15px;">reset saved-configuration //重置交换机的设置
portant; word-wrap: break-word !important; clear: both; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; outline: none; font-size: 14px; line-height: 30px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 15px;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; color: rgb(219, 55, 52); font-size: 15px; overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; overflow-wrap: break-word !important;">二、H3C交换机的根基设置
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white; text-indent: 2em;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; font-size: 15px; letter-spacing: 0.544px; text-align: left;">我们先来领会下h3c的设置号令与功用他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,都是常用的他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,根基上大部分收集设置都少不了这些号令。
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white; text-indent: 2em;">
portant; word-wrap: break-word !important; background-color: rgb(0, 0, 0); font-family: Optima-Regular, PingFangTC-light; font-size: 15px; letter-spacing: 0.544px; text-align: left; widows: 1; color: rgb(255, 255, 255);">1、根基设置portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;"> //用户直行形式提醒符,用户视图 portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">system-view //portant; word-wrap: break-word !important;">进入设置视图
[H3C] sysname xxx //设备主机名成为xxx这里利用点窜特权用户密码
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255);">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; background-color: rgb(0, 0, 0); font-family: Optima-Regular, PingFangTC-light; font-size: 15px; letter-spacing: 0.544px; text-align: left; widows: 1; color: rgb(255, 255, 255);">2、用户设置
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">system-view
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C]super password H3C //设备用户分级密码
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C]undo superpassword //删除用户分级密码
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C]localuser bigheap 1234561 //Web网管用户设备,1为治理级用户
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C]undo localuser bigheap //删除Web网管用户
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C]user-interface aux 0 //只支持0
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C-Aux]idle-timeout 250 //设备超时为2分50秒,若为0则暗示不超时,默以为5分钟
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C-Aux]undoidle-timeout //规复默许值
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C]user-interface vty 0 //只支持0和1
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C-vty]idle-timeout 250 //设备超时为2分50秒,若为0则暗示不超时,默以为5分钟
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C-vty]undoidle-timeout //规复默许值
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C-vty]set authentication password123456 //设备telnet密码,必须设备
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C-vty]undo set authenticationpassword portant; word-wrap: break-word !important; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; font-size: 14px; letter-spacing: 0.544px; text-align: left; text-indent: 34px; widows: 1;">//取消密码
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C]displayusers //显现用户
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C]displayuser-interface //用户界面状态
portant; word-wrap: break-word !important; background-color: rgb(0, 0, 0); font-family: Optima-Regular, PingFangTC-light; font-size: 15px; letter-spacing: 0.544px; text-align: left; widows: 1; color: rgb(255, 255, 255);">3、vlan设置
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C]vlan 2 portant; word-wrap: break-word !important;"> //建立VLAN2
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C]undo vlanall //删除除缺省VLAN外的一切VLAN,缺省VLAN不能被删除
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C-vlan2]port Ethernet 0/4 to Ethernet0/7 //将4到7号端口加入到VLAN2中,此号令只能用来加access端口,不能用来增加trunk大概hybrid端口
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C-vlan2]port-isolate enable //翻开VLAN内端口隔离特征他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,不能二层转发,portant; word-wrap: break-word !important;">默许不启用该功用
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C-Ethernet0/4]port-isolate uplink-portvlan 2 //设备4为VLAN2的portant; word-wrap: break-word !important;">portant; word-wrap: break-word !important; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; font-size: 14px; letter-spacing: 0.544px; text-align: left; text-indent: 34px; widows: 1;">隔离上行端口portant; word-wrap: break-word !important; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; font-size: 14px; letter-spacing: 0.544px; text-align: left; text-indent: 34px; widows: 1;">他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,用于portant; word-wrap: break-word !important; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; font-size: 14px; letter-spacing: 0.544px; text-align: left; text-indent: 34px; widows: 1;">转发二层数据,只能设置一个上行端口,若为trunk,则倡议答应一切VLAN经过,隔离不能预会聚同时设置
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C]display vlan all //portant; word-wrap: break-word !important;">显现一切VLAN的具体信息
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C]user-group 20 //建立user-group 20他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,默许只存在user-group 1
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C-UserGroup20]port Ethernet 0/4 toEthernet 0/7 //portant; word-wrap: break-word !important;">将4到7号端口加入到VLAN20中他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,初始时都属于user-group 1中
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C]display user-group 20 //显现user-group 20的相关信息
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255);">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">
portant; word-wrap: break-word !important; background-color: rgb(0, 0, 0); font-family: Optima-Regular, PingFangTC-light; font-size: 15px; letter-spacing: 0.544px; text-align: left; widows: 1; color: rgb(255, 255, 255);">四、交换机ip设置
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C]vlan 20 //portant; word-wrap: break-word !important;">建立vlan
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C]management-vlan 20 //治理vlan
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C]interface vlan-interface 20 //portant; word-wrap: break-word !important;">进入并治理vlan20
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C]undo interface vlan-interface 20 //删除治理VLAN端口
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C-Vlan-interface20]ip address192.168.1.2 255.255.255.0 //portant; word-wrap: break-word !important; widows: 1; font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px; color: rgb(217, 33, 66);">portant; word-wrap: break-word !important;">设置治理VLAN接口静态IP地址portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C-Vlan-interface20]undo ipaddress //删除IP地址
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C-Vlan-interface20]ip gateway 192.168.1.1 //指定缺省网关(默许无网关地址)
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C-Vlan-interface20]undo ip gateway
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C-Vlan-interface20]shutdown //portant; word-wrap: break-word !important;">封闭接口
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C-Vlan-interface20]undo shutdown //开启
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C]display ip //显现治理VLAN接口IP的相关信息
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C]display interface vlan-interface20 //检察治理VLAN的接口信息
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">debugging ip //开启IP调试功用
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">undo debugging ip
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">
portant; word-wrap: break-word !important; background-color: rgb(0, 0, 0); font-family: Optima-Regular, PingFangTC-light; font-size: 15px; letter-spacing: 0.544px; text-align: left; widows: 1; color: rgb(255, 255, 255);">5、DHCP客户端设置
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; color: rgb(84, 84, 84); letter-spacing: 0.544px; text-indent: 34px; widows: 1; font-size: 14px;">[H3C-Vlan-interface20]ip address dhcp-alloc // 治理VLAN接口portant; word-wrap: break-word !important;">经过DHCP方式获得IP地址
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; color: rgb(84, 84, 84); letter-spacing: 0.544px; text-indent: 34px; widows: 1; font-size: 14px;">[H3C-Vlan-interface20]undo ip address dhcp-alloc // 取消
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; color: rgb(84, 84, 84); letter-spacing: 0.544px; text-indent: 34px; widows: 1; font-size: 14px;">[H3C]display dhcp //显现DHCP客户信息
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; color: rgb(84, 84, 84); letter-spacing: 0.544px; text-indent: 34px; widows: 1; font-size: 14px;">debugging dhcp-alloc //开启DHCP调试功用
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; color: rgb(84, 84, 84); letter-spacing: 0.544px; text-indent: 34px; widows: 1; font-size: 14px;">undo debugging dhcp-alloc
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">
portant; word-wrap: break-word !important; background-color: rgb(0, 0, 0); font-family: Optima-Regular, PingFangTC-light; font-size: 15px; letter-spacing: 0.544px; text-align: left; widows: 1; color: rgb(255, 255, 255);">6、端口设置
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C]interface Ethernet0/3 //进入端口
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C-Ethernet0/3]shutdown //封闭端口
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C-Ethernet0/3]speed 100 //速度可为10,100,1000和auto(缺省)
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C-Ethernet0/3]duplexfull //portant; word-wrap: break-word !important;">双工,可为half,full和auto他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,光口和会聚后不能设置
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C-Ethernet0/3]flow-control //portant; word-wrap: break-word !important;">开启流控他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,默以为封闭
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C-Ethernet0/3]broadcast-suppression 20 //设备抑制广播百分比为20%,可取5,10,20,100,缺省为100,同时组播和未知单播也受此影响
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C-Ethernet0/3]loopback internal //内环测试
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C-Ethernet0/3]port link-type trunk //设备链路的portant; word-wrap: break-word !important;">范例为trunk
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C-Ethernet0/3]port trunk pvid vlan 20 //设备20为该trunk的缺省VLAN他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,默以为1(trunk线路两真个PVID必须分歧)
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C-Ethernet0/3]port access vlan 20 //将当前portant; word-wrap: break-word !important;">access端口加入指定的VLAN
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C-Ethernet0/3]port trunk permit vlanall //答应portant; word-wrap: break-word !important;">一切的VLAN经过当前的trunk端口,可屡次利用该号令
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C-Ethernet0/3]mdiauto //设备以太端口为自动监测,normal为直通线,across为穿插线
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C]link-aggregation Ethernet 0/1 toEthernet 0/4 //portant; word-wrap: break-word !important;">将1-4口加入会聚组,1为主端口,两头需要同时设置,设备了端口镜像以及端口隔离的端口没法会聚
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C]undo link-aggregation Ethernet 0/1 //删除该会聚组
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C]link-aggregation mode egress //设置端口会聚形式为按照目标MAC地址停止负荷分管,可选为 ingress,egress和both,缺省为both
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C]monitor-port Ethernet 0/2 //portant; word-wrap: break-word !important;">将该端口设备为镜像端口,必须先设备镜像端口,删除时必须先删除被镜像端口,而且它们不能同在一个端口,该端口不能在会聚组中,设备新镜像端口时,新取代旧,被镜像稳定
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C]mirroring-port Ethernet 0/3 toEthernet 0/4 both //将portant; word-wrap: break-word !important;">端口3和4设备为被镜像端口,both为同时监控接收和发送的报文,inbound暗示仅监控接收的报文,outbound暗示仅监控发送的报文
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C]display mirror
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C]display interface Ethernet 0/3
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">resetcounters //portant; word-wrap: break-word !important;">断根一切端口的统计信息
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C]display link-aggregation Ethernet0/3 //portant; word-wrap: break-word !important;">显现端口会聚信息
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C-Ethernet0/3]virtual-cable-test //诊断该端口的电路状态
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">
portant; word-wrap: break-word !important; background-color: rgb(0, 0, 0); font-family: Optima-Regular, PingFangTC-light; font-size: 15px; letter-spacing: 0.544px; text-align: left; widows: 1; color: rgb(255, 255, 255);">7、qos优先级设置
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;"> QoS设置步调:设备端口的优先级,设备交换机信赖报文的优先级方式,行列调剂,端口限速
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C-Ethernet0/3]priority 7 //设备端口portant; word-wrap: break-word !important;">优先级为7他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,默以为0
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C]priority-trustcos //设备交换机信赖报文的优先级方式为cos(802.1p优先级,缺省值),还可以设为dscp方式
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C]queue-scheduler hq-wrr 2 4 6 8 //设备行列调剂算法为HQ-WRR(默以为WRR),权重为2,4,6,8
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C-Ethernet0/3]line-rate inbound 29 //将portant; word-wrap: break-word !important;">端口进口速度限制为2Mbps,取1-28时,速度为rate*8*1024/125,即64,128,192...1.792M;
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">29-127时,速度为(rate-27)*1024,即2M,3M,4M...100M。
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C]displayqueue-scheduler //显现行列调剂形式及参数
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; line-height: 25px; background: white;">portant; word-wrap: break-word !important; widows: 1; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 14px;">[H3C]displaypriority-trust //portant; word-wrap: break-word !important;">显现优先级信赖形式
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; outline: none; font-size: 14px; line-height: 30px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; letter-spacing: 0.544px; text-align: left; text-indent: 34px; font-size: 15px;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; color: rgb(219, 55, 52); overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; overflow-wrap: break-word !important;">三、锐捷交换机根本号令设置
portant; word-wrap: break-word !important; clear: both; min-height: 1em; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-family: 微软雅黑, 宋体, 黑体, Arial, Helvetica, sans-serif; color: rgb(47, 47, 47); font-size: 16px; text-align: left; background-color: rgb(255, 255, 255); overflow-wrap: break-word !important;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-family: 微软雅黑, 宋体, 黑体, Arial, Helvetica, sans-serif; color: rgb(47, 47, 47); font-size: 16px; text-align: left; background-color: rgb(255, 255, 255); overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; font-size: 15px; letter-spacing: 0.544px; text-indent: 34px; widows: 1; overflow-wrap: break-word !important;">毗连上交换机后他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,必定是需要停止号令设置他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,我们来看下根本号令设置。
portant; word-wrap: break-word !important; clear: both; min-height: 1em; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-family: 微软雅黑, 宋体, 黑体, Arial, Helvetica, sans-serif; color: rgb(47, 47, 47); font-size: 16px; text-align: left; background-color: rgb(255, 255, 255); overflow-wrap: break-word !important;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0em; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-family: 微软雅黑, 宋体, 黑体, Arial, Helvetica, sans-serif; color: rgb(47, 47, 47); font-size: 16px; text-align: left; background-color: rgb(255, 255, 255); overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);">portant; word-wrap: break-word !important; font-family: Optima-Regular, PingFangTC-light; font-size: 15px; letter-spacing: 0.544px; text-indent: 34px; widows: 1; overflow-wrap: break-word !important;">1、预备号令
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255); text-align: left; overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; font-size: 15px; letter-spacing: 0.544px; text-indent: 34px; widows: 1; overflow-wrap: break-word !important;">>Enable //进入特权形式
#Exit //返回上一级操纵形式
#End //返回到特权形式
#copy running-config startup-config //保存设置文件
#del flash:config.text //删除设置文件(交换机及1700系列路由器)
#erase startup-config //删除设置文件(2500系列路由器)
#del flash:vlan.dat //删除Vlan设置信息(交换机)
#Configure terminal //进入全局设置形式
(config)# hostname switchA //设置装备称号为switchA
(config)#banner motd & //设置逐日提醒信息 &为停止符
(config)#enable secret level 1 0 star //设置远程登陆密码为star
(config)#enable secret level 15 0 star //设置特权密码为star
Level 1为普通用户级别他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,可选为1~15他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,15为最高权限级别;0暗示密码不加密
(config)#enable services web-server //开启交换机WEB治理功用
Services 可选以下:web-server(WEB治理)、telnet-server(远程登陆)等
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255); text-align: left; overflow-wrap: break-word !important;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255); text-align: left; overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; font-family: Optima-Regular, PingFangTC-light; font-size: 15px; letter-spacing: 0.544px; text-indent: 34px; widows: 1; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255); overflow-wrap: break-word !important;">2、检察信息
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255); text-align: left; overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; font-size: 15px; letter-spacing: 0.544px; text-indent: 34px; widows: 1; overflow-wrap: break-word !important;">#show running-config //检察当宿世效的设置信息
#show interface fastethernet 0/3 //检察F0/3端口信息
#show interface serial 1/2 //检察S1/2端口信息
#show interface //检察一切端口信息
#show ip interface brief //以简洁方式汇总检察一切端口信息
#show ip interface //检察一切端口信息
#show version //检察版本信息
#show mac-address-table //检察交换机当前MAC地址表信息
#show running-config //检察当宿世效的设置信息
#show vlan //检察一切VLAN信息
#show vlan id 10 //检察某一VLAN (如VLAN10)的信息
#show interface fastethernet 0/1 //检察某一端口形式(如F 0/1)
#show aggregateport 1 summary //检察聚合端口AG1的信息
#show spanning-tree //检察天生树设置信息
#show spanning-tree interface fastethernet 0/1 //检察该端口的天生树状态
#show port-security //检察交换机的端口平安设置信息
#show port-security address //检察地址平安绑定设置信息
#show ip access-lists listname //检察名为listname的列表的设置信息
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255); text-align: left; overflow-wrap: break-word !important;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255); text-align: left; overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; font-family: Optima-Regular, PingFangTC-light; font-size: 15px; letter-spacing: 0.544px; text-indent: 34px; widows: 1; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255); overflow-wrap: break-word !important;">3、端口的根基设置portant; word-wrap: break-word !important; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; font-size: 15px; letter-spacing: 0.544px; text-indent: 34px; widows: 1; overflow-wrap: break-word !important;">
(config)#Interface fastethernet 0/3 //进入F0/3的端口设置形式
(config)#interface range fa 0/1-2,0/5,0/7-9 //进入F0/1、F0/2、F0/5、F0/7、F0/8、F0/9的端口设置形式
(config-if)#speed 10 //设置端口速度为10M,可选10,100,auto
(config-if)#duplex full //设置端口为全双工形式,可选full(全双工),half(半双式),auto(自顺应)
(config-if)#no shutdown //开启该端口
(config-if)#switchport access vlan 10 //将该端口划入VLAN10中,用于VLAN
(config-if)#switchport mode trunk //将该端口设为trunk形式,可选形式为access , trunk
(config-if)#port-group 1 //将该端口划入聚合端口AG1中,用于聚合端口
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255); text-align: left; overflow-wrap: break-word !important;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255); text-align: left; overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; font-family: Optima-Regular, PingFangTC-light; font-size: 15px; letter-spacing: 0.544px; text-indent: 34px; widows: 1; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255); overflow-wrap: break-word !important;">4、聚合端口的建立
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255); text-align: left; overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; font-size: 15px; letter-spacing: 0.544px; text-indent: 34px; widows: 1; overflow-wrap: break-word !important;">(config)# interface aggregateport 1 //建立聚合接口AG1
(config-if)# switchport mode trunk //设置并保证AG1为 trunk 形式
(config)#int f0/23-24
(config-if-range)#port-group 1 //将端口(端口组)划入聚合端口AG1中
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255); text-align: left; overflow-wrap: break-word !important;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255); text-align: left; overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; font-family: Optima-Regular, PingFangTC-light; font-size: 15px; letter-spacing: 0.544px; text-indent: 34px; widows: 1; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255); overflow-wrap: break-word !important;">5、天生树
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255); text-align: left; overflow-wrap: break-word !important;">portant; word-wrap: break-word !important;">portant; word-wrap: break-word !important; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; font-size: 15px; letter-spacing: 0.544px; text-indent: 34px; widows: 1; overflow-wrap: break-word !important;">设置多天生树协议:
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255); text-align: left; overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; font-size: 15px; letter-spacing: 0.544px; text-indent: 34px; widows: 1; overflow-wrap: break-word !important;">switch(config)#spanning-tree //开启天生树协议
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255); text-align: left; overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; font-size: 15px; letter-spacing: 0.544px; text-indent: 34px; widows: 1; overflow-wrap: break-word !important;">switch(config)#spanning-tree mst configuration //建立多天生树协议
switch(config-mst)#name ruijie //命名为ruijie
switch(config-mst)#revision 1 //设定校副本为1
switch(config-mst)#instance 0 vlan 10,20 //建立实例0
switch(config-mst)#instance 1 vlan 30,40 //建立实例1
switch(config)#spanning-tree mst 0 priority 4096 //设备优先级为4096
switch(config)#spanning-tree mst 1 priority 8192 //设备优先级为8192
switch(config)#interface vlan 10
switch(config-if)#vrrp 1 ip 192.168.10.1 //此为vlan 10的IP地址
switch(config)#interface vlan 20
switch(config-if)#vrrp 1 ip 192.168.20.1 //此为vlan 20的IP地址
switch(config)#interface vlan 30
switch(config-if)#vrrp 2 ip 192.168.30.1 //此为vlan 30的IP地址(另一三层交换机)
switch(config)#interface vlan 40
switch(config-if)#vrrp 2 ip 192.168.40.1 //此为vlan 40的IP地址(另一三层交换机)
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255); text-align: left; overflow-wrap: break-word !important;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255); text-align: left; overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; font-family: Optima-Regular, PingFangTC-light; font-size: 15px; letter-spacing: 0.544px; text-indent: 34px; widows: 1; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255); overflow-wrap: break-word !important;">6、VLAN的根基设置
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255); text-align: left; overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; font-size: 15px; letter-spacing: 0.544px; text-indent: 34px; widows: 1; overflow-wrap: break-word !important;">(config)#vlan 10 //建立VLAN10
(config-vlan)#name vlanname // 命名VLAN为vlanname
(config-if)#switchport access vlan 10 //将该端口划入VLAN10中
某端口的接口设置形式下停止
(config)#interface vlan 10 //进入VLAN 10的虚拟端口设置形式
(config-if)# ip address 192.168.1.1 255.255.255.0 //为VLAN10的虚拟端口设置IP及掩码他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,二层交换机只能设置一个IP他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,此IP是作为治理IP利用他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,例如他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,利用Telnet的方式登录的IP地址
(config-if)# no shutdown //启用该端口
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255); text-align: left; overflow-wrap: break-word !important;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255); text-align: left; overflow-wrap: break-word !important;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255); text-align: left; overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; font-family: Optima-Regular, PingFangTC-light; font-size: 15px; letter-spacing: 0.544px; text-indent: 34px; widows: 1; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255); overflow-wrap: break-word !important;">7、端口平安
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255); text-align: left; overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; font-size: 15px; letter-spacing: 0.544px; text-indent: 34px; widows: 1; overflow-wrap: break-word !important;">(config)# interface fastethernet 0/1 //进入一个端口
(config-if)# switchport port-security //开启该端口的平安功用
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255); text-align: left; overflow-wrap: break-word !important;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255); text-align: left; overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; font-family: Optima-Regular, PingFangTC-light; font-size: 15px; letter-spacing: 0.544px; text-indent: 34px; widows: 1; color: rgb(217, 33, 66); overflow-wrap: break-word !important;">a、设置最大毗连数限制
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255); text-align: left; overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; font-size: 15px; letter-spacing: 0.544px; text-indent: 34px; widows: 1; overflow-wrap: break-word !important;">(config-if)# switchport port-secruity maxmum 1 //设置端口的最大毗连数为1他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,最大毗连数为128
(config-if)# switchport port-secruity violation shutdown
//设置平安违例的处置方式为shutdown他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,可选为protect (当平安地址数满后他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,将未著名地址抛弃)、restrict(当违例时他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,发送一个Trap告诉)、shutdown(当违例时将端口封闭他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,并发送Trap告诉他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,可在全局形式下用errdisable recovery来规复)
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255); text-align: left; overflow-wrap: break-word !important;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255); text-align: left; overflow-wrap: break-word !important;">portant; word-wrap: break-word !important;">portant; word-wrap: break-word !important; font-family: Optima-Regular, PingFangTC-light; font-size: 15px; letter-spacing: 0.544px; text-indent: 34px; widows: 1; color: rgb(217, 33, 66); overflow-wrap: break-word !important;">b、IP和MAC地址绑定
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255); text-align: left; overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; font-size: 15px; letter-spacing: 0.544px; text-indent: 34px; widows: 1; overflow-wrap: break-word !important;">(config-if)#switchport port-security mac-address xxxx.xxxx.xxxx ip-address 172.16.1.1
//接口设置形式下设置MAC地址xxxx.xxxx.xxxx和IP172.16.1.1停止绑定(MAC地址留意用小写)
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255); text-align: left; overflow-wrap: break-word !important;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255); text-align: left; overflow-wrap: break-word !important;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255); text-align: left; overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);">portant; word-wrap: break-word !important; font-family: Optima-Regular, PingFangTC-light; font-size: 15px; letter-spacing: 0.544px; text-indent: 34px; widows: 1; overflow-wrap: break-word !important;">8、三层路由功用(针对三层交换机)
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255); text-align: left; overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; font-size: 15px; letter-spacing: 0.544px; text-indent: 34px; widows: 1; overflow-wrap: break-word !important;">(config)# ip routing //开启三层交换机的路由功用
(config)# interface fastethernet 0/1
(config-if)# no switchport //开启端口的三层路由功用(这样便可以为某一端口设置IP)
(config-if)# ip address 192.168.1.1 255.255.255.0
(config-if)# no shutdown
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255); text-align: left; overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; font-family: Optima-Regular, PingFangTC-light; font-size: 15px; letter-spacing: 0.544px; text-indent: 34px; widows: 1; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255); overflow-wrap: break-word !important;">9、三层交换机路由协议
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255); text-align: left; overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; font-size: 15px; letter-spacing: 0.544px; text-indent: 34px; widows: 1; overflow-wrap: break-word !important;">(config)# ip route 172.16.1.0 255.255.255.0 172.16.2.1 //设置静态路由
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255); text-align: left; overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; font-size: 15px; letter-spacing: 0.544px; text-indent: 34px; widows: 1; overflow-wrap: break-word !important;">注:172.16.1.0 255.255.255.0 //为方针收集的收集号及子网掩码
172.16.2.1 为下一跳的地址他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,也可用接口暗示,如ip route 172.16.1.0 255.255.255.0 serial 1/2(172.16.2.0所接的端口)
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255); text-align: left; overflow-wrap: break-word !important;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255); text-align: left; overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; font-size: 15px; letter-spacing: 0.544px; text-indent: 34px; widows: 1; overflow-wrap: break-word !important;">(config)# router rip //开启RIP协议进程
(config-router)# network 172.16.1.0 //申明本装备的直连网段信息
(config-router)# version 2 //开启RIP V2他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,可选为version 1(RIPV1)、version 2(RIPV2)
(config-router)# no auto-summary //封闭路由信息的自动汇总功用(只要在RIPV2支持)
(config)# router ospf //开启OSPF路由协议进程(针对1762他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,无需利用进程ID)
(config)# router ospf 1 //开启OSPF路由协议进程(针对2501他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,需要加OSPF进程ID)
(config-router)# network 192.168.1.0 0.0.0.255 area 0
//申明直连网段信息他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,并分派地区号(area0为主干地区)
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;">
portant; word-wrap: break-word !important; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(255, 255, 255); text-align: left; overflow-wrap: break-word !important;">portant; word-wrap: break-word !important; color: rgb(62, 62, 62); font-family: Optima-Regular, PingFangTC-light; font-size: 15px; letter-spacing: 0.544px; text-indent: 34px; widows: 1; overflow-wrap: break-word !important;">可以明显看出他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,三家号令大同小异他早就发现系统有个隐藏的缝隙私下花了好几个早晨优化了代码,实在华为与H3C加倍类似。 |
|