Chinaunix

标题: 一目的mac多端口转发(端口mac绑定) [打印本页]

作者: liubin823    时间: 2006-11-06 17:21
标题: 一目的mac多端口转发(端口mac绑定)

mac-address-table static
To configure static MAC addresses for a VLAN interface or drop unicast traffic for a MAC address for a VLAN interface, use the mac-address-table static command. To remove static MAC address configurations, use the no form of this command.
mac-address-table static mac-addr {vlan vlan-id} {interface type | drop}
no mac-address-table static mac-addr {vlan vlan-id}


举例mac-address-table static 0050.3e8d.6400 vlan 100 interface fastethernet0/1
  mac-address-table static 0050.3e8d.6400 vlan 100 interface fastethernet0/2


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/13977/showart_196118.html




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2