interface vlan 和interface vlan-interface有什么区别 interface vlan 1和直接打vlan1有什么区别

interface vlan-interface 1 \u548c interface Vlan10 \u662f\u4e00\u4e2a\u610f\u601d\u5417

\u5f53\u7136\u4e0d\u662f\u4e00\u4e2a\u610f\u601d\uff0cvlan\u4ece1-4094\uff0c\u6839\u636e\u9700\u8981\u914d\u7f6e\u7684\u3002
\u53ef\u80fd2-9\u5728\u522b\u7684\u5730\u65b9\u7528\u6389\u4e86

\u6709\u533a\u522b\uff0cinterface vlan 1 \u4f60\u8fdb\u7684\u662f vlan 1 \u865a\u63a5\u53e3\uff0c \u800c\u4f60\u76f4\u63a5\u6253 vlan 1 \u8fd9\u4e2a \u7c7b\u4f3c\u4e8e\u521b\u5efavlan \u4f46\u662f vlan 1 \u9ed8\u8ba4\u90fd\u5df2\u7ecf\u5b58\u5728\u4e86\uff01

interface vlan 和interface vlan-interface区别为:配置路径不同、传输速度不同、应用环境不同。

一、配置路径不同

1、interface vlan:interface vlan是在当前子接口上配置IP地址。

2、interface vlan-interface:interface vlan-interface是在interface vlan下子接口配置IP地址。

二、传输速度不同

1、interface vlan:interface vlan多条软接口/子接口共享一条物理链路,数据吞吐量小传输速度慢。

2、interface vlan-interface:interface vlan-interface在core switch使用vlan 技术跑二层或三层交换,数据吞吐量大传输速度快。

三、应用环境不同

1、interface vlan:interface vlan的应用环境为工厂的WAN链路,跑BGP的应用。

2、interface vlan-interface:interface vlan-interface的应用环境为LAN内的应用。



没什么区别,其实都是一样的,只不过是不同品牌的设备的语法命令而已
H3C的设备配置Vlan是interface vlan-interface命令
Cisco的设备配置Vlan是interface vlan
华为的设备配置Vlan是interface Vlanif

本站交流只代表网友个人观点,与本站立场无关
欢迎反馈与建议,请联系电邮
2024© 车视网