<?xml version="1.0" encoding="utf-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><title>阿国运维网</title><link>https://www.bjityw.com/</link><description>阿国运维网 北京IT运维网 阿国网络 北京运维网 李儒炽 网络运维 网络安全</description><item><title>交换机常用命令（H3C系列）</title><link>https://www.bjityw.com/?id=310</link><description>&lt;p style=&quot;visibility: visible;&quot;&gt;&lt;span leaf=&quot;&quot; style=&quot;visibility: visible;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;font-weight: bold; visibility: visible;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-wrap: wrap; text-align: center;&quot;&gt;&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot; style=&quot;text-indent: 33px; font-family: PingFangSC-Regular, Verdana, Arial, 微软雅黑, 宋体; font-size: 16px;&quot;&gt;&lt;span style=&quot;color: red; font-family: 微软雅黑, sans-serif;&quot;&gt;阿国运维网&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: red; text-indent: 33px; font-family: 微软雅黑, sans-serif;&quot;&gt;技术分享平台：&lt;/span&gt;&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot; style=&quot;text-indent: 33px; font-family: PingFangSC-Regular, Verdana, Arial, 微软雅黑, 宋体; font-size: 16px;&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑, sans-serif;&quot;&gt;桌面运维&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #3D464D; text-indent: 33px; font-family: 微软雅黑, sans-serif;&quot;&gt;、&lt;a href=&quot;https://www.bjityw.com/?cate=2&quot; target=&quot;_blank&quot;&gt;网络运维&lt;/a&gt;、&lt;a href=&quot;https://www.bjityw.com/?cate=1&quot; target=&quot;_blank&quot;&gt;系统运维&lt;/a&gt;、&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot;&gt;服务器运维(及云服务器)&lt;/a&gt;，&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot;&gt;精品软件分享&lt;/a&gt;、&lt;a href=&quot;https://weibo.com/aguowl&quot; target=&quot;_blank&quot;&gt;阿国网络&lt;/a&gt;、尽在&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot;&gt;北京运维网&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-wrap: wrap;&quot;&gt;&lt;img title=&quot;未标题-2022.jpg&quot; class=&quot;ue-image&quot; alt=&quot;未标题-2022.jpg&quot; src=&quot;https://www.bjityw.com/zb_users/upload/2022/04/202204221650597353338911.jpg&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;visibility: visible;&quot;&gt;&lt;span leaf=&quot;&quot; style=&quot;visibility: visible;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;font-weight: bold; visibility: visible;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/span&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;visibility: visible;&quot;&gt;&lt;span leaf=&quot;&quot; style=&quot;visibility: visible;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;font-weight: bold; visibility: visible;&quot;&gt;约定：&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;visibility: visible;&quot;&gt;&lt;span leaf=&quot;&quot; style=&quot;visibility: visible;&quot;&gt;a.带有//开头的行是注释，说明下面命令的用途&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;visibility: visible;&quot;&gt;&lt;span leaf=&quot;&quot; style=&quot;visibility: visible;&quot;&gt;b.&lt;span textstyle=&quot;&quot; style=&quot;font-weight: bold; visibility: visible;&quot;&gt;黑色&lt;/span&gt;为交换机自身的显示，不需要输入&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em; visibility: visible;&quot;&gt;&lt;span leaf=&quot;&quot; style=&quot;visibility: visible;&quot;&gt;c.&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold; visibility: visible;&quot;&gt;红色加粗&lt;/span&gt;的为命令，需要输入&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em; visibility: visible;&quot;&gt;&lt;span leaf=&quot;&quot; style=&quot;color: rgba(0, 0, 0, 0.9); font-size: 17px; font-family: mp-quote, &amp;quot;PingFang SC&amp;quot;, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, Arial, sans-serif; letter-spacing: 0.034em; visibility: visible;&quot;&gt;&lt;br style=&quot;visibility: visible;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em; visibility: visible;&quot;&gt;&lt;span leaf=&quot;&quot; style=&quot;visibility: visible;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;background-color: #D6D6D6; visibility: visible;&quot;&gt;（1）//进入配置视图&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em; visibility: visible;&quot;&gt;&lt;span leaf=&quot;&quot; style=&quot;visibility: visible;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;font-weight: bold; visibility: visible;&quot;&gt;&amp;lt;sw&amp;gt;&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold; visibility: visible;&quot;&gt;system-view&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em; visibility: visible;&quot;&gt;&lt;span leaf=&quot;&quot; style=&quot;visibility: visible;&quot;&gt;&lt;br style=&quot;visibility: visible;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em; visibility: visible;&quot;&gt;&lt;span leaf=&quot;&quot; style=&quot;visibility: visible;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;background-color: #D6D6D6; visibility: visible;&quot;&gt;（2）//修改交换机名称为sw1&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em; visibility: visible;&quot;&gt;&lt;span leaf=&quot;&quot; style=&quot;visibility: visible;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;font-weight: bold; visibility: visible;&quot;&gt;[sw]&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold; visibility: visible;&quot;&gt;sysname &amp;nbsp;sw1&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em; visibility: visible;&quot;&gt;&lt;span leaf=&quot;&quot; style=&quot;visibility: visible;&quot;&gt;&lt;br style=&quot;visibility: visible;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em; visibility: visible;&quot;&gt;&lt;span leaf=&quot;&quot; style=&quot;visibility: visible;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;background-color: #D6D6D6; visibility: visible;&quot;&gt;（3）//创建vlan10&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em; visibility: visible;&quot;&gt;&lt;span leaf=&quot;&quot; style=&quot;visibility: visible;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;font-weight: bold; visibility: visible;&quot;&gt;[sw]&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold; visibility: visible;&quot;&gt;vlan 10&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em; visibility: visible;&quot;&gt;&lt;span leaf=&quot;&quot; style=&quot;visibility: visible;&quot;&gt;&lt;br style=&quot;visibility: visible;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em; visibility: visible;&quot;&gt;&lt;span leaf=&quot;&quot; style=&quot;visibility: visible;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;background-color: #D6D6D6; visibility: visible;&quot;&gt;（4）//创建vlan10,11,12,13,14,15&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em; visibility: visible;&quot;&gt;&lt;span leaf=&quot;&quot; style=&quot;visibility: visible;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;font-weight: bold; visibility: visible;&quot;&gt;[sw]&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold; visibility: visible;&quot;&gt;vlan 10 to 15&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;background-color: #D6D6D6;&quot;&gt;（5）//配置三层vlan接口IP地址192.168.10.1 &amp;nbsp;掩码为255.255.255.0&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;font-weight: bold;&quot;&gt;[sw]&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold;&quot;&gt;interface vlan 10&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;font-weight: bold;&quot;&gt;[sw-Vlan-interface10]&lt;/span&gt;&lt;span textstyle=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold;&quot;&gt;ip address 192.168.10.1 255.255.255.0&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;font-weight: bold;&quot;&gt;[sw-Vlan-interface10]&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold;&quot;&gt;quit&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;background-color: #D6D6D6;&quot;&gt;（6）//配置物理接口ten-gigabitethernet1/0/1属于vlan 10&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;font-weight: bold;&quot;&gt;[sw]&amp;nbsp;&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold;&quot;&gt;interface ten-gigabitethernet 1/0/1&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;font-weight: bold;&quot;&gt;[sw-Ten-GigabitEthernet1/0/1]&lt;/span&gt;&lt;span textstyle=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold;&quot;&gt;port link-type access&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;font-weight: bold;&quot;&gt;[sw-Ten-GigabitEthernet1/0/1]&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold;&quot;&gt;&amp;nbsp;port access vlan 10&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;background-color: #D6D6D6;&quot;&gt;（7）//配置物理接口ten-gigabitethernet1/0/2属于trunk，并允许所有vlan通过&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot;&gt;[sw]&amp;nbsp;&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold;&quot;&gt;interface ten-gigabitethernet 1/0/2&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot;&gt;[sw-Ten-GigabitEthernet1/0/2]&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold;&quot;&gt;&amp;nbsp;port link-type trunk&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot;&gt;[sw-Ten-GigabitEthernet1/0/2]&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold;&quot;&gt;&amp;nbsp;port trunk permit vlan all&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;background-color: #D6D6D6;&quot;&gt;（8）//配置物理接口ten-gigabitethernet1/0/3属于trunk，并允许vlan 10 20通过，不允许vlan1通过&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot;&gt;[sw]&amp;nbsp;&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold;&quot;&gt;interface ten-gigabitethernet 1/0/3&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot;&gt;[sw-Ten-GigabitEthernet1/0/3]&amp;nbsp;&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold;&quot;&gt;port link-type trunk&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot;&gt;[sw-Ten-GigabitEthernet1/0/3]&amp;nbsp;&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold;&quot;&gt;port trunk permit vlan 10 20&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot;&gt;[sw-Ten-GigabitEthernet1/0/3]&amp;nbsp;&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold;&quot;&gt;undo port trunk permit vlan 1&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;background-color: #D6D6D6;&quot;&gt;（9）//配置静态路由，下一跳为192.168.1.1&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot;&gt;[sw]&amp;nbsp;&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold;&quot;&gt;ip route-static 0.0.0.0 0.0.0.0 192.168.1.1&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;background-color: #D6D6D6;&quot;&gt;（10）//保存配置&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot;&gt;[sw]&amp;nbsp;&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold;&quot;&gt;save force&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p data-pm-slice=&quot;2 2 []&quot; style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;background-color: #D6D6D6;&quot;&gt;（11）//查看交换机当前配置&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;font-weight: bold;&quot;&gt;[sw]&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold;&quot;&gt;display current-configuration&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;background-color: #D6D6D6;&quot;&gt;（12）//查看接口状态、所属vlan信息&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;font-weight: bold;&quot;&gt;[sw]&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold;&quot;&gt;display interface brief&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;background-color: #D6D6D6;&quot;&gt;（13）//查看 VLAN 信息	&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;font-weight: bold;&quot;&gt;[sw]&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold;&quot;&gt;display vlan&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;background-color: #D6D6D6;&quot;&gt;（14）//查看接口 IP&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;font-weight: bold;&quot;&gt;[sw]&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold;&quot;&gt;display ip interface brief&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;background-color: #D6D6D6;&quot;&gt;（15）//查看&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: rgba(0, 0, 0, 0.9); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, sans-serif; font-size: 16px; white-space: pre-wrap; background-color: #FFFFFF; float: none; display: inline !important;&quot; data-pm-slice=&quot;0 0 []&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;font-size: 14px; background-color: #D6D6D6; color: #000000;&quot;&gt;接口状态和报文统计信息&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;font-weight: bold;&quot;&gt;[sw]&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold;&quot;&gt;display interface link-info&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;background-color: #D6D6D6;&quot;&gt;（16）//查看路由表&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;font-weight: bold;&quot;&gt;[sw]&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold;&quot;&gt;display ip routing-table&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;background-color: #D6D6D6;&quot;&gt;（17）//查看 MAC 地址表	&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;font-weight: bold;&quot;&gt;[sw]&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold;&quot;&gt;display mac-address&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;----------交换机配置telnet -------------&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;background-color: #D6D6D6;&quot;&gt;（11）//开启telnet服务&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot;&gt;&amp;lt;H3C&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold;&quot;&gt;system-view&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot;&gt;[H3C]&amp;nbsp;&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold;&quot;&gt;telnet server enable&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;（12）//配置telnet认证方式为：用户名+密码认证&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot;&gt;[sw]&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold;&quot;&gt;&amp;nbsp;user-interface vty 0 4&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot;&gt;[sw-ui-vty0-4]&amp;nbsp;&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold;&quot;&gt;authentication-mode scheme&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot;&gt;[sw-ui-vty0-4]&amp;nbsp;&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold;&quot;&gt;quit&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;background-color: #D6D6D6;&quot;&gt;（13）// 创建本地用户admin,密码为Abcd@123，并授权，该用户可以telnet&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;font-weight: bold;&quot;&gt;[sw]&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold;&quot;&gt;&amp;nbsp;local-user admin class manage&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;font-weight: bold;&quot;&gt;[sw-luser-manage-admin]&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold;&quot;&gt;&amp;nbsp;password simple Abcd@123&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;font-weight: bold;&quot;&gt;[sw-luser-manage-admin]&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold;&quot;&gt;&amp;nbsp;service-type telnet&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;font-weight: bold;&quot;&gt;[sw-luser-manage-admin]&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold;&quot;&gt;authorization-attribute user-role level-15&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;font-weight: bold;&quot;&gt;[H3C-luser-manage-admin]&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold;&quot;&gt;&amp;nbsp;quit&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;background-color: #D6D6D6;&quot;&gt;（14）//配置交换机管理地址&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;font-weight: bold;&quot;&gt;[H3C]&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold;&quot;&gt;&amp;nbsp;interface Vlan-interface 1&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;font-weight: bold;&quot;&gt;[H3C-Vlan-interface1]&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold;&quot;&gt;&amp;nbsp;ip address 192.168.1.1 255.255.255.0&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;font-weight: bold;&quot;&gt;[H3C-Vlan-interface1]&amp;nbsp;&lt;/span&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #D92142; font-weight: bold;&quot;&gt;quit&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;接下来笔记本接到交换机的vlan1的端口，配置一个跟交换机192.168.1.x同网段的地址，就可以telnet 192.168.1.1测试了。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em; margin-bottom: 0px;&quot;&gt;&lt;span leaf=&quot;&quot; data-pm-slice=&quot;1 1 [&amp;quot;para&amp;quot;,{&amp;quot;tagName&amp;quot;:&amp;quot;p&amp;quot;,&amp;quot;attributes&amp;quot;:{},&amp;quot;namespaceURI&amp;quot;:&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;}]&quot;&gt;--------交换机配置telnet（结束） ---------&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Sun, 11 Oct 2026 20:49:54 +0800</pubDate></item><item><title>交换机常用命令（锐捷系列）</title><link>https://www.bjityw.com/?id=309</link><description>&lt;p style=&quot;text-wrap: wrap; text-align: center;&quot;&gt;&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot; style=&quot;text-indent: 33px; font-family: PingFangSC-Regular, Verdana, Arial, 微软雅黑, 宋体; font-size: 16px;&quot;&gt;&lt;span style=&quot;color: red; font-family: 微软雅黑, sans-serif;&quot;&gt;阿国运维网&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: red; text-indent: 33px; font-family: 微软雅黑, sans-serif;&quot;&gt;技术分享平台：&lt;/span&gt;&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot; style=&quot;text-indent: 33px; font-family: PingFangSC-Regular, Verdana, Arial, 微软雅黑, 宋体; font-size: 16px;&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑, sans-serif;&quot;&gt;桌面运维&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #3D464D; text-indent: 33px; font-family: 微软雅黑, sans-serif;&quot;&gt;、&lt;a href=&quot;https://www.bjityw.com/?cate=2&quot; target=&quot;_blank&quot;&gt;网络运维&lt;/a&gt;、&lt;a href=&quot;https://www.bjityw.com/?cate=1&quot; target=&quot;_blank&quot;&gt;系统运维&lt;/a&gt;、&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot;&gt;服务器运维(及云服务器)&lt;/a&gt;，&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot;&gt;精品软件分享&lt;/a&gt;、&lt;a href=&quot;https://weibo.com/aguowl&quot; target=&quot;_blank&quot;&gt;阿国网络&lt;/a&gt;、尽在&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot;&gt;北京运维网&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-wrap: wrap;&quot;&gt;&lt;img title=&quot;未标题-2022.jpg&quot; class=&quot;ue-image&quot; alt=&quot;未标题-2022.jpg&quot; src=&quot;https://www.bjityw.com/zb_users/upload/2022/04/202204221650597353338911.jpg&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;font-weight: bold;&quot;&gt;约定：&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;a.带有//开头的行是注释，说明下面命令的用途&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;b.黑色为交换机自身的显示，不需要输入&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;c.红色加粗的为命令，需要输入&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（1）//进入特权模式&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;Ruijie&amp;gt;&lt;/span&gt;&lt;span textstyle=&quot;&quot;&gt;enable&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（2）//进入全局配置视图&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;Ruijie&lt;/span&gt;&lt;a class=&quot;wx_topic_link&quot; topic-id=&quot;muh3wko5-kdljs4&quot; style=&quot;color: #576B95 !important;&quot; data-topic=&quot;1&quot; data-recommend=&quot;&quot; link-id=&quot;8103&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;#&lt;/span&gt;&lt;/a&gt;&lt;span textstyle=&quot;&quot;&gt;configure terminal&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（3）//修改交换机名称为sw1&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;Ruijie(config)&lt;/span&gt;&lt;a class=&quot;wx_topic_link&quot; topic-id=&quot;muh3wllq-qlk0fc&quot; style=&quot;color: #576B95 !important;&quot; data-topic=&quot;1&quot; data-recommend=&quot;&quot; link-id=&quot;8c94&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;#&lt;/span&gt;&lt;/a&gt;&lt;span textstyle=&quot;&quot;&gt;hostname sw1&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（4）//创建vlan10&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;Ruijie(config)&lt;/span&gt;&lt;a class=&quot;wx_topic_link&quot; topic-id=&quot;muh3wq7r-1ds9hf&quot; style=&quot;color: #576B95 !important;&quot; data-topic=&quot;1&quot; data-recommend=&quot;&quot; link-id=&quot;3c40&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;#&lt;/span&gt;&lt;/a&gt;&lt;span textstyle=&quot;&quot;&gt;vlan 10&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（5）//批量创建vlan10、11、12、13、14、15&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;Ruijie(config)&lt;/span&gt;&lt;a class=&quot;wx_topic_link&quot; topic-id=&quot;muh3wrjk-6t9nl5&quot; style=&quot;color: #576B95 !important;&quot; data-topic=&quot;1&quot; data-recommend=&quot;&quot; link-id=&quot;9228&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;#&lt;/span&gt;&lt;/a&gt;&lt;span textstyle=&quot;&quot;&gt;vlan range 10-15&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（6）//配置三层vlan接口IP地址192.168.10.1 掩码为255.255.255.0&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;Ruijie(config)#&lt;/span&gt;&lt;span textstyle=&quot;&quot;&gt;interface vlan 10&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;Ruijie(config-if-VLAN10)&lt;/span&gt;&lt;a class=&quot;wx_topic_link&quot; topic-id=&quot;muh3xyu1-ft05j7&quot; style=&quot;color: #576B95 !important;&quot; data-topic=&quot;1&quot; data-recommend=&quot;&quot; link-id=&quot;5be7&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;#&lt;/span&gt;&lt;/a&gt;&lt;span textstyle=&quot;&quot;&gt;ip address 192.168.10.1 255.255.255.0&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;Ruijie(config-if-VLAN 10)&lt;/span&gt;&lt;a class=&quot;wx_topic_link&quot; topic-id=&quot;muh3ybvj-60ps8f&quot; style=&quot;color: #576B95 !important;&quot; data-topic=&quot;1&quot; data-recommend=&quot;&quot; link-id=&quot;2cf7&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;#&lt;/span&gt;&lt;/a&gt;&lt;span textstyle=&quot;&quot;&gt;exit&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（7）//配置物理接口gigabitethernet0/1属于vlan 10&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;Ruijie(config)#&lt;/span&gt;&lt;span textstyle=&quot;&quot;&gt;interface gigabitEthernet 0/1&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;Ruijie(config-if-GigabitEthernet 0/1)#&lt;/span&gt;&lt;span textstyle=&quot;&quot;&gt;switchport mode access&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;Ruijie(config-if-GigabitEthernet 0/1)&lt;/span&gt;&lt;a class=&quot;wx_topic_link&quot; topic-id=&quot;muh3ynw9-wflp02&quot; style=&quot;color: #576B95 !important;&quot; data-topic=&quot;1&quot; data-recommend=&quot;&quot; link-id=&quot;a6ea&quot;&gt;&lt;span textstyle=&quot;&quot;&gt;#&lt;/span&gt;&lt;/a&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #FF2941;&quot;&gt;switchport&lt;/span&gt;&lt;span textstyle=&quot;&quot;&gt;&amp;nbsp;access vlan 10&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（8）//配置物理接口gigabitethernet0/2属于trunk，并允许所有vlan通过&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;Ruijie(config)#&lt;/span&gt;&lt;span textstyle=&quot;&quot;&gt;interface gigabitEthernet 0/2&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;Ruijie(config-if-GigabitEthernet 0/2)#&lt;/span&gt;&lt;span textstyle=&quot;&quot;&gt;switchport mode trunk&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;Ruijie(config-if-GigabitEthernet 0/2)&lt;/span&gt;&lt;a class=&quot;wx_topic_link&quot; topic-id=&quot;muh3yziz-99qija&quot; style=&quot;color: #576B95 !important;&quot; data-topic=&quot;1&quot; data-recommend=&quot;&quot; link-id=&quot;07a7&quot;&gt;&lt;span textstyle=&quot;&quot;&gt;#&lt;/span&gt;&lt;/a&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #FF2941;&quot;&gt;switchport&amp;nbsp;&lt;/span&gt;&lt;span textstyle=&quot;&quot;&gt;trunk allowed vlan all&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（9）//配置物理接口gigabitethernet0/3属于trunk，并允许vlan 10 20通过，不允许vlan1通过&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;Ruijie(config)#&lt;/span&gt;&lt;span textstyle=&quot;&quot;&gt;interface gigabitEthernet 0/3&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;Ruijie(config-if-GigabitEthernet 0/3)#&lt;/span&gt;&lt;span textstyle=&quot;&quot;&gt;switchport mode trunk&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;Ruijie(config-if-GigabitEthernet 0/3)#&lt;/span&gt;&lt;span textstyle=&quot;&quot;&gt;switchport trunk allowed vlan add 10,20&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;Ruijie(config-if-GigabitEthernet 0/3)&lt;/span&gt;&lt;a class=&quot;wx_topic_link&quot; topic-id=&quot;muh3zmjn-24ql1f&quot; style=&quot;color: #576B95 !important;&quot; data-topic=&quot;1&quot; data-recommend=&quot;&quot; link-id=&quot;41e0&quot;&gt;&lt;span textstyle=&quot;&quot;&gt;#&lt;/span&gt;&lt;/a&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #FF2941;&quot;&gt;switchport tru&lt;/span&gt;&lt;span textstyle=&quot;&quot;&gt;nk allowed vlan remove 1&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（10）//配置静态路由，下一跳为192.168.1.1&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;Ruijie(config)&lt;/span&gt;&lt;a class=&quot;wx_topic_link&quot; topic-id=&quot;muh3zqx2-cu8bzb&quot; style=&quot;color: #576B95 !important;&quot; data-topic=&quot;1&quot; data-recommend=&quot;&quot; link-id=&quot;92cb&quot;&gt;&lt;span textstyle=&quot;&quot;&gt;#&lt;/span&gt;&lt;/a&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #FF2941;&quot;&gt;ip&lt;/span&gt;&lt;span textstyle=&quot;&quot;&gt;&amp;nbsp;route 0.0.0.0 0.0.0.0 192.168.1.1&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（11）//保存配置&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;Ruijie&lt;/span&gt;&lt;a class=&quot;wx_topic_link&quot; topic-id=&quot;muh3zud8-o44vd9&quot; style=&quot;color: #576B95 !important;&quot; data-topic=&quot;1&quot; data-recommend=&quot;&quot; link-id=&quot;9a6d&quot;&gt;&lt;span textstyle=&quot;&quot;&gt;#&lt;/span&gt;&lt;/a&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #FF2941;&quot;&gt;write&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（12）//查看交换机当前配置&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;Ruijie&lt;/span&gt;&lt;a class=&quot;wx_topic_link&quot; topic-id=&quot;muh3zw6p-lnmuxy&quot; style=&quot;color: #576B95 !important;&quot; data-topic=&quot;1&quot; data-recommend=&quot;&quot; link-id=&quot;3d72&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;#&lt;/span&gt;&lt;/a&gt;&lt;span textstyle=&quot;&quot;&gt;show running-config&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（13）//查看接口状态、所属vlan信息&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;Ruijie&lt;/span&gt;&lt;a class=&quot;wx_topic_link&quot; topic-id=&quot;muh3zx55-yo8k19&quot; style=&quot;color: #576B95 !important;&quot; data-topic=&quot;1&quot; data-recommend=&quot;&quot; link-id=&quot;b29f&quot;&gt;&lt;span textstyle=&quot;&quot;&gt;#&lt;/span&gt;&lt;/a&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #FF2941;&quot;&gt;show&lt;/span&gt;&lt;span textstyle=&quot;&quot;&gt;&amp;nbsp;interface status&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（14）//查看 VLAN 信息&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;Ruijie&lt;/span&gt;&lt;a class=&quot;wx_topic_link&quot; topic-id=&quot;muh3zy8j-d9h73e&quot; style=&quot;color: #576B95 !important;&quot; data-topic=&quot;1&quot; data-recommend=&quot;&quot; link-id=&quot;3db9&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;#&lt;/span&gt;&lt;/a&gt;&lt;span textstyle=&quot;&quot;&gt;show vlan&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（15）//查看接口 IP&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;Ruijie&lt;/span&gt;&lt;a class=&quot;wx_topic_link&quot; topic-id=&quot;muh3zz0w-9d6k2g&quot; style=&quot;color: #576B95 !important;&quot; data-topic=&quot;1&quot; data-recommend=&quot;&quot; link-id=&quot;3824&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;#&lt;/span&gt;&lt;/a&gt;&lt;span textstyle=&quot;&quot;&gt;show ip interface brief&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（16）//查看接口状态和报文统计信息&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;Ruijie&lt;/span&gt;&lt;a class=&quot;wx_topic_link&quot; topic-id=&quot;muh40028-sfpvar&quot; style=&quot;color: #576B95 !important;&quot; data-topic=&quot;1&quot; data-recommend=&quot;&quot; link-id=&quot;5f38&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;#&lt;/span&gt;&lt;/a&gt;&lt;span textstyle=&quot;&quot;&gt;show interfaces&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（17）//查看路由表&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;Ruijie&lt;/span&gt;&lt;a class=&quot;wx_topic_link&quot; topic-id=&quot;muh400vk-b51otb&quot; style=&quot;color: #576B95 !important;&quot; data-topic=&quot;1&quot; data-recommend=&quot;&quot; link-id=&quot;0e56&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;#&lt;/span&gt;&lt;/a&gt;&lt;span textstyle=&quot;&quot;&gt;show ip route&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（18）//查看 &lt;span class=&quot;&quot; link-id=&quot;link-1791722191402-0.7504714180305371&quot;&gt;MAC 地址&lt;/span&gt;表&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;Ruijie&lt;/span&gt;&lt;a class=&quot;wx_topic_link&quot; topic-id=&quot;muh403x0-sv00k3&quot; style=&quot;color: #576B95 !important;&quot; data-topic=&quot;1&quot; data-recommend=&quot;&quot; link-id=&quot;6c8d&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;#&lt;/span&gt;&lt;/a&gt;&lt;span textstyle=&quot;&quot;&gt;show mac-address-table&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;----------交换机配置telnet -------------&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（19）//开启telnet服务&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;Ruijie(config)&lt;/span&gt;&lt;a class=&quot;wx_topic_link&quot; topic-id=&quot;muh4075o-bfmvzu&quot; style=&quot;color: #576B95 !important;&quot; data-topic=&quot;1&quot; data-recommend=&quot;&quot; link-id=&quot;9144&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;#&lt;/span&gt;&lt;/a&gt;&lt;span textstyle=&quot;&quot;&gt;enable service telnet-server&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（20）//配置telnet认证方式为：用户名+密码认证&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;Ruijie(config)#&lt;/span&gt;&lt;span textstyle=&quot;&quot;&gt;line vty 0 4&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;Ruijie(config-line)#&lt;/span&gt;&lt;span textstyle=&quot;&quot;&gt;login local&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;Ruijie(config-line)&lt;/span&gt;&lt;a class=&quot;wx_topic_link&quot; topic-id=&quot;muh408gz-uzh4u1&quot; style=&quot;color: #576B95 !important;&quot; data-topic=&quot;1&quot; data-recommend=&quot;&quot; link-id=&quot;a90e&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;#&lt;/span&gt;&lt;/a&gt;&lt;span textstyle=&quot;&quot;&gt;exit&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（21）//创建本地用户admin，密码为Abcd@123，并授权为最高权限，该用户可以telnet&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;Ruijie(config)&lt;/span&gt;&lt;a class=&quot;wx_topic_link&quot; topic-id=&quot;muh40aek-w28cxx&quot; style=&quot;color: #576B95 !important;&quot; data-topic=&quot;1&quot; data-recommend=&quot;&quot; link-id=&quot;6296&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;#&lt;/span&gt;&lt;/a&gt;&lt;span textstyle=&quot;&quot;&gt;username admin privilege 15 password Abcd@123&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（22）//配置交换机管理地址&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;Ruijie(config)#&lt;/span&gt;&lt;span textstyle=&quot;&quot;&gt;interface vlan 1&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;Ruijie(config-if-VLAN 1)#&lt;/span&gt;&lt;span textstyle=&quot;&quot;&gt;ip address 192.168.1.1 255.255.255.0&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;Ruijie(config-if-VLAN 1)&lt;/span&gt;&lt;a class=&quot;wx_topic_link&quot; topic-id=&quot;muh40bjb-vkzm1w&quot; style=&quot;color: #576B95 !important;&quot; data-topic=&quot;1&quot; data-recommend=&quot;&quot; link-id=&quot;fa8c&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;color: #000000;&quot;&gt;#&lt;/span&gt;&lt;/a&gt;&lt;span textstyle=&quot;&quot;&gt;exit&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;接下来笔记本接到交换机的vlan1的端口，配置一个跟交换机192.168.1.x&lt;span class=&quot;&quot; link-id=&quot;link-1791722191401-0.2984393347319235&quot;&gt;同网段&lt;/span&gt;的地址，就可以telnet 192.168.1.1测试了。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;--------交换机配置telnet（结束） ---------&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;font-weight: bold;&quot;&gt;说明：&lt;/span&gt;锐捷不同型号、不同软件版本在命令上会有细微差异，实际以设备上敲 ? 以看到的为准。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Sun, 11 Oct 2026 20:46:55 +0800</pubDate></item><item><title>交换机常用命令（华为系列）</title><link>https://www.bjityw.com/?id=308</link><description>&lt;p style=&quot;text-wrap: wrap; text-align: center;&quot;&gt;&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot; style=&quot;text-indent: 33px; font-family: PingFangSC-Regular, Verdana, Arial, 微软雅黑, 宋体; font-size: 16px;&quot;&gt;&lt;span style=&quot;color: red; font-family: 微软雅黑, sans-serif;&quot;&gt;阿国运维网&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: red; text-indent: 33px; font-family: 微软雅黑, sans-serif;&quot;&gt;技术分享平台：&lt;/span&gt;&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot; style=&quot;text-indent: 33px; font-family: PingFangSC-Regular, Verdana, Arial, 微软雅黑, 宋体; font-size: 16px;&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑, sans-serif;&quot;&gt;桌面运维&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #3D464D; text-indent: 33px; font-family: 微软雅黑, sans-serif;&quot;&gt;、&lt;a href=&quot;https://www.bjityw.com/?cate=2&quot; target=&quot;_blank&quot;&gt;网络运维&lt;/a&gt;、&lt;a href=&quot;https://www.bjityw.com/?cate=1&quot; target=&quot;_blank&quot;&gt;系统运维&lt;/a&gt;、&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot;&gt;服务器运维(及云服务器)&lt;/a&gt;，&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot;&gt;精品软件分享&lt;/a&gt;、&lt;a href=&quot;https://weibo.com/aguowl&quot; target=&quot;_blank&quot;&gt;阿国网络&lt;/a&gt;、尽在&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot;&gt;北京运维网&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-wrap: wrap;&quot;&gt;&lt;img title=&quot;未标题-2022.jpg&quot; class=&quot;ue-image&quot; alt=&quot;未标题-2022.jpg&quot; src=&quot;https://www.bjityw.com/zb_users/upload/2022/04/202204221650597353338911.jpg&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;&lt;span textstyle=&quot;&quot; style=&quot;font-weight: bold;&quot;&gt;约定：&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;a.带有//开头的行是注释，说明下面命令的用途&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;b.黑色为交换机自身的显示，不需要输入&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;c.红色加粗的为命令，需要输入&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（1）//进入系统视图&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&amp;lt;Huawei&amp;gt;&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;system-view&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（2）//修改交换机名称为sw1&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;[Huawei]&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;sysname sw1&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（3）//创建vlan10&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;[Huawei]&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;vlan 10&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（4）//批量创建vlan10、11、12、13、14、15&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;[Huawei]&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;vlan batch 10 to 15&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（5）//配置三层vlanif接口IP地址192.168.10.1 掩码为255.255.255.0&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;[Huawei]&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;interface vlanif 10&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;[Huawei-Vlanif10]&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;ip address 192.168.10.1 255.255.255.0&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;[Huawei-Vlanif10]&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;quit&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（6）//配置物理接口gigabitethernet0/0/1属于vlan 10&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;[Huawei]&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;interface gigabitethernet 0/0/1&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;[Huawei-GigabitEthernet0/0/1]&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;port link-type access&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;[Huawei-GigabitEthernet0/0/1]&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;port default vlan 10&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（7）//配置物理接口gigabitethernet0/0/2属于trunk，并允许所有vlan通过&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;[Huawei]&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;interface gigabitethernet 0/0/2&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;[Huawei-GigabitEthernet0/0/2]&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;port link-type trunk&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;[Huawei-GigabitEthernet0/0/2]&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;port trunk allow-pass vlan all&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（8）//配置物理接口gigabitethernet0/0/3属于trunk，并允许vlan 10 20通过，不允许vlan1通过&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;[Huawei]&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;interface gigabitethernet 0/0/3&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;[Huawei-GigabitEthernet0/0/3]&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;port link-type trunk&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;[Huawei-GigabitEthernet0/0/3]&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;port trunk allow-pass vlan 10 20&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;[Huawei-GigabitEthernet0/0/3]&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;undo port trunk allow-pass vlan 1&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（9）//配置静态路由，下一跳为192.168.1.1&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;[Huawei]&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;ip route-static 0.0.0.0 0.0.0.0 192.168.1.1&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（10）//保存配置（执行后会提示是否保存，输入y确认）&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&amp;lt;Huawei&amp;gt;&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;save&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（11）//查看交换机当前配置&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&amp;lt;Huawei&amp;gt;&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;display current-configuration&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（12）//查看接口状态、所属vlan信息&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&amp;lt;Huawei&amp;gt;&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;display interface brief&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（13）//查看 VLAN 信息&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&amp;lt;Huawei&amp;gt;&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;display vlan&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（14）//查看接口 IP&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&amp;lt;Huawei&amp;gt;&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;display ip interface brief&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（15）//查看接口状态和报文统计信息&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&amp;lt;Huawei&amp;gt;&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;display interface&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（16）//查看路由表&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&amp;lt;Huawei&amp;gt;&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;display ip routing-table&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（17）//查看 &lt;span class=&quot;&quot; link-id=&quot;link-1791722015289-0.519401882365412&quot;&gt;MAC 地址&lt;/span&gt;表&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&amp;lt;Huawei&amp;gt;&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;display mac-address&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;----------交换机配置telnet -------------&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（18）//开启telnet服务&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;[Huawei]&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;telnet server enable&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（19）//配置telnet认证方式为：用户名+密码认证&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;[Huawei]&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;user-interface vty 0 4&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;[Huawei-ui-vty0-4]&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;authentication-mode aaa&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;[Huawei-ui-vty0-4]&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;protocol inbound telnet&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;[Huawei-ui-vty0-4]&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;quit&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（20）//创建本地用户admin，密码为Abcd@123，授权为最高权限，服务类型为telnet&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;[Huawei]&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;aaa&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;[Huawei-aaa]&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;local-user admin password cipher Abcd@123&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;[Huawei-aaa]&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;local-user admin privilege level 15&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;[Huawei-aaa]&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;local-user admin service-type telnet&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;[Huawei-aaa]&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;quit&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;（21）//配置交换机管理地址&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;[Huawei]&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;interface vlanif 1&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;[Huawei-Vlanif1]&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;ip address 192.168.1.1 255.255.255.0&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;[Huawei-Vlanif1]&lt;/strong&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;quit&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color:#ff0000;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;接下来笔记本接到交换机的vlan1的端口，配置一个跟交换机192.168.1.x&lt;span class=&quot;&quot; link-id=&quot;link-1791722015287-0.3285669699003565&quot;&gt;同网段&lt;/span&gt;的地址，就可以telnet 192.168.1.1测试了。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span leaf=&quot;&quot;&gt;--------交换机配置telnet（结束） ---------&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Sun, 11 Oct 2026 20:31:32 +0800</pubDate></item><item><title>一篇文章带你学会NAT配置</title><link>https://www.bjityw.com/?id=307</link><description>&lt;p style=&quot;text-wrap: wrap; text-align: center;&quot;&gt;&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot; style=&quot;text-indent: 33px; font-family: PingFangSC-Regular, Verdana, Arial, 微软雅黑, 宋体; font-size: 16px;&quot;&gt;&lt;span style=&quot;color: red; font-family: 微软雅黑, sans-serif;&quot;&gt;阿国运维网&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: red; text-indent: 33px; font-family: 微软雅黑, sans-serif;&quot;&gt;技术分享平台：&lt;/span&gt;&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot; style=&quot;text-indent: 33px; font-family: PingFangSC-Regular, Verdana, Arial, 微软雅黑, 宋体; font-size: 16px;&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑, sans-serif;&quot;&gt;桌面运维&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #3D464D; text-indent: 33px; font-family: 微软雅黑, sans-serif;&quot;&gt;、&lt;a href=&quot;https://www.bjityw.com/?cate=2&quot; target=&quot;_blank&quot;&gt;网络运维&lt;/a&gt;、&lt;a href=&quot;https://www.bjityw.com/?cate=1&quot; target=&quot;_blank&quot;&gt;系统运维&lt;/a&gt;、&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot;&gt;服务器运维(及云服务器)&lt;/a&gt;，&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot;&gt;精品软件分享&lt;/a&gt;、&lt;a href=&quot;https://weibo.com/aguowl&quot; target=&quot;_blank&quot;&gt;阿国网络&lt;/a&gt;、尽在&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot;&gt;北京运维网&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-wrap: wrap;&quot;&gt;&lt;img title=&quot;未标题-2022.jpg&quot; class=&quot;ue-image&quot; alt=&quot;未标题-2022.jpg&quot; src=&quot;https://www.bjityw.com/zb_users/upload/2022/04/202204221650597353338911.jpg&quot;&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0pt; margin-bottom: 0pt; text-align: justify; margin-left: 0pt; text-indent: 0pt; line-height: normal; font-size: 12pt; font-family: Calibri;&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;NAT（Network Address Translation，网络地址转换），是一种在&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;t t-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;ip&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;t t-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;数据包经过路由器或防火&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;t t-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;墙时，修改其源&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;t t-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;ip&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;t t-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;或目的&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;t t-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;ip&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;t t-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;地址的技术&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;t t-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;。&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;t t-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;本期通过实例来学习NAT的应用于配置。&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0pt; margin-bottom: 0pt; text-align: justify; margin-left: 0pt; text-indent: 0pt; line-height: normal; font-size: 12pt; font-family: Calibri;&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;一、&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;t t-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;NAT简单介绍&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0pt; margin-bottom: 0pt; text-align: justify; margin-left: 0pt; text-indent: 0pt; line-height: normal; font-size: 12pt; font-family: Calibri;&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;NAT的诞生主要解决以下问题：&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0pt; margin-bottom: 0pt; text-align: justify; margin-left: 0pt; text-indent: 0pt; line-height: normal; font-size: 12pt; font-family: Calibri;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: 宋体; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; color: #0000FF;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;缓解 IPv4 地址枯竭：&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;t t-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;IPv4 地址总量有限（约 43 亿个），无法为每台设备分配公网地址。NAT让多台内网设备共享少量&lt;span class=&quot;&quot;&gt;公网ip&lt;/span&gt;上网，极大节省了公网地址资源。&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0pt; margin-bottom: 0pt; text-align: justify; margin-left: 0pt; text-indent: 0pt; line-height: normal; font-size: 12pt; font-family: Calibri;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: 宋体; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; color: #0000FF;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;灵活组网，降低管理成本：&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt; font-family: 宋体; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;企业或家庭内部可自由规划&lt;span class=&quot;&quot;&gt;私有地址&lt;/span&gt;，无需向ISP申请大量公网ip；更换外网线路时，内网地址也无需改动。&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0pt; margin-bottom: 0pt; text-align: justify; line-height: normal; font-size: 12pt; font-family: Calibri; margin-left: 0pt; text-indent: 0pt;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;二、&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt; font-family: 宋体; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;常见&lt;span class=&quot;&quot;&gt;NAT模式&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0pt; margin-bottom: 0pt; text-align: justify; margin-left: 0pt; text-indent: 0pt; line-height: normal; font-size: 12pt; font-family: Calibri;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: 宋体; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;1、&lt;span class=&quot;&quot;&gt;Easy-IP&lt;/span&gt;（最常用，接口地址复用）&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0pt; margin-bottom: 0pt; text-align: justify; margin-left: 0pt; text-indent: 0pt; line-height: normal; font-size: 12pt; font-family: Calibri;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: 宋体; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;利用路由器出接口的公网IP地址直接做NAT转换，适合只有一个公网IP且内网主机需要上网的场景。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0pt; margin-bottom: 0pt; text-align: justify; margin-left: 0pt; text-indent: 0pt; line-height: normal; font-size: 12pt; font-family: Calibri;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: 宋体; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;2、&lt;span class=&quot;&quot;&gt;地址池&lt;/span&gt;NAT（多对多/多对一）&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0pt; margin-bottom: 0pt; text-align: justify; margin-left: 0pt; text-indent: 0pt; line-height: normal; font-size: 12pt; font-family: Calibri;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: 宋体; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;当有多个公网ip时，通过配置公网地址池进行转换。如果地址池中地址数量少于内网主机数，通常配合端口转换（PAT）使用。&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0pt; margin-bottom: 0pt; text-align: justify; margin-left: 0pt; text-indent: 0pt; line-height: normal; font-size: 12pt; font-family: Calibri;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;3、&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;t t-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;静态NAT（一对一）&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0pt; margin-bottom: 0pt; text-align: justify; margin-left: 0pt; text-indent: 0pt; line-height: normal; font-size: 12pt; font-family: Calibri;&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;实现私网ip与公网ip的固定映射，常用于服务器发布或特殊主机需要固定公网身份的场景，由于并不能节省公网ip，所以现在很少使用。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0pt; margin-bottom: 0pt; text-align: justify; margin-left: 0pt; text-indent: 0pt; line-height: normal; font-size: 12pt; font-family: Calibri;&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;4、NAT Server（端口映射）&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0pt; margin-bottom: 0pt; text-align: justify; margin-left: 0pt; text-indent: 0pt; line-height: normal; font-size: 12pt; font-family: Calibri;&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;主要用于将内网服务器（如Web、FTP）的特定端口暴露给公网，是静态NAT的一种特殊应用形式。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; font-family: Calibri; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;三、&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt; font-family: 宋体; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;实验拓扑图及需求介绍&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; font-family: 宋体; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://www.bjityw.com/zb_users/upload/2026/09/202609271790513123199295.png&quot; title=&quot;fcf56d80-d5f1-456e-ae26-b8a78484f910.png&quot; alt=&quot;fcf56d80-d5f1-456e-ae26-b8a78484f910.png&quot; width=&quot;668&quot; height=&quot;277&quot; style=&quot;width: 668px; height: 277px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;简单需求：&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;PC1采用easy-ip方式上网&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;PC2采用NAT地址池方式，地址池155.1.1.15-155.1.1.19&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;server1将&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;FTP&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;端口&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;21&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;映射&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;到21212&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;，使外部用户client可以访问&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;PC1属于vlan10，且不能访问server&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;PC2属于vlan20，可以访问server&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;server属于vlan100&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;SW1与R1互联使用vlan1001:155.1.1.1/24&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;Client分配地址101.1.1.1/24，网关101.1.1.2&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;line-height: normal;font-size: 16px;font-family: Calibri;margin-left: 0;text-indent: 0&quot;&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;四、&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;分解步骤&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px;font-weight: bold&quot;&gt;1、配置vlan、地址&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;color: #FF0000&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;SW1 vlan和接口地址配置：&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;[SW1]vlan batch 10 20 100 1001&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;interface Vlanif10&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;ip address 10.1.10.254 255.255.255.0&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;interface Vlanif20&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;ip address 10.1.20.254 255.255.255.0&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;interface Vlanif100&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;ip address 172.16.100.254 255.255.255.0&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;interface Vlanif1001&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;ip address 155.1.1.1 255.255.255.0&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;color: #FF0000&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;SW1配置接口：&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;interface GigabitEthernet0/0/1&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;port link-type access&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;port default vlan 10&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;interface GigabitEthernet0/0/2&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;port link-type access&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;port default vlan 20&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;interface GigabitEthernet0/0/20&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;port link-type access&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;port default vlan 100&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;interface GigabitEthernet0/0/24&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;port link-type access&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;port default vlan 1001&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;查看一下接口ip地址配置情况：&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;[SW1]dis ip int br&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://www.bjityw.com/zb_users/upload/2026/09/202609271790513181876091.png&quot; title=&quot;f720a2bb-8e70-4434-9623-f626748e1d2a.png&quot; alt=&quot;f720a2bb-8e70-4434-9623-f626748e1d2a.png&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: 宋体; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;接口ip已经正常且全部up。&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;color: #FF0000&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;R1接口配置：&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;interface GigabitEthernet0/0/1&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;ip address 155.1.1.2 255.255.255.0 &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;interface GigabitEthernet0/0/0&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;ip address 101.1.1.2 255.255.255.0 &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;查看一下配置：&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;[R1]dis ip interface brief &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://www.bjityw.com/zb_users/upload/2026/09/202609271790513222359607.png&quot; title=&quot;67c5be4f-97f5-4365-b00c-8faf05b246de.png&quot; alt=&quot;67c5be4f-97f5-4365-b00c-8faf05b246de.png&quot;&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;line-height: normal;font-size: 16px;font-family: Calibri;margin-left: 0;text-indent: 0&quot;&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;font-weight: bold&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;2、&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;font-weight: bold&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;解决PC1访问外部client，采用easy-ip：&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;color: #FF0000&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;R1配置：&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;[R1]acl 2000&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;color: #30C0B4&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; #新建基本acl，编号2000&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;[R1-acl-basic-2000]rule 5 permit source 10.1.10.2 0.0.0.255&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;t t-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;color: #30C0B4&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;#配置所需要转换的内部地址或者地址段，这里给easy-ip使用，所以只需匹配PC1网段即可，这里使用的是通配符，如果大家不知道通配符或者忘记了通配符怎么计算，查阅文章https://mp.weixin.qq.com/s/9wA96acGDWf90qgFom0FSQ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;[R1]int g0/0/1&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;color: #30C0B4&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;#进入出接口&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;[R1-GigabitEthernet0/0/1]nat outbound 2000&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;color: #30C0B4&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; #接口下应用acl&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;[R1]ip route-static 10.1.10.0 255.255.255.0 155.1.1.1 &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;color: #30C0B4&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; #配置回程路由&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;color: #FF0000&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;SW1配置默认路由：&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;[SW1]ip route-static 0.0.0.0 0.0.0.0 155.1.1.2&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;检查一下PC1到client是否可以通信：&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://www.bjityw.com/zb_users/upload/2026/09/202609271790513253124176.png&quot; title=&quot;8ec07109-2ca7-4cab-a1e9-01d513a8e25d.png&quot; alt=&quot;8ec07109-2ca7-4cab-a1e9-01d513a8e25d.png&quot;&gt;&lt;/p&gt;&lt;p&gt;看一下NAT的会话：&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://www.bjityw.com/zb_users/upload/2026/09/202609271790513288551794.png&quot; title=&quot;d4a018b4-1da2-4583-9870-33efc50b83a0.png&quot; alt=&quot;d4a018b4-1da2-4583-9870-33efc50b83a0.png&quot;&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0pt; margin-bottom: 0pt; text-align: justify; line-height: normal; font-size: 12pt; font-family: Calibri; margin-left: 0pt; text-indent: 0pt;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-weight: bold;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;3、&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt; font-family: 宋体; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-weight: bold;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;解决PC2访问外部client，采用nat地址池的方式：&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0pt; margin-bottom: 0pt; text-align: justify; margin-left: 0pt; text-indent: 0pt; line-height: normal; font-size: 12pt; font-family: Calibri;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; color: #FF0000;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;R1配置：&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0pt; margin-bottom: 0pt; text-align: justify; margin-left: 0pt; text-indent: 0pt; line-height: normal; font-size: 12pt; font-family: Calibri;&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;[R1]nat address-group 1 155.1.1.15 155.1.1.19 &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;t t-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; color: #30C0B4;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;#配置nat地址池&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;[R1]acl 2001&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;#配置acl，编号2001&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;[R1-acl-basic-2001]rule 3 permit source 10.1.20.0 0.0.0.255&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;color: #30C0B4&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;#配置要转换的地址段&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;interface GigabitEthernet0/0/1&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;color: #30C0B4&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;#出接口应用&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;t t-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;nat outbound 2001 address-group 1&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;t t-variant-alternates: normal&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;[R1]ip route-static 10.1.20.0 255.255.255.0 155.1.1.1&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;color: #30C0B4&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; #同样配置回程路由&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;color: #4874CB&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;这里还应该在SW1配置默认路由，但是我们上一步已经配置过了，大家在单独使用的时候切记默认路由别忘记。&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;color: windowtext&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;我们看一下PC2是否可以访问client：&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://www.bjityw.com/zb_users/upload/2026/09/202609271790513331946118.png&quot; title=&quot;3ff5b857-5815-4b1e-9e5a-a47948a316c2.png&quot; alt=&quot;3ff5b857-5815-4b1e-9e5a-a47948a316c2.png&quot;&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0pt; margin-bottom: 0pt; text-align: justify; margin-left: 0pt; text-indent: 0pt; line-height: normal; font-size: 12pt; font-family: Calibri;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: 宋体; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; color: windowtext;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;看下NAT地址池情况：&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0pt; margin-bottom: 0pt; text-align: justify; margin-left: 0pt; text-indent: 0pt; line-height: normal; font-size: 12pt; font-family: Calibri;&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;[R1]dis nat outbound address-group 1&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://www.bjityw.com/zb_users/upload/2026/09/202609271790513366308197.png&quot; title=&quot;4b0cbc5d-135b-4992-8426-76835821987b.png&quot; alt=&quot;4b0cbc5d-135b-4992-8426-76835821987b.png&quot;&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;line-height: normal;font-size: 16px;font-family: Calibri;margin-left: 0;text-indent: 0&quot;&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;font-weight: bold&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;4、&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;font-weight: bold&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;解决server端口映射问题：&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;color: #FF0000&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;R1配置：&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;interface GigabitEthernet0/0/1&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;t t-variant-alternates: normal&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;#进入出接口&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;[R1-GigabitEthernet0/0/1]nat&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;t t-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;t t-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;server protocol tcp global current-interface 21 inside 172.16.100.1 21&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;t t-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;#此条命令的意思是端口映射服务， &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;color: #75BD42&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;protocol tcp&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;-协议是tcp，&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;color: #75BD42&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;global current-interface 21&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;-公网侧的地址采用当前接口地址，端口为21，&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;color: #75BD42&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;i&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;color: #75BD42&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;nside 172.16.100.1 21&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;-内部地址以及端口21&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;ip route-static 172.16.100.0 255.255.255.0 155.1.1.1&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;t t-variant-alternates: normal&quot;&gt;&lt;span style=&quot;t t-variant-alternates: normal&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;#配置回程路由&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0;margin-bottom: 0;text-align: justify;margin-left: 0;text-indent: 0;line-height: normal;font-size: 16px;font-family: Calibri&quot;&gt;&lt;span style=&quot;font-size: 15px;font-family: 宋体;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;配置一下server的FTP服务：&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://www.bjityw.com/zb_users/upload/2026/09/202609271790513400136864.png&quot; title=&quot;42c9b196-ec6e-43ed-9e04-2e4fa2d78dd5.png&quot; alt=&quot;42c9b196-ec6e-43ed-9e04-2e4fa2d78dd5.png&quot;&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0pt; margin-bottom: 0pt; text-align: justify; margin-left: 0pt; text-indent: 0pt; line-height: normal; font-size: 12pt; font-family: Calibri;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: 宋体; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;第一步点击FTP srver，第二步选择FTP的目录，我们为了测试效果在目录下放了一个“NAT端口映射实例测试.txt”的文本，第三步点击启动。&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0pt; margin-bottom: 0pt; text-align: justify; margin-left: 0pt; text-indent: 0pt; line-height: normal; font-size: 12pt; font-family: Calibri;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: 宋体; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;然后再client上面访问一下试试看：&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://www.bjityw.com/zb_users/upload/2026/09/202609271790513434237625.png&quot; title=&quot;551e5011-c8e9-467c-86b5-f2fc19a92e4f.png&quot; alt=&quot;551e5011-c8e9-467c-86b5-f2fc19a92e4f.png&quot;&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0pt; margin-bottom: 0pt; text-align: justify; margin-left: 0pt; text-indent: 0pt; line-height: normal; font-size: 12pt; font-family: Calibri;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: 宋体; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;可以看到，已经连接到的FTP server，并且可以看到我们提前创建的txt文件。&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0pt; margin-bottom: 0pt; text-align: justify; margin-left: 0pt; text-indent: 0pt; line-height: normal; font-size: 12pt; font-family: Calibri;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: 宋体; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;本期内容到此结束，欢迎大家留言讨论。&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;</description><pubDate>Sun, 27 Sep 2026 20:42:40 +0800</pubDate></item><item><title>Hybrid混合链路</title><link>https://www.bjityw.com/?id=306</link><description>&lt;p style=&quot;text-wrap: wrap; text-align: center;&quot;&gt;&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot; style=&quot;text-indent: 33px; font-family: PingFangSC-Regular, Verdana, Arial, 微软雅黑, 宋体; font-size: 16px;&quot;&gt;&lt;span style=&quot;color: red; font-family: 微软雅黑, sans-serif;&quot;&gt;阿国运维网&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: red; text-indent: 33px; font-family: 微软雅黑, sans-serif;&quot;&gt;技术分享平台：&lt;/span&gt;&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot; style=&quot;text-indent: 33px; font-family: PingFangSC-Regular, Verdana, Arial, 微软雅黑, 宋体; font-size: 16px;&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑, sans-serif;&quot;&gt;桌面运维&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #3D464D; text-indent: 33px; font-family: 微软雅黑, sans-serif;&quot;&gt;、&lt;a href=&quot;https://www.bjityw.com/?cate=2&quot; target=&quot;_blank&quot;&gt;网络运维&lt;/a&gt;、&lt;a href=&quot;https://www.bjityw.com/?cate=1&quot; target=&quot;_blank&quot;&gt;系统运维&lt;/a&gt;、&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot;&gt;服务器运维(及云服务器)&lt;/a&gt;，&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot;&gt;精品软件分享&lt;/a&gt;、&lt;a href=&quot;https://weibo.com/aguowl&quot; target=&quot;_blank&quot;&gt;阿国网络&lt;/a&gt;、尽在&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot;&gt;北京运维网&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-wrap: wrap;&quot;&gt;&lt;img title=&quot;未标题-2022.jpg&quot; class=&quot;ue-image&quot; alt=&quot;未标题-2022.jpg&quot; src=&quot;https://www.bjityw.com/zb_users/upload/2022/04/202204221650597353338911.jpg&quot;&gt;&lt;/p&gt;&lt;p&gt;Hybrid:具有trunk和access特点，相当于hybrid=trunk+access&lt;/p&gt;&lt;p&gt;用hybrid替换access:需要手工配置：&lt;/p&gt;&lt;p&gt;1、进入交换机vlan打标签pvid&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: wrap;&quot;&gt;2、出交换机vlan脱标签&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: wrap;&quot;&gt;用hybrid替换trunk:需要手工配置：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: wrap;&quot;&gt;1、出交换机vlan需要添加tagged&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: wrap;&quot;&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://www.bjityw.com/zb_users/upload/2026/09/202609241790217877299423.png&quot; title=&quot;4356f5bf-add4-46e7-b925-235def83f2f5.png&quot; alt=&quot;4356f5bf-add4-46e7-b925-235def83f2f5.png&quot; width=&quot;741&quot; height=&quot;358&quot; style=&quot;width: 741px; height: 358px;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;span&gt;该拓扑需求：&lt;/span&gt;&lt;p&gt;&lt;span&gt;实现不同vlan间pc不可互访，而不同vlan的pc均可访问服务器&lt;/span&gt;&lt;span&gt;如果用access和trunk实现不了该功能，可配置hybrid&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://www.bjityw.com/zb_users/upload/2026/09/202609241790217964541822.png&quot; title=&quot;5322c0b0-1160-4049-8183-346aae009fe6.png&quot; alt=&quot;5322c0b0-1160-4049-8183-346aae009fe6.png&quot; width=&quot;683&quot; height=&quot;675&quot; style=&quot;width: 683px; height: 675px;&quot;&gt;&lt;span style=&quot;text-wrap: wrap;&quot;&gt;&lt;/span&gt;&lt;br&gt;&lt;/p&gt;</description><pubDate>Thu, 24 Sep 2026 10:42:33 +0800</pubDate></item><item><title>IP地址、子网掩码、及ip段-如192.168.0.1/24是什么意思?</title><link>https://www.bjityw.com/?id=305</link><description>&lt;p style=&quot;text-wrap: wrap; text-align: center;&quot;&gt;&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot; style=&quot;text-indent: 33px; font-family: PingFangSC-Regular, Verdana, Arial, 微软雅黑, 宋体; font-size: 16px;&quot;&gt;&lt;span style=&quot;color: red; font-family: 微软雅黑, sans-serif;&quot;&gt;阿国运维网&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: red; text-indent: 33px; font-family: 微软雅黑, sans-serif;&quot;&gt;技术分享平台：&lt;/span&gt;&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot; style=&quot;text-indent: 33px; font-family: PingFangSC-Regular, Verdana, Arial, 微软雅黑, 宋体; font-size: 16px;&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑, sans-serif;&quot;&gt;桌面运维&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #3D464D; text-indent: 33px; font-family: 微软雅黑, sans-serif;&quot;&gt;、&lt;a href=&quot;https://www.bjityw.com/?cate=2&quot; target=&quot;_blank&quot;&gt;网络运维&lt;/a&gt;、&lt;a href=&quot;https://www.bjityw.com/?cate=1&quot; target=&quot;_blank&quot;&gt;系统运维&lt;/a&gt;、&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot;&gt;服务器运维(及云服务器)&lt;/a&gt;，&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot;&gt;精品软件分享&lt;/a&gt;、&lt;a href=&quot;https://weibo.com/aguowl&quot; target=&quot;_blank&quot;&gt;阿国网络&lt;/a&gt;、尽在&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot;&gt;北京运维网&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-wrap: wrap;&quot;&gt;&lt;img title=&quot;未标题-2022.jpg&quot; class=&quot;ue-image&quot; alt=&quot;未标题-2022.jpg&quot; src=&quot;https://www.bjityw.com/zb_users/upload/2022/04/202204221650597353338911.jpg&quot;&gt;&lt;/p&gt;&lt;p&gt;很多朋友有个情况，就是关于少量点位ip地址知道怎么分配，而对于点位比较多的项目，ip地址的分配就容易出错，这还是源于对于ip地址的一些基础了解不深，今天我们来看下。&lt;/p&gt;&lt;p&gt;&lt;strong&gt;一、ip地址&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;IP地址被用来给Internet上的电脑一个编号。大家日常见到的情况是每台联网的PC上都需要有IP地址，才能正常通信。我们可以把“个人电脑”比作“一台电话”，那么“IP地址”就相当于“电话号码”，而Internet中的路由器，就相当于电信局的“程控式交换机”。 &lt;/p&gt;&lt;p&gt;&lt;br&gt;IP地址是一个32位的二进制数，通常被分割为4个“8位二进制数”（也就是4个字节）。&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;当然还有一些特殊类别的IP，D类 以1110开始 用于组播 ，E类 以11110开始 用于科研保留。&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;二、子网掩码&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;子网掩码又叫网络掩码、地址掩码。它的作用就是用来指明某个IP地址哪些标识位是主机所在的子网，也就是网络ID部分，哪些标识位为主机的掩码，也就是主机ID部分。其实也就是将IP地址划分出网络地址和主机地址。例如。对于C类IP来说，它的子网掩码就是255.255.255.0，前3个字节为网络位，最后一个字节为主机位。&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;三、网关&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;大家都知道，从一件房走到另一间房，必须经过一扇门。同样，从一个网络向另一个网络发送信息，也需要经过一个“关口”，这个“关口”也就是网关，网关就是一个从一个网络到另一个网络之间的一个网络关卡。&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;网关又称为网络间的连接器，协议转换器。默认网关在网络层实现网络的互联，是最复杂的网络互联设备，仅用于两个高层协议不同的网络互联。网关即可以用于广域网互联，也可用与局域网互联。网关实质上是一个网络通向另一个网络的IP地址，也就是那道“关卡”。比如有一种情况：一个网络A的IP地址范围为“192.168.5.1-192.168.5.255”另一个网络为“192.168.10.1-192.168.10.255”。这两个网络不在同一个子网中，如果没有路由器，这两个网络是不能通讯的，要实现网络之间的通讯，就必须通过网关实现。其大致过程如下：网络A中的主机如果向B网络中的主机发送信息，就会将数据包转发给自己的网关，再有网关发送给网络B的网关，网络B的网关再转发给网络B的某个主机。&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;所以说，只有设置好网关的IP地址，TCP/IP协议才能实现不同网络之间的相互通信。那么这个IP地址是哪台机器的IP地址呢？网关的IP地址是具有路由功能的设备的IP地址，具有路由功能的设备有路由器、启用了路由协议的服务器（实质上相当于一台路由器）、代理服务器（也相当于一台路由器）。&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;四、广播地址&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;广播地址，顾名思义就是向周围所有的工作站进行发送的一个地址。&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;那么广播地址又是怎么表示的呢？其实，广播地址将IP地址中的主机标识段设置为全1，例如对于，192.168.1.0网络，其广播地址就是192.168.1.255（255 即为2 进制的11111111），当发送一个192.168.1.255的分组时，它将被分发给该网段上的所有计算机。&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;五、网络地址的求法&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;网络地址是二进制之间的运算，需要知道IP地址和子网掩码，然后得到他们的二进制，将IP地址和子网掩码的二进制进行与操作，结果为网络地址(主机位全为0)。&lt;/p&gt;&lt;p&gt;例如，一个主机的ip地址202.112.14.137，子网掩码为255.255.255.224，求网络地址&lt;/p&gt;&lt;p&gt;IP地址&amp;amp;子网掩码&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;将得到的ip转化为10进制也就是：202.112.14.128。&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;根据每个网络的主机数量进行子网地址的规划和计算子网掩码&lt;/p&gt;&lt;p&gt;这也可按上述原则进行计算。&lt;/p&gt;&lt;p&gt;比如一个子网有10台主机，那么对于这个子网需要的IP地址是 &lt;/p&gt;&lt;p&gt;10＋1＋1＋1＝13 &lt;/p&gt;&lt;p&gt;注意：加的第一个1是指这个网络连接时所需的网关地址，接着的两个1分别是指网络地址和广播地址。 &lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;因为13小于16（16等于2的4次方），所以主机位为4位。&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;而 256－16＝240 所以该子网掩码为255.255.255.240。&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;如果一个子网有14台主机，不少人常犯的错误是：依然分配具有16个地址空间的子网，而忘记了给网关分配地址。这样就错误了，因为： &lt;/p&gt;&lt;p&gt;14＋1＋1＋1＝17 &lt;/p&gt;&lt;p&gt;17.大于16，所以我们只能分配具有32个地址（32等于2的5次方）空间的子网。这时子网掩码为：255.255.255.224&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;206 110 4 0/18被划分成16个子网，每个子网掩码？&lt;/p&gt;&lt;p&gt;（划分成16个子网，根据子网掩码/18就表示有18个1，就要从的IP地址的主机位借4位来用作网络位！）&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;子网掩码是255.255.252.0&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;每个子网可以容纳的主机数是1024台。&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;下面详细解答：&lt;/p&gt;&lt;p&gt;206.110.1.0 /18 由最后的那个/18，我们可以知道这个IP已经规定了它的网络位是18位，它默认的子网掩码就是11111111.11111111.11 | 000000.00000000(其中1代表网络位,0代表主机位)&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;可以看出我们可以操作的位数就是后面的14个0，也就是说我们可以在地面划分出几位作为子网的网络位，进而来划分子网。要求是切分成16个子网，我们知道2的4次方刚好等于16，这就说明子网网络位的位数是4位，那14-4=10就是子网的主机位。所以上面我写的那串二进制就可以变成：11111111.11111111.111111 | 00.00000000(其中1代表网络位,0代表主机位)&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;六、ip段/数字-如192.168.0.1/24是什么意思？&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;ip段/数字-如192.168.0.1/24是什么意思?&lt;/p&gt;&lt;p&gt;后面这个数字标示了我们的网络号的位数，也就是子网掩码中前多少号为1&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;129.168.1.1 /24 这个24就是告诉我们网络号是24位&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;也就相当于告诉我们了&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;子网掩码是：11111111 11111111 11111111 00000000&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;即：255.255.255.0&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;172.16.10.33/27 中的/27&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;也就是说子网掩码是255.255.255.224 即27个全1&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;11111111 11111111 11111111 11100000&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;</description><pubDate>Thu, 24 Sep 2026 10:39:23 +0800</pubDate></item><item><title>自己整理的华为网络设备配置命令</title><link>https://www.bjityw.com/?id=304</link><description>&lt;p style=&quot;text-wrap: wrap; text-align: center;&quot;&gt;&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot; style=&quot;text-indent: 33px; font-family: PingFangSC-Regular, Verdana, Arial, 微软雅黑, 宋体; font-size: 16px;&quot;&gt;&lt;span style=&quot;color: red; font-family: 微软雅黑, sans-serif;&quot;&gt;阿国运维网&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: red; text-indent: 33px; font-family: 微软雅黑, sans-serif;&quot;&gt;技术分享平台：&lt;/span&gt;&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot; style=&quot;text-indent: 33px; font-family: PingFangSC-Regular, Verdana, Arial, 微软雅黑, 宋体; font-size: 16px;&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑, sans-serif;&quot;&gt;桌面运维&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #3D464D; text-indent: 33px; font-family: 微软雅黑, sans-serif;&quot;&gt;、&lt;a href=&quot;https://www.bjityw.com/?cate=2&quot; target=&quot;_blank&quot;&gt;网络运维&lt;/a&gt;、&lt;a href=&quot;https://www.bjityw.com/?cate=1&quot; target=&quot;_blank&quot;&gt;系统运维&lt;/a&gt;、&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot;&gt;服务器运维(及云服务器)&lt;/a&gt;，&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot;&gt;精品软件分享&lt;/a&gt;、&lt;a href=&quot;https://weibo.com/aguowl&quot; target=&quot;_blank&quot;&gt;阿国网络&lt;/a&gt;、尽在&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot;&gt;北京运维网&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-wrap: wrap;&quot;&gt;&lt;img title=&quot;未标题-2022.jpg&quot; class=&quot;ue-image&quot; alt=&quot;未标题-2022.jpg&quot; src=&quot;https://www.bjityw.com/zb_users/upload/2022/04/202204221650597353338911.jpg&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 20px;&quot;&gt;三层交换机配置&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;以图为例：&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://www.bjityw.com/zb_users/upload/2026/09/202609241790217366442995.png&quot; title=&quot;97a22ebe-1389-4e70-bdfc-f155aa9f5d81.png&quot; alt=&quot;97a22ebe-1389-4e70-bdfc-f155aa9f5d81.png&quot;&gt;&lt;/p&gt;&lt;ul class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;h4 style=&quot;box-sizing: border-box&quot;&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 14px&quot;&gt;VLAN配置&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;&lt;pre style=&quot;text-wrap: wrap;box-sizing: border-box&quot;&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei]vlan 10&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei-vlan10]vlan 20&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei-vlan20]int g0/0/1&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei-GigabitEthernet0/0/1]port link-type access&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei-GigabitEthernet0/0/1]port default vlan 10&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei-GigabitEthernet0/0/1]int g0/0/2&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei-GigabitEthernet0/0/2]port link-type access&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei-GigabitEthernet0/0/2]port default vlan 20&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;&lt;h4 style=&quot;box-sizing: border-box&quot;&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 14px&quot;&gt;VLAN之间互访&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;&lt;pre style=&quot;text-wrap: wrap;box-sizing: border-box&quot;&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei-GigabitEthernet0/0/1]int vlan 10&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei-Vlanif10]ip add 192.168.1.254 255.255.255.0&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei-Vlanif10]int vlan 20&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei-Vlanif20]ip add 192.168.2.254 255.255.255.0&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;&lt;h4 style=&quot;box-sizing: border-box&quot;&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: 14px&quot;&gt;&lt;span class=&quot;&quot;&gt;DHCP&lt;/span&gt;配置&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;&lt;pre style=&quot;text-wrap: wrap;box-sizing: border-box&quot;&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei]dhcp enable&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei]ip pool bumena&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei-ip-pool-bumena]network 192.168.1.0 mask 255.255.255.0&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei-ip-pool-bumena]gateway-list 192.168.1.254&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei-ip-pool-bumena]dns-list 114.114.114.114&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei-ip-pool-bumena]int vlan 10&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei-Vlanif10]dhcp select global&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 20px;&quot;&gt;路由器配置&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;以图为例：&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://www.bjityw.com/zb_users/upload/2026/09/202609241790217455184689.png&quot; title=&quot;fc7b9005-3f16-4a72-babd-8ba186630ff6.png&quot; alt=&quot;fc7b9005-3f16-4a72-babd-8ba186630ff6.png&quot; width=&quot;774&quot; height=&quot;335&quot; style=&quot;width: 774px; height: 335px;&quot;&gt;&lt;/p&gt;&lt;pre style=&quot;text-wrap: wrap;box-sizing: border-box&quot;&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;//配置三层交换机&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei]vlan 100&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei-vlan100]int g0/0/3&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei-GigabitEthernet0/0/3]port link-type access&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei-GigabitEthernet0/0/3]port default vlan 100&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei-GigabitEthernet0/0/3]int vlan 100&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei-Vlanif100]ip add 10.10.10.1 255.255.255.0&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;text-wrap: wrap;box-sizing: border-box&quot;&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;//配置路由器AR1&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei]int g0/0/0&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei-GigabitEthernet0/0/0]ip add 10.10.10.2 255.255.255.0&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;//配置路由器AR2&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei]int g0/0/0&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei-GigabitEthernet0/0/0]ip add 64.1.1.10 255.255.255.0&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei-GigabitEthernet0/0/0]int g0/0/1&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei-GigabitEthernet0/0/1]ip add 6.6.6.1 255.255.255.0&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;text-wrap: wrap;box-sizing: border-box&quot;&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;//PC1能访问PC6的配置&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei]&lt;span class=&quot;&quot;&gt;ip route-static&lt;/span&gt; 0.0.0.0 0.0.0.0 10.10.10.2  //三层交换机配置&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei]ip route-static 0.0.0.0 0.0.0.0 64.1.1.10  //AR1路由器配置&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei]ip route-static 192.168.1.0 255.255.255.0 10.10.10.1&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei]ip route-static 192.168.2.0 255.255.255.0 10.10.10.1&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei]acl 2000&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei-acl-basic-2000]rule permit source 192.168.1.0 0.0.0.255&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei-acl-basic-2000]rule permit source 192.168.2.0 0.0.0.255&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei-acl-basic-2000]int g0/0/1&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei-GigabitEthernet0/0/1]nat outbound 2000&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;</description><pubDate>Thu, 24 Sep 2026 10:34:23 +0800</pubDate></item><item><title>防火墙代替路由器的基本配置</title><link>https://www.bjityw.com/?id=303</link><description>&lt;p style=&quot;text-wrap: wrap; text-align: center;&quot;&gt;&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot; style=&quot;text-indent: 33px; font-family: PingFangSC-Regular, Verdana, Arial, 微软雅黑, 宋体; font-size: 16px;&quot;&gt;&lt;span style=&quot;color: red; font-family: 微软雅黑, sans-serif;&quot;&gt;阿国运维网&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: red; text-indent: 33px; font-family: 微软雅黑, sans-serif;&quot;&gt;技术分享平台：&lt;/span&gt;&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot; style=&quot;text-indent: 33px; font-family: PingFangSC-Regular, Verdana, Arial, 微软雅黑, 宋体; font-size: 16px;&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑, sans-serif;&quot;&gt;桌面运维&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #3D464D; text-indent: 33px; font-family: 微软雅黑, sans-serif;&quot;&gt;、&lt;a href=&quot;https://www.bjityw.com/?cate=2&quot; target=&quot;_blank&quot;&gt;网络运维&lt;/a&gt;、&lt;a href=&quot;https://www.bjityw.com/?cate=1&quot; target=&quot;_blank&quot;&gt;系统运维&lt;/a&gt;、&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot;&gt;服务器运维(及云服务器)&lt;/a&gt;，&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot;&gt;精品软件分享&lt;/a&gt;、&lt;a href=&quot;https://weibo.com/aguowl&quot; target=&quot;_blank&quot;&gt;阿国网络&lt;/a&gt;、尽在&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot;&gt;北京运维网&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-wrap: wrap;&quot;&gt;&lt;img title=&quot;未标题-2022.jpg&quot; class=&quot;ue-image&quot; alt=&quot;未标题-2022.jpg&quot; src=&quot;https://www.bjityw.com/zb_users/upload/2022/04/202204221650597353338911.jpg&quot;&gt;&lt;/p&gt;&lt;p&gt;拓扑图：&lt;br&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://www.bjityw.com/zb_users/upload/2026/09/202609241790217022184993.png&quot; title=&quot;3b533f98-97a6-4e73-8b89-d78d53642c00.png&quot; alt=&quot;3b533f98-97a6-4e73-8b89-d78d53642c00.png&quot; width=&quot;696&quot; height=&quot;418&quot; style=&quot;width: 696px; height: 418px;&quot;&gt;&lt;/p&gt;&lt;h4 style=&quot;box-sizing: border-box&quot;&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;以上图为例，PC1或者PC3能访问PC5，防火墙代替路由器的配置&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;&lt;pre style=&quot;text-wrap: wrap;box-sizing: border-box&quot;&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;//三层交换机配置(vlan配置省略)&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei]vlan 100&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei-vlan100]int vlan 100&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei-Vlanif100]ip add 10.10.10.1 255.255.255.0&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei]int g0/0/3&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei-GigabitEthernet0/0/3]port link-type access&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei-GigabitEthernet0/0/3]port default vlan 100&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei-GigabitEthernet0/0/3]quit&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;//配置路由&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[Huawei]ip route-static 6.6.6.0 255.255.255.0 10.10.10.2&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;text-wrap: wrap;box-sizing: border-box&quot;&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;//防火墙基本配置&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[USG6000V1]int g1/0/5&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[USG6000V1-GigabitEthernet1/0/5]ip add 10.10.10.2 255.255.255.0&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[USG6000V1-GigabitEthernet1/0/5]quit&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[USG6000V1]int g1/0/6&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[USG6000V1-GigabitEthernet1/0/6]ip add 64.1.1.1 255.255.255.0&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[USG6000V1-GigabitEthernet1/0/6]quit&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;//配置路由&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[USG6000V1]ip route-static 6.6.6.0 255.255.255.0 64.1.1.10&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[USG6000V1]ip route-static 192.168.1.0 255.255.255.0 10.10.10.1&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[USG6000V1]ip route-static 192.168.2.0 255.255.255.0 10.10.10.1&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;//安全域配置&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[USG6000V1]firewall zone trust&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[USG6000V1-zone-trust]add int g1/0/5&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[USG6000V1-zone-trust]firewall zone untrust&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[USG6000V1-zone-untrust]add int g1/0/6&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[USG6000V1-zone-untrust]quit&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;//&lt;span class=&quot;&quot;&gt;安全策略&lt;/span&gt;配置&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[USG6000V1]security-policy&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[USG6000V1-policy-security]rule name Bjityw-ISP&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[USG6000V1-policy-security-rule-Bjityw-ISP]source-zone trust&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[USG6000V1-policy-security-rule-Bjityw-ISP]destination-zone untrust&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[USG6000V1-policy-security-rule-Bjityw-ISP]action permit&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;//nat策略配置&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[USG6000V1]nat-policy&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[USG6000V1-policy-nat]rule name Bjityw-ISP&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[USG6000V1-policy-nat-rule-Bjityw-ISP]source-zone trust&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[USG6000V1-policy-nat-rule-Bjityw-ISP]destination-zone untrust&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box&quot;&gt;&lt;span&gt;[USG6000V1-policy-nat-rule-Bjityw-ISP]action source-nat easy-ip&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;</description><pubDate>Thu, 24 Sep 2026 10:29:34 +0800</pubDate></item><item><title>无线AC＋AP组网配置实战</title><link>https://www.bjityw.com/?id=302</link><description>&lt;p style=&quot;text-wrap: wrap; text-align: center;&quot;&gt;&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot; style=&quot;text-indent: 33px; font-family: PingFangSC-Regular, Verdana, Arial, 微软雅黑, 宋体; font-size: 16px;&quot;&gt;&lt;span style=&quot;color: red; font-family: 微软雅黑, sans-serif;&quot;&gt;阿国运维网&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: red; text-indent: 33px; font-family: 微软雅黑, sans-serif;&quot;&gt;技术分享平台：&lt;/span&gt;&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot; style=&quot;text-indent: 33px; font-family: PingFangSC-Regular, Verdana, Arial, 微软雅黑, 宋体; font-size: 16px;&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑, sans-serif;&quot;&gt;桌面运维&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #3D464D; text-indent: 33px; font-family: 微软雅黑, sans-serif;&quot;&gt;、&lt;a href=&quot;https://www.bjityw.com/?cate=2&quot; target=&quot;_blank&quot;&gt;网络运维&lt;/a&gt;、&lt;a href=&quot;https://www.bjityw.com/?cate=1&quot; target=&quot;_blank&quot;&gt;系统运维&lt;/a&gt;、&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot;&gt;服务器运维(及云服务器)&lt;/a&gt;，&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot;&gt;精品软件分享&lt;/a&gt;、&lt;a href=&quot;https://weibo.com/aguowl&quot; target=&quot;_blank&quot;&gt;阿国网络&lt;/a&gt;、尽在&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot;&gt;北京运维网&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-wrap: wrap;&quot;&gt;&lt;img title=&quot;未标题-2022.jpg&quot; class=&quot;ue-image&quot; alt=&quot;未标题-2022.jpg&quot; src=&quot;https://www.bjityw.com/zb_users/upload/2022/04/202204221650597353338911.jpg&quot;&gt;&lt;/p&gt;&lt;p&gt;拓扑图：&lt;br&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://www.bjityw.com/zb_users/upload/2026/09/202609241790216752485554.png&quot; title=&quot;4eeae096-679a-401d-85ef-3a0fb7dd5a36.png&quot; alt=&quot;4eeae096-679a-401d-85ef-3a0fb7dd5a36.png&quot; width=&quot;761&quot; height=&quot;379&quot; style=&quot;width: 761px; height: 379px;&quot;&gt;&lt;/p&gt;&lt;span&gt;路由器接口配置（省略）&lt;/span&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span&gt;dhcp enable  //开启dhcp&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span&gt;ip pool Bjityw&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span&gt;network 172.16.10.0 mask 255.255.255.0&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span&gt;excluded-ip-address 172.16.10.100&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span&gt;gateway-list 172.16.10.1&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span&gt;dns-list 114.114.114.114 8.8.8.8&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span&gt;int g0/0/0&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span&gt;dhcp select global&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span&gt;AC配置&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span&gt;1、&lt;/span&gt;&lt;span&gt;给ac设置管理接口&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span&gt;int vlan 1&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span&gt;ip add 172.16.10.100 24 &lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span&gt;2、创建ssid&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span&gt;wlan&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span&gt;ssid-profile name &lt;span style=&quot;text-wrap: wrap;&quot;&gt;Bjityw&lt;/span&gt;  &lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span&gt;ssid &lt;span style=&quot;text-wrap: wrap;&quot;&gt;Bjityw&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;3、创建&lt;span class=&quot;&quot;&gt;vap&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span&gt;wlan&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span&gt;vap-profile name &lt;span style=&quot;text-wrap: wrap;&quot;&gt;Bjityw&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span&gt;ssid-profile &lt;span style=&quot;text-wrap: wrap;&quot;&gt;Bjityw&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;4、创建组&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span&gt;wlan&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span&gt;ap-group name &lt;span style=&quot;text-wrap: wrap;&quot;&gt;Bjityw&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span&gt;vap-profile &lt;span style=&quot;text-wrap: wrap;&quot;&gt;Bjityw&lt;/span&gt; wlan 1 radio all&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;5、查看ap  mac地址&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;dis int vlan 1&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;6、把ap  mac地址加到组，并设置对接的接口&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span&gt;wlan&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span&gt;ap-mac 00e0-fc78-3c80&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span&gt;ap-group &lt;span style=&quot;text-wrap: wrap;&quot;&gt;Bjityw&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1em;&quot;&gt;&lt;span&gt;capwap source interface vlanif 1&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;</description><pubDate>Thu, 24 Sep 2026 10:25:12 +0800</pubDate></item><item><title>单臂路由</title><link>https://www.bjityw.com/?id=301</link><description>&lt;p style=&quot;text-wrap: wrap; text-align: center;&quot;&gt;&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot; style=&quot;text-indent: 33px; font-family: PingFangSC-Regular, Verdana, Arial, 微软雅黑, 宋体; font-size: 16px;&quot;&gt;&lt;span style=&quot;color: red; font-family: 微软雅黑, sans-serif;&quot;&gt;阿国运维网&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: red; text-indent: 33px; font-family: 微软雅黑, sans-serif;&quot;&gt;技术分享平台：&lt;/span&gt;&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot; style=&quot;text-indent: 33px; font-family: PingFangSC-Regular, Verdana, Arial, 微软雅黑, 宋体; font-size: 16px;&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑, sans-serif;&quot;&gt;桌面运维&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #3D464D; text-indent: 33px; font-family: 微软雅黑, sans-serif;&quot;&gt;、&lt;a href=&quot;https://www.bjityw.com/?cate=2&quot; target=&quot;_blank&quot;&gt;网络运维&lt;/a&gt;、&lt;a href=&quot;https://www.bjityw.com/?cate=1&quot; target=&quot;_blank&quot;&gt;系统运维&lt;/a&gt;、&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot;&gt;服务器运维(及云服务器)&lt;/a&gt;，&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot;&gt;精品软件分享&lt;/a&gt;、&lt;a href=&quot;https://weibo.com/aguowl&quot; target=&quot;_blank&quot;&gt;阿国网络&lt;/a&gt;、尽在&lt;a href=&quot;https://www.bjityw.com/&quot; target=&quot;_blank&quot;&gt;北京运维网&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-wrap: wrap;&quot;&gt;&lt;img title=&quot;未标题-2022.jpg&quot; class=&quot;ue-image&quot; alt=&quot;未标题-2022.jpg&quot; src=&quot;https://www.bjityw.com/zb_users/upload/2022/04/202204221650597353338911.jpg&quot;&gt;&lt;/p&gt;&lt;p&gt;使用路由器代替三层交换机实现不同vlan间通信&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://www.bjityw.com/zb_users/upload/2026/09/202609241790216574493956.png&quot; title=&quot;efa1233b-4970-4161-bedb-27f226d521ea.png&quot; alt=&quot;efa1233b-4970-4161-bedb-27f226d521ea.png&quot;&gt;&lt;/p&gt;&lt;h5 style=&quot; box-sizing: border-box; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; &quot;&gt;&lt;span style=&quot; box-sizing: border-box; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; &quot;&gt;sw1&lt;span class=&quot;&quot;&gt;交换机&lt;/span&gt;配置&lt;/span&gt;&lt;/h5&gt;&lt;p&gt;&lt;span style=&quot; box-sizing: border-box; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; &quot;&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://www.bjityw.com/zb_users/upload/2026/09/202609241790216644478501.png&quot; title=&quot;1.png&quot; alt=&quot;1.png&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;h5 style=&quot; box-sizing: border-box; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; &quot;&gt;&lt;span style=&quot; box-sizing: border-box; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; &quot;&gt;AR1路由器配置&lt;/span&gt;&lt;/h5&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://www.bjityw.com/zb_users/upload/2026/09/202609241790216653299166.png&quot; title=&quot;2.png&quot; alt=&quot;2.png&quot;&gt;&lt;/p&gt;</description><pubDate>Thu, 24 Sep 2026 10:22:15 +0800</pubDate></item></channel></rss>