Configuring Ethernet CFM and Y.1731 Performance Monitoring on Layer 3 Interfaces. Cisco 4G-LTE-ANTM-O-3

Add to my manuals
444 Pages

advertisement

Configuring Ethernet CFM and Y.1731 Performance Monitoring on Layer 3 Interfaces. Cisco 4G-LTE-ANTM-O-3 | Manualzz

C H A P T E R

3

Configuring Ethernet CFM and Y.1731

Performance Monitoring on Layer 3 Interfaces

This chapter provides procedures for configuring the network interface device functionality, Ethernet data plane loopback, IEEE connectivity fault management, and Y.1731 performance monitoring, and contains the following sections:

Configuring a Network Interface Device on the L3 Interface, page 47

Ethernet Data Plane Loopback, page 50

CFM Support on Routed Port and Port MEP, page 56

Support for Y.1731 Performance Monitoring on Routed Port (L3 Subinterface), page 71

Configuring a Network Interface Device on the L3 Interface

Configuring a Network Interface Device (NID) enables support for the NID functionality on the router without including a NID hardware in the network. This feature combines the Customer-Premises Equipment (CPE) and the NID functionality into a physical device. The following are the advantages of configuring the NID functionality:

• Eliminates a physical device.

• Supports both the managed CPE feature set and the NID requirements.

Note This feature is supported only if you have purchased the advipservices licensing module. For more information about managing software activation licenses on the Cisco ISR and Cisco ISR G2 platforms, see http://www.cisco.com/en/US/docs/routers/access/sw_activation/SA_on_ISR.html

.

Configuring the NID

The following steps describe how to configure the NID:

Cisco 800 Series Integrated Services Routers Software Configuration Guide

47 OL-31704-02

Configuring Ethernet CFM and Y.1731 Performance Monitoring on Layer 3 Interfaces

Configuring the NID

SUMMARY STEPS

1. enable

2. configure terminal

3. interface gigabitethernet slot/port

4. port-tagging

5. encapsulation dot1q vlan-id

6. set cos cos-value

7. end

DETAILED STEPS

Step 1

Step 2

Step 3

Step 4

Step 5

Step 6

Command or Action enable

Purpose

Enables the privileged EXEC mode.

Enter your password when prompted.

Example:

Router>enable configure terminal Enters the global configuration mode.

Example:

Router#configure terminal

interface gigabitethernet slot/port

Example:

Router(config)#interface gigabitethernet 0/2

Specifies an interface and enters the interface configuration mode.

port-tagging Inserts the VLAN ID into a packet header to identify which

Virtual Local Area Network (VLAN) the packet belongs to.

Example:

Router(config-if)#port-tagging

encapsulation dot1q vlan-id Defines the encapsulation format as IEEE 802.1Q (dot1q), and specifies the VLAN identifier.

Example:

Router(config-if-port-tagging)#encapsulation dot1q 10

set cos cos-value Sets the Layer 2 class of service (CoS) value to an outgoing packet end.

Example:

Router(config-if-port-tagging)#set cos 6

48

Cisco 800 Series Integrated Services Routers Software Configuration Guide

OL-31704-02

Configuring Ethernet CFM and Y.1731 Performance Monitoring on Layer 3 Interfaces

Configuring the NID

Step 7

Command or Action end

Example:

Router(config-if-port-tagging)#end

Purpose

Exits the interface configuration mode.

Configuration Example

This configuration example shows how to configure the NID:

Router> enable

Router# configure terminal

Router(config)# interface gigabitethernet 0/2

Router(config-if)# port-tagging

Router(config-if-port-tagging)# encapsulation dot1q 10

Router(config-if-port-tagging)# set cos 6

Router(config-if-port-tagging)# end

Verifying the NID Configuration

Use the following commands to verify the port tagging sessions:

show run int

ping

Use the show run int command to display the port tagging sessions:

Router# show run int gi0/2

Building configuration...

Current configuration : 10585 bytes

!

interface GigabitEthernet0/2 no ip address duplex auto speed auto port-tagging encapsulation dot1q 10 set cos 6 exit end

!

interface GigabitEthernet0/2.1101

encapsulation dot1Q 100 ip address 132.1.101.4 255.255.255.0

!

interface GigabitEthernet0/2.1102

encapsulation dot1Q 100 ip address 132.1.102.4 255.255.255.0

!

Use the ping command to verify the connectivity with port tagging configured:

Router# ping

132.1.101.3

Type escape sequence to abort.

OL-31704-02

Cisco 800 Series Integrated Services Routers Software Configuration Guide

49

Configuring Ethernet CFM and Y.1731 Performance Monitoring on Layer 3 Interfaces

Ethernet Data Plane Loopback

Sending 5, 100-byte ICMP Echos to 132.1.101.3, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms router#

Troubleshooting the NID Configuration

Table 13: debug Commands for NID Configuration , on page 50

lists the debug commands to troubleshoot the issues pertaining to the NID functionality.

The Cisco IOS Master Command List at http://www.cisco.com/en/US/docs/ios/mcl/allreleasemcl/all_book.html

http://www.cisco.com/en/US/docs/ios/mcl/allreleasemcl/all_book.html provides more information about these commands.

Caution Because debugging output is assigned high priority in the CPU process, it can diminish the performance of the router or even render it unusable. For this reason, use debug commands only to troubleshoot specific problems or during troubleshooting sessions with Cisco technical support staff.

Note Before you run any of the debug commands listed in the following table, ensure that you run the logging

buffered debugging command, and then turn off console debug logging using the no logging console command.

Table 13: debug Commands for NID Configuration debug Command debug ethernet nid configuration debug ethernet nid packet egress debug ethernet nid packet ingress

Purpose

Enables debugging of configuration-related issues.

Enables debugging of packet processing (VLAN tag push) on the egress side.

Enables debugging of packet processing (VLAN tag pop) on the ingress side.

Ethernet Data Plane Loopback

The Ethernet Data Plane Loopback feature provides a means for remotely testing the throughput of an Ethernet port. You can verify the maximum rate of frame transmission with no frame loss.

Note This feature is supported only if you have purchased the advipservices licensing module. For more information about managing software activation licenses on the Cisco ISR and Cisco ISR G2 platforms, see http://www.cisco.com/en/US/docs/routers/access/sw_activation/SA_on_ISR.html

.

50

Cisco 800 Series Integrated Services Routers Software Configuration Guide

OL-31704-02

Configuring Ethernet CFM and Y.1731 Performance Monitoring on Layer 3 Interfaces

Restrictions for Configuring Ethernet Data Plane Loopback

Note Internal Ethernet data plane loopback is not supported.

Figure 4-1 represents a sample topology to configure Ethernet data plane loopback.

Restrictions for Configuring Ethernet Data Plane Loopback

Follow the guidelines and take note of the restrictions listed here when configuring Ethernet data plane loopback on a Layer 3 interface:

• Only external loopback (packets coming from the wire side) on the L3 dot1q subinterface and (untagged) main interface are supported.

• To perform a MAC swap, the destination address and source address must be swapped for the packets that are looped back. If the destination address is broadcast or multicast, the MAC address is used as the source address for the packets that are looped back.

• Loopback operations are supported at line rate.

• Untagged frames are not supported on a subinterface. However, the frames for dot1q and qinq are supported on a subinterface.

dot1ad is not supported on the main interface. However, untagged frames are supported on the main interface.

• Single VLAN is supported as a filtering option for a subinterface, but VLAN list and VLAN range are not supported.

• Only MAC address is supported as a filtering option for the main interface.

• For the filtering option, the destination MAC cannot be combined with inner VLAN or outer VLAN.

• There is no support for L3 and L4 loopback. Source and destination IP address or source and destination ports will not be swapped.

• Connectivity Fault Management (CFM) packets are transparent to the data plane loopback configuration and cannot be looped back.

• Packets coming from the other side of the wire where loopback is configured and having the same destination MAC address are dropped.

OL-31704-02

Cisco 800 Series Integrated Services Routers Software Configuration Guide

51

Configuring Ethernet CFM and Y.1731 Performance Monitoring on Layer 3 Interfaces

Configuring External Ethernet Data Plane Loopback

• The broadcast and multicast IP addresses of the broadcast and multicast IP frames that are received cannot be used as the source IP address of the frame when it is sent back to the initiator. In such a case, the IP address of the subinterface is used as the source IP address of the frame when it is sent back to the initiator.

Configuring External Ethernet Data Plane Loopback

Configuring external Ethernet data plane loopback is permitted on a Layer 3 main interface and subinterfaces.

The following steps show how to configure external Ethernet data plane loopback on a subinterface using single and double tagging. (The procedure to configure external Ethernet data plane loopback on the main interface is similar to this procedure.)

SUMMARY STEPS

1. enable

2. configure terminal

3. interface gigabitethernet slot/port.sub-port

4. Do one of the following:

encapsulation dot1q vlan-id

encapsulation dot1q vlan-id second-dot1q inner vlan-id

5. ethernet loopback permit external

6. end

7. ethernet loopback start local interface gigabitethernet slot/port.sub-port external timeout none

8. ethernet loopback stop local interface gigabitethernet slot/port.sub-port id session-id

9. show ethernet loopback active

DETAILED STEPS

Step 1

Step 2

Command or Action enable

Example:

Router>enable configure terminal

Example:

Router#configure terminal

Purpose

Enables the privileged EXEC mode.

Enter your password when prompted.

Enters the global configuration mode.

52

Cisco 800 Series Integrated Services Routers Software Configuration Guide

OL-31704-02

Configuring Ethernet CFM and Y.1731 Performance Monitoring on Layer 3 Interfaces

Configuring External Ethernet Data Plane Loopback

Step 3

Step 4

Step 5

Step 6

Step 7

Step 8

Command or Action

interface gigabitethernet slot/port.sub-port

Example:

Router(config)#interface gigabitethernet 0/2.1101

Purpose

Specifies the subinterface and enters the subinterface configuration mode.

Do one of the following:

encapsulation dot1q vlan-id

encapsulation dot1q vlan-id second-dot1q inner vlan-id

Defines the encapsulation format as IEEE 802.1Q

(dot1q), and specifies the VLAN identifier.

For double tagging, use the second-dot1q keyword and the inner vlan-id argument to specify the VLAN tag.

Example:

Router(config-subif)#encapsulation dot1q 100 or

Example:

Router(config-subif)#encapsulation dot1q 100 second-dot1q 1101 ethernet loopback permit external Configures Ethernet external loopback on the subinterface.

Example:

Router(config-subif)#ethernet loopback permit external end Exits the subinterface configuration mode.

Example:

Router(config-subif)#end ethernet loopback start local interface gigabitethernet

slot/port.sub-port external timeout none

Starts Ethernet external loopback on a subinterface.

Enter timeout as none to have no time out period for the loopback.

Example:

Router#ethernet loopback start local interface gigabitethernet 0/2.1101 external timeout none ethernet loopback stop local interface gigabitethernet

slot/port.sub-port id session-id

Stops Ethernet external loopback on a sub-interface.

Enter the value of the loopback session ID to specify the loopback session that you want to stop.

Example:

Router#ethernet loopback stop local interface gigabitethernet 0/2.1101 id 1

OL-31704-02

Cisco 800 Series Integrated Services Routers Software Configuration Guide

53

Configuration Examples for Ethernet Data Plane Loopback

Configuring Ethernet CFM and Y.1731 Performance Monitoring on Layer 3 Interfaces

Step 9

Command or Action show ethernet loopback active

Example:

Router#show ethernet loopback active

Purpose

Displays information to verify if the loopback session has ended.

Configuration Examples for Ethernet Data Plane Loopback

This example shows how to configure Ethernet data plane loopback using single tagging:

Router> enable

Router# configure terminal

Router(config)# interface gigabitethernet 0/2.1101

Router(config-subif)# encapsulation dot1q 100

Router(config-subif)# ethernet loopback permit external

Router(config-subif)# end

This example shows how to configure Ethernet data plane loopback using double tagging:

Router> enable

Router# configure terminal

Router(config)# interface gigabitethernet 0/2.1101

Router(config-subif)# encapsulation dot1q 100 second-dot1q 1101

Router(config-subif)# ethernet loopback permit external

Router(config-subif)# end

This example shows how to start an Ethernet data plane loopback:

Router# ethernet loopback start local interface gigabitethernet 0/2.1101 external timeout none

This is an intrusive loopback and the packets matched with the service will not be able to pass through. Continue? (yes/[no]):

Enter yes to continue.

This example shows how to stop an Ethernet data plane loopback:

Router# ethernet loopback stop local interface gigabitethernet 0/2.1101 id 1

Router#*Oct 21 10:16:17.887: %E_DLB-6-DATAPLANE_LOOPBACK_STOP: Ethernet Dataplane Loopback

Stop on interface GigabitEthernet0/2 with session id 1

Router# show ethernet loopback active

Total Active Session(s): 0

Total Internal Session(s): 0

Total External Session(s): 0

Verifying the Ethernet Data Plane Loopback Configuration

Use the following commands to verify the Ethernet data plane loopback configuration:

show ethernet loopback permitted

show ethernet loopback active

54

Cisco 800 Series Integrated Services Routers Software Configuration Guide

OL-31704-02

Configuring Ethernet CFM and Y.1731 Performance Monitoring on Layer 3 Interfaces

Troubleshooting the Ethernet Data Plane Loopback Configuration

Use the show ethernet loopback permitted command to view the loopback capabilities per interface:

Router# show ethernet loopback permitted

--------------------------------------------------------------------------------

Interface SrvcInst Direction

Dot1q/Dot1ad(s) Second-Dot1q(s)

--------------------------------------------------------------------------------

Gi0/2.1101

100

N/A

1101

External

Use the show ethernet loopback active command to display the summary of the active loopback sessions on a subinterface:

Router# show ethernet loopback active

Loopback Session ID

Interface

Service Instance

: 1

: GigabitEthernet0/2.1101

: N/A

Direction

Time out(sec)

Status

Start time

Time left

Dot1q/Dot1ad(s)

Second-dot1q(s)

: External

: none

: on

: *10:17:46.930 UTC Mon Oct 21 2013

: N/A

: 100

: 1101

Source Mac Address : Any

Destination Mac Address : Any

Ether Type

Class of service

: Any

: Any

Llc-oui : Any

Total Active Session(s): 1

Total Internal Session(s): 0

Total External Session(s): 1

Use the show ethernet loopback active command to display the summary of the active loopback sessions on the main interface:

Router# show ethernet loopback permitted

Loopback Session ID : 1

Interface

Service Instance

: GigabitEthernet0/2

: N/A

Direction

Time out(sec)

Status

Start time

: External

: none

: on

: *10:14:23.507 UTC Mon Oct 21 2013

Time left

Dot1q/Dot1ad(s)

: N/A

: 1-100

Second-dot1q(s)

Source Mac Address

: 1-1101

: Any

Destination Mac Address : Any

Ether Type

Class of service

: Any

: Any

Llc-oui : Any

Total Active Session(s): 1

Total Internal Session(s): 0

Total External Session(s): 1

Troubleshooting the Ethernet Data Plane Loopback Configuration

Table 14: debug Commands for Ethernet Data Plane Loopback Configuration , on page 56

lists the debug commands to troubleshoot issues pertaining to the Ethernet Data Plane Loopback feature. The Cisco IOS

Master Command List at http://www.cisco.com/en/US/docs/ios/mcl/allreleasemcl/all_book.html

http://www.cisco.com/en/US/docs/ios/mcl/allreleasemcl/all_book.html provides more information about these commands.

OL-31704-02

Cisco 800 Series Integrated Services Routers Software Configuration Guide

55

Configuring Ethernet CFM and Y.1731 Performance Monitoring on Layer 3 Interfaces

CFM Support on Routed Port and Port MEP

Caution Because debugging output is assigned high priority in the CPU process, it can diminish the performance of the router or even render it unusable. For this reason, use debug commands only to troubleshoot specific problems or during troubleshooting sessions with Cisco technical support staff.

Note Before you run any of the debug commands listed in the following table, ensure that you run the logging

buffered debugging command, and then turn off console debug logging using the no logging console command.

Table 14: debug Commands for Ethernet Data Plane Loopback Configuration debug Command debug elb-pal-pd all debug elb-pal-pd error debug elb-pal-pd event

Purpose

Displays all the debugging information about the

Ethernet data plane loopback configuration.

Displays debugging information about Ethernet data plane loopback configuration errors.

Displays debugging information about Ethernet data plane loopback configuration changes.

CFM Support on Routed Port and Port MEP

IEEE Connectivity Fault Management (CFM) is an end-to-end per-service Ethernet-layer Operations,

Administration, and Maintenance (OAM) protocol. CFM includes proactive connectivity monitoring, fault verification, and fault isolation for large Ethernet metropolitan-area networks (MANs) and WANs.

Note This feature is supported only if you have purchased the advipservices licensing module. For more information about managing software activation licenses on the Cisco ISR and Cisco ISR G2 platforms, see http://www.cisco.com/en/US/docs/routers/access/sw_activation/SA_on_ISR.html

.

Restrictions for Configuring Ethernet CFM

• A specific domain must be configured. If it is not, an error message is displayed.

• Multiple domains (different domain names) having the same maintenance level can be configured.

However, associating a single domain name with multiple maintenance levels is not permitted.

56

Cisco 800 Series Integrated Services Routers Software Configuration Guide

OL-31704-02

Configuring Ethernet CFM and Y.1731 Performance Monitoring on Layer 3 Interfaces

Configuring Ethernet CFM (Port MEP)

Configuring Ethernet CFM (Port MEP)

Complete these steps to configure and enable Ethernet CFM on a port Maintenance End Point (MEP):

SUMMARY STEPS

1. enable

2. configure terminal

3. ethernet cfm ieee

4. ethernet cfm global

5. ethernet cfm domain domain-name level value

6. service service-name port

7. continuity-check interval value

8. end

9. configure terminal

10. interface gigabitethernet slot/port

11. ethernet cfm mep domain domain-name mpid mpid-value service service-name

12. end

DETAILED STEPS

Step 1

Step 2

Step 3

Step 4

Command or Action enable

Example:

Router>enable configure terminal

Example:

Router#configure terminal ethernet cfm ieee

Example:

Router(config)#ethernet cfm ieee ethernet cfm global

Example:

Router(config)#ethernet cfm global

Purpose

Enables the privileged EXEC mode.

Enter your password when prompted.

Enters the global configuration mode.

Enables the IEEE version of CFM.

Enables CFM processing globally on the router.

OL-31704-02

Cisco 800 Series Integrated Services Routers Software Configuration Guide

57

Configuring Ethernet CFM and Y.1731 Performance Monitoring on Layer 3 Interfaces

Configuring Ethernet CFM (Port MEP)

Step 5

Step 6

Step 7

Step 8

Step 9

Step 10

Step 11

Step 12

Command or Action Purpose

ethernet cfm domain domain-name level value

Example:

Defines a CFM maintenance domain at a specified level, and enters the Ethernet CFM configuration mode.

level can be any value from 0 to 7.

Router(config-ecfm)#ethernet cfm domain carrier level 2

service service-name port Creates a service on the interface and sets the

config-ecfm-srv submode.

Example:

Router(config-ecfm)#service carrier port

continuity-check interval value Enables sending continuity check messages at the set interval.

Example:

Router(config-ecfm-srv)#continuity-check interval 100m end Returns the router to the privileged EXEC mode.

Example:

Router(config-ecfm-srv)#end configure terminal Enters the global configuration mode.

Example:

Router#configure terminal

interface gigabitethernet slot/port Specifies an interface and enters the interface configuration mode.

Example:

Router(config)#interface gigabitethernet 0/2

ethernet cfm mep domain domain-name mpid

mpid-value service service-name

Sets a port to a maintenance domain and defines it as an

MEP.

Note The values for domain and service must be the same as the values configured for CFM.

Example:

Router(config-if)#ethernet cfm mep domain carrier mpid 44 service carrier end Returns the router to the privileged EXEC mode.

Example:

Router(config-if-ecfm-mep)#end

58

Cisco 800 Series Integrated Services Routers Software Configuration Guide

OL-31704-02

Configuring Ethernet CFM and Y.1731 Performance Monitoring on Layer 3 Interfaces

Configuring Ethernet CFM (Port MEP)

Configuration Example for Ethernet CFM (Port MEP)

This example shows how to configure Ethernet CFM on a port MEP:

Router> enable

Router# configure terminal

Router(config)# ethernet cfm ieee

Router(config)# ethernet cfm global

Router(config-ecfm)# ethernet cfm domain carrier level 2

Router(config-ecfm)# service carrier port

Router(config-ecfm-srv)# continuity-check interval 100m

Router(config-ecfm-srv)# end

Router# configure terminal

Router(config)# interface gigabitethernet

0/2

Router(config-if)# ethernet cfm mep domain carrier mpid 44 service carrier

Router(config-if-ecfm-mep)# end

Verifying the Ethernet CFM Configuration on a Port MEP

Use the following commands to verify Ethernet CFM configured on a port MEP:

show ethernet cfm domain

show ethernet cfm maintenance-points local

show ethernet cfm maintenance-points remote

ping ethernet mpid mpid-value domain domain-name service service-name cos value

traceroute ethernet mpid mpid-value domain domain-name service service-name

show ethernet cfm error configuration

Use the show ethernet cfm domain command to view details about CFM maintenance domains:

Router# show ethernet cfm domain carrier

Domain Name: carrier

Level: 2

Total Services: 1

Services:

Type Id Dir CC CC-int Static-rmep Crosscheck MaxMEP Source MA-Name

Port none Dwn Y

Router#

100ms Disabled Disabled 100 Static carrier

Use the show ethernet cfm maintenance-points local command to view the MEPs that are configured locally on a router. The following is a sample output of the show ethernet cfm maintenance-points local command:

Router# show ethernet cfm maintenance-points local

Local MEPs:

--------------------------------------------------------------------------------

MPID Domain Name Lvl MacAddress Type CC

Ofld Domain Id

MA Name

Dir Port

SrvcInst

Id

Source

EVC name

--------------------------------------------------------------------------------

44 carrier

No carrier carrier

2 5657.a844.04fa Port Y

Down Gi0/2 none

N/A Static

OL-31704-02

Cisco 800 Series Integrated Services Routers Software Configuration Guide

59

Configuring Ethernet CFM and Y.1731 Performance Monitoring on Layer 3 Interfaces

Configuring Ethernet CFM (Port MEP)

N/A

Total Local MEPs: 1

Local MIPs: None

Use the show ethernet cfm maintenance-points remote command to display information about remote maintenance point domains or levels. In the following example, carrier, Provider, and customer are the maintenance point domains that are configured:

On router 1:

Router1# show ethernet cfm maintenance-points remote

--------------------------------------------------------------------------------

MPID Domain Name MacAddress IfSt PtSt

Lvl Domain ID

RDI MA Name

EVC Name

Local MEP Info

Ingress

Type Id SrvcInst

Age

--------------------------------------------------------------------------------

43 carrier 5657.a86c.fa92

Up N/A

2

carrier carrier

N/A

Gi0/2

Port none N/A

0s

33

5

-

MPID: 44 Domain: carrier MA: carrier

Provider

Provider

Provider

5657.a86c.fa92

Gi0/2.100

Vlan 100

Up

N/A

0s

Up

3101 customer

7

-

N/A

MPID: 34 Domain: Provider MA: Provider customer customer1101

3102 customer

7 customer

-

N/A

MPID: 4101 Domain: customer MA: customer1101 customer1102

N/A

5657.a86c.fa92

Gi0/2.1102

S,C 100,1102

MPID: 4102 Domain: customer MA: customer1102

Total Remote MEPs: 4

5657.a86c.fa92

Gi0/2.1101

S,C 100,1101

Up

N/A

0s

Up

N/A

0s

Up

Up

Use the show ethernet cfm maintenance-points remote command to view the details of a remote maintenance point domain:

On router 1:

Router1# show ethernet cfm maintenance-points remote domain carrier service carrier

--------------------------------------------------------------------------------

MPID Domain Name MacAddress IfSt PtSt

Lvl

RDI

Domain ID

MA Name

EVC Name

Local MEP Info

Ingress

Type Id SrvcInst

Age

--------------------------------------------------------------------------------

43

2 carrier carrier

5657.a86c.fa92

Gi0/2

Up Up

carrier

N/A

S,C 100,1101 N/A

0s

MPID: 44 Domain: carrier MA: carrier

Total Remote MEPs: 1

On router 2:

Router2# show ethernet cfm maintenance-points remote domain carrier service carrier

--------------------------------------------------------------------------------

MPID Domain Name

Lvl Domain ID

MacAddress

Ingress

IfSt PtSt

RDI MA Name

EVC Name

44

2 carrier carrier

Type Id

5657.g945.04fa

Gi0/2

SrvcInst

Age

Local MEP Info

--------------------------------------------------------------------------------

Up Up

60

Cisco 800 Series Integrated Services Routers Software Configuration Guide

OL-31704-02

Configuring Ethernet CFM and Y.1731 Performance Monitoring on Layer 3 Interfaces

Configuring Ethernet CFM (Single-Tagged Packets)

carrier

N/A

MPID: 43 Domain: carrier MA: carrier

S,C 100,1101 N/A

0s

Use the ping command to verify if Loopback Messages (LBM) and Loopback Replies (LBR) are successfully sent and received between the routers:

Router1# ping ethernet mpid 44 domain carrier service carrier cos 5

Type escape sequence to abort.

Sending 5 Ethernet CFM loopback messages to 5657.a86c.fa92, timeout is 5 seconds:!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms

Router1#

Use the traceroute command to send the Ethernet CFM traceroute messages:

Router# traceroute ethernet mpid 44 domain carrier service carrier

Type escape sequence to abort. TTL 64. Linktrace Timeout is 5 seconds

Tracing the route to 5657.a86c.fa92 on Domain carrier, Level 2, service carrier

Traceroute sent via Gi0/2

B = Intermediary Bridge

! = Target Destination

* = Per hop Timeout

--------------------------------------------------------------------------------

MAC Ingress Ingr Action Relay Action

Hops Host Forwarded Egress Egr Action Previous Hop

--------------------------------------------------------------------------------

! 1 5657.a86c.fa92 Gi0/2

Not Forwarded

IngOk RlyHit:MEP

5657.g945.04fa

Router#

Configuring Ethernet CFM (Single-Tagged Packets)

Complete these steps to configure and enable Ethernet CFM for single-tagged packets:

SUMMARY STEPS

1. enable

2. configure terminal

3. ethernet cfm ieee

4. ethernet cfm global

5. ethernet cfm domain domain-name level value

6. service service-name vlan vlan-id direction down

7. continuity-check

8. interface gigabitethernet slot/port

9. ethernet cfm mep domain domain-name mpid mpid-value service service-name

10. interface gigabitethernet slot/port.subinterface

11. encapsulation dot1q vlan-id

12. end

OL-31704-02

Cisco 800 Series Integrated Services Routers Software Configuration Guide

61

Configuring Ethernet CFM (Single-Tagged Packets)

Configuring Ethernet CFM and Y.1731 Performance Monitoring on Layer 3 Interfaces

DETAILED STEPS

Step 1

Step 2

Step 3

Step 4

Step 5

Step 6

Step 7

Step 8

Step 9

Command or Action enable

Purpose

Enables the privileged EXEC mode.

Enter your password when prompted.

Example:

Router>enable configure terminal Enters the global configuration mode.

Example:

Router#configure terminal ethernet cfm ieee Enables the IEEE version of CFM.

Example:

Router(config)#ethernet cfm ieee ethernet cfm global Enables CFM processing globally on the router.

Example:

Router(config)#ethernet cfm global

ethernet cfm domain domain-name level value

Example:

Defines a CFM maintenance domain at a specified level, and enters the Ethernet CFM configuration mode.

level can be any value from 0 to 7.

Router(config)#ethernet cfm domain customer level

7

service service-name vlan vlan-id direction down Enters the CFM service configuration mode.

vlan—Specifies the VLAN.

Example:

Router(config-ecfm)#service customer1101 vlan

100 direction down continuity-check Enables sending continuity check messages.

Example:

Router(config-ecfm-srv)#continuity-check

interface gigabitethernet slot/port Specifies an interface and enters the interface configuration mode.

Example:

Router(config-ecfm-srv)#interface gigabitethernet

0/2

ethernet cfm mep domain domain-name mpid

mpid-value service service-name

Sets a port to a maintenance domain and defines it as an

MEP.

62

Cisco 800 Series Integrated Services Routers Software Configuration Guide

OL-31704-02

Configuring Ethernet CFM and Y.1731 Performance Monitoring on Layer 3 Interfaces

Configuring Ethernet CFM (Single-Tagged Packets)

Step 10

Step 11

Step 12

Command or Action

Example:

Router(config-if)#ethernet cfm mep domain customer mpid 100 service customer1101

interface gigabitethernet slot/port.subinterface

Example:

Router(config-if-ecfm-mep)#interface gigabitethernet 0/2.1

encapsulation dot1q vlan-id

Example:

Router(config-subif)#encapsulation dot1q 100 end

Example:

Router(config-subif)#end

Purpose

Note The values for domain and service must be the same as the values that were configured for

CFM.

Specifies a subinterface and enters the subinterface configuration mode.

Defines the encapsulation format as IEEE 802.1Q (dot1q), and specifies the VLAN identifier.

Returns the router to the privileged EXEC mode.

Configuration Example for Ethernet CFM (Single-Tagged Packets)

This example shows how to configure Ethernet CFM for single-tagged packets:

Router> enable

Router# configure terminal

Router(config)# ethernet cfm ieee

Router(config)# ethernet cfm global

Router(config)# ethernet cfm domain customer level 7

Router(config-ecfm)# service customer1101 vlan 100 direction down

Router(config-ecfm-srv)# continuity-check

Router(config)# interface gigabitethernet

0/2

Router(config-if)# ethernet cfm mep domain customer mpid 100 service customer1101

Router(config-if-ecfm-mep)# interface gigabitethernet 0/2.1

Router(config-subif)# encapsulation dot1q 100

Router(config-subif)# end

Verifying the Ethernet CFM Configuration for Single-Tagged Packets

Use the following commands to verify Ethernet CFM configured for single-tagged packets:

show ethernet cfm domain

show ethernet cfm maintenance-points local

show ethernet cfm maintenance-points remote

OL-31704-02

Cisco 800 Series Integrated Services Routers Software Configuration Guide

63

Configuring Ethernet CFM and Y.1731 Performance Monitoring on Layer 3 Interfaces

Configuring Ethernet CFM (Single-Tagged Packets)

show ethernet cfm error configuration

Use the show ethernet cfm domain command to display the maintenance point domains configured in the network. In the following example, the customer, enterprise, and carrier maintenance point domains are configured.

Router# show ethernet cfm domain

Domain Name: customer

Level: 7

Total Services: 1

Services:

Type Id Dir CC CC-int Static-rmep Crosscheck MaxMEP Source MA-Name

Vlan 100 Dwn Y 10s Disabled Disabled 100 Static customer1101

Domain Name: enterprise

Level: 6

Total Services: 1

Services:

Type Id Dir CC CC-int Static-rmep Crosscheck MaxMEP Source MA-Name

Vlan 110 Dwn Y 10s

Domain Name: carrier

Disabled Disabled 100 Static custservice

Level: 2

Total Services: 1

Services:

Type Id Dir CC CC-int Static-rmep Crosscheck MaxMEP Source MA-Name

Vlan 200

Router#

Dwn Y 10s Disabled Disabled 100 Static carrier

Use the show ethernet cfm maintenance-points local command to view the local MEPs. The following is a sample output of the show ethernet cfm maintenance-points local command:

Router# show ethernet cfm maintenance-points local

--------------------------------------------------------------------------------

MPID Domain Name Lvl MacAddress Type CC

Ofld Domain Id

MA Name

Dir Port

SrvcInst

Id

Source

EVC name

--------------------------------------------------------------------------------

100 customer 7 70ca.9b4d.a400 Vlan Y

No customer customer1101

N/A

400 enterprise

Down Gi0/2

N/A

100

Static

No enterprise custservice

N/A

6 70ca.9b4d.a400 Vlan I

Down Gi0/1

N/A

110

Static

44

No carrier carrier carrier

N/A

Total Local MEPs: 3

Local MIPs: None

Router#

2 70ca.9b4d.a400 Vlan N

Down Gi0/2 200

N/A Static

Use the show ethernet cfm maintenance-points remote command to display information about remote maintenance point domains or levels.

The following example displays the continuity check messages exchanged between remote MEPs:

On router 1:

Router1# show ethernet cfm maintenance-points remote

-----------------------------------------------------------------------------------------

MPID Domain Name MacAddress IfSt PtSt

Lvl Domain

RDI MA

EVC Name

Local MEP Info

Ingress

Type Id SrvcInst

Age

-----------------------------------------------------------------------------------------

110 customer 70ca.9b4d.a400

Up Up

7 customer

customer1101

Gi0/2

Vlan 100 N/A

64

Cisco 800 Series Integrated Services Routers Software Configuration Guide

OL-31704-02

Configuring Ethernet CFM and Y.1731 Performance Monitoring on Layer 3 Interfaces

Configuring Ethernet CFM (Double-Tagged Packets)

N/A

MPID: 100 Domain: customer MA: customer1101

410 enterprise

6 enterprise

custservice

70ca.9b4d.a400

Gi0/1

Vlan 110

N/A

MPID: 400 Domain: enterprise MA: custservice

43 carrier

2 carrier

70ca.9b4d.a400

Gi0/2

carrier

N/A

Vlan 200

MPID: 44 Domain: carrier MA: carrier

Total Remote MEPs: 3

Router1#

On router 2:

12s

Up

N/A

12s

Up

N/A

12s

Up

Up

Router2# show ethernet cfm maintenance-points remote

-----------------------------------------------------------------------------------------

MPID Domain Name MacAddress IfSt PtSt

Lvl Domain

RDI MA

EVC Name

Local MEP Info

Ingress

Type Id SrvcInst

Age

-----------------------------------------------------------------------------------------

100 customer

7 customer

0026.99f7.0b41

Gi0/2

Up Up

customer1101

N/A

Vlan 100 N/A

2s

MPID: 110 Domain: customer MA: customer1101

400 enterprise 0026.99f7.0b41

6 enterprise

custservice

N/A

Gi0/1

Vlan 110

Up

N/A

2s

Up

MPID: 410 Domain: enterprise MA: custservice

44 carrier 0026.99f7.0b41

2

carrier carrier

N/A

Gi0/2

Vlan 200

MPID: 43 Domain: carrier MA: carrier

Total Remote MEPs: 3

Router2#

Up

N/A

2s

Up

Use the show ethernet cfm error configuration command to view Ethernet CFM configuration errors (if any). The following is a sample output of the show ethernet cfm error configuration command:

Router# show ethernet cfm error configuration

--------------------------------------------------------------------------------

CFM Interface Type Id Level Error type

--------------------------------------------------------------------------------

Gi0/2 S,C 100 5 CFMLeak

Configuring Ethernet CFM (Double-Tagged Packets)

Complete these steps to configure and enable Ethernet CFM for double-tagged packets:

OL-31704-02

Cisco 800 Series Integrated Services Routers Software Configuration Guide

65

Configuring Ethernet CFM (Double-Tagged Packets)

Configuring Ethernet CFM and Y.1731 Performance Monitoring on Layer 3 Interfaces

SUMMARY STEPS

1. enable

2. configure terminal

3. ethernet cfm ieee

4. ethernet cfm global

5. ethernet cfm domain domain-name level 0 to 7

6. service service-name vlan vlan-id inner-vlan inner vlan-id direction down

7. continuity-check

8. interface gigabitethernet slot/port

9. ethernet cfm mep domain domain-name mpid mpid-value service service-name

10. interface gigabitethernet slot/port.subinterface

11. encapsulation dot1q vlan-id second-dot1q inner vlan-id

12. end

DETAILED STEPS

Step 1

Step 2

Step 3

Step 4

Step 5

Step 6

Command or Action enable

Example:

Router>enable configure terminal

Purpose

Enables the privileged EXEC mode.

Enter your password when prompted.

Enters the global configuration mode.

Example:

Router#configure terminal ethernet cfm ieee

Example:

Router(config)#ethernet cfm ieee ethernet cfm global

Enables the IEEE version of CFM.

Enables CFM processing globally on the router.

Example:

Router(config)#ethernet cfm global

ethernet cfm domain domain-name level 0 to 7

Example:

Router(config-ecfm)#ethernet cfm domain customer level 7

service service-name vlan vlan-id inner-vlan inner

vlan-id direction down

Defines a CFM maintenance domain at a specified level, and enters Ethernet CFM configuration mode.

level can be any value from 0 to 7.

Enters the CFM service configuration mode.

The following are the parameters:

66

Cisco 800 Series Integrated Services Routers Software Configuration Guide

OL-31704-02

Configuring Ethernet CFM and Y.1731 Performance Monitoring on Layer 3 Interfaces

Configuring Ethernet CFM (Double-Tagged Packets)

Step 7

Step 8

Step 9

Step 10

Step 11

Step 12

Command or Action

Example:

Router(config-ecfm)#service customer1101 vlan

100 inner-vlan 30 direction down

Purpose

vlan—Specifies the VLAN.

inner-vlan—The inner-vlan keyword and the inner

vlan-id argument specify the VLAN tag for double-tagged packets.

continuity-check Enables sending continuity check messages.

Example:

Router(config-ecfm-srv)#continuity-check

interface gigabitethernet slot/port Specifies an interface and enters the interface configuration mode.

Example:

Router(config-ecfm-srv)#interface gigabitethernet 0/2

ethernet cfm mep domain domain-name mpid

mpid-value service service-name

Example:

Router(config-if)#ethernet cfm mep domain customer mpid 100 service customer1101

interface gigabitethernet slot/port.subinterface

Sets a port to a maintenance domain and defines it as an

MEP.

Note The values for domain and service must be the same as the values configured for CFM.

MPID—Specifies the maintenance endpoint identifier.

Specifies a subinterface and enters the subinterface configuration mode.

Example:

Router(config-if-ecfm-mep)#interface gigabitethernet 0/2.1101

encapsulation dot1q vlan-id second-dot1q inner vlan-id

Example:

Router(config-subif)#encapsulation dot1q 100 second-dot1q 30 end

Defines the encapsulation format as IEEE 802.1Q (dot1q), and specifies the VLAN identifier.

Use the second-dot1q keyword and the inner vlan-id argument to specify the VLAN tag.

Returns the router to the privileged EXEC mode.

Example:

Router(config-subif)#end

OL-31704-02

Cisco 800 Series Integrated Services Routers Software Configuration Guide

67

Configuring Ethernet CFM (Double-Tagged Packets)

Configuring Ethernet CFM and Y.1731 Performance Monitoring on Layer 3 Interfaces

Configuration Example for Ethernet CFM (Double-Tagged Packets)

This example shows how to configure Ethernet CFM for double-tagged packets:

Router> enable

Router# configure terminal

Router(config)# ethernet cfm ieee

Router(config)# ethernet cfm global

Router(config-ecfm)# ethernet cfm domain customer level 7

Router(config-ecfm)# service customer1101 vlan 100 inner-vlan 30 direction down

Router(config-ecfm-srv)# continuity-check

Router(config-ecfm-srv)# interface gigabitethernet

0/2

Router(config-if)# ethernet cfm mep domain customer mpid 100 service customer1101

Router(config-if-ecfm-mep)# interface gigabitethernet 0/2.1101

Router(config-subif)# encapsulation dot1q 100 second-dot1q 30

Router(config-subif)# end

Verififying the Ethernet CFM Configuration for Double-Tagged Packets

Use the following commands to verify Ethernet CFM configured for double-tagged packets:

show ethernet cfm maintenance-points local

show ethernet cfm maintenance-points remote

ping ethernet mpid mpid-value domain domain-name service service-name cos value

traceroute ethernet mpid mpid-value domain domain-name service service-name

show ethernet cfm error configuration

Use the show ethernet cfm maintenance-points local command to view the local MEPs. The following is a sample output of the show ethernet cfm maintenance-points local command:

Router# show ethernet cfm maintenance-points local

----------------------------------------------------------------------------------

MPID Domain Name

Lvl Domain ID

MacAddress

Ingress

IfSt PtSt

RDI MA Name

EVC Name

Type Id

Age

SrvcInst

Local MEP Info

----------------------------------------------------------------------------------

Up Up 100 customer

7 customer

customer1101

8843.e154.6f01

Gi0/2.1101

S, C 100, 30 N/A

N/A 58s

MPID: 100 Domain: customer MA: customer1101

Router#

Use the show ethernet cfm maintenance-points remote command to display the remote maintenance point domains. In the following example, customer, carrier, and enterprise are the maintenance point domains that are configured:

On router 1:

Router1# show ethernet cfm maintenance-points remote

----------------------------------------------------------------------------------

MPID Domain Name

Lvl Domain ID

RDI MA Name

EVC Name

MacAddress

Ingress

Type Id

IfSt

SrvcInst

Age

PtSt

Local MEP Info

68

Cisco 800 Series Integrated Services Routers Software Configuration Guide

OL-31704-02

Configuring Ethernet CFM and Y.1731 Performance Monitoring on Layer 3 Interfaces

Configuring Ethernet CFM (Double-Tagged Packets)

----------------------------------------------------------------------------------

110 customer 8843.e154.6f01

Up Up

7

customer customer1101

N/A

Gi0/2.1101

S, C 100, 30 N/A

58s

MPID: 100 Domain: customer MA: customer1101

43 carrier 8843.e154.6f01

2 carrier

carrier

Gi0/2.2

S, C 50, 20

N/A

MPID: 44 Domain: carrier MA: carrier

410 enterprise 8843.e154.6f01

Up

N/A

58s

Up

Up

Up

6 enterprise

custservice

N/A

MPID: 400 Domain: enterprise MA: custservice

Router1#

Gi0/1.1

S, C 200, 70 N/A

58s

On router 2:

Router2# show ethernet cfm maintenance-points remote

----------------------------------------------------------------------------------

IfSt PtSt MPID Domain Name

Lvl Domain ID

RDI MA Name

EVC Name

Local MEP Info

MacAddress

Ingress

Type Id SrvcInst

Age

----------------------------------------------------------------------------------

100 customer 0026.99f7.0b41

Up Up

7

customer customer1101

N/A

Gi0/2.1101

S, C 100, 30 N/A

40s

MPID: 110 Domain: customer MA: customer1101

44 carrier 0026.99f7.0b41

2 carrier

carrier

Gi0/2.2

S, C 50, 20

N/A

MPID: 43 Domain: carrier MA: carrier

400 enterprise 0026.99f7.0b41

6 enterprise

custservice

N/A

MPID: 410 Domain: enterprise MA: custservice

Router2#

Gi0/1.1

S, C 200, 70

Up

N/A

40s

Up

N/A

40s

Up

Up

Use the ping command to verify if Ethernet CFM loopback messages are successfully sent and received between the routers:

Router# ping ethernet mpid 100 domain customer service customer1101 cos 5

Type escape sequence to abort.

Sending 5 Ethernet CFM loopback messages to 8843.e154.6f01, timeout is 5 seconds:!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms

Router#

Use the traceroute command to send the Ethernet CFM traceroute messages:

Router# traceroute ethernet mpid 100 domain customer service customer1101

Type escape sequence to abort. TTL 64. Linktrace Timeout is 5 seconds

Tracing the route to 8843.e154.6f01 on Domain customer, Level 7, service customer1101, vlan

100 inner-vlan 30

Traceroute sent via Gi0/2.1101

B = Intermediary Bridge

! = Target Destination

* = Per hop Timeout

--------------------------------------------------------------------------------

MAC Ingress Ingr Action Relay Action

Hops Host Forwarded Egress Egr Action Previous Hop

--------------------------------------------------------------------------------

! 1 8843.e154.6f01 Gi0/2.1101 IngOk

Not Forwarded

RlyHit:MEP

5657.a86c.fa92

OL-31704-02

Cisco 800 Series Integrated Services Routers Software Configuration Guide

69

Configuring Ethernet CFM (Double-Tagged Packets)

Configuring Ethernet CFM and Y.1731 Performance Monitoring on Layer 3 Interfaces

Use the show ethernet cfm error configuration command to view Ethernet CFM configuration errors (if any). The following is a sample output of the show ethernet cfm error configuration command:

Router# show ethernet cfm error configuration

--------------------------------------------------------------------------------

CFM Interface Type Id Level Error type

--------------------------------------------------------------------------------

Gi0/2

Gi0/2

S,C 100,30

S,C 100,30

5

1

CFMLeak

CFMLeak

Troubleshooting Ethernet CFM Configuration

Table 15: debug Commands for Ethernet CFM Configuration , on page 70

lists the debug commands to troubleshoot issues pertaining to the Ethernet CFM configuration.

The Cisco IOS Master Command List at http://www.cisco.com/en/US/docs/ios/mcl/allreleasemcl/all_book.html

http://www.cisco.com/en/US/docs/ios/mcl/allreleasemcl/all_book.html provides more information about these commands.

Caution Because debugging output is assigned high priority in the CPU process, it can diminish the performance of the router or even render it unusable. For this reason, use debug commands only to troubleshoot specific problems or during troubleshooting sessions with Cisco technical support staff.

Note Before you run any of the debug commands listed in the following table, ensure that you run the logging

buffered debugging command, and then turn off console debug logging using the no logging console command.

Table 15: debug Commands for Ethernet CFM Configuration debug Command debug ethernet cfm all debug ethernet cfm diagnostic debug ethernet cfm error debug ethernet cfm packets debug ecfmpal all debug ecfmpal api

Purpose

Enables all Ethernet CFM debug messages.

Enables low-level diagnostic debugging of Ethernet

CFM general events or packet-related events.

Enables debugging of Ethernet CFM errors.

Enables debugging of Ethernet CFM message packets.

Enables debug messages for all Ethernet CFM platform events.

Displays debug messages for all Ethernet CFM platform API events.

70

Cisco 800 Series Integrated Services Routers Software Configuration Guide

OL-31704-02

Configuring Ethernet CFM and Y.1731 Performance Monitoring on Layer 3 Interfaces

Support for Y.1731 Performance Monitoring on Routed Port (L3 Subinterface) debug Command debug ecfmpal common debug ecfmpal ecfmpal debug ecfmpal epl debug ecfmpal isr

Purpose

Displays debug messages for all Ethernet CFM platform common events.

Enables debugging of all Ethernet CFM platform events.

Enables debugging of all Ethernet CFM platform endpoint list (EPL) events.

Enables debugging of all Ethernet CFM platform interrupt service request (ISR) events.

Support for Y.1731 Performance Monitoring on Routed Port (L3

Subinterface)

Y.1731 Performance Monitoring (PM) provides a standard Ethernet PM function that includes measurement of Ethernet frame delay, frame delay variation, frame loss, and frame throughput measurements specified by the ITU-T Y-1731 standard and interpreted by the Metro Ethernet Forum (MEF) standards group.

Note This feature is supported only if you have purchased the advipservices licensing module. For more information about managing software activation licenses on the Cisco ISR and Cisco ISR G2 platforms, see http://www.cisco.com/en/US/docs/routers/access/sw_activation/SA_on_ISR.html

.

Frame Delay

Ethernet frame delay measurement is used to measure frame delay and frame delay variations. Ethernet frame delay is measured using the Delay Measurement Message (DMM) method.

Restrictions for Configuring Two-Way Delay Measurement

Follow the guidelines and restrictions listed here when you configure two-way delay measurement:

• Y.1731 PM measurement works only for a point-to-point network topology.

• The granularity of the clock for delay measurement is in seconds and nanoseconds.

• CFM Y.1731 packets work with a maximum of two VLAN tags. The expected behavior is not observed with more VLAN tags. Also, CFM Y.1731 packets do not work with untagged cases.

Cisco 800 Series Integrated Services Routers Software Configuration Guide

71 OL-31704-02

Configuring Ethernet CFM and Y.1731 Performance Monitoring on Layer 3 Interfaces

Configuring Two-Way Delay Measurement

Configuring Two-Way Delay Measurement

The following steps show how to configure two-way delay measurement. Both single and double tagging methods are included in the steps listed below.

SUMMARY STEPS

1. enable

2. configure terminal

3. ip sla operation number

4. Do one of the following:

ethernet y1731 delay DMM domain value vlan vlan-id mpid value cos value source mpid value

ethernet y1731 delay DMM domain value vlan vlan-id inner-vlan inner vlan-id mpid value cos

value source mpid value

5. aggregate interval seconds

6. exit

7. ip sla schedule operation number life value forever start-time value

8. end

DETAILED STEPS

Step 1

Step 2

Step 3

Step 4

Command or Action enable

Example:

Router> enable configure terminal

Purpose

Enables the privileged EXEC mode.

Enter your password when prompted.

Enters the global configuration mode.

Example:

Router# configure terminal

ip sla operation number

Example:

Router(config)# ip sla 1101

Do one of the following:

ethernet y1731 delay DMM domain value

vlan vlan-id mpid value cos value source

mpid value

Enables the IP SLA configuration.

operation-number —The IP SLA operation you want to configure.

Configures a two-way delay measurement.

Note Both single tagging and double tagging are supported.

The following are the parameters:

delay—Specifies the delay distribution parameter.

72

Cisco 800 Series Integrated Services Routers Software Configuration Guide

OL-31704-02

Configuring Ethernet CFM and Y.1731 Performance Monitoring on Layer 3 Interfaces

Configuration Examples for Two-Way Delay Measurement

Step 5

Step 6

Step 7

Step 8

Command or Action Purpose

Note DMM is the only supported delay distribution parameter.

ethernet y1731 delay DMM domain value

vlan vlan-id inner-vlan inner vlan-id mpid

value cos value source mpid valuevlan—Specifies the VLAN.

inner-vlan—The inner-vlan keyword and the inner vlan-id argument specify the VLAN tag for double-tagged packets.

Example:

Router(config-ip-sla)# ethernet y1731 delay

DMM domain customer vlan 100 mpid 3101 cos

1 source mpid 4101 or Note

cos—Specifies the CoS. The value can be any number between 0 and 7.

For double-tagged packets, the cos value corresponds to the value specified for the outer tag.

Example: • mpid—Specifies the destination MPID.

Router(config-ip-sla)# ethernet y1731 delay

DMM domain customer vlan 100 inner-vlan

1101 mpid 3101 cos 1 source mpid 4101

aggregate interval seconds

source—Specifies the source MPID.

Configures the Y.1731 aggregation parameter, where aggregate

interval refers to the interval at which the packets are sent.

Example:

seconds —Specifies the length of time, in seconds.

Router(config-sla-y1731-delay)# aggregate interval 30 exit Exits the router configuration mode.

Example:

Router(config-sla-y1731-delay)# exit

ip sla schedule operation number life value forever

start-time value

Schedules the two-way delay measurement.

life—Specifies a period of time (in seconds) to execute. The value can also be set as forever .

Example:

Router(config)#ip sla schedule 1101 life forever start-time now

start-time—Specifies the time at which to start the entry.

The options available are after, hh:mm, hh:mm:ss, now, and

pending .

end

Example:

Router(config)#end

Exits the router configuration mode and returns to the privileged

EXEC mode.

Configuration Examples for Two-Way Delay Measurement

This example shows how to configure two-way delay measurement using single tagging: router> enable

OL-31704-02

Cisco 800 Series Integrated Services Routers Software Configuration Guide

73

Verifying Two-Way Delay Measurement Configuration

Configuring Ethernet CFM and Y.1731 Performance Monitoring on Layer 3 Interfaces router# configure terminal router(config)# ip sla

1101 router(config-ip-sla)# ethernet y1731 delay DMM domain customer vlan 100 mpid 3101 cos 1 router(config-sla-y1731-delay)# aggregate interval 30 router(config-sla-y1731-delay)# exit router(config)# ip sla schedule 1102 life forever start-time now router(config)# end

This example shows how to configure two-way delay measurement using double tagging: router> enable router# configure terminal router(config)# ip sla

1101 router(config-ip-sla)# ethernet y1731 delay DMM domain customer vlan 100 inner-vlan 1101 mpid 3101 cos 1 source mpid 4101 router(config-sla-y1731-delay)# aggregate interval 30 router(config-sla-y1731-delay)# exit router(config)# ip sla schedule 1101 life forever start-time now router(config)# end

Verifying Two-Way Delay Measurement Configuration

Use the following commands to verify the performance-monitoring sessions:

show run | sec ip sla

show ip sla summary

show ip sla statistics entry-number

show ip sla configuration entry-number

show ethernet cfm pm session summary

• show ethernet cfm pm session detail session-id

• show ethernet cfm pm session db session-id

The following are the sample outputs of the commands listed above:

Router# show run | sec ip sla ip sla auto discovery ip sla 1101 ethernet y1731 delay DMM domain customer vlan 100 inner-vlan 1101 mpid 3101 cos

1 source mpid 4101 ip sla schedule 1101 life forever start-time now

Router# show ip sla summary

IPSLAs Latest Operation Summary

Codes: * active, ^ inactive, ~ pending

ID

*1101

Type Destination lan:100 CVlan:110

1 Mpid:3101

Stats y1731-delay Domain:customer V -

Return

OK

Last

(ms) Code Run

-----------------------------------------------------------------------

27 seconds ag o

Router# show ip sla statistics

IPSLAs Latest Operation Statistics

IPSLA operation id: 1101

Delay Statistics for Y1731 Operation 1101

Type of operation: Y1731 Delay Measurement

Latest operation start time: *10:43:12.930 UTC Mon Oct 21 2013

Latest operation return code: OK

74

Cisco 800 Series Integrated Services Routers Software Configuration Guide

OL-31704-02

Configuring Ethernet CFM and Y.1731 Performance Monitoring on Layer 3 Interfaces

Verifying Two-Way Delay Measurement Configuration

Distribution Statistics:

Interval

Start time: *10:43:12.930 UTC Mon Oct 21 2013

Elapsed time: 15 seconds

Number of measurements initiated: 7

Number of measurements completed: 7

Flag: OK

Router# show ip sla configuration 1101

IP SLAs Infrastructure Engine-III

Entry number: 1101

Owner:

Tag:

Operation timeout (milliseconds): 5000

Ethernet Y1731 Delay Operation

Frame Type: DMM

Domain: customer

Vlan: 100

CVlan: 1101

Target Mpid: 3101

Source Mpid: 4101

CoS: 1

Max Delay: 5000

Request size (Padding portion): 64

Frame Interval: 1000

Clock: Not In Sync

Threshold (milliseconds): 5000

Schedule:

Operation frequency (seconds): 30 (not considered if randomly scheduled)

Next Scheduled Start Time: Start Time already passed

Group Scheduled : FALSE

Randomly Scheduled : FALSE

Life (seconds): Forever

Entry Ageout (seconds): never

Recurring (Starting Everyday): FALSE

Status of entry (SNMP RowStatus): Active

Statistics Parameters

Frame offset: 1

Distribution Delay Two-Way:

Number of Bins 10

Bin Boundaries: 5000,10000,15000,20000,25000,30000,35000,40000,45000,-1

Distribution Delay-Variation Two-Way:

Number of Bins 10

Bin Boundaries: 5000,10000,15000,20000,25000,30000,35000,40000,45000,-1

Aggregation Period: 30

History

Number of intervals: 2

Router# show ethernet cfm pm session summary

Number of Configured Session : 150

Number of Active Session: 2

Number of Inactive Session: 148

Router#

Router(config)# show ethernet cfm pm session detail 0

Session ID: 0

Sla Session ID: 1101

Level: 7

Service Type: S,C

Service Id: 100,1101

Direction: Down

Source Mac: 5352.a824.04fr

Destination Mac: 5067.a87c.fa92

Session Version: 0

Session Operation: Proactive

Session Status: Active

MPID: 4101

Tx active: yes

Rx active: yes

RP monitor Tx active: yes

RP monitor Rx active: yes

Timeout timer: stopped

Last clearing of counters: *00:00:00.000 UTC Mon Jan 1 1900

DMMs:

Transmitted: 117

DMRs:

OL-31704-02

Cisco 800 Series Integrated Services Routers Software Configuration Guide

75

Troubleshooting Two-Way Delay Measurement Configuration

Configuring Ethernet CFM and Y.1731 Performance Monitoring on Layer 3 Interfaces

Rcvd: 117

1DMs:

Transmitted: 0

Rcvd: 0

LMMs:

Transmitted: 0

LMRs:

Rcvd: 0

VSMs:

Transmitted: 0

VSRs:

Rcvd: 0

SLMs:

Transmitted: 0

SLRs:

Rcvd: 0

Test ID 0

Router1#

Router# show ethernet cfm pm session db 0

----------------------------------------------------------------------------

TX Time FWD

TX Time BWD

Sec:nSec

RX Time FWD

RX Time BWD

Sec:nSec

Frame Delay

Sec:nSec

----------------------------------------------------------------------------

Session ID: 0

****************************************************************************

3591340722:930326034 3591340663:866791722

3591340663:866898528 3591340722:930707484 0:274644

****************************************************************************

3591340723:927640626 3591340664:864091056

3591340664:864182604 3591340723:927976302 0:244128

****************************************************************************

3591340724:927640626

3591340665:864167346

3591340665:864091056

3591340724:927961044 0:244128

****************************************************************************

3591340725:927671142 3591340666:864121572

3591340666:864213120 3591340725:928006818 0:244128

****************************************************************************

3591340726:927655884 3591340667:864106314

3591340667:864197862 3591340726:927991560 0:244128

****************************************************************************

3591340727:927732174

3591340668:864533538

3591340668:864167346

3591340727:928327236 0:228870

****************************************************************************

3591340728:927655884 3591340669:864121572

3591340669:864197862 3591340728:928006818 0:274644

****************************************************************************

3591340729:927671142 3591340670:864121572

3591340670:864197862 3591340729:927991560 0:244128

****************************************************************************

Troubleshooting Two-Way Delay Measurement Configuration

Table 16: debug Commands for Two-Way Delay Measurement Configuration , on page 77

lists the debug commands to troubleshoot issues pertaining to the two-way delay measurement configuration.

The Cisco IOS Master Command List at http://www.cisco.com/en/US/docs/ios/mcl/allreleasemcl/all_book.html

http://www.cisco.com/en/US/docs/ios/mcl/allreleasemcl/all_book.html provides more information about these commands.

76

Cisco 800 Series Integrated Services Routers Software Configuration Guide

OL-31704-02

Configuring Ethernet CFM and Y.1731 Performance Monitoring on Layer 3 Interfaces

Troubleshooting Two-Way Delay Measurement Configuration

Note Because debugging output is assigned high priority in the CPU process, it can diminish the performance of the router or even render it unusable. For this reason, use debug commands only to troubleshoot specific problems or during troubleshooting sessions with Cisco technical support staff.

Note Before you run any of the debug commands listed in the following table, ensure that you run the logging

buffered debugging command, and then turn off console debug logging using the no logging console command.

Table 16: debug Commands for Two-Way Delay Measurement Configuration debug Command debug epmpal all debug epmpal api debug epmpal rx debug epmpal tx

Purpose

Enables debugging of all Ethernet performance monitoring (PM) events.

Enables debugging of Ethernet PM API events.

Enables debugging of Ethernet PM packet-receive events.

Enables debugging of Ethernet PM packet-transmit events.

OL-31704-02

Cisco 800 Series Integrated Services Routers Software Configuration Guide

77

Troubleshooting Two-Way Delay Measurement Configuration

Configuring Ethernet CFM and Y.1731 Performance Monitoring on Layer 3 Interfaces

78

Cisco 800 Series Integrated Services Routers Software Configuration Guide

OL-31704-02

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

Download PDF

advertisement

Table of contents