FAQ-如何查看端口是否成功加入VLAN

发布时间:  2014-09-16 浏览次数:  134 下载次数:  0
问题描述
如何查看端口是否成功加入VLAN?
解决方案
采用命令display vlan vlan-id查看。
例如接口Ethernet0/0/1成功加入VLAN10,则看到:
[Huawei]display vlan 10                                                  
* : management-vlan                                                             
---------------------                                                           
VLAN ID Type         Status   MAC Learning Broadcast/Multicast/Unicast Property 
--------------------------------------------------------------------------------
10      common       enable   enable       forward   forward   forward default  
-------------------                                                             
Untagged      Port: Ethernet0/0/1                                               
-------------------                                                             
Active Untag  Port: Ethernet0/0/1                                               
-------------------                                                             
Interface                   Physical                                            
Ethernet0/0/1               UP                                                  
                                                                               

END