- Preface
- Configuration Management
- Administering the Cisco ME 1200 NID
- Configuring Notifications
- Zero Touch Provisioning
- Configuring Synchronous Ethernet
- Configuring Ethernet Virtual Connections
- Configuring Switch Ports
- Configuring Spanning-Tree Protocol
- Configuring Link Aggregation Control Protocol (LACP)
- Provisioning Link Layer Discovery Protocol
- Configuring SNMP
- Configuring PTP
- Configuring ACLs
- Configuring Quality of Service (QoS)
- Configuring Ethernet OAM, Link OAM, and CFM
- Configuring Performance Monitoring
- Configuring EPS
- Configuring ERPS
- Configuring L2CP
- Configuring MAC Security
- Configuring NTP
- Configuring Storm Control
- Configuring Syslog
- Configuring SPAN
- Configuring RSPAN
- Configuring RFC 2544
- Configuring sFlow
- Configuring UDLD
- Configuring Flex Links
- Configuring Y.1564
- Configuring LST
- Configuring Security Access Control Lists
- Multicast Vlan Register
- Double-tagged management VLAN using IVID parameter
- Configuring LAG Aggregation
Configuring
ERPS
This document describes the Ethernet Ring Protection Switching (ERPS) feature and configuration steps to implement protection switching mechanisms for Ethernet layer ring topologies.
- Prerequisites for Configuring ERPS
- Restrictions for Configuring ERPS
- Information About ERPS
- How to Provision ERPS
- Verifying ERPS
Prerequisites for Configuring ERPS
Restrictions for Configuring ERPS
Information About ERPS
The ITU-T G.8032 ERPS feature implements protection switching mechanisms for Ethernet layer ring topologies. This feature uses the G.8032 Ethernet Ring Protection (ERP) protocol, defined in ITU-T G.8032, to provide protection for Ethernet traffic in a ring topology, while ensuring that no loops are within the ring at the Ethernet layer. The loops are prevented by blocking traffic on either a predetermined link or a failed link.
The following figure shows the topology used for provisioning ERPS on NID-1 and NID-2.
How to Provision ERPS
Creating VLAN on NID-1
Configuration Example
The example shows how to create VLAN on NID-1:
Switch(ProvisionPortVlanPortType)# createVlanCommand createVlanReq vlan-list 2000 Switch(ProvisionPortVlanPortType)# modifySwPort modifySWPortConfig interface 3 Switch(ProvisionPortVlanPortType)# modifySwPort modifySWPortConfig mode trunk native vlan 1 Switch(ProvisionPortVlanPortType)# modifySwPort modifySWPortConfig mode trunk allowed vlan add vlan-list 2000 Switch(ProvisionPortVlanPortType)# modifySwPort modifySWPortConfig interface 4 Switch(ProvisionPortVlanPortType)# modifySwPort modifySWPortConfig mode trunk native vlan 1 Switch(ProvisionPortVlanPortType)# modifySwPort modifySWPortConfig mode trunk allowed vlan add vlan-list 2000 Switch(ProvisionPortVlanPortType)# modifySwPort review Switch(ProvisionPortVlanPortType)# modifySwPort commit Switch(ProvisionPortVlanPortType)# exit
Creating MEP on Port 1 of NID-1
Configuration Example
The example shows how to create MEP on port 1 of NID-1:
Switch(ProvisionMepPortType)# createMep createMepConfig mepInstance 100 Switch(ProvisionMepPortType)# createMep createMepConfig direction DOWN Switch(ProvisionMepPortType)# createMep createMepConfig domain vlan Switch(ProvisionMepPortType)# createMep createMepConfig level 0 Switch(ProvisionMepPortType)# createMep createMepConfig megDomain maName ERPS-1 Switch(ProvisionMepPortType)# createMep createMepConfig megDomain megIdFormat ituMeg Switch(ProvisionMepPortType)# createMep createMepConfig mepId 100 Switch(ProvisionMepPortType)# createMep createMepConfig mode MEP Switch(ProvisionMepPortType)# createMep createMepConfig residencePort 3 Switch(ProvisionMepPortType)# createMep createMepConfig flow 2000 Switch(ProvisionMepPortType)# addPeerMepId peerMepConfig mepInstance 100 Switch(ProvisionMepPortType)# addPeerMepId peerMepConfig peerMepId 101 Switch(ProvisionMepPortType)# addCcAps mepFunctionalConfig mepInstance 100 Switch(ProvisionMepPortType)# addCcAps mepFunctionalConfig cc enable priority 7 Switch(ProvisionMepPortType)# addCcAps mepFunctionalConfig cc enable frameRate fr1s Switch(ProvisionMepPortType)# addCcAps mepFunctionalConfig aps enable mode multi Switch(ProvisionMepPortType)# addCcAps mepFunctionalConfig aps enable priority 7 Switch(ProvisionMepPortType)# addCcAps mepFunctionalConfig aps enable switchingProtocol raps octet 1 Switch(ProvisionMepPortType)# addCcAps review Switch(ProvisionMepPortType)# addCcAps commit Switch(ProvisionMepPortType)# exit
Creating MEP on Port 2 of NID-1
Configuration Example
The example shows how to create MEP on port2 of NID-1:
Switch(ProvisionMepPortType)# createMep createMepConfig mepInstance 99 Switch(ProvisionMepPortType)# createMep createMepConfig direction DOWN Switch(ProvisionMepPortType)# createMep createMepConfig domain vlan Switch(ProvisionMepPortType)# createMep createMepConfig level 0 Switch(ProvisionMepPortType)# createMep createMepConfig megDomain maName W-N-V2000 Switch(ProvisionMepPortType)# createMep createMepConfig megDomain megIdFormat ieee name W-N-V2000 Switch(ProvisionMepPortType)# createMep createMepConfig mepId 101 Switch(ProvisionMepPortType)# createMep createMepConfig mode MEP Switch(ProvisionMepPortType)# createMep createMepConfig residencePort 4 Switch(ProvisionMepPortType)# createMep createMepConfig flow 2000 Switch(ProvisionMepPortType)# addPeerMepId peerMepConfig mepInstance 99 Switch(ProvisionMepPortType)# addPeerMepId peerMepConfig peerMepId 102 Switch(ProvisionMepPortType)# addCcAps mepFunctionalConfig mepInstance 99 Switch(ProvisionMepPortType)# addCcAps mepFunctionalConfig cc enable priority 7 Switch(ProvisionMepPortType)# addCcAps mepFunctionalConfig cc enable frameRate fr1s Switch(ProvisionMepPortType)# addCcAps mepFunctionalConfig aps enable mode multi Switch(ProvisionMepPortType)# addCcAps mepFunctionalConfig aps enable priority 7 Switch(ProvisionMepPortType)# addCcAps mepFunctionalConfig aps enable switchingProtocol raps octet 1 Switch(ProvisionMepPortType)# addCcAps review Switch(ProvisionMepPortType)# addCcAps commit Switch(ProvisionMepPortType)# exit
Configuring ERPS on NID-1
Configuration Example
The example shows how to configure ERPS on NID-1:
Switch(ErpsPortType)# setErpsInstConfig erpsConfig erpsInst 1 Switch(ErpsPortType)# setErpsInstConfig erpsConfig mep port0 aps 100 Switch(ErpsPortType)# setErpsInstConfig erpsConfig mep port0 sf 100 Switch(ErpsPortType)# setErpsInstConfig erpsConfig mep port1 aps 99 Switch(ErpsPortType)# setErpsInstConfig erpsConfig mep port1 sf 99 Switch(ErpsPortType)# setErpsInstConfig erpsConfig port0 3 Switch(ErpsPortType)# setErpsInstConfig erpsConfig port1 4 Switch(ErpsPortType)# setErpsInstConfig erpsConfig ringType major Switch(ErpsPortType)# setErpsInstProperties erpsInstconfig wtrTime 1 Switch(ErpsPortType)# setErpsInstProperties erpsInstconfig erpsInst 1 Switch(ErpsPortType)# setErpsInstProperties erpsInstconfig rplPort port0 Switch(ErpsPortType)# setErpsInstProperties erpsInstconfig rplRole owner Switch(ErpsPortType)# setErpsInstProperties erpsInstconfig vlan vlanList 2-10 Switch(ErpsPortType)# setErpsInstProperties erpsInstconfig wtrTime 1 Switch(ErpsPortType)# setErpsInstProperties review Switch(ErpsPortType)# setErpsInstProperties commit Switch(ErpsPortType)# exit
Creating VLAN on NID-2
Configuration Example
The example shows how to create VLAN on NID-2:
Switch(ProvisionPortVlanPortType)# createVlanCommand createVlanReq vlan-list 2000 Switch(ProvisionPortVlanPortType)# modifySwPort modifySWPortConfig interface 3 Switch(ProvisionPortVlanPortType)# modifySwPort modifySWPortConfig mode trunk native vlan 1 Switch(ProvisionPortVlanPortType)# modifySwPort modifySWPortConfig mode trunk allowed vlan add vlan-list 2000 Switch(ProvisionPortVlanPortType)# modifySwPort modifySWPortConfig interface 5 Switch(ProvisionPortVlanPortType)# modifySwPort modifySWPortConfig mode trunk native vlan 1 Switch(ProvisionPortVlanPortType)# modifySwPort modifySWPortConfig mode trunk allowed vlan add vlan-list 2000 Switch(ProvisionPortVlanPortType)# modifySwPort review Switch(ProvisionPortVlanPortType)# modifySwPort commit Switch(ProvisionPortVlanPortType)# exit
Creating MEP on Port 1 of NID-2
Configuration Example
The example shows how to create MEP on port 1 of NID-2:
Switch(ProvisionMepPortType)# createMep createMepConfig mepInstance 100 Switch(ProvisionMepPortType)# createMep createMepConfig direction DOWN Switch(ProvisionMepPortType)# createMep createMepConfig domain vlan Switch(ProvisionMepPortType)# createMep createMepConfig level 0 Switch(ProvisionMepPortType)# createMep createMepConfig megDomain maName ERPS-1 Switch(ProvisionMepPortType)# createMep createMepConfig megDomain megIdFormat ituMeg Switch(ProvisionMepPortType)# createMep createMepConfig mepId 101 Switch(ProvisionMepPortType)# createMep createMepConfig mode MEP Switch(ProvisionMepPortType)# createMep createMepConfig residencePort 3 Switch(ProvisionMepPortType)# createMep createMepConfig flow 2000 Switch(ProvisionMepPortType)# addPeerMepId peerMepConfig mepInstance 100 Switch(ProvisionMepPortType)# addPeerMepId peerMepConfig peerMepId 100 Switch(ProvisionMepPortType)# addCcAps mepFunctionalConfig mepInstance 100 Switch(ProvisionMepPortType)# addCcAps mepFunctionalConfig cc enable priority 7 Switch(ProvisionMepPortType)# addCcAps mepFunctionalConfig cc enable frameRate fr1s Switch(ProvisionMepPortType)# addCcAps mepFunctionalConfig aps enable mode multi Switch(ProvisionMepPortType)# addCcAps mepFunctionalConfig aps enable priority 7 Switch(ProvisionMepPortType)# addCcAps mepFunctionalConfig aps enable switchingProtocol raps octet 1 Switch(ProvisionMepPortType)# addCcAps review Switch(ProvisionMepPortType)# addCcAps commit Switch(ProvisionMepPortType)# exit
Creating MEP on Port 2 of NID-2
Configuration Example
The example shows how to create MEP on port 2 of NID-2:
Switch(ProvisionMepPortType)# createMep createMepConfig mepInstance 99 Switch(ProvisionMepPortType)# createMep createMepConfig direction DOWN Switch(ProvisionMepPortType)# createMep createMepConfig domain vlan Switch(ProvisionMepPortType)# createMep createMepConfig level 0 Switch(ProvisionMepPortType)# createMep createMepConfig megDomain maName W-N-V2000 Switch(ProvisionMepPortType)# createMep createMepConfig megDomain megIdFormat ieee name W-N-V2000 Switch(ProvisionMepPortType)# createMep createMepConfig mepId 103 Switch(ProvisionMepPortType)# createMep createMepConfig mode MEP Switch(ProvisionMepPortType)# createMep createMepConfig residencePort 5 Switch(ProvisionMepPortType)# createMep createMepConfig flow 2000 Switch(ProvisionMepPortType)# addPeerMepId peerMepConfig mepInstance 99 Switch(ProvisionMepPortType)# addPeerMepId peerMepConfig peerMepId 104 Switch(ProvisionMepPortType)# addCcAps mepFunctionalConfig mepInstance 99 Switch(ProvisionMepPortType)# addCcAps mepFunctionalConfig cc enable priority 7 Switch(ProvisionMepPortType)# addCcAps mepFunctionalConfig cc enable frameRate fr1s Switch(ProvisionMepPortType)# addCcAps mepFunctionalConfig aps enable mode multi Switch(ProvisionMepPortType)# addCcAps mepFunctionalConfig aps enable priority 7 Switch(ProvisionMepPortType)# addCcAps mepFunctionalConfig aps enable switchingProtocol raps octet 1 Switch(ProvisionMepPortType)# addCcAps review Switch(ProvisionMepPortType)# addCcAps commit Switch(ProvisionMepPortType)# exit
Configuring ERPS on NID-2
Configuration Example
The example shows how to configure ERPS on NID-2:
Switch(ErpsPortType)# setErpsInstConfig erpsConfig erpsInst 1 Switch(ErpsPortType)# setErpsInstConfig erpsConfig mep port0 aps 100 Switch(ErpsPortType)# setErpsInstConfig erpsConfig mep port0 sf 100 Switch(ErpsPortType)# setErpsInstConfig erpsConfig mep port1 aps 99 Switch(ErpsPortType)# setErpsInstConfig erpsConfig mep port1 sf 99 Switch(ErpsPortType)# setErpsInstConfig erpsConfig port0 3 Switch(ErpsPortType)# setErpsInstConfig erpsConfig port1 5 Switch(ErpsPortType)# setErpsInstConfig erpsConfig ringType major Switch(ErpsPortType)# setErpsInstProperties erpsInstconfig wtrTime 1 Switch(ErpsPortType)# setErpsInstProperties erpsInstconfig erpsInst 1 Switch(ErpsPortType)# setErpsInstProperties erpsInstconfig rplPort port0 Switch(ErpsPortType)# setErpsInstProperties erpsInstconfig rplRole neighbour Switch(ErpsPortType)# setErpsInstProperties erpsInstconfig vlan vlanList 2-10 Switch(ErpsPortType)# setErpsInstProperties erpsInstconfig wtrTime 1 Switch(ErpsPortType)# setErpsInstProperties review Switch(ErpsPortType)# setErpsInstProperties commit Switch(ErpsPortType)# exit
Configuring ERPS on the ME 3600
To configure ERPS on the ME 3600, such as Cisco ME 3600X Series Ethernet Access Switch, complete the following steps.
Configuration Example
The example shows how to configure ERPS on the ME 3600:
! ethernet cfm domain W-N-V2000 level 0 service W-N-V2000 evc evc2000 vlan 2000 direction down continuity-check continuity-check interval 1s efd notify g8032 ! ! interface GigabitEthernet0/1 switchport trunk allowed vlan none switchport mode trunk ! service instance 2000 ethernet evc2000 encapsulation dot1q 2000 bridge-domain 2000 cfm mep domain W-N-V2000 mpid 102 rmep mpid 101 ! ! interface GigabitEthernet0/20 switchport trunk allowed vlan none switchport mode trunk ! service instance 2000 ethernet evc2000 encapsulation dot1q 2000 bridge-domain 2000 cfm mep domain W-N-V2000 mpid 104 rmep mpid 103 ! ! ethernet ring g8032 profile 1 timer wtr 1 ! ethernet ring g8032 1 port0 interface GigabitEthernet0/1 port1 interface GigabitEthernet0/20 instance 1 profile 1 inclusion-list vlan-ids 2-10,2000 aps-channel level 0 port0 service instance 2000 port1 service instance 2000 ! !
Verifying ERPS
Use the following command to verify the ERPS status on the Cisco ME 1200 NID.
-
showErpsConfig showErpsReq erpsInstList 1
This command displays the ERPS status on the Cisco ME 1200 NID. The following is a sample output from the command:
Switch(ErpsPortType)# showErpsConfig showErpsReq erpsInstList 1 Switch(ErpsPortType)# showErpsConfig review
showErpsConfig reviewCommands in queue: showErpsConfig showErpsReq erpsInstList 1
Switch(ErpsPortType)# showErpsConfig commit
Stat = 0ShowErpsConfig_Output.erpsInfo.erpsInstance[0].grpId = 1 ShowErpsConfig_Output.erpsInfo.erpsInstance[0].config.ringType.t = 1 ShowErpsConfig_Output.erpsInfo.erpsInstance[0].config.ringType.u.major = 'major' ShowErpsConfig_Output.erpsInfo.erpsInstance[0].config.virtualConnection.t = 2 ShowErpsConfig_Output.erpsInfo.erpsInstance[0].config.virtualConnection.u.disable = 'Disable' ShowErpsConfig_Output.erpsInfo.erpsInstance[0].config.interconnect.t = 2 ShowErpsConfig_Output.erpsInfo.erpsInstance[0].config.interconnect.u.disable = 'Disable' ShowErpsConfig_Output.erpsInfo.erpsInstance[0].config.instance = 0 ShowErpsConfig_Output.erpsInfo.erpsInstance[0].config.port0 = 3 ShowErpsConfig_Output.erpsInfo.erpsInstance[0].config.port1 = 4 ShowErpsConfig_Output.erpsInfo.erpsInstance[0].config.mep.port0.sf = 100 ShowErpsConfig_Output.erpsInfo.erpsInstance[0].config.mep.port0.aps = 100 ShowErpsConfig_Output.erpsInfo.erpsInstance[0].config.mep.port1.sf = 99 ShowErpsConfig_Output.erpsInfo.erpsInstance[0].config.mep.port1.aps = 99 ShowErpsConfig_Output.erpsInfo.erpsInstance[0].instConfig.guardTime = 500 ShowErpsConfig_Output.erpsInfo.erpsInstance[0].instConfig.wtrTime = 1 ShowErpsConfig_Output.erpsInfo.erpsInstance[0].instConfig.revertive.t = 1 ShowErpsConfig_Output.erpsInfo.erpsInstance[0].instConfig.revertive.u.enable = 'Enable' ShowErpsConfig_Output.erpsInfo.erpsInstance[0].instConfig.version.t = 2 ShowErpsConfig_Output.erpsInfo.erpsInstance[0].instConfig.version.u.v2 = 'V2' ShowErpsConfig_Output.erpsInfo.erpsInstance[0].instConfig.topologyChangePropagate.t = 2 ShowErpsConfig_Output.erpsInfo.erpsInstance[0].instConfig.topologyChangePropagate.u.disable = 'Disable' ShowErpsConfig_Output.erpsInfo.erpsInstance[0].instConfig.holdoff = 0 ShowErpsConfig_Output.erpsInfo.erpsInstance[0].instConfig.rplRole.t = 1 ShowErpsConfig_Output.erpsInfo.erpsInstance[0].instConfig.rplRole.u.owner = 'owner' ShowErpsConfig_Output.erpsInfo.erpsInstance[0].instConfig.rplPort.t = 1 ShowErpsConfig_Output.erpsInfo.erpsInstance[0].instConfig.rplPort.u.port0 = 'port0' ShowErpsConfig_Output.erpsInfo.erpsInstance[0].instConfig.vlan.t = 1 ShowErpsConfig_Output.erpsInfo.erpsInstance[0].instConfig.vlan.u.vlanList = '2,3,4,5,6,7,8,9,10,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,1023,1024,1022,1021,1013,1012' ShowErpsConfig Commit Success!!!
-
showErpsStats erpsShowStateReq erpsInst 1
This command displays the ERPS status on the Cisco ME 1200 NID. The following is a sample output from the command:
Switch(EpsPortType)# showErpsStats erpsShowStateReq erpsInst 1 Switch(EpsPortType)# showErpsStats erpsShowStateReq show brief Switch(EpsPortType)# showErpsstats commit
ShowErpsStats_Output.erpsState.erpsInst[0].grpId = 1 ShowErpsStats_Output.erpsState.erpsInst[0].show.t = 1 ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.grpId = 1 ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.type = 'Maj' ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.version = '2' ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.port0 = 'GigabitEthernet 1/3' ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.port0Lnk = 'U' ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.port0Blk = 'B' ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.majGrp = '' ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.rplRole = 'Ownr' ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.rplPort = 'Port0' ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.rplBlk = 'Y' ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.fsmState = 'IDLE' ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.rApsTx = 'Y' ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.rApsPort0Rx = ' ' ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.fop = 'N' ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.port1 = 'GigabitEthernet 1/4' ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.port1Lnk = 'U' ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.port1Blk = 'U' ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.revertive = 'Rev' ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.ringType = '-' ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.rplRole_1 = '' ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.rplPort_1 = '' ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.rplBlk_1 = '' ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.rApsPort1Rx = ' ' ShowErpsStats Commit Success!!!