Figure 290 shows a ring of six nodes, with the RPL owner on the top right. One link of the RPL owner is designated to be the RPL and will be blocked in order to prevent a loop. Schematics of the physical and logical topologies are also shown.
The eth-ring configuration commands are shown below.
configure
eth-ring <ring-index>
ccm-hold-time { [down <down-timeout>] [up <up-timeout>] }
compatible-version <version>
description <description-string>
guard-time <time>
node-id <xx:xx:xx:xx:xx:xx or xx-xx-xx-xx-xx-xx>
path {a|b} [ { <port-id>|<lag-id> } raps-tag <qtag>[.<qtag>] ]
description <description-string>
eth-cfm
mep <mep-id> domain <md-index> association <ma-index>
...
rpl-end
shutdown
revert-time <time>
rpl-node {owner|nbr}
shutdown
•
|
ring-index — This is the number by which the ring is referenced, values: 1 to128.
|
configure
log
log-id 1
from main
to console
exit
Eth-Ring needs R-APS tags to send and receive G.8032 signaling messages. To configure a control channel, an access SAP configuration is required on each path a/b port. The SAP configuration follows that of the port and must be either dot1q or
qinq, consequently the control and data packets are either single tagged or double tagged. It is also possible to have the control VPLS using single tagged frames with the data VPLSs using double tagged framed; this requires the system to be configured with the
new-qinq-untagged-sap parameter (
configure system ethernet new-qinq-untagged-sap), with the ring path raps-tags and control VPLS SAPs configured as qtag.0, and the data VPLSs configured as QinQ SAPs.
*A:PE-1# configure port 1/1/1 ethernet mode access
*A:PE-1# configure port 1/1/2 ethernet mode access
*A:PE-1# configure port 1/1/1 ethernet encap-type dot1q
*A:PE-1# configure port 1/1/2 ethernet encap-type dot1q
To omit the failure detecting CCMs, it would be necessary to remove the ccm-enable from under the path MEPs and to remove the
remote-mepids from under the
eth-cfm associations on all nodes.
Figure 292 shows the Ethernet CFM configuration used here.
*A:PE-1>config>eth-cfm# info
----------------------------------------------
domain 1 format none level 3
association 1 format icc-based name "ring1_1_2"
ccm-interval 1
remote-mepid 112
exit
association 2 format icc-based name "ring1_1_3"
ccm-interval 1
remote-mepid 113
exit
exit
----------------------------------------------
*A:PE-1>config>eth-cfm#
A:PE-2>config>eth-cfm# info
----------------------------------------------
domain 1 format none level 3
association 1 format icc-based name "ring1_1_2"
ccm-interval 1
remote-mepid 111
exit
association 2 format icc-based name "ring1_2_3"
ccm-interval 1
remote-mepid 123
exit
exit
----------------------------------------------
A:PE-2>config>eth-cfm#
A:PE-3>config>eth-cfm# info
----------------------------------------------
domain 1 format none level 3
association 1 format icc-based name "ring1_1_3"
ccm-interval 1
remote-mepid 121
exit
association 2 format icc-based name "ring1_2_3"
ccm-interval 1
remote-mepid 122
exit
exit
----------------------------------------------
A:PE-3>config>eth-cfm#
*A:PE-1>config>eth-ring# info
----------------------------------------------
path a 1/1/1 raps-tag 1
eth-cfm
mep 111 domain 1 association 1
ccm-enable
control-mep
no shutdown
exit
exit
no shutdown
exit
path b 1/1/2 raps-tag 1
eth-cfm
mep 121 domain 1 association 2
ccm-enable
control-mep
no shutdown
exit
exit
no shutdown
exit
no shutdown
----------------------------------------------
*A:PE-1>config>eth-ring#
*A:PE-1>config>eth-ring>path# no shutdown
INFO: ERMGR #1001 Not permitted - must configure eth-cfm MEP first
*A:PE-1>config>eth-ring>path#
A:PE-2>config>eth-ring# info
----------------------------------------------
revert-time 60
rpl-node owner
path a 1/1/1 raps-tag 1
rpl-end
eth-cfm
mep 112 domain 1 association 1
ccm-enable
control-mep
no shutdown
exit
exit
no shutdown
exit
path b 1/1/2 raps-tag 1
eth-cfm
mep 122 domain 1 association 2
ccm-enable
control-mep
no shutdown
exit
exit
no shutdown
exit
no shutdown
----------------------------------------------
A:PE-2>config>eth-ring#
*A:PE-2>config>eth-ring# path a rpl-end
INFO: ERMGR #1001 Not permitted - path-type rpl-end is not consistent with eth-ring 'rpl-node' type
*A:PE-2>config>eth-ring#
A:PE-3>config>eth-ring# info
----------------------------------------------
path a 1/1/1 raps-tag 1
eth-cfm
mep 113 domain 1 association 1
ccm-enable
control-mep
no shutdown
exit
exit
no shutdown
exit
path b 1/1/2 raps-tag 1
eth-cfm
mep 123 domain 1 association 2
ccm-enable
control-mep
no shutdown
exit
exit
no shutdown
exit
no shutdown
----------------------------------------------
A:PE-3>config>eth-ring#
*A:PE-1# show eth-ring 1
===============================================================================
Ethernet Ring 1 Information
===============================================================================
Description : (Not Specified)
Admin State : Up Oper State : Down
Node ID : ea:4b:ff:00:00:00
Guard Time : 5 deciseconds RPL Node : rplNone
Max Revert Time : 300 seconds Time to Revert : N/A
CCM Hold Down Time : 0 centiseconds CCM Hold Up Time : 20 deciseconds
Compatible Version : 2
APS Tx PDU : Request State: 0xB
Sub-Code : 0x0
Status : 0x20 ( BPR )
Node ID : ea:4b:ff:00:00:00
Defect Status :
Sub-Ring Type : none
-------------------------------------------------------------------------------
Ethernet Ring Path Summary
-------------------------------------------------------------------------------
Path Port Raps-Tag Admin/Oper Type Fwd State
-------------------------------------------------------------------------------
a 1/1/1 1 Up/Down normal blocked
b 1/1/2 1 Up/Down normal blocked
===============================================================================
*A:PE-1#
Path a and b defined in the eth-ring must be added as SAPs into a VPLS service (standard VPLS in this example) using the eth-ring parameter. The SAP encapsulation values must match the values of the
raps-tag configured for the associated path.
*A:PE-1# configure service vpls 10 customer 1 create
*A:PE-1>config>service>vpls# info
----------------------------------------------
stp
shutdown
exit
sap 1/1/1:1 eth-ring 1 create
stp
shutdown
exit
exit
sap 1/1/2:1 eth-ring 1 create
stp
shutdown
exit
exit
no shutdown
----------------------------------------------
*A:PE-1>config>service>vpls#
*A:PE-2# /configure service vpls 10 customer 1 create
*A:PE-2>config>service>vpls# info
----------------------------------------------
stp
shutdown
exit
sap 1/1/1:1 eth-ring 1 create
stp
shutdown
exit
exit
sap 1/1/2:1 eth-ring 1 create
stp
shutdown
exit
exit
no shutdown
----------------------------------------------
*A:PE-2>config>service>vpls#
A:PE-3# configure service vpls 10 customer 1 create
A:PE-3>config>service>vpls# info
----------------------------------------------
stp
shutdown
exit
sap 1/1/1:1 eth-ring 1 create
stp
shutdown
exit
exit
sap 1/1/2:1 eth-ring 1 create
stp
shutdown
exit
exit
no shutdown
----------------------------------------------
A:PE-3>config>service>vpls#
Note that you cannot add a normal SAP or SDP in a control channel VPLS, only SAPs with an eth-ring parameter can be added. Trying to add a SAP without this parameter into a control channel VPLS will result in the message below being displayed.
A:PE-3>config>service>vpls# sap 1/2/1:1 create
MINOR: SVCMGR #1321 Service contains an Ethernet ring control SAP
A:PE-3>config>service>vpls#
*A:PE-2# show eth-ring status
===============================================================================
Ethernet Ring (Status information)
===============================================================================
Ring Admin Oper Path Information MEP Information
ID State State Path Tag State Ctrl-MEP CC-Intvl Defects
-------------------------------------------------------------------------------
1 Up Up a - 1/1/1 1 Up Yes 1 -----
b - 1/1/2 1 Up Yes 1 -----
===============================================================================
Ethernet Tunnel MEP Defect Legend:
R = Rdi, M = MacStatus, C = RemoteCCM, E = ErrorCCM, X = XconCCM
*A:PE-2#
*A:PE-2# show eth-ring
===============================================================================
Ethernet Rings (summary)
===============================================================================
Ring Int Admin Oper Paths Summary Path States
ID ID State State a b
-------------------------------------------------------------------------------
1 - Up Up a - 1/1/1 1 b - 1/1/2 1 B U
===============================================================================
Ethernet Ring Summary Legend: B - Blocked U - Unblocked
*A:PE-2#
*A:PE-1# show eth-ring 1
===============================================================================
Ethernet Ring 1 Information
===============================================================================
Description : (Not Specified)
Admin State : Up Oper State : Up
Node ID : ea:4b:ff:00:00:00
Guard Time : 5 deciseconds RPL Node : rplNone
Max Revert Time : 300 seconds Time to Revert : N/A
CCM Hold Down Time : 0 centiseconds CCM Hold Up Time : 20 deciseconds
Compatible Version : 2
APS Tx PDU : N/A
Defect Status :
Sub-Ring Type : none
-------------------------------------------------------------------------------
Ethernet Ring Path Summary
-------------------------------------------------------------------------------
Path Port Raps-Tag Admin/Oper Type Fwd State
-------------------------------------------------------------------------------
a 1/1/1 1 Up/Up normal unblocked
b 1/1/2 1 Up/Up normal unblocked
===============================================================================
*A:PE-1#
PE-2:
*A:PE-2# show eth-ring 1
===============================================================================
Ethernet Ring 1 Information
===============================================================================
Description : (Not Specified)
Admin State : Up Oper State : Up
Node ID : ea:4c:ff:00:00:00
Guard Time : 5 deciseconds RPL Node : rplOwner
Max Revert Time : 60 seconds Time to Revert : N/A
CCM Hold Down Time : 0 centiseconds CCM Hold Up Time : 20 deciseconds
Compatible Version : 2
APS Tx PDU : Request State: 0x0
Sub-Code : 0x0
Status : 0x80 ( RB )
Node ID : ea:4c:ff:00:00:00
Defect Status :
Sub-Ring Type : none
-------------------------------------------------------------------------------
Ethernet Ring Path Summary
-------------------------------------------------------------------------------
Path Port Raps-Tag Admin/Oper Type Fwd State
-------------------------------------------------------------------------------
a 1/1/1 1 Up/Up rplEnd blocked
b 1/1/2 1 Up/Up normal unblocked
===============================================================================
*A:PE-2#
*A:PE-2# show eth-ring 1
===============================================================================
Ethernet Ring 1 Information
===============================================================================
Description : (Not Specified)
Admin State : Up Oper State : Up
Node ID : ea:4c:ff:00:00:00
Guard Time : 5 deciseconds RPL Node : rplOwner
Max Revert Time : 60 seconds Time to Revert : 45 seconds
CCM Hold Down Time : 0 centiseconds CCM Hold Up Time : 20 deciseconds
Compatible Version : 2
APS Tx PDU : N/A
Defect Status :
Sub-Ring Type : none
-------------------------------------------------------------------------------
Ethernet Ring Path Summary
-------------------------------------------------------------------------------
Path Port Raps-Tag Admin/Oper Type Fwd State
-------------------------------------------------------------------------------
a 1/1/1 1 Up/Up rplEnd unblocked
b 1/1/2 1 Up/Up normal unblocked
===============================================================================
*A:PE-2#
9 2014/10/03 12:54:06.84 UTC MINOR: ERING #2001 Base eth-ring-1
"Eth-Ring 1 path 0 changed fwd state to blocked"
*A:PE-3# show eth-ring 1
===============================================================================
Ethernet Ring 1 Information
===============================================================================
Description : (Not Specified)
Admin State : Up Oper State : Up
Node ID : ea:4d:ff:00:00:00
Guard Time : 5 deciseconds RPL Node : rplNone
Max Revert Time : 300 seconds Time to Revert : N/A
CCM Hold Down Time : 0 centiseconds CCM Hold Up Time : 20 deciseconds
Compatible Version : 2
APS Tx PDU : N/A
Defect Status :
Sub-Ring Type : none
-------------------------------------------------------------------------------
Ethernet Ring Path Summary
-------------------------------------------------------------------------------
Path Port Raps-Tag Admin/Oper Type Fwd State
-------------------------------------------------------------------------------
a 1/1/1 1 Up/Up normal unblocked
b 1/1/2 1 Up/Up normal unblocked
===============================================================================
*A:PE-3#
*A:PE-2# show eth-ring 1 path b
===============================================================================
Ethernet Ring 1 Path Information
===============================================================================
Description : (Not Specified)
Port : 1/1/2 Raps-Tag : 1
Admin State : Up Oper State : Up
Path Type : normal Fwd State : unblocked
Fwd State Change : 10/03/2014 11:56:17
Last Switch Command: noCmd
APS Rx PDU : Request State: 0x0
Sub-Code : 0x0
Status : 0x00 ( )
Node ID : ea:4d:ff:00:00:00
===============================================================================
*A:PE-2#
*A:PE-1# configure service vpls 100
*A:PE-1>config>service>vpls# info
----------------------------------------------
stp
shutdown
exit
sap 1/1/1:100 eth-ring 1 create
stp
shutdown
exit
exit
sap 1/1/2:100 eth-ring 1 create
stp
shutdown
exit
exit
sap 1/2/1:100 create
stp
shutdown
exit
exit
no shutdown
----------------------------------------------
*A:PE-1>config>service>vpls#
*A:PE-2# configure service vpls 100
*A:PE-2>config>service>vpls# info
----------------------------------------------
stp
shutdown
exit
sap 1/1/1:100 eth-ring 1 create
stp
shutdown
exit
exit
sap 1/1/2:100 eth-ring 1 create
stp
shutdown
exit
exit
sap 1/2/1:100 create
stp
shutdown
exit
exit
no shutdown
----------------------------------------------
*A:PE-2>config>service>vpls#
*A:PE-3# configure service vpls 100
*A:PE-3>config>service>vpls# info
----------------------------------------------
stp
shutdown
exit
sap 1/1/1:100 eth-ring 1 create
stp
shutdown
exit
exit
sap 1/1/2:100 eth-ring 1 create
stp
shutdown
exit
exit
sap 1/2/1:100 create
stp
shutdown
exit
exit
no shutdown
----------------------------------------------
*A:PE-3>config>service>vpls#
*A:PE-1# show service sap-using eth-ring
===============================================================================
Service Access Points (Ethernet Ring)
===============================================================================
SapId SvcId Eth-Ring Path Admin Oper Blocked Control/
State State Data
-------------------------------------------------------------------------------
1/1/1:1 10 1 a Up Up No Ctrl
1/1/2:1 10 1 b Up Up No Ctrl
1/1/1:100 100 1 a Up Up No Data
1/1/2:100 100 1 b Up Up No Data
-------------------------------------------------------------------------------
Number of SAPs : 4
===============================================================================
*A:PE-1#
*A:PE-2# configure port 1/1/2 shutdown
10 2014/10/03 12:56:18.03 UTC WARNING: SNMP #2004 Base 1/1/2
"Interface 1/1/2 is not operational"
11 2014/10/03 12:56:18.03 UTC MINOR: ERING #2001 Base eth-ring-1
"Eth-Ring 1 path 1 changed fwd state to blocked"
12 2014/10/03 12:56:18.03 UTC MINOR: ERING #2001 Base eth-ring-1
"Eth-Ring 1 path 0 changed fwd state to unblocked"
13 2014/10/03 12:56:18.04 UTC MAJOR: SVCMGR #2210 Base
"Processing of an access port state change event is finished and the status of a
ll affected SAPs on port 1/1/2 has been updated."
14 2014/10/03 12:56:21.85 UTC MINOR: ETH_CFM #2001 Base
"MEP 1/2/122 highest defect is now defRemoteCCM"
For troubleshooting, the tools dump eth-ring <
ring-index> command displays path information, the internal state of the control protocol, related statistics information and up to the last 16 protocol events (including messages sent and received, and the expiration of timers). An associated parameter
clear exists, clearing the event information in this output when the command is entered. The following is an example of the output on node PE-2 with port 1/1/2 active.
*A:PE-2# tools dump eth-ring 1
ringId 1 (Up/Up): numPaths 2 nodeId ea:4c:ff:00:00:00
SubRing: none (interconnect ring 0, propagateTc No), Cnt 0
path-a, port 1/1/1 (Up), tag 1.0(Up) status (Up/Up/Blk)
cc (Dn/Up): Cnt 5/5 tm 000 17:43:30.030/000 17:46:05.690
state: Cnt 23 B/F 000 17:54:59.030/000 17:52:31.220, flag: 0x0
path-b, port 1/1/2 (Up), tag 1.0(Up) status (Up/Up/Fwd)
cc (Dn/Up): Cnt 5/5 tm 000 17:52:35.040/000 17:53:56.900
state: Cnt 8 B/F 000 17:52:31.220/000 17:53:59.890, flag: 0x0
FsmState= IDLE, Rpl = Owner, revert = 60 s, guard = 5 ds
Defects =
Running Timers = PduReTx
lastTxPdu = 0x0080 Nr(RB )
path-a Rpl, RxId(I)= ea:4d:ff:00:00:00, rx= v1-0x0020 Nr, cmd= None
path-b Normal, RxId(I)= ea:4d:ff:00:00:00, rx= v1-0x0020 Nr, cmd= None
DebugInfo: aPathSts 7, bPathSts 7, pm (set/clr) 0/0, txFlush 0
RxRaps: ok 67 nok 0 self 3447, TmrExp - wtr 11(1), grd 7, wtb 0
Flush: cnt 31 (16/15/0) tm 000 17:54:59.030-000 17:54:59.030 Out/Ack 0/1
RxRawRaps: aPath 12397 bPath 12544 vPath 0
Now: 000 17:55:40.030 , softReset: No - noTx 0
Seq Event RxInfo(Path: NodeId-Bytes)
state:TxInfo (Bytes) Dir pA pB Time
=== ===== ============================== ===== === === ================
010 aUp
PEND-G: 0x0000 Nr Tx--> Blk Fwd 000 17:46:08.230
011 pdu B: ea:4d:ff:00:00:00-0x0000 Nr
PEND : 0x0000 Nr Rx<-- Blk Fwd 000 17:46:12.890
012 pdu
PEND : ----- Fwd Fwd 000 17:46:12.890
013 pdu A: ea:4d:ff:00:00:00-0x0000 Nr
PEND : Rx<-- Fwd Fwd 000 17:46:12.890
014 xWtr
IDLE : 0x0080 Nr(RB ) TxF-> Blk Fwd 000 17:47:12.030
015 pdu B: ea:4d:ff:00:00:00-0xb000 Sf
IDLE : 0x0080 Nr(RB ) RxF<- Blk Fwd 000 17:49:20.650
016 pdu
PROT : ----- Fwd Fwd 000 17:49:20.650
017 pdu B: ea:4d:ff:00:00:00-0x0000 Nr
PROT : Rx<-- Fwd Fwd 000 17:49:20.690
018 pdu
PEND : ----- Fwd Fwd 000 17:49:20.690
019 pdu A: ea:4d:ff:00:00:00-0x0000 Nr
PEND : Rx<-- Fwd Fwd 000 17:49:20.690
000 xWtr
IDLE : 0x0080 Nr(RB ) TxF-> Blk Fwd 000 17:50:20.030
001 bDn
PROT : 0xb020 Sf TxF-> Fwd Blk 000 17:52:31.220
002 pdu A: ea:4d:ff:00:00:00-0xb020 Sf
PROT : 0xb020 Sf RxF<- Fwd Blk 000 17:52:34.900
003 pdu B: ea:4d:ff:00:00:00-0x0020 Nr
PROT : 0xb020 Sf Rx<-- Fwd Blk 000 17:53:58.090
004 pdu A: ea:4d:ff:00:00:00-0x0020 Nr
PROT : 0xb020 Sf Rx<-- Fwd Blk 000 17:53:58.090
005 bUp
PEND-G: 0x0020 Nr Tx--> Fwd Blk 000 17:53:58.930
006 pdu B: ea:4d:ff:00:00:00-0x0020 Nr
PEND : 0x0020 Nr Rx<-- Fwd Blk 000 17:53:59.890
007 pdu
PEND : ----- Fwd Fwd 000 17:53:59.890
008 pdu A: ea:4d:ff:00:00:00-0x0020 Nr
PEND : Rx<-- Fwd Fwd 000 17:53:59.890
009 xWtr
IDLE : 0x0080 Nr(RB ) TxF-> Blk Fwd 000 17:54:59.030
*A:PE-2#