马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?立即注册
x
Cisco思科交换机show mac address-table命令使用详解
show mac address-table命令用于显示交换机的MAC地址表。
该表记录了每个接口和与之关联的MAC地址。
#show mac address-table ? --当在默认环境下输入“?”,系统会自动识别为 help 命令。
address Address to lookup in the table --要查找的MAC地址
aging-time MAC address table aging parameters --MAC地址表老化参数
count Number of MAC addresses in the table --MAC地址数
dynamic List dynamic MAC addresses --列出动态MAC地址
interface List MAC adresses on a specific interface --列出特定接口上的MAC地址
learning Display learning on VLAN or interface --在VLAN或接口上显示学习
move MAC Move information --MAC移动信息
multicast List multicast MAC addresses --列出多播MAC地址
notification MAC notification parameters and history table --MAC通知参数和历史表
protocol protocol keyword
secure List secure MAC addresses --列出安全MAC地址
static List static MAC addresses --列出静态MAC地址
vlan List MAC addresses on a specific vlan --列出特定vlan上的MAC地址
| Output modifiers --输出修饰符
<cr>
show mac address-table address <mac> 通过MAC地址追踪装备颠末的端口
#show mac address-table address 0040.544d.873d
Unicast Entries
vlan mac address type protocols port
-------+---------------+--------+---------------------+--------------------
732 0040.544d.873d dynamic ip,ipx,assigned,other GigabitEthernet6/48
show mac address-table | include <keyword> 通过输入的关键词举行含糊查询
keyword 关键字可以是MAC地址、MAC地址中的一部门,一般发起搜刮末尾后四位,根本上是唯一的。
#show mac address-table | include 0040.544d.873d
7 0040.544d.873d dynamic ip,ipx,assigned,other GigabitEthernet6/48
#show mac address-table | include 873d
7 0040.544d.873d dynamic ip,ipx,assigned,other GigabitEthernet6/48
keyword 关键字也可以是端口号或端口号中的一部门
#show mac address-table | include GigabitEthernet6/48
7 0040.544d.873d dynamic ip,ipx,assigned,other GigabitEthernet6/48
#show mac address-table | include 6/48
7 0040.544d.873d dynamic ip,ipx,assigned,other GigabitEthernet6/48
show interfaces G6/48 显示交换机端口G6/48的端口设置信息
#show interfaces G6/48
GigabitEthernet6/48 is up, line protocol is up (connected)
Hardware is Gigabit Ethernet Port, address is e05f.b90e.330d (bia e05f.b90e.330d)
Description: "connect to vmswitch2950-SW"
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 1000Mb/s, link type is auto, media type is 10/100/1000-TX
input flow-control is off, output flow-control is off
Auto-MDIX on (operational: on)
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:56, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
show mac address-table interface G6/48 显示交换机端口G6/48的MAC信息
#show mac address-table dynamic address 0040.544d.873d
Unicast Entries
vlan mac address type protocols port
-------+---------------+--------+---------------------+--------------------
7 0040.544d.873d dynamic ip,ipx,assigned,other GigabitEthernet6/48
show mac address-table 显示全部类型的MAC地址
#show mac address-table
Unicast Entries
vlan mac address type protocols port
-------+---------------+--------+---------------------+--------------------
7 0040.544d.873d dynamic ip,ipx,assigned,other GigabitEthernet6/48
……
show mac address-table dynamic 显示全部动态的MAC地址信息
#show mac address-table dynamic
Unicast Entries
vlan mac address type protocols port
-------+---------------+--------+---------------------+--------------------
7 0040.544d.873d dynamic ip,ipx,assigned,other GigabitEthernet6/48
……
show mac address-table static 显示全部静态的MAC地址信息
#show mac address-table static
Unicast Entries
vlan mac address type protocols port
-------+---------------+--------+---------------------+--------------------
7 0040.544d.873d static ip,ipx,assigned,other GigabitEthernet6/48
……
以上就是针对常用的Cisco思科交换机show mac address-table命令使用详解,若您觉得文章对您有资助,记得点赞收藏起来,说不定哪天就用上了。
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。 |