!
interface GigabitEthernet0/1/4
no ip address
negotiation auto
service instance 3 ethernet e3
encapsulation dot1q 3
service-policy input set-qos
xconnect 20.20.20.20 3 encapsulation mpls
cfm mep domain SSFP-3 mpid 3
monitor loss counter
!
!
ip sla 3
ethernet y1731 loss LMM domain SSFP-3 evc e3 mpid 30 cos 1 source mpid 3
history interval 1
aggregate interval 120
ip sla schedule 3 life 140 start-time after 00:00:05
!
LMM の確認
MEP ドメインでの損失を表示するには、show ethernet cfm ma {local | remote} コマンドを使用します
Router# show ethernet cfm ma local
Local MEPs:
--------------------------------------------------------------------------------
MPID Domain Name Lvl MacAddress Type CC
Ofld Domain Id Dir Port Id
MA Name SrvcInst Source
EVC name
--------------------------------------------------------------------------------
3 SSFP-3 3 0000.5c50.36bf XCON Y
No SSFP-3 Up Gi0/1/4 N/A
s3 3 Static
e3
2 SSFP-2 2 0000.5c50.36bf XCON Y
No SSFP-2 Up Gi0/1/4 N/A
s2 2 Static
e2
Total Local MEPs: 2
Router# show ethernet cfm ma remote
--------------------------------------------------------------------------------
MPID Domain Name MacAddress IfSt PtSt
Lvl Domain ID Ingress
RDI MA Name Type Id SrvcInst
EVC Name Age
Local MEP Info
--------------------------------------------------------------------------------
20 SSFP-2 c471.fe02.9970 Up Up
2 SSFP-2 Gi0/1/4:(20.20.20.20, 2)
- s2 XCON N/A 2
e2 0s
MPID: 2 Domain: SSFP-2 MA: s2
30 SSFP-3 c471.fe02.9970 Up Up
3 SSFP-3 Gi0/1/4:(20.20.20.20, 3)
- s3 XCON N/A 3
e3 0s
MPID: 3 Domain: SSFP-3 MA: s3
Total Remote MEPs: 2
統計情報を表示するには、show ip sla interval-stastistics コマンドを使用します。
Router# show ip sla history 3 interval-statistics
Loss Statistics for Y1731 Operation 3
Type of operation: Y1731 Loss Measurement
Latest operation start time: 09:19:21.974 UTC Mon Jan 20 2014
Latest operation return code: OK
Distribution Statistics:
Interval 1
Start time: 09:19:21.974 UTC Mon Jan 20 2014
End time: 09:21:21.976 UTC Mon Jan 20 2014
Number of measurements initiated: 120
Number of measurements completed: 120
Flag: OK
Forward
Number of Observations 101
Available indicators: 101
Unavailable indicators: 0
Tx frame count: 1000000
Rx frame count: 1000000
Min/Avg/Max - (FLR % ): 0:7225/000.00%/0:7225
Cumulative - (FLR % ): 000.0000%
Timestamps forward:
Min - 09:21:08.703 UTC Mon Jan 20 2014
Max - 09:21:08.703 UTC Mon Jan 20 2014
Backward
Number of Observations 99
Available indicators: 99
Unavailable indicators: 0
Tx frame count: 1000000
Rx frame count: 1000000
Min/Avg/Max - (FLR % ): 0:1435/000.00%/0:1435
Cumulative - (FLR % ): 000.0000%
Timestamps backward:
Min - 09:21:08.703 UTC Mon Jan 20 2014
Max - 09:21:08.703 UTC Mon Jan 20 2014