码迷,mamicode.com
首页 > 其他好文 > 详细

配置VLAN

时间:2019-06-17 11:13:12      阅读:148      评论:0      收藏:0      [点我收藏+]

标签:interface   flow   add   之间   ethernet   view   网关   rate   地址   

配置VLAN
创建vlan2并进入视图?<H3C>?system-view?[H3C]?vlan?2? #?指定VLAN2?的描述字符串为home。?[H3C-vlan2]?description?home? #?向VLAN2?中加入端口Ethernet1/0/1?和Ethernet1/0/2。?[H3C-vlan2]?port?Ethernet?1/0/1?Ethernet?1/0/2?#?创建VLAN3?并进入其视图。?[H3C-vlan2]?vlan?3? #?向VLAN3?中加入端口Ethernet1/0/3?和Ethernet1/0/4。? [H3C-vlan3]?port?Ethernet?1/0/3?Ethernet?1/0/4
#?配置VLAN?接口2?的IP?地址。
<H3C>?system-view? [H3C]?interface?Vlan-interface?2? [H3C-Vlan-interface2]?ip?address?129.2.2.1?255.255.255.0?#?配置VLAN?接口3?的IP?地址。?<H3C>?system-view? [H3C]?interface?Vlan-interface?3? [H3C-Vlan-interface3]?ip?address?192.2.2.1?255.255.255.0? 配置好后,交换机上ping各网关之间应该能够互通,在配置好的端口上连上pc设置好ip如pc1接Ethernet1/0/1?设置ip:129.2.2.2?255.255.255.0?129.2.2.1?Pc2接Ethernet?1/0/3?设置ip:192.2.2.2?255.255.255.0?192.2.2.1?则pc1和pc2能互通? S3600三层交换机端口限速配置:?[H3C]interface?Ethernet1/0/4?
[H3C-Ethernet1/0/4]line-rate?outbound?1024
[H3C-Ethernet1/0/4]broadcast-suppression?pps?1024
[H3C-Ethernet1/0/4]multicast-suppression?pps?1024
[H3C-Ethernet1/0/4]unicast-suppression?pps?1024
[H3C-Ethernet1/0/4]flow-control

配置VLAN

标签:interface   flow   add   之间   ethernet   view   网关   rate   地址   

原文地址:https://blog.51cto.com/14216988/2409708

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!