才子佳人博客

我的故事我讲述

Juniper,华为交换机如何查看mac table
 
来源:xjh  编辑:xjh  2018-04-04

文章给出Juniper,华为交换机查看mac table的命令:

1、Juniper

show ethernet-switching table brief 查看mac地址、vlanID和接口的对应关系,后面可以跟上| match 查看具体mac,实例如下:

xxx@XinXiaoQu> show ethernet-switching table brief | match 3c:97
  vlan1059          3c:97:0e:b3:62:ac Learn          0 xe-2/0/1.0
  vlan1061          3c:97:0e:b3:63:94 Learn          0 xe-2/0/1.0
  vlan1073          3c:97:0e:b3:63:94 Learn          0 xe-2/0/1.0

2、华为

display mac-address include mac ,实例如下:

<GY-(7-9)>display mac-address | include 3c
-------------------------------------------------------------------------------
MAC Address    VLAN/VSI                          Learned-From        Type     
-------------------------------------------------------------------------------
200b-c72c-133c 300/-                             GE0/0/1             dynamic  
3c8a-b030-fff0 300/-                             GE0/0/1             dynamic  
203c-ae97-c911 1034/-                            GE0/0/1             dynamic  


分类:网络日志| 查看评论
相关文章
文章点击排行
本年度文章点击排行
发表评论:
  • 昵称: *
  • 邮箱: *
  • 网址:
  • 评论:(最多100字)
  • 验证码: