Protocol-Ethernet OAM

1.      ETHETNET OAM概念

对比MPLS OAM基于LSPETHERNET OAM基于VPN业务

MPLS OAM一样,首要任务是链路发现、链路监测、远端环回

 

2.      LINK OAM

LINKOAM报文MAC0x01 80 C2 00 00 02的组播报文,LINKOAMDA+SA+8902


信息OAMPDUOAM周期性的发送信息OAMPDU,通常是每秒一次

事件通知OAMPDU:当本地端口检测到链路有问题时,会发送对应的事件通知信息到远端端口

环回控制OAMPDU:包含使能OAM远端环回命令和去使能OAM远端环回命令两种操作模式

过程分析:

linkoam

REMOTE端也在发送OAMPDU的时候,本端收到了,这是一个DISCOVERY过程,为了保证这个过程不消失,双方都会周期的发送OAMPDU报文

当链路出现问题的时候,REMOTE端会收不到OAMPDU报文,根据设置的阀值,判断链路出现故障,会发事件通知OAMPDU报文,本端收到报文,做相应处理

本端也可以发送环回控制OAMPDU,使能的时候,REMOTE端收到报文后,LINKOAM协议控制端口只让OAMPDU报文过,其他数据报文全部原路返回(本端,有点类似家里装宽带的工作人员,用个设备环回一下,看网线通了没那种操作),当然还可以发去使能环回控制OAMPDU

 

3.      CFM

CCM和LTM0x01 80 C2 00 00 3X的组播报文,DA+SA+8902

cfm


比如在AD节点VPN配置了MD=2MD=4的两个MA,则MD24的命中,会TRAP,协议来处理,MD=5的直接FORWARD0,1,3的直接DISCARD,这就是为什么外层MD必须大于内层MD的原因

ccm

双向对发CCMCCM是广播包,报文经过MIP是直接FORWARD的,最后到达,双方CCM链路为通,这就是链路发现

 

ltm

LINKTRACE类似TRACEROUTE流程,LTM是广播包,MIP遇到LTM时候(MIP也只对LTM报文特殊处理,其他报文通通直接FORWARD, FORWARD一份, 另外TRAP一份到协议,协议处理会回一份LTB(单播的)到入口,相当于原路返回,A端会清楚知道链路的状态,这就是链路监测

 

loopback

LOOPBACK类似PING流程,LBM是单播包,MIP直接透传,远端收到LBM包后TRAP到协议,返回一份LBR报文,A端收到后,环回流程结束,这就是远端环回

 

auto-voip - Configure auto-VoIP parameters bandwidth - Configure port rate limit channel-group - Configure the etherchannel/port bundling function client-mac-report - Report the client and MAC information of the ports ddm - Configure DDM description - Configure port description dldp - Configure DLDP interface subcommands dot1x - 802.1x authentication configuration on interface downspeed - Configure port downspeed duplex - Configure port duplex eee - Enable port EEE(Energy Efficient Ethernet) function erps - ERPS interface configuration ethernet-oam - Enable or disable Ethernet OAM on the interface fec - Config port fec mode flow-control - Enable port flow control gvrp - GVRP interface commands interface - Select an interface to configure ip - IP commands for interface ipv6 - IPv6 commands for interface l2protocol-tunnel - L2PT commands for interface lacp - LACP commands for interface lldp - Configure LLDP interface subcommands loopback-detection - Display loopback detection information mac - Bridge table configuration commands mac-vlan - Enable MAC based VLAN on the interface macsec - MACSEC port configuration mvr - Enable and configure multicast VLAN registration port - Port isolation commands power - Power pppoe - PPPoE commands for interface protocol-vlan - Enable protocol based VLAN on the interface qos - IEEE 802.3 Ethernet port QoS setting serdes-mode - Config serdes mode for SFP port sflow - Modify the sflow configuration shutdown - Shutdown the specified interface snmp-server - Modify SNMP interface parameters spanning-tree - STP interface configuration speed - Configure port speed storm-control - Configure port storm-control switchport - Switch port configuration vlan_trunk - VLAN Trunking interface commands voice - Configure Voice VLAN Parameters voice-vlan - OUI-Based VLAN config command clear - Reset functions end - Return to Privileged EXEC Mode exit - Exit current mode history - Display command history no - Negate command show - Display system information 以上命令中哪个是配置半双工和全双工的选项
最新发布
08-15
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值