首页文章正文

二层交换机绑定mac地址,交换机接口绑定mac

华三交换机绑定mac地址 2023-04-05 18:39 574 墨鱼
华三交换机绑定mac地址

二层交换机绑定mac地址,交换机接口绑定mac

二层交换机绑定mac地址,交换机接口绑定mac

stickyConfiguredynamicsecureaddressesasstickyThefirsttype:dynamicconfigurationThesecondtype:staticconfiguration(thelastcolumnofthecodeistheMacaddressofthehost.Findingmethod:clickthehost→configuration→fastEthernet→macaddress.SwdynamicaddressbindingreferstotheportoftheswitchInthedynamicaddressbindingstate,theMACaddresscanbedynamicallylearned,butthenumberofaddressesthatcanbelearnedislimited.WhentheportlearnsaMACaddress,itisboundimmediately,andthenlearnsthenextaddress.Bebound

MAC地址是二层交换机转发数据包的依据。 让我们先看看MAC地址。 AMAC地址有48位(6字节)。 在常用的以太网帧结构中,帧头有目的MAC地址(6字节)和源MAC地址(6字节)。交换机接收到数据帧,将帧头中的源MAC地址学习到MAC表中,与接口GE0/0/4相关联的交换机在MAC表中查找数据帧的目的MAC地址,找到匹配的entry,所以出接口为G0/data到0的接口为GE0

switch#mac-address-tablestatic1234.5678.9012vlan10fa0/1,意思是将静态MAC地址绑定到VLAN10中的port1。 特殊方法:交换机Cisco3550交换机还可以支持设置交换机二层(exchange)端口支持1024个MAC-VLAN。 MAC-VLAN总数=配置的MAC-VLAN数量*下发接口数量。 具体配置1.Createvlan(vlanassociatedwithMAC)vlan102.Configurevlan-MACmappingtablemac

>▽< 我们通常说的MAC地址是和交换机端口绑定的,其实就是交换机端口的安全功能。 portsecurityfunctionallowsyoutoconfigureaporttoallowonlyoneorseveralcertaindevicestoaccesstheswitch;itcandeterminetheallowedaccessaccordingtotheMACaddress][mac-addressmac-address]}[vlanvlan-id]MAC或IP必须选一个,也可以都写,vlan是可选的

//在MAC地址表中添加静态MAC地址条目,目的地址为0001-0002-0003,vlan1消息,从接口G0/0/5[switch1]mac-addressstatic0001-0002-0003GigabitEth1转发过来1.用户接入交换机,交换机工作在第二层,USG防火墙也工作在第二层——用户的外网网关是对接的

后台-插件-广告管理-内容页尾部广告(手机)

标签: 交换机接口绑定mac

发表评论

评论列表

快喵加速器 Copyright @ 2011-2022 All Rights Reserved. 版权所有 备案号:京ICP1234567-2号