week5、study the protocol of 802.1ag and config the topology of olt agg and bng
来源:互联网 发布:win10仿linux主题 编辑:程序博客网 时间:2024/05/21 12:49
Ethernet OAM,CCM, LTM, LTR, LBM, LBR, MEP, MIP.
Ethernet OAM是应用在以太网中的OAM机制。主要通过EFM(Ethernet in the First Mile,最后一英里以太网)和CFM(ConnectivityFault Management,连接性故障管理)分别工作在以太网链路层和以太网业务层,对网络进行操作管理维护功能
EFM针对以太网中的点到点或者虚拟点到点链路进行监控和故障管理,相当于是以太网中的“交警”
CFM可以实现业务层的端到端OAM监控和管理功能,就像检察院一样,能够在运用上、提供商和用户的桥网络中进行任意的检查、隔离和连接性故障报告。
802.11ag 是IEEE提出的一个用于Ethernet网络中进行错误管理的一个标准即CFM。
CFM (connectivity faultmanagement) : l连接故障管理
路径发现、故障检测、故障确认和定位、故障通知、故障恢复(和STP一起)
802.1ag的核心是对MD所提供的每一个服务所涉及到的部分或全部节点进行维护监控,从而发现故障以及定位出故障的网络段。
MD(maintenance domain):维护域
MP(maintenance point):维护点 --参与维护监控的节点 (具体到port)包括MEP、MIP
MEP(maintenance association endpoint):维护端点
MIP(maintenance domain intermediatepoint):维护中间点
每一个service都有两个以上MEP,这些组合称为MA(maintenance association)维护关联
每个MA对应一个服务实例(serviceinstance),802.1ag就是对每个MA进行管理维护,检测MA中的故障,即检测service instance中的故障。
MA中每个MEP之间点到店的连接称为维护实体,是CFM作用的最小单位。
DoSAP(Domain Service AccessPoint):维护域服务接入点 – 为慰藉提供访问本MD的接口
理论上,一个MEP就是一个维护域服务接入点
在Ethernet里,serviceinstance通常由vlanId来表示
MEP分为两种:Up MEP andDown MEP
MIP不能配置在DoSAP上,而只能是ISAP(internal service access point)
MIP是双向的,没有UP/DOWN之分
路径发现:LTM(link trace message):链接追踪报文
故障检测:CCM(connectivity checkmessage):连接检查报文:专门用来故障检测
故障确认:LBM(loopback message):环回报文
故障定位:可以使用LBM,也可以使用LTM,LTM更有效
LTR(link trace reply):链接追踪回复
LTM和LTR在CFM中的作用是路径发现和故障定位,逐跳检查
LBR(loopback reply):环回回复
LBM和LBR在CFM中的作用是故障确认和故障定位
802.1ag详解参考资料:
http://wenku.baidu.com/link?url=FYhMcznWCRO1FkS0fJCGFXvcf8YI9BCYF872RZQHikkruUkv3yDXufHs7HFgUdPgPM9pxGpuAcIhI4XzBAOpWeeOwJWGh1mnWdg19EWMZ6i
配置拓扑结构:
用SecreCR远程连接设备
OLT:
EOAM-M>create vlan 314 tlan enabled
success: Create VLAN 314.
EOAM-M>create meg auto_meg1 vlan 314level 3 meg-id-format 8021ag-maid ccm-interval 1sec
success: Create maintenance entity group"auto_meg1".
EOAM-M>add mep interface 1/2/g1 to-megauto_meg1 id 3140 direction down continuity-check enabled admin-state enabled
critical ALARM for maintenance endpoint3140 in "auto_meg1" at 2016/12/14 17:12:29.10:
"CCM loss of continuity"
(affects service)
success: Create maintenance endpoint 3140in "auto_meg1".
EOAM-M>enable eth-port 1/2/g1
success: Enable Ethernet port"1/2/g1".
EOAM-M>show meg
maintenance entity group"auto_meg1":
VLAN : 314
Level : 3
MEG ID format : 802.1ag MAID
CCM interval : 1 sec
Auto-discovery : enabled
Auto-discovery timeout : 10.0 seconds
Minimum CC defect : remote CCM
Alarm time : 2.500 seconds
Alarm reset period : 10.000 seconds
Admin status : enabled
1 maintenance entity group found.
EOAM-M>enable eth-port 1/2/g1
EOAM-M>show remote-mep discovered
ID MAC Address State Discovered On
---- ----------------- -------------------------------------------------------
3141 c0:7b:bc:60:a8:9a mep: Ok auto_meg1/3140
port: Up (Intf 1/2/g1)
@2017/07/23 10:41:22
1 remote maintenance endpoint found.
EOAM-M>test link-trace meg auto_meg1 mepid 3140 to-remote-mep 3141
success: Test Link Trace trans-id formaintenance endpoint 3140 in "auto_meg1" is 1.
EOAM-M>show link-trace meg auto_meg1 mepid 3140 trans-id 1
Link trace started at 2016/12/14 17:24:50:
TTL MAC Address LTM Forwarded Remote MEP Reached
--- ----------------- -------------------------------
15 c0:7b:bc:60:a8:9a no yes
1 hop in link trace.
EOAM-M>test link-trace meg auto_meg1 mepid 3140 to-remote-mep 3141
success: Test Link Trace trans-id formaintenance endpoint 3140 in "auto_meg1" is 2.
EOAM-M>show link-trace meg auto_meg1 mepid 3140 trans-id 2
Link trace started at 2016/12/14 17:30:51:
TTL MAC Address LTM Forwarded Remote MEP Reached
--- ----------------- -------------------------------
15 c0:7b:bc:60:a8:9a no yes
1 hop in link trace.
EOAM-M>test link-trace meg auto_meg1 mepid 3140 to-remote-mep 3141
success: Test Link Trace trans-id formaintenance endpoint 3140 in "auto_meg1" is 3.
EOAM-M>show link-trace meg auto_meg1 mepid 3140 trans-id 3
Link trace started at 2016/12/14 17:32:31:
TTL MAC Address LTM Forwarded Remote MEP Reached
--- ----------------- -------------------------------
14 c0:7b:bc:60:a8:9a no yes
15 00:02:5d:d8:20:41 yes no
2 hops in link trace.
恢复:
EOAM-M>remove mep interface 1/2/g1from-meg auto_meg1
Alarm CLEARED for maintenance endpoint 3140in "auto_meg1" at 2016/12/16 12:47:47.44:
"CCM loss of continuity"
success: Delete maintenance endpoint 3140in "auto_meg1".
EOAM-M>delete meg auto_meg1
success: Delete maintenance entity group"auto_meg1".
EOAM-M>delete vlan 314
success: Delete VLAN 314.
AGG
EOAM-Standalone>create vlan 314 tlanenabled
success: Create VLAN 314.
EOAM-Standalone>create meg auto_meg1vlan 314 level 3 meg-id-format 8021ag-maid ccm-interval 1sec
success: Create maintenance entity group"auto_meg1".
EOAM-Standalone>enable eth-port 1/g1
success: Enable Ethernet port"1/g1".
EOAM-Standalone>enable eth-port 2/g1
success: Enable Ethernet port"2/g1".
EOAM-Standalone>add interface 1/g1to-vlan 314
success: Add VLAN 314 member -- interface"1/g1".
EOAM-Standalone>add interface 2/g1to-vlan 314
success: Add VLAN 314 member -- interface"2/g1".
EOAM-Standalone>show vlan 314 members
VLAN Member Type Associated Via
---- --------------------------------------- ------------------------------
314 1/g1 Ethernet membership
314 2/g1 Ethernet membership
EOAM-Standalone>show eth-port
* = pluggable module is present
Port Current State Interface Status
----------- ------------------------------------------------- ----------------
1/x3 down ethernet systemdisabled
1/x4 down ethernet user disabled
*1/g1 down ethernet user disabled
*1/g2 down ethernet user disabled
*2/x3 up 1g full-duplex RX-TX ethernet enabled
2/x4 down ethernet user disabled
*2/g1 down ethernet user disabled
*2/g2 down ethernet user disabled
8 Ethernet ports found.
EOAM-Standalone>add mip interface 2/g1to-meg auto_meg1 admin-state enabled
success: Create maintenance intermediatepoint 1 in "auto_meg1".
EOAM-Standalone>show mgmt-cfg
IP address : 0.0.0.0
Netmask : 0.0.0.0
MAC Address : 00:02:5d:d8:20:41
VLAN : none
Admin status : disabled
Operational status : user disabled
恢复:
EOAM-Standalone>remove mip interface2/g1 from-meg auto_meg1
success: Delete maintenance intermediatepoint 1 in "auto_meg1".
EOAM-Standalone>remove interface 2/g1from-vlan 314
success: Remove VLAN 314 member --interface "2/g1".
EOAM-Standalone>remove interface 1/g1from-vlan 314
success: Remove VLAN 314 member --interface "1/g1".
EOAM-Standalone>delete meg auto_meg1
success: Delete maintenance entity group"auto_meg1".
EOAM-Standalone>delete vlan 314
success: Delete VLAN 314.
BNG
C7-SIT-EOAM#configure terminal
Enter configuration commands, one perline. End with CNTL/Z.
C7-SIT-EOAM(config)#vlan 314
C7-SIT-EOAM(config-vlan)#exit
C7-SIT-EOAM(config)#ethernet cfm domainauto_meg1 level 3
C7-SIT-EOAM(config-ecfm)#id null
C7-SIT-EOAM(config-ecfm)#service auto_meg1vlan 314 direction down
C7-SIT-EOAM(config-ecfm)#continuity-check
C7-SIT-EOAM(config-ecfm-srv)#continuity-checkinterval 1s
C7-SIT-EOAM(config-ecfm-srv)#exit
C7-SIT-EOAM(config)#interface fastEthernet0/24
C7-SIT-EOAM(config-if)#no shutdown
C7-SIT-EOAM(config-if)#switchport trunkallowed vlan add 314
C7-SIT-EOAM(config-if)#switchport modetrunk
C7-SIT-EOAM(config-if)#ethernet cfm mepdomain auto_meg1 mpid 3141 service auto_meg1
C7-SIT-EOAM(config-if-ecfm-mep)#exit (ctrl c)
C7-SIT-EOAM(config-if) #exit
C7-SIT-EOAM(config)# exit
C7-SIT-EOAM#
C7-SIT-EOAM#show interfaces fastEthernet0/24
FastEthernet0/24 is up, line protocol is up(connected)
恢复:
[2016/12/1614:40] Calvin Zhang:
configure terminal
interface fastEthernet 0/24
no ethernet cfm mep domain auto_meg1mpid 3141 service auto_meg1
end
configure terminal
interface fastEthernet 0/24
switchport trunk allowed vlan remove314
end
configure terminal
no ethernet cfm domain auto_meg1 level3
end
configure terminal
no vlan 314
end
- week5、study the protocol of 802.1ag and config the topology of olt agg and bng
- The Study of Programming Windows with MFC--Imagelist and ComboBoxEx
- The study of map() and reduce() function in Python(20170913)
- The study of Class and Instance in Python(20170918)
- The study of chapter 13 in programming windows with mfc-printing with document and views
- The Study of Programming Windows with MFC--Progress and Animate control
- The study of Programming Windows with MFC--Ip Address control and Date control
- A case study in Free vs. Paid and the value of advertising
- The study of list ,tuple and conditional statement in Python(20170905)
- Customs and history of the origin of the Mid-Autum
- Understanding the parallelism of a Storm topology
- Understanding the parallelism of a Storm topology
- Understanding the parallelism of a Storm topology
- Understanding the Parallelism of a Storm Topology
- Understanding the Parallelism of a Storm Topology
- the memory of php study
- The tips of study English
- Limitations of the Present Study
- JavaEE复习笔记(4)——JSP2和Servlet3.0的新特性
- Razor基础语法简介
- 损失函数:Hinge Loss(max margin)
- zuul源码分析之Filter管理
- cs231n: CNN训练的提醒
- week5、study the protocol of 802.1ag and config the topology of olt agg and bng
- RtlInitUnicodeString、IoCreateDevice、IoCreateSymbolicLink、IoDeleteDevice 四个 API 驱动函数的使用
- Loss Function view---关于损失函数的介绍
- 何为AppID、 AppKey、AppSecret?
- Linux SCP 基于expect密码传输
- C++析构函数必须要用virtual修饰的原因
- 深入理解Java:注解(Annotation)--注解处理器
- hibernate 查询实体类的list
- Java – Static Class, Block, Methods and Variables