Cisco 7600 Series Ethernet Services Plus (ES+) and Ethernet Services Plus T (ES+T) Line Card Configuration Guide
Configuring Layer 1 and Layer 2 Features

Table Of Contents

Configuring Layer 1 and Layer 2 Features

Cisco 7600 Synchronous Ethernet Support

SSM and ESMC

Synchronization Status Message

Ethernet Synchronization Messaging Channel

Restrictions and Usage Guidelines

Configuring Synchronous Ethernet on the Cisco 7600 Router with ES+ Line Card

Configuring the Clock Recovery from SyncE

Configuring the Clock Recovery from BITS Port

Configuring the System to External

Configuring the Line to External

Managing Synchronization on ES+ Card

Verification

Troubleshooting the Synchronous Ethernet configuration

Troubleshooting

Flexible QinQ Mapping and Service Awareness

Restrictions and Usage Guidelines

Examples

Double Tag VLAN Connect

Selective QinQ with Xconnect

Selective QinQ with Layer 2 Switching

Double Tag Translation (2-to-2 Tag Translation)

Double Tag Termination (2 to 1 Tag Translation)

Verification

Troubleshooting

Configuring MultiPoint Bridging over Ethernet on Cisco 7600 Series ES+ Line Cards

Restrictions and Usage Guidelines

Examples

Single Tag Termination Example

Single Tag Tunneling Example

Single Tag Translation Example

Double Tag Tunneling Example

Double Tag Termination Configuration Example

Double-Tag Translation Configuration Example

Selective QinQ Configuration Example

Untagged Traffic Configuration Example

MPBE with Split Horizon Configuration Example

Verification

Backup Interface for Flexible UNI

Restriction and Usage Guidelines

Verification

Example

Troubleshooting

EVC On Port-Channel

Restrictions and Usage Guidelines

Troubleshooting

Configuring SPAN on EVC

Restrictions and Usage Guidelines

Configuring SPAN on EVC

Sample Configuration

Verifying SPAN on EVC

Troubleshooting

LACP Support for EVC Port Channel

Restrictions and Usage Guidelines

Verification

Troubleshooting

Configuring Layer 2 Access Control Lists (ACLs) on an EVC

Restrictions and Usage Guidelines

Creating a Layer 2 Access Control List

SUMMARY STEPS

DETAILED STEPS

Applying a Layer 2 Access Control List

SUMMARY STEPS

DETAILED STEPS

DHCP Snooping with Option-82 on EVC

Restrictions and Usage Guidelines

Example

Verification

Troubleshooting

DHCP Snooping Over p-mLACP

DHCP Snooping State Synchronization

Restrictions for DHCP Snooping over p-mLACP

Troubleshooting Tips

Pseudo-Multichassis LACP (p-mLACP) IGMP Snooping State Synchronization

IGMP Snooping State Synchronization

Restrictions for p-mLACP IGMP Snooping State Synchronization

Troubleshooting Tips

IP Source Guard for Service Instance

Restrictions and Usage Guidelines

Configuring IP Source Guard for a Service Instance

Example

Verification

Troubleshooting

Configuring MST on EVC Bridge Domain

Overview of MST and STP

Overview of MST on EVC Bridge Domain

Restrictions and Usage Guidelines

Examples

Verification

Troubleshooting

Configuring Link State Tracking (LST)

Restrictions and Usage Guidelines

Configuring Link State Tracking

Verification

Troubleshooting the Link State Tracking

MAC Address Security for EVC Bridge Domain

Restrictions and Usage Guidelines

Enabling MAC Address Security for EVC Bridge Domain

Disabling MAC Address Security for EVC Bridge Domain on an EFP

Examples

Configuring MAC Address Whitelist on an EFP

Configuring Sticky MAC Addresses on an EFP

Configuring Secure MAC Address Aging on an EFP

Configuring MAC Address Limiting on EFP

Configuring MAC Address Limiting on a Bridge Domain

Configuring Violation Response on an EFP

Examples

Error Recovery

Manual Recovery

Automatic recovery

Verification

Troubleshooting

CFM and PVST Co-Existence

Restrictions and Usage Guidelines

Configuring PVST and CFM Co-Existence

Configuring GVRP and CFM Co-Existence

Configuring PVST and GVRP Co-Existence

Verification

Custom Ethertype for EVC Interfaces

Supported Rewrite Rules for a Custom Ethertype Configuration

Supported Rewrites for Non-Range on C-Tag with a NNI

Supported Rewrites for Range on C-Tag with a NNI

Restrictions and Usage Guidelines

Examples

Single Tag Encap with Connect with Custom Ethertype Configured

Single Tag Encap with Bridge Domain

Single Tag Encap with XConnect

Custom Ethertype Support with Sub Interfaces

Verification

Troubleshooting

GE LAG with LACP on UNI with Advanced Load Balancing

Restrictions and Usage Guidelines

Configuring GE Link Aggregation with Advanced Load Balancing

Example

Verification

Troubleshooting Load Balancing Features

Storm Control on Switchports and Ports Having EVCs

Detecting a Broadcast Storm

Restrictions and Usage Guidelines

Configuring Storm Control on Ports with EVC Configurations

Example

Configuring Storm Control on Switchports

Example

Configuring Storm Control on Port Channels

Example

Verification

Storm Control over EVC

Restrictions for Storm Control over EVC

Configuring Storm Control over EVC

Detailed Steps

Examples

Verification

Asymmetric Carrier-Delay

Restrictions and Usage Guidelines

Configuring Asymmetric Carrier Delay

Verification

Manual Load Balancing for EVC over Port-Channel/LACP

Restrictions and Usage Guidelines

Configuring Manual Load Balancing for EVC over Port-Channel/LACP

Example

Verification

EVC Port Channel Per Flow Load Balancing

Restrictions

Configuring EVC Port Channel Per Flow Load Balancing

Summary Steps

Detailed Steps

Example

Verification

Configuring Layer 3 and Layer 4 ACLs

Configuration Examples

Verification

Multichassis Support for LACP

Requirements and Restrictions

Pseudo MLACP Support on Cisco 7600

Failover Operations

Failure Recovery

Restrictions for PMLACP on Cisco 7600

Configuring PMLACP on Cisco 7600

Configuration Examples

Verification

Troubleshooting Tips

Layer 2 Tunneling Protocol Version 3 (L2TPv3)

Restrictions for L2TPv3

Configuring L2TPv3

Troubleshooting Tips

Reverse L2GP for Cisco 7600

Restrictions and Usage Guidelines

Configuring Reverse L2GP for 7600

Configuring MST

Configuring the RL2GP Instance

Attaching the RL2GP Instance to a Port

Configuring the VPLS Pseudo Wire

Examples

Troubleshooting

Configuring Static MAC Binding to EVCs and Psuedowires

Restrictions and Usage Guidelines

Configuring Static MAC over EFP for the Cisco 7600 Router

Configuring MPLS on Core-Facing Interface

Configuring Static MAC over Pseudowire for the Cisco 7600 Router

Troubleshooting

Configuring Resilient Ethernet Protocol

REP Edge No-Neighbor

Configuring REP over Ethernet Virtual Circuit

Restrictions and Usage Guidelines

Configuring REP over EVC for the Cisco 7600 Router

Configuring REP over EVC using cross-connect on the Cisco 7600 Router

Configuring REP over EVC using connect for the Cisco 7600 Router

Configuring REP over EVC using bridge-domain for the Cisco 7600 Router

Configuring Resilient Ethernet Protocol Configurable Timers

Restrictions and Usage Guidelines

Configuring REP Configurable Timers for the Cisco 7600 Router

Configuring the REP Link Status Layer Retries

Configuring the REP Link Status Layer Age Out Timer

Troubleshooting the REP

IEEE 802.1ag-2007 Compliant CFM

SSupported Line Cards

Scalable Limits

Supported Interfaces

Restrictions and Usage Guidelines

Example

CFM over EFP Interface with xconnect

Restrictions and Usage Guidelines

Configuring CFM over EFP with xconnect for the Cisco 7600 Router

Configuring CFM over EFP Interface with Cross Connect—Basic Configuration

Configuring CFM over EFP Interface with Cross Connect—Single Tag VLAN Cross Connect

Configuring CFM over EFP Interface with Cross Connect—Double Tag VLAN Cross Connect

Configuring CFM over EFP Interface with Cross Connect—Selective QinQ Cross Connect

Configuring CFM over EFP Interface with Cross Connect—Port-Based Cross Connect Tunnel

Configuring CFM over EFP Interface with Cross Connect—Port Channel-Based Cross Connect Tunnel

Configuring CFM over EFP Interface with xconnect—Port Channel-Based xconnect Tunnel

Verification

Troubleshooting CFM Features

802.1ah: Configuring the MAC Tunneling Protocol

MTP Software Architecture

IB Backbone Edge Bridge

Data Plane Processing

MTP Configuration

Scalability Information

Restrictions and Usage Guidelines

Configuring the MTP for the Cisco 7600 Router

Troubleshooting

802.3ah: Dying Gasp and Remote Loopback Initiation

Restrictions for Dying Gasp and Remote Loopback Initiation

Configuring the Remote Loopback

Configuring the Dying Gasp

Configuration Examples

Verification

Support for IEEE 802.1ad

Prerequisites for IEEE 802.1ad

Restrictions for IEEE 802.1ad

Information About IEEE 802.1ad

How Provider Bridges Work

S-Bridge Component

C-Bridge Component

MAC Addresses for Layer 2 Protocols

Guidelines for Handling BPDU

7600 Action Table

Interoperability of QinQ and Dot1ad

How to Configure IEEE 802.1ad

Configuring a Switchport

Configuring a Layer 2 Protocol Forward

Configuring a Switchport for Translating QinQ to 802.1ad

Configuring a Switchport (L2PT)

Configuring a Customer-Facing UNI-C Port with EVC

Configuring a Customer-Facing UNI-C Port and Switchport on NNI with EVC

Configuring a Customer-Facing UNI-S Port with EVC

Configuring a Layer 3 Termination

Displaying a Dot1ad Configuration

Troubleshooting Dot1ad

Y.1731 Performance Monitoring

Connectivity

Frame Delay and Frame Delay Variation

Frame Loss Ratio and Availability

Supported Interfaces

Restrictions and Usage Guidelines

Configuring One Way Delay Measurement

Summary Steps

Detailed Steps

Configuration Example

Configuring Two-Way Delay Measurement

Summary Steps

Detailed Steps

Configuration Example

Configuring Single Ended Frame Loss Measurement

Summary Steps

Detailed Steps

Configuration Example

Verifying the Frame Delay and Frame Loss Measurement Configurations

Troubleshooting

IP and PPPoE Session Support

IP Address Assignment

IP Subnet (IP Range) Sessions

IP Interface Sessions

PPPoE and IPoE Session Support on Port Channel (1:1 Redundancy)

PPPoE and IPoE Session Support on QinQ Subinterfaces with IEEE 802.1AH Customer Ethertype

Restrictions and Usage Guidelines

Verification

Troubleshooting

Per Subscriber Session Call Admission Control (CAC)

Restrictions and Guidelines

Implementing CAC

Configuring Per Subscriber Session CAC

Summary Steps

Detailed Steps

Configuration Example

Verifying and Monitoring Per Subscriber Session CAC

Configuring Private Host on Pseudoport on CWAN Cards

Configuring Unidirectional Link Detection (UDLD) on Ports with EVCs

Restrictions and Usage Guidelines

Configuring UDLD Aggressive Mode

Enabling UDLD on Ports With EVC Configured

Disabling Individual UDLD on Ports With EVC Configured

Resetting Disabled UDLD on Ports With EVC Configured

Verification

Dynamic Ethernet Service Activation

Restrictions and Usage Guidelines

Configuring Dynamic Ethernet Service Activation Support on C7600

Configuring DESA for a Dynamic Ethernet Session

Detailed Steps

Configuration Steps for a Static Ethernet Session

Configuration Example

Verifying DESA

Troubleshooting DESA

Control Plane Protection on Non Access Subinterfaces

Restrictions and Usage Guidelines

Configuring COPP on a Non Access Subinterface

Summary Steps

Detailed Steps

Configuration Example

Verifying COPP on a Non Access Sub Interface

BFD Scale Improvement on ES+ Line Card for 7600

BFD Sessions Supported on RSP720 Versions

SSO Behavior

Restrictions for BFD Scale Improvement

Configuring BFD Hardware Offload for 7600

Troubleshooting BFD Hardware Offload


Configuring Layer 1 and Layer 2 Features


This chapter provides information about configuring layer 1 and layer 2 features on the Cisco 7600 Series Ethernet Services Plus (ES+) and Ethernet Services Plus T (ES+T) line card on the Cisco 7600 series router. It includes the following topics:

Cisco 7600 Synchronous Ethernet Support

Configuring MultiPoint Bridging over Ethernet on Cisco 7600 Series ES+ Line Cards

Backup Interface for Flexible UNI

EVC On Port-Channel

Configuring SPAN on EVC

Configuring SPAN on EVC

Configuring Layer 2 Access Control Lists (ACLs) on an EVC

Configuring MST on EVC Bridge Domain

Configuring Link State Tracking (LST)

MAC Address Security for EVC Bridge Domain

CFM and PVST Co-Existence

Custom Ethertype for EVC Interfaces

Storm Control on Switchports and Ports Having EVCs

Storm Control over EVC

Asymmetric Carrier-Delay

Manual Load Balancing for EVC over Port-Channel/LACP

EVC Port Channel Per Flow Load Balancing

Multichassis Support for LACP

Pseudo MLACP Support on Cisco 7600

Layer 2 Tunneling Protocol Version 3 (L2TPv3)

Reverse L2GP for Cisco 7600

Configuring Resilient Ethernet Protocol

IEEE 802.1ag-2007 Compliant CFM

802.1ah: Configuring the MAC Tunneling Protocol

802.3ah: Dying Gasp and Remote Loopback Initiation

Support for IEEE 802.1ad

Y.1731 Performance Monitoring

IP and PPPoE Session Support

Per Subscriber Session Call Admission Control (CAC)

Configuring Private Host on Pseudoport on CWAN Cards

Configuring Unidirectional Link Detection (UDLD) on Ports with EVCs

Configuring Unidirectional Link Detection (UDLD) on Ports with EVCs

Dynamic Ethernet Service Activation

BFD Scale Improvement on ES+ Line Card for 7600

For more information about the commands used in this chapter, see the Cisco IOS Release 12.2 SR Command References at http://www.cisco.com/en/US/products/ps6922/prod_command_reference_list.html.


Note The information provided in this chapter is applicable to both the ES+ and ES+T line cards unless specified otherwise.



Note Follow these restrictions and guidelines while cross-bundling various linecards:
1. ES20 and ES+ cross-bundling is not supported.
2. Any LAN card, and ES20/ES+ cross-bundling is not supported.


Cisco 7600 Synchronous Ethernet Support

Synchronous Ethernet (SyncE) defined by the ITU-T standards such as G.8261 and G.8262 leverages the PHY layer of Ethernet to transmit clock information to the remote sites. SyncE over Ethernet provides a cost-effective alternative to the SONET networks. For SyncE to work, each network element along the synchronization path must support SyncE. To implement SyncE, the Bit clock of the Ethernet is aligned to a reliable clock traceable to Primary Reference Clock (PRC).

SyncE is implemented on an ES+ card for Cisco 7600 series routers. An ES+ card has a dedicated external interface known as BITs interface to recover clock from a Synchronization Supply Unit (SSU). The 7600 router uses this clock for SyncE. The BITS interface supports E1(European SSUs) and T1 (American BITS) framing. Table 4-1 lists the framing modes for BITS port on an ES+ card:

Table 4-1 Framing Modes for BITS Port on an ES+ card

BITS/SSU port support Matrix
Framing modes supported
SSM/QL support
Tx Port
Rx Port

T1

T1 ESF

Yes

Yes

Yes

T1

T1 SF

No

Yes

Yes

E1

E1 CRC4

Yes

Yes

Yes

E1

E1 FAS

No

Yes

Yes

E1

E1 CAS

No

No

Yes

E1

E1 CAS CRC4

Yes

No

Yes

2048kHz

2048kHz

No

Yes

Yes


Table 4-2 lists the External Timing Input and Output Pinouts:

Table 4-2 External Timing Input and Output Pinout

Pin
Signal
Image

1

Rx Ring

2

Receive (Rx) Tip

3

Not used

4

Tx Ring

5

Transmit (Tx) Tip

6

Not used

7

Not used

8

Not used



Note The pin out for BITS port on ES+ is similar to E1 and T1.


You can implement SyncE on an ES+ card with four different configurations:

Clock Recovery from SyncE: System clock is recovered from the SyncE clocking source (gigabit and ten gigabit interfaces only). Router uses this clock as the Tx clock for other SyncE interfaces or ATM/CEoP interfaces.

Clock Recovery from External Interface: System clock is recovered from a BITS clocking source.

Line to External: The clock received from an Ethernet is forwarded to an external SSU. The SynE feature provides the functionality for clock cleanup. For a router in the middle of synchronization chain, the received clock may have unacceptable wander and jitter. The router recovers the clock from the SyncE interface, converts it to the format required for the BITS interface, and sends to a SSU through the BITS port. The SSU performs the cleanup and sends it back to the BITs interface. The cleaned up clock is received back from the SSU. This clock is used as Tx clock for the SyncE ports. For 7600 router, the interface from which the clock is recovered and the BITS port to the SSU should reside on the same ES+ card.

System to External: The system clock is used as Tx clock for an external interface. By default the system clock is not transmitted on the external interface.

The SyncE enabled ES+ line card provides the squelching functionality, where an Alarm indication Signal (AIS) is sent to the Tx interfaces if the clock source goes down. The squelching functionality is implemented in two cases:

Line to external: If the line source goes down, an AIS is transmitted on the external interface to the SSU.

System to external: If the router loses all the clock sources, an AIS is sent on the external interface to the SSU.

Squelching is performed only towards an external device such as SSU or PRC.

You can have a maximum of six clock sources for a 7600 Router and a maximum of 4 clock sources on an ES+ card. The clock source with highest priority is made the default clock source. You can manage the clock sources on an ES+ card by changing the priority of the clock sources. You can also manage the synchronization on ES+ cards using the following management options:

Hold-of Time: If a clock source goes down, the router waits for a specific hold-off time before removing the source. By default, the value of hold-of time is 300 ms.

Wait to Restore: If a SyncE interface comes up, the router waits for a specific period of time before considering the SyncE interface for synchronization source. By default, the value is 300 sec.

Force Switch: Forcefully select a synchronization source irrespective of whether the source is available or within the specified range.

Manual Switch: Forcefully select a synchronization source provided the source is available and within the range.

SSM and ESMC

Network Clocking uses these mechanisms to exchange the quality level of the clock between the network elements:

Synchronization Status Message

Ethernet Synchronization Messaging Channel

Synchronization Status Message

Network elements use Synchronization Status Messages (SSM) to inform the neighboring elements about the Quality Level (QL) of the clock. The non-ethernet interfaces such as optical interfaces and SONET/T1/E1 SPA framers uses SSM. The key benefits of the SSM functionality:

Prevents timing loops.

Provides fast recovery when a part of the network fails.

Ensures that a node derives timing from the most reliable clock source.

Ethernet Synchronization Messaging Channel

In order to maintain a logical communication channel in synchronous network connections, ethernet relies on a channel called Ethernet Synchronization Messaging Channel (ESMC) based on IEEE 802.3 Organization Specific Slow Protocol standards. ESMC relays the SSM code that represents the quality level of the Ethernet Equipment Clock (EEC) in a physical layer.

The ESMC packets are received only for those ports configured as clock sources and transmitted on all the SyncE interfaces in the system. These packets are then processed by the Clock selection algorithm on RP and are used to select the best clock. The Tx frame is generated based on the QL value of the selected clock source and sent to all the enabled SyncE ports.

Clock Selection Algorithm

Clock selection algorithm selects the best available synchronization source from the nominated sources. The clock selection algorithm has a non-revertive behavior among clock sources with same QL value and always selects the signal with the best QL value. For clock option 1, the default is revertive and for clock option 2, the default is non-revertive.

The clock selection process works in the QL enabled and QL disabled modes. When multiple selection processes are present in a network element, all processes work in the same mode.

QL-enabled mode

In QL-enabled mode, the following parameters contribute to the selection process:

Quality level

Signal fail via QL-FAILED

Priority

External commands.

If no external commands are active, the algorithm selects the reference (for clock selection) with the highest quality level that does not experience a signal fail condition. If multiple inputs have the same highest quality level, the input with the highest priority is selected. For multiple inputs having the same highest priority and quality level, the existing reference is maintained (if it belongs to this group), otherwise an arbitrary reference from this group is selected.

QL-disabled mode

In QL-disabled mode, the following parameters contribute to the selection process:

Signal failure

Priority

External commands

If no external commands are active, the algorithm selects the reference (for clock selection) with the highest priority that does not experience a signal fail condition. For multiple inputs having the same highest priority, the existing reference is maintained (if it belongs to this group), otherwise an arbitrary reference from this group is selected.

Hybrid mode

The SyncE feature requires that each network element along the synchronization path needs to support SyncE. Timing over Packet (ToP) enables transfer of timing over an asynchronous network. The hybrid mode uses the clock derived from 1588 (PTP) to drive the system clock. This is achieved by configuring the Timing over Packet (ToP) interface on the PTP slave as the input source.


Note The ToP interface does not support QL and works only in the QL-disabled mode.


The ES+ is a family of fixed-port SyncE line cards supporting 20 and 40 gbps bandwidth for the 7600 series routers. The following ES+ cards support SyncE:

4x10G XFP ports

40x1G SFP ports

2x10G XFP ports

20x1G SFP ports

4x10GE or 2x10GE with ITU-T G.709 DWDM optical interface

Restrictions and Usage Guidelines

Follow these restrictions and usage guidelines when configuring the SyncE on an ES40 line card:

If the network clock algorithm is enabled, all the ES+ cards on the router use the system clock as Tx clock (synchronous mode) for its ethernet interfaces. You cannot change the synchronous mode on a per interface basis for the line card. The whole line cards functions in the same mode.

On an ES+ card, you can have a maximum of 4 ports configured as clock source at a time.

For a 20x1 gigabit ES+ line card, you can select a maximum of two ports from each NPU.

For a 40x1 gigabit ES+ line card, you can select only one port from each NPU.

You can configure a maximum of 6 ports as a clock source for a Cisco 7600 router.

The line to external for clock clean up is supported only if the line interface and the external (BITS) interface are on the same ES+ line card.

SyncE feature is SSO co-existent, but not compliant. The clock selection algorithm is restarted on a switchover. During the switchover the router goes into hold-over mode.

The ES+ SyncE interfaces in WAN mode cannot be used for QL-enabled clock selection. You should either use them with the system in QL disabled mode or disable ESMC on the interfaces and use them as QL-disabled interfaces.

It is recommended that you do not configure multiple input sources with the same priority as this impacts the TSM switching delay.

You cannot implement the network-clock based clock selection algorithm and the new algorithm simultaneously. Both these algorithms are mutually exclusive.

SyncE is not supported on 1 Gigabit Ethernet copper SFPs (SFP GE-T and GLC-T).

Configuring Synchronous Ethernet on the Cisco 7600 Router with ES+ Line Card

This section describes how to configure SyncE for Cisco 7600 Router. SyncE is implemented on Cisco 7600 router using four different configurations:

Configuring the Clock Recovery from SyncE

Configuring the Clock Recovery from BITS Port

Configuring the System to External

Configuring the Line to External

Configuring the Clock Recovery from SyncE

This section describes how to configure SyncE over ES+ card on Cisco 7600 router using clock recovery from SyncE method.

SUMMARY STEPS

1. enable

2. configure terminal

3. network-clock synchronization automatic

4. network-clock synchronization ssm option option_Id Generation_Id

5. interface gigabitethernet slot/port or interface tengigabitethernet slot/port

6. [no]clock source {internal | line | loop}

7. synchronous mode

8. exit

9. network-clock input-source priority {interface interface_name slot/card/port | {external slot/card/port }}

10. exit

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

network-clock synchronization automatic

Example:

Router(config)# network-clock synchro- nization automatic

Enables the network clock selection algorithm. This command disables the Cisco specific network-clock process and turns on G.781 based automatic clock selection process.

Step 4 

network-clock synchronization ssm op- tion {option_id {GEN1 | GEN2}}

Example:

Router(config)# network-clock synchro- nization ssm option 2 GEN1

Configures the equipment to work in synchronization network. The option_id value 1 refers to synchronization networks design for Europe. This is the default value. The option_id value 2 refers to synchronization networks design for US.

Step 5 

interface gigabitethernet slot/port or interface tengigabitethernet slot/port

Example:

Router(config)# int gig 5/1

Specifies the Gigabit Ethernet or the Ten Gigabit Ethernet interface to configure, where:

slot/port—Specifies the location of the interface.

Step 6 

clock source {internal | line | loop}

Example:

Router(config-if)# clock source line

Indicates the clock source to use. The 3 options for clock source are:

internal: Use internal clock.

line: Recover clock from line.

loop: Use local loop timing.

To implement SYNCE, use line option.

Step 7 

synchronous mode

Example:

Router(config-if)# synchronous mode

Sets the mode to synchronous mode.

Step 8 

exit

Example:

Router(config)# exit

Exits the specific configuration mode.

Step 9 

network-clock input-source priority {interface interface_name slot/card/port | {external slot/card/port }}

Example:

Router(config)# network-clock in- put-source 1 interface TenGigabitEthernet7/1

Enables clock recovery from SyncE.

Step 10 

exit

Example:

Router(config)# exit

Exits the global configuration mode.

Examples

This example shows how to configure clock recovery from SyncE for Cisco 7600 Routers:

Router>enable
Router# configure terminal
Router(config)# network-clock synchronization automatic
Router(config)# network-clock synchronization ssm option 2 GEN1
Router(config)# int gig 5/1
Router(config-if)# clock source line
Router(config-if)# synchronous mode
Router(config)# exit
Router(config)# network-clock input-source 1 interface TenGigabitEthernet7/1
Router(config)# exit

Configuring the Clock Recovery from BITS Port

This section describes how to configure SyncE over ES+ card on Cisco 7600 router using clock recovery from BITS port.

SUMMARY STEPS

1. enable

2. configure terminal

3. network-clock synchronization automatic

4. network-clock synchronization ssm option option_Id Generation_Id

5. network-clock input-source priority {interface interface_name slot/card/port | {external slot/card/port }}

6. exit

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

network-clock synchronization automatic

Example:

Router(config)# network-clock synchro- nization automatic

Enables the network clock selection algorithm. This command disables the Cisco specific network-clock process and turns on G.781 based automatic clock selection process.

Step 4 

network-clock synchronization ssm op- tion {option_id {GEN1 | GEN2}}

Example:

Router(config)# network-clock synchro- nization ssm option 2 GEN1

Configures the equipment to work in synchronization network. The option_id value 1 refers to synchronization networks design for Europe. This is the default value. The option_id value 2 refers to synchronization networks design for US.

Step 5 

network-clock input-source priority {interface interface_name slot/card/port | {external slot/card/port }}

Example:

Router(config-if-srv)# network-clock input-source 1 External 7/0/0 t1 sf

Enables clock recovery from BITS port.

Step 6 

exit

Example:

Router(config)# exit

Exits the global configuration mode

Examples

This example shows how to configure clock recovery from BITS port for Cisco 7600 Routers:

Router>enable
Router# configure terminal
Router(config)# network-clock synchronization automatic
Router(config)# network-clock synchronization ssm option 2 GEN1
Router(config)# network-clock input-source 1 External 7/0/0 t1 sf 
Router(config)# exit

Configuring the System to External

This section describes how to configure SyncE over ES+ card on Cisco 7600 router using System to External method.

SUMMARY STEPS

1. enable

2. configure terminal

3. network-clock synchronization automatic

4. network-clock synchronization ssm option option_Id Generation_Id

5. network-clock output-source system priority {external slot/card/port [j1 | 2m | 10m] }

6. exit

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

network-clock synchronization automatic

Example:

Router(config)# network-clock synchro- nization automatic

Enables the network clock selection algorithm. This command disables the Cisco specific network-clock process and turns on G.781 based automatic clock selection process.

Step 4 

network-clock synchronization ssm op- tion {option_id {GEN1 | GEN2}}

Example:

Router(config)# network-clock synchro- nization ssm option 2 GEN1

Configures the equipment to work in synchronization network. The option_id value 1 refers to synchronization networks design for Europe. This is the default value. The option_id value 2 refers to synchronization networks design for US.

Step 5 

network-clock output-source system pri- ority {external slot/card/port [j1 | 2m | 10m]}

Example:

Router(config)# network-clock out- put-source system 1 external 4/0/0 t1 sf

Configures the system clock to be used on external Tx interfaces.

Step 6 

exit

Example:

Router(config)# exit

Exits the global configuration mode.

Examples

This example shows how to configure system to external clocking for Cisco 7600 Routers:

Router>enable
Router# configure terminal
Router(config)# network-clock synchronization automatic
Router(config)# network-clock synchronization ssm option 2 GEN1
Router(config)# network-clock input-source 1 External 7/0/0 t1 sf 
Router(config)# exit

This example shows how to configure clock clean-up using an SSU:

Router(config)# network-clock output-source line 1 interface GigabitEthernet1/11 External 
1/0/0 t1 sf
Router(config)# network-clock input-source 1 External 7/0/0 t1 sf

Configuring the Line to External

This section describes how to configure SyncE over ES+ card on Cisco 7600 router using Line to External method.

SUMMARY STEPS

1. enable

2. configure terminal

3. network-clock synchronization automatic

4. network-clock synchronization ssm option option_Id Generation_Id

5. interface gigabitethernet slot/port or interface tengigabitethernet slot/port

6. [no]clock source {internal | line | loop}

7. synchronous mode

8. exit

9. network-clock output-source line priority {interface interface_name | controller {t1 | e1} slot/card/port}} {external slot/card/port}

10. exit

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

network-clock synchronization automatic

Example:

Router(config)# network-clock synchro- nization automatic

Enables the network clock selection algorithm. This command disables the Cisco specific network-clock process and turns on G.781 based automatic clock selection process.

Step 4 

network-clock synchronization ssm op- tion {option_id {GEN1 | GEN2}}

Example:

Router(config)# network-clock synchro- nization ssm option 2 GEN1

Configures the equipment to work in synchronization network. The option_id value 1 refers to synchronization networks design for Europe. This is the default value. The option_id value 2 refers to synchronization networks design for US.

Step 5 

interface gigabitethernet slot/port or interface tengigabitethernet slot/port

Example:

Router(config)# int gig 5/1

Specifies the Gigabit Ethernet or the Ten Gigabit Ethernet interface to configure, where:

slot/port—Specifies the location of the interface.

Step 6 

clock source {internal | line | loop}

Example:

Router(config-if)# clock source line

Indicates the clock source to use. The 3 options for clock source are:

internal: Use internal clock.

line: Recover clock from line.

loop: Use local loop timing.

To implement SYNCE, use line option.

Step 7 

synchronous mode

Example:

Router(config-if)# synchronous mode

Sets the mode to synchronous mode.

Step 8 

exit

Example:

Router(config)# exit

Exits the specific configuration mode.

Step 9 

network-clock output-source line prior- ity {interface interface_name | con- troller {t1 | e1} slot/card/port}} {external slot/card/port}

Example:

Router(config-if-srv)# encapsulation dot1q 40 second-dot1q 42

Configures the line clock to be used on external Tx interfaces.

Step 10 

exit

Example:

Router(config)# exit

Exits the global configuration mode.

Examples

This example shows how to configure clock recovery from SyncE for Cisco 7600 Routers:

Router>enable
Router# configure terminal
Router(config)# network-clock synchronization automatic
Router(config)# network-clock synchronization ssm option 2 GEN1
Router(config)# network-clock input-source 1 interface TenGigabitEthernet7/1
Router(config)# int gig 5/1
Router(config-if)# clock source line
Router(config-if)# synchronous mode
Router(config)# exit
Router(config)# network-clock output-source line 1 interface GigabitEthernet1/11 External 
1/0/0 
Router(config)# exit

Managing Synchronization on ES+ Card

Manage the synchronization on ES+ cards with these management commands:

Quality Level Enabled Clock Selection: Use the network-clock synchronization mode QL-enabled command in global configuration mode to configure the automatic selection process for QL-enabled mode. This succeeds only if the SyncE interfaces are capable of sending SSM. The following example shows how to configure network clock synchronization (QL-enabled mode) in global configuration mode:

Router(config)# network-clock synchronization mode QL-enabled

ESMC Process: Use the esmc process command in global configuration mode to enable the ESMC process at system level. The no form of the command disables the ESMC process. This command fails if there is no SyncE-capable interface installed in the platform. The following example shows how to enable ESMC in global configuration mode:

Router(config)# esmc process

ESMC Mode: Use the esmc mode [tx | rx |<cr>] command in interface configuration mode to enable ESMC process at interface level. The no form of the command disables the ESMC process. The following example shows how to enable ESMC in interface configuration mode:

Router(config-if)# esmc mode tx

Network Clock Source Quality level: Use the network-clock source quality-level command in interface configuration mode to configure the QL value for ESMC on gigabitethernet port. The value is based on global interworking options.

If Option 1 is configured, the available values are QL-PRC, QL-SSU-A, QL-SSU-B, QL-SEC, and QL-DNU.

If Option 2 is configured with GEN 2, the available values are QL-PRS, QL-STU, QL-ST2, QL-TNC, QL-ST3, QL-SMC, QL-ST4 and QL-DUS.

If option 2 is configured with GEN1, the available values are QL-PRS, QL-STU, QL-ST2, QL-SMC, QL-ST4 and QL-DUS

Use the network-clock quality-level command in global configuration mode to configure the QL value for SSM on BITS port. The following example shows how to configure network-clock quality-level in global configuration mode:

Router(config)# network-clock quality-level rx QL-PRC interface ToP3/0/20 

The following example shows how to configure network-clock source quality-level in interface configuration mode:

Router(config-if)# network-clock source quality-level QL-PRC

Wait-to-Restore: Use the network-clock wait-to-restore timer global command to set wait-to-restore time. You can configure the wait-to-restore time between 0 to 86400 seconds. The default value is 300 seconds. The wait-to-restore timer can be set at global configuration mode and interface configuration mode. The following example shows how to configure wait-to-restore timer in global configuration mode:

Router(config)# network-clock wait-to-restore 10 global

The following example shows how to configure the wait-to-restore timer in interface configuration mode:

Router(config)# int ten 7/1
Router(config-if)# network-clock wait-to-restore 10

Hold-off Time: Use network-clock hold-off timer global command to configure hold-off time. You can configure the hold-off time to zero or any value between 50 to 10000 milliseconds. The default value is 300 milliseconds. The network-clock hold-off timer can be set at global configuration mode and interface configuration mode.The following example shows how to configure hold-off time:

Router(config)# network-clock hold-off 50 global

Force Switch: Use the network-clock switch force command to forcefully select a synchronization source irrespective of whether the source is available and within the range. The following example shows how to configure manual switch:

Router(config)# network-clock switch force interface tenGigabitEthernet 7/1 t1

Manual Switch: Use network-clock switch manual command to manually select a synchronization source provided the source is available and within the range. The following example shows how to configure manual switch:

Router(config)# network-clock switch manual interface tenGigabitEthernet 7/1 t1

Clear Manual and Force Switch: Use the network-clock clear switch controller-id command to clear the manual or switch it by force. The following example shows how to clear a switch:

Router(config)# network-clock clear switch t0

Lock out a Source: Use the network-clock set lockout command to lock-out a clock source. A clock source flagged as lock-out is not selected for SyncE. To clear the lock-out on a source, use the network-clock clear lockout command. The following example shows how to lock out a clock source:

Router(config)# network-clock set lockout interface tenGigabitEthernet 7/1 

The following example shows how to clear lock-out on a clock source:

Router(config)# network-clock clear lockout interface tenGigabitEthernet 7/1

Verification

Use the following commands to verify the SyncE configuration:

Use the show network-clock synchronization command to display the sample output:

Router# show network-clocks synchronization 
Symbols:     En - Enable, Dis - Disable, Adis - Admin Disable 
             NA - Not Applicable 
             *  - Synchronization source selected 
             #  - Synchronization source force selected 
             &  - Synchronization source manually switched 
Automatic selection process : Enable
Equipment Clock : 2048 (EEC-Option1)
Clock Mode : QL-Enable
ESMC : Enabled
SSM Option : 1 
T0 : TenGigabitEthernet12/1 
Hold-off (global) : 300 ms
Wait-to-restore (global) : 300 sec
Tsm Delay : 180 ms
Revertive : No
Nominated Interfaces
 Interface            SigType     Mode/QL      Prio  QL_IN  ESMC Tx  ESMC Rx
 Internal             NA          NA/Dis       251   QL-SEC    NA        NA       
*Te12/1               NA          Sync/En      1     QL-PRC    -         -        
 AT6/0/0              NA          NA/En        1     QL-SSU-A  NA        NA 

Use the show network-clock synchronization detail command to display all details of network-clock synchronization parameters at the global and interface levels.

Router# show network-clocks synchronization detail 
Symbols:     En - Enable, Dis - Disable, Adis - Admin Disable 
             NA - Not Applicable 
             *  - Synchronization source selected 
             #  - Synchronization source force selected 
             &  - Synchronization source manually switched 
Automatic selection process : Enable
Equipment Clock : 2048 (EEC-Option1)
Clock Mode : QL-Enable
ESMC : Enabled
SSM Option : 1 
T0 : TenGigabitEthernet12/1 
Hold-off (global) : 300 ms
Wait-to-restore (global) : 300 sec
Tsm Delay : 180 ms
Revertive : No
Force Switch: FALSE
Manual Switch: FALSE
Number of synchronization sources: 2
sm(netsync NETCLK_QL_ENABLE), running yes, state 1A
Last transition recorded: (sf_change)-> 1A (ql_change)-> 1A (sf_change)-> 1A 
(ql_change)-> 1A (ql_change)-> 1A (sf_change)-> 1A (ql_change)-> 1A (sf_change)-> 1A 
(sf_change)-> 1A (ql_change)-> 1A 
Nominated Interfaces
 Interface            SigType     Mode/QL      Prio  QL_IN  ESMC Tx  ESMC Rx
 Internal             NA          NA/Dis       251   QL-SEC    NA        NA       
*Te12/1               NA          Sync/En      1     QL-PRC    -         -        
 AT6/0/0              NA          NA/En        1     QL-SSU-A  NA        NA       
Interface:
---------------------------------------------
Local Interface: Internal
Signal Type: NA
Mode: NA(Ql-enabled)
SSM Tx: Disable
SSM Rx: Disable
Priority: 251
QL Receive: QL-SEC
QL Receive Configured: -
QL Receive Overrided: -
QL Transmit: -
QL Transmit Configured: -
Hold-off: 0
Wait-to-restore: 0
Lock Out: FALSE
Signal Fail: FALSE
Alarms: FALSE 
Slot Disabled: FALSE
Local Interface: Te12/1
Signal Type: NA
Mode: Synchronous(Ql-enabled)
ESMC Tx: Enable
ESMC Rx: Enable
Priority: 1
QL Receive: QL-PRC
QL Receive Configured: -
QL Receive Overrided: -
QL Transmit: QL-DNU
QL Transmit Configured: -
Hold-off: 300
Wait-to-restore: 300
Lock Out: FALSE
Signal Fail: FALSE
Alarms: FALSE 
Slot Disabled: FALSE
Local Interface: AT6/0/0
Signal Type: NA
Mode: NA(Ql-enabled)
SSM Tx: Enable
SSM Rx: Enable
Priority: 1
QL Receive: QL-SSU-A
QL Receive Configured: -
QL Receive Overrided: -
QL Transmit: -
QL Transmit Configured: -
Hold-off: 300
Wait-to-restore: 300
Lock Out: FALSE
Signal Fail: FALSE
Alarms: FALSE 
Slot Disabled: FALSE

Use the show esmc command to display the sample output.

Router# show esmc 
Interface: TenGigabitEthernet12/1
  Administative configurations:
    Mode: Synchronous
    ESMC TX: Enable
    ESMC RX: Enable
    QL TX: -
    QL RX: -
  Operational status:
    Port status: UP
    QL Receive: QL-PRC
    QL Transmit: QL-DNU
    QL rx overrided: -
    ESMC Information rate: 1 packet/second
    ESMC Expiry: 5 second
Interface: TenGigabitEthernet12/2
  Administative configurations:
    Mode: Synchronous
    ESMC TX: Enable
    ESMC RX: Enable
    QL TX: -
    QL RX: -
  Operational status:
    Port status: UP
    QL Receive: QL-DNU
    QL Transmit: QL-DNU
    QL rx overrided: QL-DNU
    ESMC Information rate: 1 packet/second
    ESMC Expiry: 5 second

Use the show esmc detail command to display all details of esmc parameters at the global and interface levels.

Router# show esmc detail 
Interface: TenGigabitEthernet12/1
  Administative configurations:
    Mode: Synchronous
    ESMC TX: Enable
    ESMC RX: Enable
    QL TX: -
    QL RX: -
  Operational status:
    Port status: UP
    QL Receive: QL-PRC
    QL Transmit: QL-DNU
    QL rx overrided: -
    ESMC Information rate: 1 packet/second
    ESMC Expiry: 5 second
    ESMC Tx Timer: Running
    ESMC Rx Timer: Running
    ESMC Tx interval count: 1
    ESMC INFO pkts in: 2195
    ESMC INFO pkts out: 6034
    ESMC EVENT pkts in: 1
    ESMC EVENT pkts out: 16
Interface: TenGigabitEthernet12/2
  Administrative configurations:
    Mode: Synchronous
    ESMC TX: Enable
    ESMC RX: Enable
    QL TX: -
    QL RX: -
  Operational status:
    Port status: UP
    QL Receive: QL-DNU
    QL Transmit: QL-DNU
    QL rx overrided: QL-DNU
    ESMC Information rate: 1 packet/second
    ESMC Expiry: 5 second
    ESMC Tx Timer: Running
    ESMC Rx Timer: Running
    ESMC Tx interval count: 1
    ESMC INFO pkts in: 0
    ESMC INFO pkts out: 2159
    ESMC EVENT pkts in: 0
    ESMC EVENT pkts out: 10

Troubleshooting the Synchronous Ethernet configuration

The following debug commands are available for troubleshooting the Synchronous Ethernet configuration on the Cisco 7600 ES+ Line Card:

Debug Command
Purpose

debug platform ssm

Debugs issues related to SSM such as Rx, Tx,QL values and so on.

debug platform network-clock

Debugs issues related to network clock such as alarms, OOR, active-standby sources not selected correctly and so on.

debug esmc error

debug esmc event

debug esmc packet [interface <interface name>]

debug esmc packet rx [interface <interface name>]

debug esmc packet tx [interface <interface name>]

Verifies whether the ESMC packets are transmitted or received with proper quality level values.


Troubleshooting Scenarios


Note Before you troubleshoot, ensure that all the network clock synchronization configurations are complete.


Troubleshooting

Table 4-3 provides the troubleshooting solutions for the synchronous ethernet feature.

Table 4-3 Troubleshooting Scenarios

Problem
Solution

Incorrect clock limit set or disabled queue limit mode

Verify that there are no alarms on the interfaces. Use the show network-clock synchronization detail RP command to confirm.


Warning We suggest you do not use these debug commands without TAC supervision.

Use the show network-clock synchronization command to confirm if the system is in revertive mode or non-revertive mode and verify the non-revertive configurations as shown in this example:

RouterB#show network-clocks synchronization

Symbols: En - Enable, Dis - Disable, Adis - Admin Disable NA - Not Applicable

- Synchronization source selected

# - Synchronization source force selected

& - Synchronization source manually switched

Automatic selection process : Enable

Equipment Clock : 1544 (EEC-Option2)

Clock Mode : QL-Enable

ESMC : Enabled

SSM Option : GEN1

T0 : POS3/1/0

Hold-off (global) : 300 ms

Wait-to-restore (global) : 0 sec

Tsm Delay : 180 ms

Revertive : Yes<<<<If it is non revertive then it will show NO here.

Nominated Interfaces

Interface SigType Mode/QL Prio QL_IN ESMC Tx ESMC Rx

Internal NA NA/Dis 251 QL-ST3 NA NA

SONET 3/0/0 NA NA/En 3 QL-ST3 NA NA

*PO3/1/0 NA NA/En 1 QL-ST3 NA NA

 

SONET 2/3/0 NA NA/En 4 QL-ST3 NA NA

 

Reproduce the current issue and collect the logs using the debug network-clock errors, debug network-clock event, and debug network-clock sm RP commands.


Warning We suggest you do not use these debug commands without TAC supervision.

Contact Cisco technical support if the issue persists.

Incorrect quality level (QL) values when you use the show network-clock synchronization detail command.

Use the network clock synchronization SSM (option 1 |option 2) command to confirm that there is no framing mismatch. Use the show run interface command to validate the framing for a specific interface. For the SSM option 1 framing should be SDH or E1 and for SSM option 2, it should be SONET or T1.

Reproduce the issue using the debug network-clock errors, debug network-clock event and debug platform ssm RP commands or enable the debug hw-module subslot command.


Warning We suggest you do not use these debug commands without TAC supervision.

Error message "%NETCLK-6-SRC_UPD: Synchronization source SONET 2/3/0 status (Critical Alarms(OOR)) is posted to all selection process" displayed.

Interfaces with alarms or OOR cannot be the part of selection process even if it has higher queue limit or priority. Use the debug platform network-clock RP command to troubleshoot network clock issues.

Reproduce the issue using the debug platform network-clock command enabled in a route processor or enable the debug network-clock event and debug network-clock errors RP commands.


Warning We suggest you do not use these debug commands without TAC supervision.

Flexible QinQ Mapping and Service Awareness

Flexible QinQ Mapping and Service Awareness allows service providers to offer triple-play services, residential Internet access from a DSLAM, and business Layer 2 and Layer 3 VPN by providing for termination of double-tagged dot1q frames onto a Layer 3 subinterface at the access node.

The access node connects to the DSLAM through the Cisco 7600 Series ES+ line cards. This provides a flexible way to identify the customer instance by its VLAN tags, and to map the customer instance to different services.

Flexible QinQ Mapping and Service Awareness on Cisco 7600 Series ES+ line cards is supported only through Ethernet Virtual Connection Services (EVCS) service instances.

EVCS uses the concepts of EVCs (Ethernet virtual circuits) and service instances. An EVC is an end-to-end representation of a single instance of a Layer 2 service being offered by a provider to a customer. It embodies the different parameters on which the service is being offered. A service instance is the instantiation of an EVC on a given port on a given router.

Figure 4-1 shows a typical metro architecture where the access router facing the DSLAM provides VLAN translation (selective QinQ) and grooming functionality and where the service routers (SR) provide QinQ termination into a Layer 2 or Layer 3 service.

Figure 4-1 Metro Architecture

Flexible QinQ Mapping and Service Awareness on Cisco 7600 Series ES+ line cards provides the following functionality:

VLAN connect with local significance (VLAN local switching)

Single tag Ethernet local switching where the received dot1q tag traffic from one port is cross-connected to another port by changing the tag. This is a 1-to-1 mapping service and there is no MAC learning involved.

Double tag Ethernet local switching where the received double tag traffic from one port is cross-connected to another port by changing both tags. The mapping to each double tag combination to the cross-connect is 1-to-1. There is no MAC learning involved.

Hairpinning:It is a cross connect between two EFPS on the same port.


Note Connect service does not support identifying BPDU packets.


Selective QinQ (1-to-2 translation)

Cross connect—Selective QinQ adds an outer tag to the received dot1q traffic and then tunnels it to the remote end with Layer 2 switching or EoMPLS.

Double tag translation (2-to-2 translation) Layer 2 switching—Two received tagged frames are popped and two new tags are pushed.

Double tag termination (2-to-1 tag translation)

Ethernet MultiPoint Bridging over Ethernet (MPBE)—The incoming double tag is uniquely mapped to a single dot1q tag that is then used to do MPBE.

Double tag MPBE—The ingress line uses double tags in the ingress packet to look up the bridging VLAN. The double tags are popped and the egress line card adds new double tags and sends the packet out.

Double tag routing—Same as regular dot1q tag routing except that double tags are used to identify the hidden VLAN.

Local VLAN significance—VLAN tags are significant only to the port.

For the Cisco 7600 Series ES+ line card, the subinterface gets a hidden VLAN (a VLAN that is not configured and is allocated internally) associated to the subinterface. The hidden VLAN number has no correlation with the encapsulation VLAN (the VLAN visible to the user or in the wire). Because the encapsulation is local to the port, you can have the same encapsulation VLAN in multiple ports.

Scalable EoMPLS VC—Single tag packets are sent across the tunnel.

QinQ policing and QoS

Layer 2 protocol data unit (PDU) packet

With connect and xconnect command, the Layer 2 PDUs are forwarded transparently regardless if they are tagged or untagged.

With bridge-domain command, if the Layer 2 PDUs are tagged, packets are dropped by default; if the Layer 2 PDUs are untagged, packets are treated per the physical port configuration. (With an untagged service instance with bridge-domain command, the CPU stops the PDU depending on the configuration). When the feature is configured on the EFP, the BPDU is passed by the EFP to the feature which makes the decision accordingly.

Restrictions and Usage Guidelines

Follow these restrictions and usage guidelines when configuring Flexible QinQ Mapping and Service Awareness on the Cisco 7600 Series ES+ line cards:

Service Scalability:

Service Instances per network processor: 8000

Service instances per Line Card: 16000

Service instances per port channel: 8000. This is subject to the number of members per NP. This value would reduce by the factor of the member links per NP. If the member links are spread across NPs, then the maximum number of service instances per port channel is unchanged.

Using TCAM entries: The number of TCAMs an EVC uses depends on the encapsulation configured on the TCAM as shown in the following examples.

Example 1

service instance 1 eth

encap dot1q 100

TCAMS used - 1

Example 2

service instance 1 eth

encap dot1q 200 second dot1q 300

TCAMs used - 1

Example 3

service instance 1 eth

encap dot1q 201, 202

TCAMs used - 2 (one for each encapsulation)

Example 4

service instance 1 eth

encap dot1q 20-40

TCAMs used - 4

First entry to match vlans 20-23

Second entry to match vlans 24-31

Third entry to match vlans 32-39

Fourth entry to match vlan 40

A range does not always mean multiple TCAMs as shown in this example where only one TCAM entry is used.

Example 5

service instance 1 ethernet

encap dot1q 8-15

service instance 2 ethernet

encap dot1q 2000 second-dot1q 96-127

TCAMs used per EVC : 1

Service instances per router: 32, 000

Bridge-domains per router: 4, 000

Local switching: 16, 000

Xconnect: 16, 000

Subinterface: 2, 000

Number of service instance on a particular domain: 110 per NP

QoS Scalability:

Service instances per router: 32, 000

Bridge-domains: 4, 000

Local switching: 16, 000

Xconnect: 16, 000

Subinterface: 2, 000

QoS Scalability:

Shaping: Parent queue is 2,000 and child queue is 16,000

Marking: Parent queue is 2,000 and child queue is 16,000

Maximum number of child queues (leaf) supported for ES+T line card is 16 per port.

Modular QoS CLI (MQC) actions supported include:

Shaping

Bandwidth

Two priority queues per policy

The set cos command, set cos-inner command, set cos cos-inner command, and set cos-inner cos command

WRED aggregate

Queue-limit

SUMMARY STEPS

1. enable

2. configure terminal

3. interface gigabitethernet slot/port or interface tengigabitethernet slot/port

4. service instance id ethernet [service-name]

5. encapsulation dot1q vlan-id

6. rewrite ingress tag {push {dot1q vlan-id | dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | pop {1 | 2} | translate {1-to-1 {dot1q vlan-id | dot1ad vlan-id}| 2-to-1 dot1q vlan-id | dot1ad vlan-id}| 1-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | 2-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id}}symmetric

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface gigabitethernet slot/port

or

interface tengigabitethernet slot/port

Example:

Router(config)# interface gigabitethernet 4/1

Specifies the Gigabit Ethernet or the Ten Gigabit Ethernet interface to configure, where:

slot/port—Specifies the location of the interface.

Step 4 

service instance id ethernet [service-name]

Example:

Router(config-if)# service instance 101 ethernet

Creates a service instance (an instantiation of an EVC) on an interface and sets the device into the config-if-srv submode.

Step 5 

encapsulation dot1q vlan-id

Example:

Router(config-if-srv)# encapsulation dot1q 13

Defines the matching criteria to be used in order to map ingress dot1q frames on an interface to the appropriate service instance.

Step 6 

rewrite ingress tag {push {dot1q vlan-id | dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | pop {1 | 2} | translate {1-to-1 {dot1q vlan-id | dot1ad vlan-id}| 2-to-1 dot1q vlan-id | dot1ad vlan-id}| 1-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | 2-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id}} symmetric

Example:

Router(config-if-srv)# rewrite ingress tag push dot1q 20 symmetric

Specifies the tag manipulation that is to be performed on the frame ingress to the service instance.

Examples

Single Tag VLAN Connect

This example shows an incoming frame with a dot1q tag of 10 enters TenGigabitEthernet 1/1. It is index directed to TenGigabitEthernet 1/2 and exits with a dot1q tag of 11. No MAC learning is involved.


Note Because there is a VLAN translation end to end, Layer2 protocol need to be carefuly considered. Typically, the use case has both sides on the same encapsulation.


This example shows a typical configuration of a DSLAM facing port of the first PE router.

! DSLAM facing port
Router# enable
Router# configure terminal
Router(config)# interface TenGigabitEthernet 1/1
Router(config-if)# service instance 100 ethernet
Router(config-if-srv)# encapsulation dot1q 10
Router(config-if-srv)# rewrite ingress tag pop 1 symmetric 
!L2 facing port
Router(config)# interface TenGigabitEthernet 1/2
Router(config-if)# service instance 101 ethernet
Router(config-if-srv)# encapsulation dot1q 11
Router(config-if-srv)# rewrite ingress tag pop 1 symmetric
! connect service
Router(config)# connect EVC1 TenGigabitEthernet 1/1 100 TenGigabitEthernet 1/2 101

Double Tag VLAN Connect

In this example, an incoming frame with an outer dot1q tag of 10 and inner tag of 20 enters TenGigabitEthernet 1/1. It is index directed to TenGigabitEthernet 1/2 and exits with an outer dot1q tag of 11 and inner tag 21. No MAC learning is involved.

This example shows a typical configuration of a MPLS core facting port of the first PE router..

! DSLAM facing port
Router# enable
Router# configure terminal
Router(config)# interface TenGigabitEthernet 1/1
Router(config-if)# service instance 100 ethernet
Router(config-if-srv)# encapsulation dot1q 10 second-dot1q 20
Router(config-if-srv)# rewrite ingress tag pop 2 symmetric
!L2 facing port
Router(config)# interface TenGigabitEthernet 1/2
Router(config-if)# service instance 101 ethernet
Router(config-if-srv)# encapsulation dot1q 11 second-dot1q 21
Router(config-if-srv)# rewrite ingress tag pop 2 symmetric
! connect service
Router(config)# connect EVC1 TenGigabitEthernet 1/1 100 TenGigabitEthernet 1/2 101

Selective QinQ with Xconnect

This configuration uses EoMPLS under the single tag subinterface to forward packets. This example shows a typical configuration of a MPLS core facting port of the second PE router.

DSLAM facing port

Router# enable
Router# configure terminal
Router(config)# interface TenGigabitEthernet 1/1
Router(config-if)# service instance 100 ethernet
Router(config-if-srv)# encapsulation dot1q 10-20,30,50-60
Router(config-if-srv)# xconnect 2.2.2.2 999 pw-class vlan-xconnect
!
Router(config)# interface Loopback1
Router(config-if)# ip address 1.1.1.1 255.255.255.255

MPLS core facing port

Router(config)# interface TenGigabitEthernet 2/1
Router(config-if)# ip address 192.168.1.1 255.255.255.0
Router(config-if)# mpls ip
Router(config-if)# mpls label protocol ldp

MPLS core facing port

Router(config)# interface TenGigabitEthernet 2/1
Router(config-if)# ip address 192.168.1.2 255.255.255.0
Router(config-if)# mpls ip
Router(config-if)# mpls label protocol ldp
!
Router(config)# interface Loopback1
Router(config-if)# ip address 2.2.2.2 255.255.255.255

CE facing EoMPLS configuration

Router# enable
Router# configure terminal
Router(config)# interface TenGigabitEthernet 1/2
Router(config-if)# service instance 1000
Router(config-if-srv)# encapsulation dot1q 1000 second-dot1q any
Router(config-if-srv)# rewrite ingress tag pop 1 symmetric
Router(config-if-srv)# xconnect 1.1.1.1 999 pw-class vlan-xconnect

Selective QinQ with Layer 2 Switching

This configuration uses Layer 2 Switching to perform packet forwarding. The forwarding mechanism is the same as MPBE; only the rewrites for each service instance are different.

DSLAM facing port, single tag incoming

Router# enable
Router# configure terminal
Router(config)# interface TenGigabitEthernet 1/1
Router(config-if)# service instance 100 ethernet
Router(config-if-srv)# encapsulation dot1q 10-20
Router(config-if-srv)# bridge-domain 11

QinQ VLAN

Router(config)# interface TenGigabitEthernet 1/2
Router(config-if)# switchport
Router(config-if)# switchport mode trunk
Router(config-if)# switchport trunk vlan allow 11

Double Tag Translation (2-to-2 Tag Translation)

In this configuration, double-tagged frames are received on ingress. Both tags are popped and two new tags are pushed. The packet is then Layer 2 switched to the bridge domain VLAN.

QinQ facing port

Router(config)# interface TenGigabitEthernet 1/1
Router(config-if)# service instance 100 ethernet
Router(config-if-srv)# encapsulation dot1q 100 second-dot1q 10
Router(config-if-srv)# rewrite ingress tag translate 2-to-2 dot1q 200 second-dot1q 20 
symmetric
Router(config-if-srv)# bridge-domain 200

QinQ VLAN

Router(config)# interface TenGigabitEthernet 1/2
Router(config-if)# service instance 101 ethernet
Router(config-if-srv)# encapsulation dot1q 200 second-dot1q 20
Router(config-if-srv)# bridge-domain 200

Double Tag Termination (2 to 1 Tag Translation)

The configuration in this example uses the Layer 2 switching.

Double tag traffic

Router(config)# interface TenGigabitEthernet 1/1
Router(config-if)# service instance 100 ethernet
Router(config-if-srv)# encapsulation dot1q 200 second-dot1q 20
Router(config-if-srv)# rewrite ingress tag pop 2 symmetric
Router(config-if-srv)# bridge-domain 10
!
Router(config)# interface TenGigabitEthernet 1/2
Router(config-if)# service instance 101 ethernet
Router(config-if-srv)# encapsulation dot1q 10
Router(config-if-srv)# rewrite ingress tag pop 1 symmetric
Router(config-if-srv)# bridge-domain 10
!
Router(config)# interface TenGigabitEthernet 1/3
Router(config-if)# service instance 101 ethernet
Router(config-if-srv)# encapsulation dot1q 30
Router(config-if-srv)# rewrite ingress tag pop 1 symmetric
Router(config-if-srv)# bridge-domain 10

Verification

Use these commands to verify operation.

Command
Purpose

Router# show ethernet service evc [id evc-id | interface interface-id] [detail]

Displays information pertaining to a specific EVC if an EVC ID is specified, or pertaining to all EVCs on an interface if an interface is specified. The detailed option provides additional information on the EVC.

Router# show ethernet service instance [id instance-id interface interface-id | interface interface-id] [detail]

Displays information about one or more service instances: If a service instance ID and interface are specified, only data pertaining to that particular service instance is displayed. If only an interface ID is specified, displays data for all service instances s on the given interface.

Router# show ethernet service interface [interface-id] [detail]

Displays information in the Port Data Block (PDB).

Router# show mpls l2 transport vc detail

Displays details of the virtual connection (VC).

Router# show mpls forwarding

Displays the contents of the Multiprotocol Label Switching (MPLS) Label Forwarding Information Base (LFIB).

Note Output should have the label entry l2ckt.

Router# show connect

Displays statistics and other information about Frame-Relay-to-ATM Network Interworking (FRF.5) and Frame Relay-to-ATM Service Interworking (FRF.8) connections.

Router# show xconnect

Displays information about cross-connect attachment circuits and pseudowires.


Troubleshooting

Use these debug commands to troubleshoot Flexible QinQ feature.

Debug commands

Command
Purpose

[no] debug ethernet service evc [id <evc-id>]

Enables EVC debugging on the RP. If no EVC ID is specified, debugging is enabled for all EVCs on the system.

[no] debug ethernet service instance [id <instance-id> interface <interface-id> | interface <interface-id>]

Enables EFP debugging on the RP. If no options are specified, debugging for all EFPs is enabled. If an EFP ID and interface are specified, only those debug messages associated with the EFP are displayed as the output. If only an interface is specified, debug messages for all EFPs on that interface is displayed.

[no] debug ethernet service interface [<interface-id>]

Enables PDB debugging.

[no] debug ethernet service api

Enables debugging between Ethernet Services Infrastructure and its clients.

debug ethernet service oam-mgr

Enables OAM Manager debugging, to debug OAM inter-working.

[no] debug ethernet service error

Enables ethernet service error debugging.

[no] debug ethernet service all

Enables EI debugging messages for all PDBs, EVCs and EFPs


Table 4-4 provides the troubleshooting solutions for the Flexible mapping feature.

Table 4-4

Problem
Solution

Erroneous TCAM entries.

Use the show hw-module subslot subslot tcam command to verify and the TCAM entries. Share the output with TAC for further investigation.

Incorrect virtual VLAN IDs on a QinQ subinterface.

Use the test hw-mod subslot subslot command to verify the virtual VLAN ID values on a QinQ subinterface. Share the output with TAC for further investigation.

Wrong interface configured and tag manipulation incorrectly programmed.

Use the command show platform np interface detail to verfiy the interface and tag details. Share the output with TAC for further investigation.

VLAN ID is incorrectly programmed

Use the command show hw-module subslot subslot tcam all_entries vlan to verify the VLAN ID details. Share the output with TAC for further investigation.

Inner, outer start/end VLANs incorrectly programmed.

Use the show platform np efp command to verify the VLAN details. Share the output with TAC for further investigation.

Erroneous TCAM entries on the platform

Use the show plat soft qos tcamfeature and show plat soft qos tcamt commands to verify the TCAM entries. Share the output with TAC for further investigation.


Troubleshooting Flexible mapping feature

Configuring MultiPoint Bridging over Ethernet on Cisco 7600 Series ES+ Line Cards

MultiPoint Bridging over Ethernet (MPBE) on Cisco 7600 Series ES+ line cards provides Ethernet LAN switching with MAC learning, local VLAN significance, and full QoS support. MPBE also provides Layer 2 switchport-like features without the full switchport implementation. MPBE is supported only through Ethernet Virtual Connection Services (EVCS) service instances.

EVCS uses the concepts of EVCs (Ethernet virtual circuits) and service instances. An EVC is an end-to-end representation of a single instance of a Layer 2 service being offered by a provider to a customer. It embodies the different parameters on which the service is being offered. A service instance is the instantiation of an EVC on a given port on a given router.

For MPBE, an EVC packet filtering capability prevents leaking of broadcast/multicast bridge-domain traffic packets from one service instance to another. Filtering occurs before and after the rewrite to ensure that the packet goes only to the intended service instance.

You can use MPBE to:

Simultaneously configure Layer 2 and Layer 3 services such as Layer 2 VPN, Layer 3 VPN, and Layer 2 bridging on the same physical port.

Define a broadcast domain in a system. Customer instances that are part of a broadcast domain can be in the same physical port or in different ports.

Configure multiple service instances with different encapsulations and map them to a single bridge domain.

Perform local switching between service instances under the same bridge domain.

Perform local switching across different physical interfaces using service instances that are part of the same bridge domain.

Replicate flooded packets from the core to all service instances under the bridge domain.

Configure a Layer 2 tunneling service or Layer 3 terminating service under the bridge domain VLAN.

MPBE accomplishes this by manipulating VLAN tags for each service instance and mapping the manipulated VLAN tags to Layer 2 or Layer 3 services. Possible VLAN tag manipulations include:

Single tag termination

Single tag tunneling

Single tag translation

Double tag termination

Double tag tunneling

Double tag translation

Selective QinQ translation

Restrictions and Usage Guidelines

When configuring the MPBE over Ethernet on Cisco 7600 Series ES+ line cards, follow these restrictions and usage guidelines:

Each service instance is considered as a separate circuit under the bridge-domain.

Encapsulation can be dot1q or QinQ packets.

440 MPB VCs are supported under one bridge-domain (110 per network processor).

IGMP snooping is supported with MPB VCs as long as the service instance is terminated on the bridge-domain (must pop all tags, symmetric).

Split Horizon is supported with MPB VCs.

Untagged BPDU packets can be peered, dropped, or forwarded as data.

Tagged BPDU packets can be dropped or forwarded as data.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface gigabitethernet slot/port or interface tengigabitethernet slot/port

4. [no] service instance id {Ethernet [service-name]}

5. encapsulation dot1q vlan-id [second-dot1q vlan-id]

6. [no] rewrite ingress tag {push {dot1q vlan-id | dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | pop {1 | 2} | translate {1-to-1 {dot1q vlan-id | dot1ad vlan-id}| 2-to-1 dot1q vlan-id | dot1ad vlan-id}| 1-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | 2-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id}} symmetric

7. [no] bridge-domain bridge-id

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface gigabitethernet slot/port

or

interface tengigabitethernet slot/port

Example:

Router(config)# interface gigabitethernet 4/1

Specifies the Gigabit Ethernet or the Ten Gigabit Ethernet interface to configure, where:

slot/port—Specifies the location of the interface.

Step 4 

[no] service instance id {Ethernet [service-name]}

Example:

Router(config-if)# service instance 101 ethernet

Creates a service instance (an instantiation of an EVC) on an interface and sets the device into the config-if-srv submode.

Step 5 

encapsulation dot1q vlan-id [second-dot1q vlan-id]

Example:

Router(config-if-srv)# encapsulation dot1q 10

Defines the matching criteria to be used in order to map ingress dot1q frames on an interface to the appropriate service instance.

Step 6 

[no] rewrite ingress tag {push {dot1q vlan-id | dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | pop {1 | 2} | translate {1-to-1 {dot1q vlan-id | dot1ad vlan-id}| 2-to-1 dot1q vlan-id | dot1ad vlan-id}| 1-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | 2-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id}} symmetric

Example:

Router(config-if-srv)# rewrite ingress tag push dot1q 200 symmetric

This command specifies the tag manipulation that is to be performed on the frame ingress to the service instance.

Note If this command is not configured, then the frame is left intact on ingress (the service instance is equivalent to a trunk port).

Step 7 

[no] bridge-domain bridge-id

Example:

Router(config-if-srv)# bridge-domain 12

Binds the service instance to a bridge domain instance where bridge-id is the identifier for the bridge domain instance.

Examples

Single Tag Termination Example

In this example, the single tag termination identifies customers based on a single VLAN tag and maps the single-VLAN tag to the bridge-domain.

Router# enable
Router# configure terminal
Router(config)# interface TenGigabitEthernet 1/1
Router(config-if)# service instance 10 ethernet
Router(config-if-srv)# encapsulation dot1q 10 
Router(config-if-srv)# rewrite ingress tag pop 1 symmetric
Router(config-if-srv)# bridge-domain 12

Single Tag Tunneling Example

In this single tag tunneling example, the incoming VLAN tag is not removed but continues with the packet.

Router# enable
Router# configure terminal
Router(config)# interface TenGigabitEthernet 1/1
Router(config-if)# service instance 10 ethernet
Router(config-if-srv)# encapsulation dot1q 10
Router(config-if-srv)# bridge-domain 200

Single Tag Translation Example

In this single-tag translation example, the incoming VLAN tag is removed and VLAN 200 is added to the packet.

Router# enable
Router# configure terminal
Router(config)# interface TenGigabitEthernet 3/1
Router(config-if)# service instance 10 ethernet
Router(config-if-srv)# encapsulation dot1q 10
Router(config-if-srv)# rewrite ingress tag translate 1-to-1 dot1q 200 symmetric
Router(config-if-srv)# bridge-domain 200

Double Tag Tunneling Example

In this double tag tunneling example, the incoming VLAN tags are not removed but continue with the packet.

Router# enable 
Router# configure terminal 
Router(config)# interface TenGigabitEthernet 1/1 
Router(config-if)# service instance 10 ethernet 
Router(config-if-srv)# encapsulation dot1q 10 second-dot1q 20 
Router(config-if-srv)# bridge-domain 200 

Double Tag Termination Configuration Example

In this double-tag termination example, the ingress receives double tags that identify the bridge VLAN; the double tags are stripped (terminated) from the packet.

Router# enable
Router# configure terminal
Router(config)# interface TenGigabitEthernet 2/1
Router(config-if)# service instance 1 ethernet
Router(config-if-srv)# encapsulation dot1q 10 inner 20
Router(config-if-srv)# rewrite ingress tag pop 2 symmetric 
Router(config-if-srv)# bridge-domain 200
Router(config-if)# service instance 2
Router(config-if-srv)# encapsulation dot1q 40 inner 30
Router(config-if-srv)# rewrite ingress tag pop 2 symmetric 
Router(config-if-srv)# bridge-domain 200

Double-Tag Translation Configuration Example

In this example, double tagged frames are received on ingress. Both tags are popped and two new tags are pushed. The packet is then Layer-2-switched to the bridge-domain VLAN.

Router# enable
Router# configure terminal
Router(config)# interface TenGigabitEthernet 1/1		
Router(config-if)# service instance 1 ethernet
Router(config-if-srv)# encapsulation dot1q 10 second-dot1q 20
Router(config-if-srv)# rewrite ingress tag translate 2-to-2 dot1q 40 second dot1q 30 
symmetric
Router(config-if-srv)# bridge-domain 200
Router(config-if)# service instance 2 ethernet
Router(config-if-srv)# encapsulation dot1q 40 second-dot1q 30
Router(config-if-srv)# rewrite ingress tag translate 2-to-2 dot1q 10 second dot1q 20 
symmetric
Router(config-if-srv)# bridge-domain 200

Selective QinQ Configuration Example

In this example, a range of VLANs is configured and plugged into a single MPB VC.

Router# enable
Router# configure terminal
Router(config)# interface TenGigabitEthernet 1/1
Router(config-if)# service instance 1 ethernet
Router(config-if-srv)# encapsulation dot1q 10-20
Router(config-if-srv)# bridge-domain 200
Router(config)# interface TenGigabitEthernet 2/1				
Router(config-if)# service instance 1 ethernet
Router(config-if-srv)# encapsulation dot1q 10-20
Router(config-if-srv)# bridge-domain 200

Untagged Traffic Configuration Example

In this example, untagged traffic is bridged to the bridge domain and forwarded to the switchport trunk.

Router# enable
Router# configure terminal
Router(config)# interface GigabitEthernet 2/1
Router(config-if)# no ip address
Router(config-if)# service instance 1 ethernet
Router(config-if-srv)# encapsulation untagged
Router(config-if-srv)# bridge-domain 11
Router(config)# interface TenGigabitEthernet 1/1
Router(config-if)# switchport
Router(config-if)# switchport mode trunk
Router(config-if)# switchport trunk allowed vlan 11

MPBE with Split Horizon Configuration Example

In this example, unknown unicast traffic is flooded on the bridge domain except for the interface from which the traffic originated.

Router# enable
Router# configure terminal
Router(config)# interface GigabitEthernet 2/1
Router(config-if)# no ip address
Router(config-if)# service instance 1000 ethernet
Router(config-if-srv)# encapsulation dot1q 100 second-dot1q 10-20
Router(config-if-srv)# bridge-domain 100 split-horizon
Router(config-if)# service instance 1001 ethernet
Router(config-if-srv)# encapsulation dot1q 101 second-dot1q 21-30
Router(config-if-srv)# bridge-domain 101 split-horizon
Router(config-if)# service instance 1010 ethernet
Router(config-if-srv)# encapsulation dot1q 100
Router(config-if-srv)# rewrite ingress tag symmetric translate 1-to-2 dot1q 10 
second-dot1q 100 symmetric
Router(config-if-srv)# bridge-domain 10 split-horizon
Router(config-if)# mls qos trust dscp

In this example, service instances are configured on Ethernet interfaces and terminated on the bridge domain.

Router# enable
Router# configure terminal
Router(config)# interface GigabitEthernet 2/1
Router(config-if)# service instance 100 ethernet
Router(config-if-srv)# encapsulation dot1q 1000
Router(config-if-srv)# bridge-domain 10
Router(config)# interface GigabitEthernet 1/1
Router(config-if)# switchport
Router(config-if)# switchport mode trunk
Router(config-if)# switchport trunk allowed vlan 10

Verification

Use these commands to verify operation.

Command
Purpose

Router# show ethernet service evc [id evc-id | interface interface-id] [detail]

Displays information pertaining to a specific EVC if an EVC ID is specified, or pertaining to all EVCs on an interface if an interface is specified. The detail option provides additional information on the EVC.

Router# show ethernet service instance [id instance-id interface interface-id | interface interface-id] [detail]

Displays information about one or more service instances: If a service instance ID and interface are specified, only data pertaining to that particular service instance is displayed. If only an interface ID is specified, displays data for all service instances on the given interface.

Router# show ethernet service interface [interface-id] [detail]

Displays information in the Port Data Block (PDB).

Router# show ethernet service instance summary

Displays overall EVC count as well as individual interface EVC count.


Backup Interface for Flexible UNI

The Backup Interface for Flexible UNI feature allows you to configure redundant user-to-network interface (UNI) connections for Ethernet interfaces, which provides redundancy for dual-homed devices.

You can configure redundant (flexible) UNIs on a network provider-edge (N-PE) device in order to supply flexible services through redundant user provider-edge (U-PE) devices. The UNIs on the N-PEs are designated as primary and backup and have identical configurations. If the primary interface fails, the service is automatically transferred to the backup interface.

Figure 4-2 shows an example of how Flexible UNIs can be used when the Cisco 7600 series router is configured as a dual-homed N-PE (NPE1) and as a dual-homed U-PE (UPE2).

Figure 4-2 Backup Interface for Dual-Homed Devices


Note The configurations on the primary and backup interfaces must be identical.


The primary interface is the interface for which you configure a backup. During operation, the primary interface is active and the backup (secondary) interface operates in standby mode. If the primary interface goes down (due to loss of signal), the router begins using the backup interface.

While the primary interface is active (up) the backup interface is in standby mode. If the primary interface goes down, the backup interface transitions to the up state and the router begins using it in place of the primary. When the primary interface comes back up, the backup interface transitions back to standby mode. While in standby mode, the backup interface is effectively down and the router does not monitor its state or gather statistics for it.

This feature provides the following benefits:

Supports the following Ethernet virtual circuit (EVC) features:

Frame matching: EVC with any supported encapsulation (Dot1q, default, untagged).

Frame rewrite: Any supported (ingress and egress with push, pop, and translate).

Frame forwarding: MultiPoint Bridging over Ethernet (MPBE), xconnect, connect.

Quality of Service (QoS) on EVC.

Supports Layer 3 (L3) termination.

Supports several types of uplinks: MultiProtocol Label Switching (MPLS), Virtual Private LAN Service (VPLS), and switchports.

The Backup Interface for Flexible UNI feature makes use of these Ethernet components:

Ethernet virtual circuit (EVC)—An association between two or more UNIs that identifies a point-to-point or point-to-multipoint path within the provider network. For more information about EVCs, see the "Troubleshooting" section.

Ethernet flow point (EFP)—The logical demarcation point of an EVC on an interface. An EVC that uses two or more UNIs requires an EFP on the associated ingress interface and egress interface of every device that the EVC passes through.

Restriction and Usage Guidelines

Observe these restrictions and usage guidelines as you configure a backup interface for Flexible UNI on the router:

Hardware and software support:

Supported on Cisco 7600 Series ES+ and ES20 line cards.

Supported with the Route Switch Processor 720 and Supervisor Engine 720.

Requires Cisco IOS Release 12.2(33)SRD or later.

You can use the same IP address on both the primary and secondary interfaces. This enables the interface to support L3 termination (single or double tagged).

The configurations on the primary and backup interfaces must match. The router does not check that the configurations match; however, the feature does not work if the configurations are not the same.


Note If the configuration includes the xconnect command, you must specify a different VCID on the primary and backup interfaces.


The duplicate resources needed for the primary and secondary interfaces are taken from the total resources available on the router and thus affect available resources. For example, each xconnect command consumes resources on both the primary and backup interfaces.

Any features configured on the primary and backup interfaces (such as bridge-domain, xconnect, and connect commands) transition up or down as the interface itself transitions between states.

Switchover time between primary and backup interfaces is best effort. The time it takes the backup interface to transition from standby to active mode depends on the link-state detection time and the amount of time needed for EVCs and their features to transition to the up state.

Configuration changes and administrative actions made on the primary interface are automatically reflected on the backup interface.

The router monitors and gathers statistics for the active interface only, not the backup. During normal operation, the primary interface is active; however, if the primary goes down, the backup becomes active and the router begins monitoring and gathering statistics for it.

When the primary interface comes back up, the backup interface always transitions back to standby mode. Once the signal is restored on the primary interface, there is no way to prevent the interface from being restored as the primary.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface type slot/port

4. backup interface type interface


Note You must apply the same configuration to both the primary and backup interfaces or the feature does not work. To configure EVC service instances on the interfaces, use the service instance, encapsulation, rewrite, bridge-domain, and xconnect commands. For information, see the "Configuring MultiPoint Bridging over Ethernet on Cisco 7600 Series ES+ Line Cards" section and the "Configuring Any Transport over MPLS" section.


5. (Optional) backup delay enable-delay disable-delay

6. (Optional) backup load enable-percent disable-percent

7. exit

8. (Optional) connect primary interface srv-inst interface srv-inst

9. (Optional) connect backup interface srv-inst interface srv-inst

10. (Optional) connect primary interface srv-inst1 interface srv-inst2

11. (Optional) connect backup interface srv-inst1 interface srv-inst2

12. exit

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

Router(config)# interface type slot/port



Example:

Router(config)# interface gigabitethernet 3/1

Selects the primary interface. This is the interface you are creating a backup interface for. For example, interface gigabitEthernet 3/1 selects the interface for port1 of the Gigabit Ethernet card installed in slot 3.

type specifies the interface type. Valid values are gigabitethernet or tengigabitethernet.

slot/port specifies the location of the interface.

Step 4 

Router(config-if)# backup interface type interface

Example:

Router(config)# backup interface gigabitethernet 4/1

Selects the interface to serve as a backup interface.

Note You must apply the same configuration to both the primary and backup interfaces or the feature does not work. To configure EVC service instances on the interfaces, use the service instance, encapsulation, rewrite, bridge-domain, and xconnect commands. For information, see the "Configuring MultiPoint Bridging over Ethernet on Cisco 7600 Series ES+ Line Cards" section and the "Configuring Any Transport over MPLS" section.

Step 5 

Router(config-if)# backup delay enable-delay disable-delay






Example:

Router(config-if)# backup delay 0 0

(Optional) Specifies a time delay (in seconds) for enabling or disabling the backup interface.

enable-delay is the amount of time to wait after the primary interface goes down before bringing up the backup interface.

disable-delay is the amount of time to wait after the primary interface comes back up before restoring the backup interface to the standby (down) state

Note For the backup interface for Flexible UNI feature, do not change the default delay period (0 0) or the feature may not work correctly.

Step 6 

Router(config-if)# backup load enable-percent disable-percent

Example:

Router(config-if)# backup load 50 10

(Optional) Specifies the thresholds of traffic load on the primary interface (as a percentage of the total capacity) at which to enable and disable the backup interface.

enable-percent—Activate the backup interface when the traffic load on the primary exceeds this percentage of its total capacity.

disable-percent—Deactivate the backup interface when the combined load of both primary and backup returns to this percentage of the primary interface's capacity.

Applying the settings from the example to a primary interface with 10-Mbyte capacity, the router enables the backup interface when traffic load on the primary exceeds 5 mb (50%), and disables the backup when combined traffic on both interfaces falls below 1 Mbyte (10%).

Step 7 

exit

Example:

Router(config-if)# exit

Exits interface configuration mode and returns to global configuration mode.

Step 8 

Router(config)# connect primary interface srv-inst interface srv-inst

Example:

Router(config-if)# connect primary gi3/2 gi3/3

(Optional) Creates a local connection between a single service instance (srv-inst) on two different interfaces.

The connect primary command creates a connection between primary interfaces.

Step 9 

Router(config)# connect backup interface srv-inst interface srv-inst

Example:

Router(config-if)# connect backup gi4/2 gi4/2

(Optional) Creates a local connection between a single service instance (srv-inst) on two different interfaces.

The connect backup command creates a connection between backup interfaces.

Step 10 

Router(config)# connect primary interface srv-inst1 interface srv-inst2

Example:

Router(config-if)# connect primary gi3/2 gi3/3

(Optional) Enables local switching between different service instances (srv-inst1 and srv-inst2) on the same port.

Use the connect primary command to create a connection on a primary interface.

Step 11 

Router(config)# connect backup interface srv-inst1 interface srv-inst2

Example:

Router(config-if)# connect backup gi4/2 gi4/3

(Optional) Enables local switching between different service instances (srv-inst1 and srv-inst2) on the same port.

Use the connect backup command to create a connection on a backup interface.

Step 12 

exit

Example:

Router(config-if)# exit

Exits interface configuration mode.


Note If you have configured any interface (L3, Switchport, or EVC) using the backup interface command, then you are not supposed to run the shutdown command on the active interface. If you run shutdown, then the standby interface will also go down.


The following example shows a sample configuration in which:

gi3/1 is the primary interface and gi4/1 is the backup interface.

Each interface supports two service instances (2 and 4), and each service instance uses a different type of forwarding (bridge-domain and xconnect).

The xconnect command for service instance 2 uses a different VCID on each interface.

	Router# enable
Router# configure terminal
Router(config)# interface gi3/1
Router(config-if)# backup interface gi4/1
Router(config-if)# service instance 4 ethernet
Router(config-if-srv)# encapsulation dot1q 4
Router(config-if-srv)# rewrite ingress tag pop 1 symmetric
Router(config-if-srv)# bridge-domain 4
Router(config-if-srv)# exit
Router(config-if)# service instance 2 ethernet
Router(config-if-srv)# encapsulation dot1q 2
Router(config-if-srv)# rewrite ingress tag pop 1 symmetric
Router(config-if-srv)# xconnect 10.0.0.0 2 encap mpls
Router(config)# interface gi4/1
Router(config-if)# service instance 4 ethernet
Router(config-if-srv)# encapsulation dot1q 4
Router(config-if-srv)# rewrite ingress tag pop 1 symmetric
Router(config-if-srv)# bridge-domain 4
Router(config-if-srv)# exit
Router(config-if)# service instance 2 ethernet
Router(config-if-srv)# encapsulation dot1q 2
Router(config-if-srv)# rewrite ingress tag pop 1 symmetric
Router(config-if-srv)# xconnect 10.0.0.0 5 encap mpls

Verification

This section lists the commands to display information about the primary and backup interfaces configured on the router. In the examples that follow, the primary interface is gi3/1 and the secondary (backup) interface is gi3/11.

To display a list of backup interfaces, use the show backup command in privileged EXEC mode. Our sample output shows a single backup (secondary) interface:

Router# show backup 
Primary Interface     Secondary Interface    Status
-----------------     -------------------    ------
GigabitEthernet 3/1  GigabitEthernet 3/11  normal operation

To display information about a primary or backup interface, use the show interfaces command in privileged EXEC mode. Issue the command on the interface for which you want to display information. The following examples show the output displayed when the command is issued on the primary (gi3/1) and backup (gi3/11) interfaces:

Router# show interface gi3/1 
GigabitEthernet3/1 is up, line protocol is up (connected)
  Hardware is GigEther SPA, address is 0005.dc57.8800 (bia 0005.dc57.8800)
  Backup interface GigabitEthernet 3/11, failure delay 0 sec, secondary disable delay 
0 sec, kickin load not set, kickout load not set
[...]
Router# show interface gi3/11 
GigabitEthernet3/11 is standby mode, line protocol is down (disabled)

If the primary interface goes down, the backup (secondary) interface is transitioned to the up state, as shown in the command output that follows. Notice how the command output changes if you reissue the show backup and show interfaces commands at this time: the show backup status changes, the line protocol for gi3/1 is now down (notconnect), and the line protocol for gi3/11 is now up (connected).

Router# !!! Link gi3/1 (active) goes down... 
22:11:11: %LINK-DFC3-3-UPDOWN: Interface GigabitEthernet3/1, changed state to down
22:11:12: %LINK-DFC3-3-UPDOWN: Interface GigabitEthernet3/11, changed state to up
22:11:12: %LINEPROTO-DFC3-5-UPDOWN: Line protocol on Interface GigabitEthernet3/1, 
changed state to down
22:11:13: %LINEPROTO-DFC3-5-UPDOWN: Line protocol on Interface GigabitEthernet3/11, 
changed state to up
Router# show backup      
Primary Interface     Secondary Interface    Status
-----------------     -------------------    ------
GigabitEthernet3/1  GigabitEthernet3/11  backup mode
Router# show interface gi3/1 
GigabitEthernet3/1 is down, line protocol is down (notconnect)
  Hardware is GigEther SPA, address is 0005.dc57.8800 (bia 0005.dc57.8800)
  Backup interface GigabitEthernet3/11, failure delay 0 sec, secondary disable delay 0 
sec,
Router# show interface gi3/11 
GigabitEthernet3/11 is up, line protocol is up (connected)

Example

Figure 4-3 shows a sample configuration of a backup interface for Flexible UNI. The configuration includes several EVCs (service instances), configured as follows:

Service instance 4 is configured on primary and backup interfaces (links) that terminate in a bridge domain, with a VPLS uplink onto network provider edge NPE12.

Service instance 2 is configured as scalable Ethernet over MPLS, peering with an SVI VPLS on NPE12.

Figure 4-3 Backup Interface for Flexible UNI Configuration

This is the configuration at NPE10:

interface ge2/4.4
  description npe10 to npe11 gi3/11 - backup - bridged
  encapsulation dot1q 4
  ip address 100.4.1.33 255.255.255.0
interface ge2/4.2
  description npe10 to npe11 gi3/11 - backup - xconnect
  encapsulation dot1q 2
  ip address 100.2.1.33 255.255.255.0

This is the configuration at NPE14:

interface ge1/3.4
  description npe14 to npe11 gi3/1 - primary - bridged
  encapsulation dot1q 4
  ip address 100.4.1.22 255.255.255.0
interface ge1/3.2
  description npe14 to npe11 gi3/1 - primary - xconnect
  encapsulation dot1q 2
  ip address 100.2.1.22 255.255.255.0 

This is the configuration at 72a, at the user-facing provider edge (U-PE):

interface fa1/0.4
  description 72a to npe12 - bridged
  encapsulation dot1q 4
  ip address 100.4.1.12 255.255.255.0
interface fa1/0.2
  description 72a to npe12 - xconnect
  encapsulation dot1q 2
  ip address 100.2.1.12 255.255.255.0 

This is the configuration at NPE11:

interface gigabitEthernet 3/1
  backup interface gigabitEthernet 3/11
  service instance 2 ethernet
    encapsulation dot1q 2
    rewrite ingress tag pop 1 symmetric
    xconnect 12.0.0.1 2 encapsulation mpls
  service instance 4 ethernet
    encapsulation dot1q 4
    rewrite ingress tag pop 1 symmetric
    bridge-domain 4
interface gigabitEthernet 3/11
  service instance 2 ethernet
    encapsulation dot1q 2
    rewrite ingress tag pop 1 symmetric
    xconnect 12.0.0.1 21 encapsulation mpls
  service instance 4 ethernet
    encapsulation dot1q 4
    rewrite ingress tag pop 1 symmetric
    bridge-domain 4

This is the configuration at NPE12:

interface GE-WAN 4/3
  description npe11 to npe12
  ip address 10.3.3.1 255.255.255.0
  mpls ip
l2 vfi vlan4 manual
  vpn id 4
  neighbor 12.0.0.1 4 encapsulation mpls
interface Vlan 4
  xconnect vfi vlan4 
l2 vfi vlan4 manual
  vpn id 4
  neighbor 11.0.0.1 4 encap mpls
interface Vlan4
  description npe12 to npe11 xconnect
  xconnect vfi vlan4
l2 vfi vlan2 manual
  vpn id 2
  neighbor 11.0.0.1 2 encap mpls
  neighbor 11.0.0.1 21 encap mpls
interface Vlan2
  xconnect vfi vlan2
interface GE-WAN 9/4
  description npe12 to npe11
  ip address 10.3.3.2 255.255.255.0
  mpls ip
interface fastEthernet 8/2
  description npe12 to 72a
  switchport
  switchport trunk encap dot1q
  switchport mode trunk
  switchport trunk allowed vlan 2-4

The primary interface is enabled:

NPE 11# show backup
Primary interface Secondary interface Status
--------------------------------------------
GigabitEthernet3/1GigabitEthernet3/11 normal operation
NPE-11#sh int gi3/1
GigabitEthernet3/1 is up, line protocol is up (connected)
Hardware is GigEther SPA, address is 0005.dc57.8800(bia 0005.dc57.8800)
Backup interface GigabitEthernet3/11, failure delay 0 sec, secondary disable delay 0 
sec,kicking load not set, kickout load not set,
[...]
NPE-11# show interface gi3/11
GigabitEthernet 3/11 is standby mode, line protocol is down (disabled)

The primary link is disabled:

NPE 11#!!!Link gi3/1 (active) goes down
22:11:11: % LINK-DFC3-3-UPDOWN:Interface GigabitEthernet3/1, changed state to down
22:11:12: % LINK-DFC3-3-UPDOWN:Interface GigabitEthernet3/1, changed state to up
22:11:12: % LINKPROTO-DFC3-3-5-UPDOWN:Line protocol on Interface GigabitEthernet3/1, 
changed state to down
22:11:13: % LINKPROTO-DFC3-3-5-UPDOWN:Line protocol on Interface GigabitEthernet3/11, 
changed state to up
NP-11# show backup
Primary interface Secondary interface Status
--------------------------------------------
GigabitEthernet3/1GigabitEthernet3/11 backup mode
NP-11#sh int gi3/1
GigabitEthernet3/1 is down, line protocol is down (notconnect)
Hardware is GigEther SPA, address is 0005.dc57.8800(bia 0005.dc57.8800)
Backup interface GigabitEthernet3/11, failure delay 0 sec, secondary disable delay 0 sec
NPE-11#sh int gi3/11
GigabitEthernet 3/11 is up, line protocol is up (connected)

Troubleshooting

Table 4-5 provides troubleshooting solutions for the backup interface of the Flexible UNI feature.

Table 4-5 Troubleshooting Scenarios for backup interface of the Flexible UNI feature

Problem
Solution

The backup interface is in a standby state or the line protocol is down

Use the show interfaces command on the specific interface in privileged EXEC mode to display interface and line protocol details. Share the output with TAC for further investigation.

This sample output of the command is displayed when the command on the primary (gi3/0/0) and backup (gi3/0/11) interfaces:

NPE-11# show int gi3/0/0

GigabitEthernet3/0/0 is up, line protocol is up (connected)

Hardware is GigEther SPA, address is 0005.dc57.8800 (bia 0005.dc57.8800)

Backup interface GigabitEthernet3/0/11, failure delay 0 sec, secondary disable delay

0 sec, kickin load not set, kickout load not set

[...]

NPE-11# show int gi3/0/11

GigabitEthernet3/0/11 is standby mode, line protocol is down (disabled)


EVC On Port-Channel

An EtherChannel bundles individual Ethernet links into a single logical link that provides the aggregate bandwidth of up to eight physical links.The EVC EtherChannel feature provides support for EtherChannels on Ethernet Virtual Connection Services (EVCS) service instances.

For more information on EtherChannels, and how to configure EtherChannels on Layer 2 or Layer 3 LAN ports, see Configuring EtherChannels at http://www.cisco.com/en/US/docs/routers/7600/ios/15S/configuration/guide/channel.html.

The EVC EtherChannel feature supports MPBE, local connect, and xconnect service types.

Load balancing is accomplished on a Ethernet flow point (EFP) basis where a number of EFPs exclusively pass traffic through member links. In a default load balancing, you have no control over how the EFPs are grouped together, and sometimes the EFP grouping may not be ideal. To avoid this, use manual load balancing to control the EFP grouping.

Restrictions and Usage Guidelines

When configuring EVC EtherChannel, follow these restrictions and usage guidelines:

All member links of the port-channel are on Cisco 7600-ES+ line cards.

Bridge-domain, xconnect, connect EVCs, switchports, and IP subinterfaces are allowed over the port-channel interface and the main interface.

The EFP limit decreases with the number of member links on the NP. For instance, if there are 4 members within the same NP, the EVC limit on the NP decreases to 2000, that is (8000/4).


Note For a switchport (not for data traffic), use the service instance ethernet command to create a service instance to support OAM requirements.


If you configure a physical port as part of a channel group, you cannot configure EVCs under that physical port.

A physical port that is part of an EVC port-channel cannot have switchport configuration.

Total number of port channels EVCs per box is 16000.

Statically configuring port-channel membership with LACP is not supported.

You can apply QoS policies under EVCs on a port-channel with the exception that ingress microflow policing is not supported. For more information on configuring QoS with EVCs, see Configuring QoS.

You cannot use the bandwidth percent or police percent commands on EVC port-channels in flat policy-maps or in parent of HQoS policy-maps.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface port-channel number

4. [no] ip address

5. [no] service instance id Ethernet [service-name]

6. encapsulation {default|untagged|dot1q vlan-id [second-dot1q vlan-id]}

7. rewrite ingress tag {push {dot1q vlan-id | dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | pop {1 | 2} | translate {1-to-1 {dot1q vlan-id | dot1ad vlan-id}| 2-to-1 dot1q vlan-id | dot1ad vlan-id}| 1-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | 2-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id}} symmetric

8. [no] bridge-domain bridge-id or xconnect vfi vfi name

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface port-channel number

Example:

Router(config)# interface port-channel 11

Creates the port-channel interface.

Step 4 

[no] ip address

Example:

Router(config-if)# no ip address

Assigns a subnet mask to the ethernet channel.

Step 5 

[no] service instance id Ethernet [service-name}

Example:

Router(config-if)# service instance 101 ethernet

Creates a service instance (an instantiation of an EVC) on an interface and sets the device into the config-if-srv submode.

Step 6 

encapsulation {default|untagged|dot1q vlan-id [second-dot1q vlan-id]}

Example:

Router(config-if-srv)# encapsulation dot1q 13

Defines the matching criteria to be used in order to map ingress dot1q frames on an interface to the appropriate service instance.

Step 7 

rewrite ingress tag {push {dot1q vlan-id | dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | pop {1 | 2} | translate {1-to-1 {dot1q vlan-id | dot1ad vlan-id}| 2-to-1 dot1q vlan-id | dot1ad vlan-id}| 1-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | 2-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id}} symmetric

Example:

Router(config-if-srv)# rewrite ingress tag push dot1q 20 symmetric

Specifies the tag manipulation that is to be performed on the frame ingress to the service instance.

Step 8 

[no] bridge-domain bridge-id

or

xconnect vfi vfi name

Example:

Router(config-if-srv)# bridge-domain 12

The bridge-domain command binds the service instance to a bridge domain instance where bridge-id is the identifier for the bridge domain instance.

The xconnect command specifies the Layer 2 VFI that you are binding to the VLAN port.

Examples

This example shows a single port-channel interface is created with three possible member links from slots 1 and 2:

Router# enable
Router# configure terminal
Router(config)# interface Port-channel5
Router(config)# interface GigabitEthernet 2/1
Router(config-if)# channel-group 5 mode on

This example shows scalable Eompls and EVC connect sample configuration.

Router#enable
Router#configure terminal
Router(config)#interface GigabitEthernet 3/0/0
Router(config-if)#service instance 10 ethernet
Router(config-srv)#encapsulation dot1q 20
Router(config-if-srv)#rewrite ingress tag pop 1 sym 
Router(config-if-srv)#exit
Router(config-if)#exit
Router(config)#interface GigabitEthernet 3/0/1
Router(config-if)#service instance 12 ethernet
Router(config-srv)#encapsulation dot1q 30
Router(config-if-srv)#rewrite ingress tag pop 1 sym 
Router(config-if-srv)#exit
Router(config-if)#exit
Router(config)#connect TEST GigabitEthernet 3/0/0 10 GigabitEthernet 3/0/1 12
Router#sh connection all
ID   Name            Segment 1              Segment 2                  State    
================================================================================
57   TEST            Gi3/0/0:10             Gi3/0/1:12                 UP    

This is a typical QoS configuration.

Router# enable
Router# configure terminal
Router(config)# interface port-channel10
Router(config-if)# no ip address
Router(config-if)# service instance 1 ethernet
Router(config-if-srv)# encapsulation dot1q 11
Router(config-if-srv)# rewrite ingress tag pop 1 symmetric
Router(config-if)# service-policy input x
Router(config-if)# service-policy output y
Router(config-if-srv)# bridge-domain 1500

se the following commands to verify the configuration.

Command
Purpose

Router# show ethernet service evc [id evc-id | interface interface-id] [detail]

Displays information pertaining to a specific EVC if an EVC ID is specified, or pertaining to all EVCs on an interface if an interface is specified. The detailed option provides additional information on the EVC.

Router# show ethernet service instance interface port-channel number [summary]

Displays the summary of all the configured EVCs within the interface.

Router# show ethernet service instance [id instance-id interface interface-id | interface interface-id] [detail]

Displays information about one or more service instances. If a service instance ID and interface are specified, only data pertaining to that particular service instance is displayed. If only an interface ID is specified, displays data for all service instances s on the given interface.

Router# show mpls l2 transport vc detail

Displays detailed information related to the virtual connection (VC).

Router# show mpls forwarding

Displays the contents of the Multiprotocol Label Switching (MPLS) Label Forwarding Information Base (LFIB).

Note Output should have the label entry l2ckt.

Router# show etherchannel summary

Displays view all EtherChannel groups states and ports.

Router# show policy-map interface service instance

Displays the policy-map information for a given service instance.


Troubleshooting

Table 4-6 provides the troubleshooting solutions for the EVC on a Port-Channel.

Table 4-6 Troubleshooting Scenarios for EVC on a Port-Channel

Problem
Solution

Port data block issues in port channel

Use the show ethernet service interface [interface-id] [detail] command to view information on the port data. Share the output with TAC for further investigation.

Issues with platform events or errors

Use the debug platform npc custom-ether client [event, error] command to debug and trace platform issues. Share the output with TAC for further investigation.


Configuring SPAN on EVC

Currently, traffic mirroring, lawful intercept, or Switched Port Analyzer (SPAN) on a per service instance is unavailable.

The existing command line interface supports configuring interface and VLAN as the local SPAN source. The same command line interface is enhanced to accept service instance IDs along with the interface. Since an EVC is support only for the local session SPAN, service instance options for the SPAN source are added in the local SPAN configuration submode.

You configure SPAN to intercept traffic in three ways:

SPAN on Port: The traffic on all EVCs on the port or port channel is included for a SPAN session along with routed traffic on that port.

SPAN on VLAN: The traffic on all EVC bridge-domains with the same VLAN is included for a SPAN session along with other switchports on the same VLAN.

SPAN on EVC: The traffic on a given EFP or a set of EFPs is included for a SPAN session.

Restrictions and Usage Guidelines

Follow these restrictions and usage guidelines while configuring SPAN on EVC, follow these restrictions and usage guidelines:

Only Local SPAN is supported.

EVC SPAN is effective only if the EVC is on the ES+ line card.

EVC as a SPAN destination is not supported.

Egress SPAN packet does not undergo QoS processing.

If a combination of switchports and EVC bridge-domain exists, then for flood case packet on both is spanned. VLAN and SPAN are configured in the transmit direction on the source port.

If a combination of different EVC bridge-domain exists, then for flood case packet on all the EVCs is spanned. VLAN and SPAN are configured in the transmit direction on the source port.

EVC SPAN does not work with multiple destination ports.

For EVCs configured as a part of more than one SPAN session (EVC, VLAN, or port), traffic is monitored on only one session.

EFPs and VLAN cannot be configured as source in the same monitor session.

For a 10G port, the aggregate of ingress traffic and SPAN traffic cannot exceed 10G.

For a 10G port with port-shaper, the aggregate of port traffic and SPAN traffic cannot exceed the port-shaper.

For a 1G port, the total SPAN traffic can be as high as 10G, but due to network processor limitations and fabric bottleneck, the net traffic can be reduced.

Configuring SPAN on EVC

Complete the following steps to configure SPAN on EVC.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface port-channel number

4. [no] ip address

5. [no] service instance id Ethernet [service-name]

6. encapsulation {default|untagged|dot1q vlan-id [second-dot1q vlan-id]}

7. rewrite ingress tag {push {dot1q vlan-id | dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | pop {1 | 2} | translate {1-to-1 {dot1q vlan-id | dot1ad vlan-id}| 2-to-1 dot1q vlan-id | dot1ad vlan-id}| 1-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | 2-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id}} symmetric

8. exit

9. monitor session local_span_session_number type [local | local-tx]

10. source {interface | service instance | vlan}{GigabitEthernet |Port-channel | TenGigabitEthernet} [rx | tx | both]

11. destination interface{GigabitEthernet |Port-channel | TenGigabitEthernet}

12. [no] shutdown

13. end

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Enables privileged EXEC mode. Enter your password if prompted.

Step 2 

configure terminal

Enters global configuration mode.

Step 3 

interface port-channel number

Creates the port-channel interface.

Step 4 

[no] ip address

Assigns a subnet mask to the ethernet channel.

Step 5 

[no] service instance id Ethernet [service-name}

Creates a service instance (an instantiation of an EVC) on an interface and sets the device to the ethernet service configuration submode.

Step 6 

encapsulation {default|untagged|dot1q vlan-id [second-dot1q vlan-id]}

Defines the matching criteria to map ingress dot1q frames on an interface to the appropriate service instance.

Step 7 

rewrite ingress tag {push {dot1q vlan-id | dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | pop {1 | 2} | translate {1-to-1 {dot1q vlan-id | dot1ad vlan-id}| 2-to-1 dot1q vlan-id | dot1ad vlan-id}| 1-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | 2-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id}} symmetric

Specifies the tag manipulation on the frame ingress to the service instance.

Step 8 

exit

Exits to global configuration mode.

Step 9 

monitor session local_span_session_number type [local | local-tx]

Configures a monitor session using a SPAN session number and enters the SPAN session configuration mode.

Step 10 

source {interface | service instance | vlan}{GigabitEthernet |Port-channel | TenGigabitEthernet} [rx | tx | both]

Associates the SPAN session number with source ports, VLANs, or EVC, and selects the traffic direction to be monitored.

Step 11 

destination interface{GigabitEthernet |Port-channel | TenGigabitEthernet}

Associates the SPAN session number with the destinations.

Step 12 

no shutdown

Activates the SPAN session.

Step 13 

end

Exits configuration mode.

Sample Configuration

This is an example for configuring SPAN on EVC.

Router# enable
Router# configure terminal
Router(config)# interface port-channel 11 
Router(config-if)# no ip address
Router(config-if)# service instance 101 ethernet
Router(config-if-srv)# encapsulation dot1q 13
Router(config-if-srv)# rewrite ingress tag push dot1q 20 symmetric
Router(config-if-srv)# exit
Router(config)# monitor session 1 type local
Router(config-mon-local)# source service instance 2 - 100 Port-channel 1 both
Router(config-mon-local)# destination interface Port-channel 3
Router(config-mon-local)# no shut
Router(config-mon-local)# end

Verifying SPAN on EVC

This section provides the commands to verify the SPAN configuration.

Router# show monitor session 1
Session 1
---------
Type                   : Local Session
Status                 : Admin Enabled
Source EFPs            :
    Both               : Po1:   2-100
Destination Ports      : Po3
Router# show run | section monitor
monitor session 1 type local
 source service instance 2 - 100 Port-channel1
 destination interface Po3

Troubleshooting

For specific troubleshooting information, contact Cisco Technical Assistance Center (TAC) at this location:

http://www.cisco.com/en/US/support/tsd_cisco_worldwide_contacts.html

LACP Support for EVC Port Channel

An Ethernet link bundle or port-channel is an aggregation of up to eight physical Ethernet links to form a single logical link for L2/L3 forwarding. Bundled Ethernet ports are used to increase the capacity of the logical link and provide high availability and redundancy. The EVC EtherChannel feature provides support for EtherChannels on Ethernet Virtual Connection Services (EVCS) service instances.

For more information on EtherChannels, and how to configure EtherChannels on Layer 2 or Layer 3 LAN ports, see "Configuring EtherChannels" at http://www.cisco.com/en/US/docs/routers/7600/ios/12.2SXF/configuration/guide/channel.html.

The EVC EtherChannel feature supports MPBE, local connect, and xconnect service types. IEEE 802.3ad/Link Aggregation Control Protocol (LACP) provides an association of port-channels. The LACP support for EVC Port Channel feature supports service instances over bundled Ethernet links.

Ethernet flow points (EFPs) are configured under a port-channel. The traffic, carried by the EFPs, is load-balanced across member links. EFPs under a port-channel are grouped and each group is associated with one member link. Ingress traffic for a single EVC can arrive on any member of the bundle. All egress traffic for an EFP uses only one of the member links. Load balancing is achieved by grouping EFPs and assigning them to a member link.

The scalability for a link-bundling EVC is 16000 per chassis. Port Channel EVC scalability for ES+ line cards is dependent on the same factors as EVCs configured under physical interfaces, with the number of member links and their distribution across the NPU as an additional parameter. EVC port-channel QoS leverages EVC QoS infrastructure. For more information on the scalable values, see Restrictions and Usage Guidelines.

Restrictions and Usage Guidelines

When configuring EVC EtherChannel, follow these restrictions and usage guidelines:

All member links of the port-channel are on Cisco 7600-ES+ line cards.

Only bridge-domain, xconnect, connect EVCs, and IP subinterfaces are allowed over the port-channel interface. You cannot apply a switchport and EVC configuration under the same port-channel interface.

If you configure a physical port as part of a channel group, you cannot configure EVCs under that physical port.

A physical port that is part of an EVC port-channel cannot have switchport configuration.

You can apply QoS policies under EVCs on a port-channel with the exception that ingress microflow policing is not supported. For more information on configuring QoS with EVCs, see Configuring QoS.

You cannot use the bandwidth percent or police percent commands on EVC port-channels in flat policy-maps or in parent of HQoS policy-maps.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface port-channel

4. [no] ip address

5. service instance id Ethernet [service-name]

6. encapsulation dot1q vlan-id

7. rewrite ingress tag {push {dot1q vlan-id | dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | pop {1 | 2} | translate {1-to-1 {dot1q vlan-id | dot1ad vlan-id}| 2-to-1 dot1q vlan-id | dot1ad vlan-id}| 1-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | 2-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id}} symmetric

8. [no] bridge-domain bridge-id

9. interface gigabitethernet slot/port

10. channel-protocol {lacp | pagp}

11. channel-group channel-group-number mode {active | on | passive}


Note The channel-group command options are applicable when configuring port-channel over EVC and the options active/passive are applicable when configuring port-channel over EVC with LACP.


DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface port-channel number

Example:

Router(config)# interface port-channel 12

Creates the port-channel interface.

Step 4 

[no] ip address

Example:

Router(config-if)# no ip address

Assigns a subnet mask to the EtherChannel.

Step 5 

[no] service instance id Ethernet [service-name]

Example:

Router(config-if)# service instance 101 ethernet

Creates a service instance (an instance of an EVC) on an interface and sets the device into the config-if-srv submode.

Step 6 

encapsulation dot1q vlan-id

Example:

Router(config-if-srv)# encapsulation dot1q 13

Defines the matching criteria to be used to map ingress dot1q frames on an interface to the appropriate service instance.

Step 7 

rewrite ingress tag {push {dot1q vlan-id | dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | pop {1 | 2} | translate {1-to-1 {dot1q vlan-id | dot1ad vlan-id}| 2-to-1 dot1q vlan-id | dot1ad vlan-id}| 1-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | 2-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id}} symmetric

Example:

Router(config-if-srv)# rewrite ingress tag push dot1q 20 symmetric

Specifies the tag manipulation that is to be performed on the frame ingress to the service instance.

Step 8 

[no] bridge-domain bridge-id

Example:

Router(config-if-srv)# bridge-domain 12

Binds the service instance to a bridge domain instance where bridge-id is the identifier for the bridge domain instance.

Step 9 

interface gigabitethernet slot/port

Example:

Router (config) # interface gig 5/1

Specifies the Gigabit Ethernet or the Ten Gigabit Ethernet or the port-channel interface to configure.

Step 10 

channel-protocol {lacp | pagp}

Example:

Router(config-if)# channel-protocol lacp

Sets the protocol that is used on an interface to manage channeling.

Step 11 

channel-group channel-group-number mode {active | on | passive}

Example:

Router(config-if)# channel-group 5 mode active

Assigns and configures an EtherChannel interface to an EtherChannel group.

Examples

In this example, a single port-channel interface is created with three possible member links from slots 1 and 2:

Router# enable
Router# configure terminal
Router(config)# interface Port-channel5
Router(config-if)# no ip address
Router(config-if)# service instance 1 ethernet
Router(config-if-srv)# encapsulation dot1q 350
Router(config-if-srv)# rewrite ingress tag pop 1 symmetric
Router(config-if-srv)# bridge-domain 350
 !
Router(config-if)# service instance 2 ethernet
Router(config-if-srv)# encapsulation dot1q 400
Router(config-if-srv)# rewrite ingress tag pop 1 symmetric
Router(config-if-srv)# bridge-domain 350
Router(config-if)# service instance 3 ethernet
Router(config-if-srv)# encapsulation dot1q 500
Router(config-if-srv)# rewrite ingress tag pop 1 symmetric
Router(config-if-srv)# bridge-domain 370
 !
Router# enable
Router# configure terminal
Router(config)# interface Port-channel5.1
Router(config-if-srv)# encapsulation dot1Q 500 second-dot1q 300
Router(config-if)# ip address 60.0.0.1 255.0.0.0
!
Router(config)# interface GigabitEthernet 1/1
Router(config-if)# channel-protocol lacp 
Router(config-if)# channel-group 5 mode active 
Router(config)# interface GigabitEthernet 1/3 
Router(config-if)# channel-protocol lacp 
Router(config-if)# channel-group 5 mode active 
Router(config)# interface GigabitEthernet 2/1 
Router(config-if)# channel-protocol lacp 
Router(config-if)# channel-group 5 mode active 

This is a typical QoS configuration.

Router# enable
Router# configure terminal
Router(config)# interface port-channel10
Router(config-if)# no ip address
Router(config-if)# service instance 1 ethernet
Router(config-if-srv)# encapsulation dot1q 11
Router(config-if-srv)# rewrite ingress tag pop 1 symmetric
Router(config-if)# service-policy input x
Router(config-if)# service-policy output y
Router(config-if-srv)# bridge-domain 1500

This is configuration for LACP over a configured EVC port-channel, under an interface:

Router# enable
Router# configure terminal
Router(config)# interface GigabitEthernet 1/1
Router(config-if)# channel-protocol lacp
Router(config-if)# channel-group 5 mode ?
Router(config-if)# channel-group 5 mode active
Router(config-if)# channel-group 5 mode passive 

This is a port-channel configuration:

Router# enable
Router# configure terminal
Router(config-if)# interface Port-channel102
Router(config-if)# mtu 9216
Router(config-if)# no ip address
Router(config-if)# lacp fast-switchover
Router(config-if)# lacp max-bundle 1
Router(config-if)# service instance 50 ethernet
Router(config-if)# encapsulation dot1q 50
Router(config-if)# rewrite ingress tag pop 1 symmetric
Router(config-if)# service-policy output lacp-parent
Router(config-if)# bridge-domain 50

This is a member links configuration:

Router# enable
Router# configure terminal
Router(config-if)# interface GigabitEthernet 3/12
Router(config-if)# mtu 9216
Router(config-if)# no ip address
Router(config-if)# lacp rate fast
Router(config-if)# channel-protocol lacp
Router(config-if)# channel-group 102 mode active

Verification

Use these commands to verify EVC configuration.

Command
Purpose

Router# show ethernet service evc [id evc-id | interface interface-id] [detail]

Displays information that verifies details of a specific EVC, and also verifies if an EVC ID is specified for all the EVCs on an interface.

Router# show ethernet service instanceinterface-id port-channel number [summary]

Displays the summary of all the EVCs configured within the interface.

Router# show ethernet service instance [id instance-id interface interface-id | interface interface-id] [detail]

Displays information about one or more service instances. If a service instance ID and interface are specified, only data pertaining to that particular service instance is displayed. If only an interface ID is specified, data for all service instances on the given interface is displayed.

Router# show ethernet service interface [interface-id] [detail]

Displays information in the Port Data Block (PDB).

Use the following commands to verify LACP over EVC

Router# show etherchannel 15 port-channel

Displays details for port-channel 15. This command is common to EVC port-channel, switchport port-channel, and Layer 3 port-channel.


Troubleshooting

For information on troubleshooting LACP support for EVC Port Channel feature, see Table 4-6.

Configuring Layer 2 Access Control Lists (ACLs) on an EVC

ACLs (Access Control Lists) perform the following tasks:

Apply security and QoS at the interface, sub-interface, and service levels.

Filter the packets in a modular manner.

You can use a collection of sequential ACL rules to filter network traffic. Though the ACLs are applied on a network interface, you can use this feature to apply Layer 2 on different EVCs. Table 4-7 maps the supported layers with their parameters and Table 4-8 lists the commands used to activate the Layer 2 ACLs.

Table 4-7

Layer
Based on

Layer 2

MAC source and destination


Mapping between the ACL supported layers to the parameters

Table 4-8 ACL commands

Layer
Action
Command

Layer 2

Create a Layer 2 Access List

mac access-list extended {aclname}

Apply an Access list within the EVC

mac access-group {aclname} in


Restrictions and Usage Guidelines

Follow these restrictions and usage guidelines when you configure ACLs on a EVC:

A Layer 2 ACL is supported only on the ingress.

You can apply a single ACL to more than one EFP.

If a Layer 2 ACL is applied to an EFP (Ethernet Flow Point) with a Layer 2 ACL, the new ACL replaces the previous ACL.

A Layer 2 ACL configuration applied on the EVC interface should contain the source MAC address, destination MAC address, and the address mask.

You can apply a maximum of 256 unique ACLs on all the EVCs.

Maximum number of 16 ACEs (Access Control Elements) per ACL are supported.

The counters are supported per ACL per EVC.

Cisco IOS Release 15.1(1)S supports EVC port-channels.

Creating a Layer 2 Access Control List

SUMMARY STEPS

1. enable

2. configure terminal

3. mac access-list extended {aclname} {permit | deny} {host a.b.c host x.y.z}

4. exit

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

enable

Example:

Router> enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

mac access-list extended aclname {permit | deny} {host a.b.c host x.y.z}

Example:

me7600-5(config)#mac access-list extended test-l2-acl

Creates a Layer 2 Access List on the selected interface.

Step 4 

exit

Exits the configuration mode.

Applying a Layer 2 Access Control List

SUMMARY STEPS

1. enable

2. configure terminal

3. interface gigabitethernet type/ slot/port [subinterface-number] or interface tengigabitethernet type/ slot/port [subinterface-number]

4. [no] service instance id {Ethernet}

5. encapsulation dot1q vlan id

6. mac access- group aclname in

7. exit

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

enable

Example:

Router> enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface gigabitethernet type/ slot/port [subinterface-number]

or

interface tengigabitethernet type/ slot/port [subinterface-number]

Example:

Router(config)# interface gigabitethernet 4/0/0

Specifies the gigabit ethernet or the ten gigabit ethernet interface to configure, where:

slot/subslot/port—Specifies the location of the interface.

subinterface-number—(Optional) Specifies a secondary interface (sub-interface) number.

Step 4 

[no] service instance id {Ethernet [service-name

]}

Example:

Router(config-if)# service instance 101 ethernet

Creates a service instance on an interface and sets the device to the config-if-srv configuration mode.

Step 5 

encapsulation dot1q vlan id

Example:

Router(config-if-srv)# encapsulation dot1q 5

Defines the matching criteria to map ingress dot1q frames on an interface to the appropriate service instance.

Note Use the encapsulation dot1q default command to configure the default service instance on a port. Use the encapsulation dot1q untagged command to map the untagged ethernet frames on an ingress interface to a service instance.

Step 6 

mac access- group aclname in

Example:

me7600-5(config-if-srv)# mac access-group test-l2-acl in

Applies a L2 ACL on the selected EVC.

Note L2 ACL displays only positive permit and deny counts.

Step 7 

exit

Exits the configuration mode.

Examples

You can view the ACL counters for an EVC as shown in this example:

LLB-India-7#sh ethernet service instance id 1 int gig3/0/0 detail 
Service Instance ID: 1
L2 ACL (inbound): l2acl                         <=====
Associated Interface: GigabitEthernet3/0/0
Associated EVC: test
L2protocol drop
CE-Vlans:                                                                        
Interface Dot1q Tunnel Ethertype: 0x8100
State: Up
L2 ACL permit count: 0                              <=====   
L2 ACL deny count: 0                                <=====
EFP Statistics:
   Pkts In   Bytes In   Pkts Out  Bytes Out
         0          0          0          0

DHCP Snooping with Option-82 on EVC

DHCP snooping determines whether traffic sources are trusted or untrusted. An untrusted source may initiate traffic attacks or other hostile actions. To prevent such attacks, DHCP snooping filters messages traffic from untrusted sources.

To do this, DHCP snooping dynamically builds and maintains the DHCP snooping database using information extracted from intercepted DHCP messages. The database contains an entry for each untrusted host with a leased IP address if the host is associated with a VLAN that has DHCP snooping enabled. The database does not contain entries for hosts connected through trusted interfaces.

Each entry in the DHCP snooping database includes the MAC address of the host, the leased IP address, the lease time, the binding type, and the VLAN number and interface information associated with the host.

Additionally, the DHCP Snooping with Option-82 feature can centrally manage the IP address assignments for a large number of subscribers. When this feature is enabled on the router, a subscriber device is identified by the router port through which it connects to the network (in addition to its MAC address). Multiple hosts on the subscriber LAN can be connected to the same port on the access router and are uniquely identified.

However, EVCs require additional information. If each EVC on an interface is mapped to a single VPN, it would be possible to use the internal VLAN to identify the path for reply packets. However, because multiple EVCs with different encapsulations can map to the same VPN, it is necessary to use the actual EVC encapsulation to distinguish between EVCs.

The DHCP Snooping with Option-82 on EVC feature allows the user to provide this additional information required for EVC-enabled interfaces. This information is inserted into the option 82 and is also stored in the binding table for retrieval by other services.

Use the ip dhcp snooping information option allow-untrusted command to enable the switch to accept incoming DHCP snooping packets with option 82 information from the edge switch. DHCP option 82 data insertion is enabled by default. Accepting incoming DHCP snooping packets with option 82 information from the edge switch is disabled by default.

Use the ip dhcp relay information option subscriber-id command to configure a subscriber string for an EVC that can be inserted into the option 82 field along with other information when relaying the DHCP packets to the server. The server can parse the option 82 information to match the subscriber string and act accordingly. The subscriber string configured for an EVC will not be stored in the binding table and is only used when sending DHCP packets to the server by inserting into the option 82 field.

For additional information on DHCP Snooping and Option-82 on the Cisco 7600 router, see Configuring DHCP Snooping at http://www.cisco.com/en/US/docs/routers/7600/ios/15S/configuration/guide/snoodhcp.html.

Restrictions and Usage Guidelines

Follow these restrictions and usage guidelines while you configure DHCP Snooping with Option-82:

An EVC with multiple encapsulations is not supported.

The following EVCs are supported on the same interface and bridge-domain:

dot1q encapsulation

QinQ encapsulation

Untagged encapsulation

4000 EVCs are supported per port.

32000 EVCs are supported per router.

Multiple EVCs are supported on the same port, all having the same or different bridge domains.

Multiple EVCs are supported on different ports, all having the same or different bridge domains.

With Cisco IOS Release 12.2(33)SRE, DHCP snooping with Option 82 is supported on EVC port-channels.

DHCP snooping is not supported with lag NNI VPLS core.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface gigabitethernet slot/port or interface tengigabitethernet slot/port or interface port-channel number

4. [no] ip address

5. negotiation {forced | auto}

6. service instance id Ethernet [service-name]

7. encapsulation dot1q vlan-id

8. rewrite ingress tag {push {dot1q vlan-id | dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | pop {1 | 2} | translate {1-to-1 {dot1q vlan-id | dot1ad vlan-id}| 2-to-1 dot1q vlan-id | dot1ad vlan-id}| 1-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | 2-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id}} symmetric

9. ip dhcp relay information option subscriber-id value

10. [no] bridge-domain bridge-id

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface gigabitethernet slot/subslot/port[.subinterface-number]

or

interface tengigabitethernet slot/subslot/port[.subinterface-number]

or

interface port-channel number

Example:

Router(config)# interface gigabitethernet 4/1

Specifies the gigabit ethernet or the ten gigabit ethernet or the port-channel interface to configure.

Step 4 

no ip address

Example:

Router# Router(config-if)# no ip address

Removes an IP address or disables IP processing.

Step 5 

negotiation {forced | auto}

Example:

Router(config-if)# negotiation auto

Enable advertisement of speed, duplex mode, and flow control on a gigabit ethernet interface.

Step 6 

[no] service instance id Ethernet [service-name}

Example:

Router(config-if)# service instance 101 ethernet

Creates a service instance (an instantiation of an EVC) on an interface and sets the device into the config-if-srv submode.

Step 7 

encapsulation dot1q vlan-id

Example:

Router(config-if-srv)# encapsulation dot1q 13

Defines the matching criteria to be used in order to map ingress dot1q frames on an interface to the appropriate service instance.

Step 8 

rewrite ingress tag {push {dot1q vlan-id | dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | pop {1 | 2} | translate {1-to-1 {dot1q vlan-id | dot1ad vlan-id}| 2-to-1 dot1q vlan-id | dot1ad vlan-id}| 1-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | 2-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id}} symmetric

Example:

Router(config-if-srv)# rewrite ingress tag push dot1q 20 symmetric

Specifies the tag manipulation to be performed on the frame ingress to the service instance.

Step 9 

ip dhcp relay information option subscriber-id value

Example:
Router(config)# ip dhcp relay information option 
subscriber-id 123

Configures a subscriber string that uniquely identifies the interface from where the DHCP packets originate.

Step 10 

[no] bridge-domain bridge-id

Example:

Router(config-if-srv)# bridge-domain 12

Binds the service instance to a bridge domain instance where bridge-id is the identifier for the bridge domain instance.

Example

This example shows a typical configuration on the relay agent and the server. This is a configuration on the relay agent:

Router# enable
Router# configure terminal
Router(config)# interface GigabitEthernet8/1
Router(config-if)# no ip address
Router(config-if)# negotiation auto
Router(config-if)# service instance 2 ethernet
Router(config-if-srv)# encapsulation dot1q 2
Router(config-if-srv)# rewrite ingress tag pop 1 symmetric
  ip dhcp relay information option subscriber-id 11
Router(config-if-srv)# bridge-domain 100
Router(config)# interface Vlan100
Router(config-if)# ip address 10.0.0.1 255.255.255.0
Router(config-if)# ip helper-address global 20.0.0.2
Router(config-if)# ip helper-address 20.0.0.2
Router(config)# interface GigabitEthernet 2/1
Router(config-if)# ip dhcp snooping packets
Router(config-if)# ip address 20.0.0.1 255.255.255.0
Router(config-if)# negotiation auto
!

This is the configuration on the server:

:
Router# enable
Router# configure terminal
Router(config)# interface GigabitEthernet 1/1
Router(config-if)# ip address 20.0.0.2 255.255.255.0
Router(config-if)# negotiation auto
Router(config-if)# end
Router(config)# ip dhcp pool pool1
Router(dhcp-config)# network 10.0.0.0 255.255.0.0
   lease 2
Router(dhcp-config)# update arp
   class C1
      address range 10.0.0.2 10.0.0.10
   class C2
      address range 10.0.0.11 10.0.0.20
!
Router(config)# ip dhcp pool pool2
Router(config)# network 11.0.0.0 255.255.0.0 lease 2
!
Router(config)# ip dhcp pool pool3
   vrf vrf1
Router(config)# network 10.0.0.0 255.255.255.0 lease 0 0 2
!
!
ip dhcp class C1 <-----------Class C1 maps to the subcriber-id string aabb11.
   relay agent information
      relay-information hex 00000000000000000000000000000006616162623131 mask 
fffffffffffffffffffffffffffffff0000000000000
!
ip dhcp class C2
   relay agent information
      relay-information hex 00000000000000000000000000000006313162626161 mask 
fffffffffffffffffffffffffffffff0000000000000
******************************************************************************************

Verification

Use this commands to verify operation.

Command
Purpose

Router# show ip dhcp snooping

Displays all VLANs (both primary and secondary) that have DHCP snooping enabled.

Router# show ip dhcp snooping binding

Checks the DHCP snooping database.


Troubleshooting

Table 4-9 provides the troubleshooting solutions for the DHCP Snooping feature.

Table 4-9 Troubleshooting Scenarios for DHCP Snooping feature

Problem
Solution

DHCP snooping database is not storing any bindings

Complete the following steps to verify and troubleshoot:

1. Use the show ip dhcp snooping binding command to check whether there are non-zero bindings built on the binding table.

2. The show ip dhcp snooping binding command displays the total number of bindings as a non-zero value. If not, check whether the DHCP snooping database agent is configured correctly. If no bindings exist, it implies that they were never built or the lease expired. Reconfigure the bindings with a longer lease period. If the lease time is configured as maximum (4294967295 seconds effective from 12.2(33) SRD ), the bindings do not expire.

3. Use the ip dhcp snooping database command to check if the DHCP snooping database agent is configured correctly and is currently running.

Bindings are not getting stored in the database agent

Read the database agent file to check if bindings are stored in that file. If not, go to Step 3 of the previous solution. If there is at least one binding stored in the database file , it implies that the database agent is working fine.

DHCP snooping is not active on the router

DHCP snooping is active on the router only when it is configured globally and on at least one interface VLAN. Check if the ip dhcp snooping command exists in the running and global configuration modes, and at least on one VLAN interface. If not, configure the feature as described in Configuring Layer 2 Access Control Lists (ACLs) on an EVC.

If the configurations exist, use the debug ip dhcp snooping packets command to check whether or not DHCP packets are being exchanged between the DHCP server and the client. If yes, proceed to Step 3 listed in the solution for " DHCP snooping database is not storing any bindings" problem. If not, check the configurations for the DHCP server and client and whether all the connections to the DHCP relay agent are fine. If the problem persists, contact TAC.


DHCP Snooping Over p-mLACP

The Dynamic Host Configuration Protocol (DHCP) snooping over a pseudo-multichassis Link Aggregate Control Protocol (p-mLACP) feature synchronizes the DHCP snooping database between the Point of Attachments (PoAs) in a network. The synchronization of the DHCP database allows the multicast traffic to flow with the least interruption when the p-mLACP fails. This feature uses the Interchassis Communication Protocol (ICCP) to synchronize the DHCP snooping database with the peer PoAs to provide multi-chassis redundancy. When the multi-chassis Link Aggregation (mLAG) transitions from a standby VLAN to the active VLAN on a chassis, this feature facilitates the state change with minimal traffic disruption in the network. A system configured with DHCP snooping creates a DHCP snooping database, which contains DHCP snooping entries (MAC/IP bindings) learnt from the different VLANs.

The DHCP snooping binding data is added in the active supervisor after successfully synchronizing the snooping information between the local standby and remote PoAs (active and standby supervisor PoA).


Note For more information on pmLACP and p-mLACP failure, see Pseudo MLACP Support on Cisco 7600 section in the Cisco 7600 Series ES+ and ES+T Line Card Configuration Guide.


DHCP Snooping State Synchronization

The DHCP snooping state synchronization involves these steps:

0. The active PoA synchronizes the DHCP snooping binding tables with the standby PoA.

1. The standby PoA uses the synchronized DHCP binding information for IP source guard (IPSG) and Dynamic ARP Inspection (DAI).

2. On switchover, the standby EFP becomes active and any spoofed ARP, MAC or IP traffic is dropped by the new Active PoA.

Restrictions for DHCP Snooping over p-mLACP

Following restrictions apply for the DHCP Snooping over p-mLACP feature:

The manual load-balance VLAN list and LAG configuration should be same on both the PoAs.

The bridge-domain configured under a p-mLACP port-channel EVC should not be part of any other non-pmLACP interfaces.

For proper DHCP snooping database synchronization, ensure that the ICRM link is up.

All the PoAs should be configured as p-mLACP peers to enable DHCP snooping database synchronization.

It is recomended that all the PoAs should be configured for non-revertive mode.

During the mLACP failures A, B, C, and E, the database entries are not lost. In case of p-mLACP failure D, the database entries are lost but they are restored after synchronization with the peer PoA through the ICRM link.

The maximum number of DHCP Snooping entries supported per PoA is 20000; 10000 entries on the active VLAN on the active PoA and 10000 entries synchronized from another PoA through the ICCP link.

This feature is supported on the ES20 and ES+ line cards in the access mode only.

This feature is supported on both SUP720 and RSP720 (1 GHz & 10 GHz).

For the Virtual Private Lan Service (VPLS)-decoupled mode, all the Ethernet Flow Points (EFPs) participating in a bridge-domain should have the outer tag VLAN range set to either primary or secondary VLANs, but not both.

If an EFP is deleted from a PoA, you should remove it from the all the peer PoAs.

While adding EFPs to a PoA, add the standby EFP before adding the active EFP.

IP FRR functionality is not supported with p-mLACP.


Note All the p-mLACP restrictions also apply to this feature.


Table 4-10 lists the scalability numbers for DHCP Snooping state synchronization:

Table 4-10 Scalability Numbers for p-mLACP DHCP Snooping State Synchronization

Feature
Per PoA

DHCP snooping entries

20000


Troubleshooting Tips

Table 4-11 lists the commands to troubleshoot the p-mLACP DHCP Snooping State Synchronization.

Table 4-11 Troubleshooting Scenarios

Command
Use

debug ip dhcp snooping event

Use this command to enable the debugging of the events involved in DHCP snooping.

debug ip dhcp snooping packet

Use this command to display the debugging messages for DHCP snooping.

show ip dhcp snooping multi-chassis

Use this command to display status of bulk synchronization.


Pseudo-Multichassis LACP (p-mLACP) IGMP Snooping State Synchronization

The pseudo-multichassis Link Aggregate Control Protocol (p-mLACP) Internet Group Management Protocol (IGMP) Snooping State Synchronization feature synchronizes the IGMP snooping database between the Point of Attachments (PoAs) in a network. The synchronization of the IGMP database allows the multicast traffic to flow with the least interruption when an mLACP fails. The p-mLACP IGMP snooping function uses the Interchassis Communication Protocol (ICCP) to synchronize the IGMP snooping database with the peer PoAs. When the mLAG transitions from a standby VLAN to the active VLAN on a chassis, this feature facilitates the state change with minimal traffic disruption in the network.


Note For more information on pmLACP and p-mLACP failure, see Pseudo MLACP Support on Cisco 7600 section in the Cisco 7600 Series ES+ and ES+T Line Card Configuration Guide.


IGMP Snooping State Synchronization

The p-mLACP IGMP Snooping state synchronization involves these steps:

POA creates snooping entries for its active VLANs based IGMP reports and the snooping entries are synchronized to the peer POA using ICCP, where this information corresponds to the standby VLANs on peer POA.

The peer POA processes the ICCP messages received from the other POA, and pre-programs the multicast forwarding table based on the received IGMP information.

When p-mLACP fails (A, B, C, D, E) on one of the POA, the peer POA moves its standby VLANs to active and triggers IGMP reports towards the Designated Router/mrouter based on the IGMP information received via ICCP for these VLANs.

Next, the peer POA starts forwarding multicast data traffic based on pre-programmed multicast forwarding table without any delay, enabling fast convergence.

Figure 4-4 shows the basic p-mLACP IGMP Snooping State Synchronization process.

Figure 4-4 IGMP Snooping State Synchronization

Restrictions for p-mLACP IGMP Snooping State Synchronization

Following restrictions apply for the p-mLACP IGMP Snooping State Synchronization feature:

The maximum rate supported is 1000 IGMP joins per second.

The maximum number of IGMP Snooping entries supported per PoA is 10000.

IGMP version 2 is supported. IGMP version 3 is not supported.

This feature is supported on the ES20 and ES+ line cards in the access mode only.

This feature is supported on both SUP720 and RSP720 (1 GHz & 10 GHz).

For the Virtual Private Lan Service (VPLS)-decoupled mode, all the Ethernet Flow Points (EFPs) participating in a bridge-domain should have the outer tag VLAN range set to either primary or secondary VLANs, but not both.

If an EFP is deleted from a PoA, you should remove it from the all the peer PoAs.

While adding EFPs to a PoA, add the standby EFP before adding the active EFP.

IP FRR functionality is not supported with p-mLACP.

IGMP Snooping is not supported with Hierarchical Virtual Private LAN Service (H-VPLS) and MAC Tunneling Protocol (MTP) scenarios and topologies.

Table 4-12 lists the scalability numbers for IGMP snooping state synchronization.

Table 4-12 Scalability Numbers for p-mLACP IGMP Snooping State Synchronization

Feature
Per PoA
Desirable per PoA
Per RG

p-mLACP IGMP snooping state synchronization

10K

20K

10K



Note All p-mLACP restrictions also apply to IGMP Snooping over p-mLACP feature.


Troubleshooting Tips

Table 4-13 lists the troubleshooting solutions for the p-mLACP IGMP Snooping State Sync implementation.

Table 4-13 Troubleshooting Scenarios

Problem
Solution

IGMP snooping database is empty on the PoA.

Complete these steps to verify and troubleshoot:

1. Use the show mac-address-table multicast igmp-snooping command to check for incomplete snooping entries. If the entries are incomplete, see the problem definition and solution explained in the next row

2. If the output from the show mac-address-table multicast igmp-snooping command is empty, check if the IGMP snooping is enabled on the router. Enable the IGMP snooping, if disabled.

IGMP Snooping database shows incomplete snooping entries

If incomplete entries are displayed in the show mac-address-table multicast igmp-snooping command output, complete these steps:

1. Check whether the incomplete entries are specific to the active VLANs or the standby VLANs.

2. If the incomplete entries correspond to an active VLAN, verify the configuration.

3. If the incomplete entries correspond to a standby VLAN, check the corresponding VC states using the show mpls l2transport vc command. VC state should be in UP/STANDBY state, not in the DOWN state.

4. Use the show ip ig snooping mrouter command output to verify if the mrouter port is configured properly for the affected VLAN.


IP Source Guard for Service Instance

An IP source guard filters a source IP address on a layer 2 port and prevents malicious hosts from impersonating a legitimate host. The feature uses dynamic DHCP snooping and static IP source binding to match IP addresses to hosts on untrusted layer 2 access ports.

Initially, all IP traffic on the service instance is blocked except for DHCP packets that are captured by DHCP snooping. After a client receives an IP address from the DHCP server, or after static IP source binding is configured by the administrator, the IP source guard for service instance feature automatically creates an access control list (ACL) to permit that traffic. Traffic from other hosts is denied. This filtering limits the ability of a host to attack the network by claiming the IP address of a neighbor host.

Restrictions and Usage Guidelines

Follow these restrictions and usage guidelines while configuring IP source guard for a service instance:

The number of ACLs and ACEs that can be configured as part of IP source guard are bounded by the hardware resources on the line card.

The IP source guard is meant to verify host source IP and MAC information. Only ingress traffic is filtered. It is not applicable to egress direction.

The IP source guard is not effective for software forwarded packets. When a non-recoverable TCAM exception occurs for the IP source guard, the IP filtering is not effective and packets are permitted.

The IP source guard is not supported on subinterfaces.

The IP source guard is supported only on ES+ line cards.

IP source guard is supported on port-channel service instances effective from Cisco IOS release 15.1(2)S.

Configuring IP Source Guard for a Service Instance

SUMMARY STEPS

1. enable

2. configure terminal

3. interface gigabitethernet slot/port

or

interface tengigabitethernet slot/port

or

interface port-channel number

4. [no] ip address

5. service instance id ethernet [service-name]

6. encapsulation dot1q vlan-id

7. rewrite ingress tag {push {dot1q vlan-id | dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | pop {1 | 2} | translate {1-to-1 {dot1q vlan-id | dot1ad vlan-id}| 2-to-1 dot1q vlan-id | dot1ad vlan-id}| 1-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | 2-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id}} symmetric


Note To distinguish if the packet is DHCP, all tags must be pop; push and translate are not supported with the IP source guard for service instance feature.


8. ip verify source vlan dhcp-snooping [port-security]

9. [no] bridge-domain bridge-id

10. exit

11. end

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode. If prompted, enter your password.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface gigabitethernet slot/port

or

interface tengigabitethernet slot/port

or

interface port-channel number

Example:

Router(config)# interface gigabitethernet 4/1

Specifies the interface to configure.

slot/port - Specifies the location of the interface.

number - Specifies the port channel interface.

Step 4 

[no] ip address

Example:

Router(config-if)# no ip address

Removes an IP address or disable IP processing.

Step 5 

[no] service instance id ethernet [service-name}

Example:

Router(config-if)# service instance 101 ethernet

Creates a service instance (an instantiation of an EVC) on an interface and sets the device into the config-if-srv submode.

Step 6 

encapsulation dot1q vlan-id

Example:

Router(config-if-srv)# encapsulation dot1q 13

Defines the matching criteria to be used in order to map ingress dot1q frames on an interface to the appropriate service instance.

Step 7 

rewrite ingress tag {push {dot1q vlan-id | dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | pop {1 | 2} | translate {1-to-1 {dot1q vlan-id | dot1ad vlan-id}| 2-to-1 dot1q vlan-id | dot1ad vlan-id}| 1-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | 2-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id}} symmetric

Example:

Router(config-if-srv)# rewrite ingress tag pop 1 symmetric

Specifies the tag manipulation that is to be performed on the frame ingress to the service instance.

Note In order for the router to distinguish if the packet is DHCP, all tags must be in pop state ; push and translate states are not supported.

Step 8 

ip verify source vlan dhcp-snooping [port-security]

Example:
Router(config-if-srv)# ip verify source vlan 
dhcp-snooping

Enables the IP source guard states. Use these commands :

vlan dhcp-snooping enables IP mode and applies the feature to only specific VLANs on the interface. The dhcp-snooping option applies the feature to all VLANs on the interface that have DHCP snooping enabled.

port-security enables IP/MAC mode and applies both IP and MAC filtering.

Step 9 

[no] bridge-domain bridge-id

Example:

Router(config-if-srv)# bridge-domain 12

Binds the service instance to a bridge domain instance where bridge-id is the identifier for the bridge domain instance.

Step 10 

exit

Example:
Router(config-if)# exit

Returns to global configuration mode.

Step 11 

end

Example:
Router(config)# end

Exits configuration mode.

Example

This example shows how to configure IP source guard for a service instance with single tag (Dot1q) encapsulation.

Router# enable
Router# configure terminal
Router(config)# interface GigabitEthernet7/1
Router(config-if)# no ip address
Router(config-if)# service instance 71 ethernet
Router(config-if-srv)# encapsulation dot1q 71
Router(config-if-srv)# rewrite ingress tag pop 1 symmetric
Router(config-if-srv)# ip verify source vlan dhcp-snooping
Router(config-if-srv)# bridge-domain 10

This is example shows how to configure IP source guard for a service instance with double tag (QinQ) encapsulation.

Router# enable
Router# configure terminal
Router(config)# interface GigabitEthernet7/1
Router(config-if)# no ip address
Router(config-if)# service instance 71 ethernet
Router(config-if-srv)# encapsulation dot1q 71 second-dot1q 100
Router(config-if-srv)# rewrite ingress tag pop 1 symmetric
Router(config-if-srv)# ip verify source vlan dhcp-snooping
Router(config-if-srv)# bridge-domain 10

This example shows how to configure IP source guard for a service instance with untagged encapsulation.

Router# enable
Router# configure terminal
Router(config)# interface GigabitEthernet7/1
Router(config-if)# no ip address
Router(config-if)# service instance 71 ethernet
Router(config-if-srv)# encapsulation untagged
Router(config-if-srv)# ip verify source vlan dhcp-snooping
Router(config-if-srv)# bridge-domain 10

This example shows how to configure IP source guard for a service instance with default encapsulation.

Router# enable
Router# configure terminal
Router(config)# interface GigabitEthernet7/1
Router(config-if)# no ip address
Router(config-if)# service instance 71 ethernet
Router(config-if-srv)# encapsulation default
Router(config-if-srv)# ip verify source vlan dhcp-snooping
Router(config-if-srv)# bridge-domain 10

This example shows how to configure IP source guard for a service instance with single tag encapsulation on a port-channel interface.

Router# enable
Router# configure terminal
Router(config)# interface port-channel 2
Router(config-if)# no ip address
Router(config-if)# service instance 1 ethernet
Router(config-if-srv)# encapsulation dot1q 100
Router(config-if-srv)# ip verify source vlan dhcp-snooping

Router(config-if-srv)# bridge-domain 10

Verification

Use the show ip verify source interface to verify the configuration:

router# show ip verify source interface gi5/1 efp_id 10
Interface  Filter-type  Filter-mode  IP-address       Mac-address        Vlan        EFP 
ID
---------    -----------    -----------      ---------------     -----------------     
----------  ----------
Gi5/1 ip-mac       active           123.1.1.1        00:0A:00:0A:00:0A  100      10  
router# show ip verify source interface gi5/1
Interface  Filter-type  Filter-mode  IP-address       Mac-address          Vlan        EFP 
ID
---------    -----------    -----------      ---------------     -----------------       
----------  ----------
Gi5/1 ip-mac       active          123.1.1.1        00:0A:00:0A:00:0A  100        10  
Gi5/1 ip-mac       active          123.1.1.2        00:0A:00:0A:00:0B  100        20  
Gi5/1 ip-mac       active          123.1.1.3        00:0A:00:0A:00:0C  100        30  

Troubleshooting

Table 4-14 provides troubleshooting solutions for the IP source guard feature.

Table 4-14

Problem
Solution

EVC disabled in IP source guard

Use the [no] ip verify source vlan dhcp-snooping port-security command in the service instance configuration mode to verify the IP source guard information. port-security is an optional keyword to indicate that the source MAC address filter should be applied with the source IP address. Share the output with TAC to troubleshoot further.

DHCP snooping failures

1. Verify whether or not the issues are specific to DHCP snooping or IP source guard. Use the show ip dhcp snooping binding command to check the DHCP snooping bindings on the RP. If the expected entry is missing on the RP, debug the DHCP snooping sessions and share the output with TAC.

2. If the entry is displayed on the route processor, but not on the line card, use the dhcp snooping ipc debug command on the RP to debug failures related to DHCP snooping entries. If the issue persists, contact TAC.


Troubleshooting Scenarios for IP Source Guard feature

Configuring MST on EVC Bridge Domain

The Multiple Spanning Tree (MST) on EVC Bridge Domain feature enables MST on EVC interfaces. It complements the H-VPLS N-PE Redundancy for QinQ and MPLS Access feature released in Cisco IOS Release 12.2(33)SRC. For more information on this feature, see http://www.cisco.com/en/US/docs/ios/mpls/configuration/guide/mp_hvpls_npe_red.html.

This section describes how to configure MST on EVC Bridge Domain. It contains these topics:

Overview of MST and STP

Overview of MST on EVC Bridge Domain

Restrictions and Usage Guidelines

Examples

Overview of MST and STP

Spanning Tree Protocol (STP) is a Layer 2 link-management protocol that provides path redundancy while preventing undesirable loops in the network. For a Layer 2 Ethernet network to function properly, only one active path can exist between any two stations. STP operation is transparent to end stations, which cannot detect whether they are connected to a single LAN segment or a switched LAN of multiple segments.

Cisco 7600 series routers use STP (the IEEE 802.1D bridge protocol) on all VLANs. By default, a single instance of STP runs on each configured VLAN (provided you do not manually disable STP). You can enable and disable STP on a per-VLAN basis.

MST maps multiple VLANs into a spanning tree instance, with each instance having a spanning tree topology independent of other spanning tree instances. This architecture provides multiple forwarding paths for data traffic, enables load balancing, and reduces the number of spanning tree instances required to support a large number of VLANs. MST improves the fault tolerance of the network because a failure in one instance (forwarding path) does not affect other instances (forwarding paths).

For routers to participate in MST instances, you must consistently configure the routers with the same MST configuration information. A collection of interconnected routers that have the same MST configuration comprises an MST region. For two or more routers to be in the same MST region, they must have the same VLAN-to-instance mapping, the same configuration revision number, and the same MST name.

The MST configuration controls the MST region to which each router belongs. The configuration includes the name of the region, the revision number, and the MST VLAN-to-instance assignment map.

A region can have one or multiple members with the same MST configuration; each member must be capable of processing RSTP bridge protocol data units (BPDUs). There is no limit to the number of MST regions in a network, but each region can support up to 65 spanning tree instances. Instances can be identified by any number in the range from 0 to 4094. You can assign a VLAN to only one spanning tree instance at a time.

For additional information on STP and MST on the Cisco 7600 series routers, see Configuring STP and MST at:

http://www.cisco.com/en/US/docs/routers/7600/ios/15S/configuration/guide/spantree.html

Overview of MST on EVC Bridge Domain

The MST on EVC Bridge-Domain feature uses VLAN IDs for service-instance-to-MST-instance mapping. EVC service instances with the same VLAN ID (the outer VLAN IDs in the QinQ case) as the one in another MST instance will be mapped to that MST instance.

EVC service instances can have encapsulations with a single tag as well as double tags. In case of double tag encapsulations, the outer VLAN ID shall be used for the MST instance mapping, and the inner VLAN ID is ignored.

A single VLAN per EVC is needed for the mapping with the MST instance. The following service instances without any VLAN ID or with multiple outer VLAN IDs are not supported:

Untagged (encapsulation untagged)

Priority-tagged (encapsulation priority-tagged)

Default (encapsulation default)

Multiple outer tags (encapsulation dot1q 200 to 400 second-dot1q 300)

Restrictions and Usage Guidelines

Follow these restrictions and usage guidelines while configuring MST on EVC bridge domain:

Cisco IOS Release 15.1(1)S supports EVC port-channels.

Main interface where the EFP is configured must be up and running with MSTP as the selected Spanning Tree Mode (PVST and Rapid-PVST are not supported).

The SPT PortFast feature is not supported with EFPs.

The co-existence of REP and mLACP with MST on the same port is not supported.

Any action performed on VPORT (which represents a particular VLAN in a physical port) affects the bridge domain and other services.

This feature cannot co-exist with Ethernet Bridging on FR/ATM that support only PVST.

Supports 64 MSTs and one CIST (common and internal spanning tree).

Supports one MST region.

Scales to 32000 EFP.

Service instances without any VLAN ID in the encapsulation are not supported, because a unique VLAN ID is required to map an EVC to an MST instance.

Supports EFPs with unambigous outer VLAN tag (that is, no range, list on outer VLAN, neither default nor untagged).

ES20 and ES+ line cards support this feature.

Removing dot1q encapsulation removes the EVC from MST.

Changing the VLAN (outer encapsulation VLAN of EVC) mapping to a different MST instance will move the EVC port to the new MST instance.

Changing an EVC service instance to a VLAN that has not been defined in MST 1 will result in mapping of EVC port to MST 0.

The peer router of the EVC port must also be running MST.

MST is supported only on EVC BD. EVCs without BD configuration will not participate in MST

When an MST is configured on the outer VLAN, you can configure any number of service instances with the same outer VLAN as shown in the following configuration example.

nPE1#sh run int gi12/5
Building configuration...
Current configuration : 373 bytes
!
interface GigabitEthernet12/5
 description connected to CE1
 no ip address
 service instance 100 ethernet
  encapsulation dot1q 100 second-dot1q 1
  bridge-domain 100
 !
 service instance 101 ethernet
  encapsulation dot1q 100 second-dot1q 2
  bridge-domain 101
 !
 service instance 102 ethernet
  encapsulation dot1q 100 second-dot1q 120-140
  bridge-domain 102
 !
end
nPE1#sh run int gi12/6
Building configuration...
Current configuration : 373 bytes
!
interface GigabitEthernet12/6
 description connected to CE1
 no ip address
 service instance 100 ethernet
  encapsulation dot1q 100 second-dot1q 1
  bridge-domain 100
 !
 service instance 101 ethernet
  encapsulation dot1q 100 second-dot1q 2
  bridge-domain 101
 !
 service instance 102 ethernet
  encapsulation dot1q 100 second-dot1q 120-140
  bridge-domain 102
 !
end
nPE1#sh span vlan 100
MST0
  Spanning tree enabled protocol mstp
  Root ID    Priority    32768
             Address     0018.742f.3b80
             Cost        0
             Port        2821 (GigabitEthernet12/5)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
  Bridge ID  Priority    32768  (priority 32768 sys-id-ext 0)
             Address     001a.303c.3400
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Gi12/5              Root FWD 20000     128.2821 P2p 
Gi12/6              Altn BLK 20000     128.2822 P2p 
nPE1#

SUMMARY STEPS

1. enable

2. configure terminal

3. interface gigabitethernet slot/port or interface tengigabitethernet slot/port

4. service instance id Ethernet [service-name]

5. encapsulation dot1q vlan-id

6. [no] bridge-domain bridge-id

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface gigabitethernet slot/port

or

interface tengigabitethernet slot/port

Example:

Router(config)# interface gigabitethernet 4/1

Specifies the gigabit ethernet or the ten gigabit ethernet interface to configure.

slot/port—Specifies the location of the interface.

Step 4 

[no] service instance id Ethernet [service-name]

Example:

Router(config-if)# service instance 101 ethernet

Creates a service instance (EVC instance) on an interface and sets the device into the config-if-srv submode.

Step 5 

encapsulation dot1q vlan-id

Example:

Router(config-if-srv)# encapsulation dot1q 13

Defines the matching criteria to be used in order to map ingress dot1q frames on an interface to the appropriate service instance.

Step 6 

[no] bridge-domain bridge-id

Example:

Router(config-if-srv)# bridge-domain 12

Binds the service instance to a bridge domain instance where bridge-id is the identifier for the bridge domain instance.

Examples

In the following example, two interfaces participate in MST instance 0, the default instance to which all VLANs are mapped:

Router# enable
Router# configure terminal
Router(config)# interface g4/1
Router(config-if)# service instance 1 ethernet
Router(config-if-srv)# encapsulation dot1q 2
Router(config-if-srv)# bridge-domain 100
Router(config-if-srv)# interface g4/3
Router(config-if)# service instance 1 ethernet
Router(config-if-srv)# encapsulation dot1q 2
Router(config-if-srv)# bridge-domain 100
Router(config-if-srv)# end

Verification

Use this command to verify the configuration:

Router# show spanning-tree vlan 2 
MST0
  Spanning tree enabled protocol mstp
  Root ID    Priority    32768
             Address     0009.e91a.bc40
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
  Bridge ID  Priority    32768  (priority 32768 sys-id-ext 0)
             Address     0009.e91a.bc40
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Gi4/1 		 			Desg FWD 20000     128.1537 P2p 
Gi4/3             		 Back BLK 20000     128.1540 P2p 

In this example, interface gi4/1 and interface gi4/3 are connected back-to-back. Each has a service instance (EFP) attached to it. The EFP on both interfaces has an encapsulation VLAN ID of 2. Changing the VLAN ID from 2 to 8 in the encapsulation directive for the EFP on interface gi4/1 stops the MSTP from running in the MST instance to which the old VLAN is mapped and starts the MSTP in the MST instance to which the new VLAN is mapped:

Router(config-if)# interface  g4/1
Router(config-if)# service instance 1 ethernet
Router(config-if-srv)# encap dot1q 8
Router(config-if-srv)# end

Use this command to verify the configuration:

Router# show spanning-tree vlan 2
MST1
  Spanning tree enabled protocol mstp
  Root ID    Priority    32769
             Address     0009.e91a.bc40
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
             Address     0009.e91a.bc40
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Gi4/3             Desg FWD 20000     128.1540 P2p 
Router# show spanning-tree vlan 8
MST2
  Spanning tree enabled protocol mstp
  Root ID    Priority    32770
             Address     0009.e91a.bc40
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
  Bridge ID  Priority    32770  (priority 32768 sys-id-ext 2)
             Address     0009.e91a.bc40
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Gi4/1 					Desg FWD 20000     128.1537 P2p

In this example, interface gi4/3 (with an EFP that has an outer encapsulation VLAN ID of 2 and a bridge domain of 100) receives a new service:

Router# enable
Router# configure terminal
Router(config)# interface g4/3
Router((config-if)# service instance 2 ethernet
Router((config-if-srv)# encap dot1q 2 second-dot1q 100
Router((config-if-srv)# bridge-domain 200

Now there are two EFPs configured on interface gi4/3 and both of them have the same outer VLAN 2.

interface GigabitEthernet4/3
	 no ip address
	service instance 1 ethernet
	encapsulation dot1q 2
	bridge-domain 100
 !
 service instance 2 ethernet
  encapsulation dot1q 2 second-dot1q 100
   bridge-domain 200

The preceding configuration does not affect the MSTP operation on the interface; there is no state change for interface gi4/3 in the MST instance it belongs to.

Router# show spanning-tree mst 1  
##### MST1    vlans mapped:   2
Bridge        address 0009.e91a.bc40  priority      32769 (32768 sysid 1)
Root          this switch for MST1
Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Gi4/3          Desg FWD 20000     128.1540 P2p

This example shows MST on port channels:

Router# show spanning-tree mst 1
##### MST1 vlans mapped: 3
Bridge address 000a.f331.8e80 priority 32769 (32768 sysid 1)
Root address 0001.6441.68c0 priority 32769 (32768 sysid 1)
port Po5 cost 20000 rem hops 18
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Gi2/0/0 Desg FWD 20000 128.257 P2p 
Po5 Root FWD 10000 128.3329 P2p 
Po6 Altn BLK 10000 128.3330 P2p 
Router# show spanning-tree vlan 3
MST1
Spanning tree enabled protocol mstp
Root ID Priority 32769
Address 0001.6441.68c0
Cost 20000
Port 3329 (Port-channel5)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 000a.f331.8e80
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Gi2/0/0 Desg FWD 20000 128.257 P2p 
Po5 Root FWD 10000 128.3329 P2p 
Po6 Altn BLK 10000 128.3330 P2p 

Troubleshooting

Table 4-15 provides troubleshooting solutions for the MST on EVC Bridge Domain feature.

Table 4-15 Troubleshooting Scenarios

Problem
Solution

Multiple Spanning Tree Protocol (MSTP) incorrectly or inconsistently formed due to misconfiguration and BPDU loss

To avoid BPDU loss, re-configure these on the following nodes:

· Configuration name

· Bridge revision

· Provider-bridge mode

· Instance to VLAN mapping

Determine if node A is sending BPDUs to node B. Use the show spanning-tree mst interface gi1/1 service instance command for each interface connecting the nodes. Only designated ports relay periodic BPDUs.

MSTP correctly formed, but traffic flooding occurs

Intermittent BPDU loss occurs when the spanning tree appears incorrectly in the show commands, but relays topology change notifications. These notifications cause a MAC flush, forcing traffic to flood until the MAC addresses are re-learned. Use the debug spanning-tree mst packet full {received | sent} command to debug topology change notifications.

Use the debug spanning-tree mst packet brief {received | sent} command on both nodes to check for missing BPDUs. Monitor the timestamps. A time gap greater than or equal to six seconds causes topology change.

MSTP shows incorrect port state

When the spanning tree protocol (STP) attempts to change the port state, it uses L2VPN. Check the value of the sent update. If the value is Yes, then STP is awaiting an update from L2VPN.

Packet forwarding does not match the MSTP state

Complete the following steps to verify and troubleshoot:

1. Shut down redundant links, remove MSTP configuration, and ensure that basic bridging works.

2. Check the state of each port as calculated by MSTP, and compare it with the packet counts transmitted and received on ports and EFPs controlled by MSTP. Normal data packets should be sent/received only on ports in the forwarding (FWD) state. BPDUs should be sent/received on all ports controlled by MSTP.

3. Ensure that BPDUs are flowing and that root bridge selection is correct and check the related scenarios.

4. Use the show l2vpn bridge-domain detail command to confirm the status of the members of the bridge domain. Ensure that the relevant bridge domain members are active.

5. Check the forwarding state as programmed in hardware.


Configuring Link State Tracking (LST)

When a link failure occurs on a REP and MST segment, the associated protocols handle the link failure event. However, if the primary link to the switch is enabled even though the corresponding uplink ports on the switch are disabled, the REP and MST protocol is unaware of backbone side, and does not trigger a failover. The router continues to receive the traffic from the access side and then drops it discreetly due to lack of backbone connectivity. Link state tracking provides a solution to this problem by allowing the uplink interfaces to bind the link status to the down link ports. Uplink state tracking is configured such that when a set of uplink ports are disabled, other ports linked through CLI commands are disabled as well. The state of all the downlink interfaces are error-disabled only when all the upstream interfaces are disabled.

The LST triggers REP/MST re-convergence on the access side depending on the state of the core-facing interface. The link state of the core facing interface and the access facing interface are bound by link state tracking group.

LST facilitates:

Enabling and disabling of link state group tracking.

Removal of downstream interfaces from a link state group.

Performing shut/no shut on error disabled interface.

Restrictions and Usage Guidelines

Follow these restrictions and usage guidelines when you configure the LST:

Ensure that the management interfaces are not part of a link state group.

REP port cannot be configured as uplink port.

LST does not allow any interface, upstream or downstream, to be part of more than one link state group.

You can configure a maximum of 10 link state groups.

When you configure LST for the first time, you must add upstream interfaces to the link state group before adding downstream, otherwise the state of the downlink interfaces are error-disabled.

The configurable interfaces are physical (both routed and switch port), port-channel, sub-interface and VLAN.

Upstream interfaces are required to be among:

L3 interface(physical or portchannel)

SVI

Downstream interfaces are required to be among:

L2 interface

L2 Port-channel

EVC

Configuring Link State Tracking

Perform the following tasks to configure a LST.

SUMMARY STEPS

1. enable

2. configure terminal

3. link state track number

4. interface slot/port

5. link state group [number] {upstream | downstream}

6. end

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

enable

Example:

Router> enable

Enables privileged EXEC mode.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

link state track number

Example:

Router(config)# link state track 1

Creates a link-state group, and enables LST. The acceptable range is 1-10; the default value is 1.

Step 4 

interface slot/port

Example:

Router(config)# interface gigabitethernet 2/1

Configures an interface.

Step 5 

link state group [number] {upstream | downstream}

Example:

Router(config-if)# link state group 1 upstream

Specifies a link-state group and configures the interface as either an upstream or downstream interface in the group.The group number can be 1 to 10; the default value is 1.

Step 6 

end

Example:

Router(config-if)# end

Exits the CLI to privileged EXEC mode.

This example shows how to create a link-state group and configure the interfaces:

Router# configure terminal
Router(config)# link state track 1
Router(config)# interface gigabitethernet3/1
Router(config-if)# link state group 1 upstream
Router(config-if)# interface gigabitethernet3/3
Router(config-if)# link state group 1 upstream
Router(config-if)# interface gigabitethernet3/5
Router(config-if)# link state group 1 downstream
Router(config-if)# interface gigabitethernet3/7
Router(config-if)# link state group 1 downstream
Router(config-if)# end

Verification

Use the show link state group command to display the link-state group information.

Router> show link state group 1
Link State Group: 1 Status: Enabled, Down

Use the show link state group detail command to display detailed information about the group.

Router> show link state group detail
(Up):Interface up (Dwn):Interface Down (Dis):Interface disabled
Link State Group: 1 Status: Enabled, Down
Upstream Interfaces : Gi3/5(Dwn) Gi3/6(Dwn)
Downstream Interfaces : Gi3/1(Dis) Gi3/2(Dis) Gi3/3(Dis) Gi3/4(Dis)
Link State Group: 2 Status: Enabled, Down
Upstream Interfaces : Gi3/15(Dwn) Gi3/16(Dwn) Gi3/17(Dwn)
Downstream Interfaces : Gi3/11(Dis) Gi3/12(Dis) Gi3/13(Dis) Gi3/14(Dis)
(Up):Interface up (Dwn):Interface Down (Dis):Interface disabled

Troubleshooting the Link State Tracking

Table 4-16 lists the troubleshooting issues while configuring LST:

Table 4-16 Troubleshooting LST

Problem
Solution

The downstream interface is in error-disabled state even though the upstream interfaces are up.

Use the show interfaces <interface> status err-disabled command to check why the interface is in such state.

Use the show errdisable recovery command to view information about the error-disable recovery timer.


Issues

MAC Address Security for EVC Bridge Domain

Cisco 7600 series routers currently support port security on a per-port basis. For more information, see Configuring Port Security at:

http://www.cisco.com/en/US/docs/routers/7600/ios/15S/configuration/guide/port_sec.html

The Media Access Control (MAC) Address Security for EVC Bridge Domain feature addresses port security with EVCs by providing the capability to control and filter MAC address learning behavior at the granularity of a per-EFP basis. For instance, when a violation requires a shutdown, only the customer assigned to a given EFP is affected rather than all customers using the port.

Port Security and the MAC Address Security for EVC Bridge Domain feature operate independently of each other.

Cisco IOS Release 12.2(33)SRE adds support for MAC address security on EVC port-channels.This feature operates on a port-channel interface in a similar manner to how it works on a physical port. In each case, MAC security is configured on a service instance associated with a bridge domain.

This section covers the following topics: This section contains the following topics:

Restrictions and Usage Guidelines

Enabling MAC Address Security for EVC Bridge Domain

Enabling MAC Address Security for EVC Bridge Domain

Disabling MAC Address Security for EVC Bridge Domain on an EFP

Configuring MAC Address Whitelist on an EFP

Configuring Sticky MAC Addresses on an EFP

Configuring Secure MAC Address Aging on an EFP

Configuring MAC Address Limiting on EFP

Configuring MAC Address Limiting on a Bridge Domain

Configuring Violation Response on an EFP

Restrictions and Usage Guidelines

When configuring MAC Address Security for EVC Bridge Domain, follow these restrictions and usage guidelines:

System wide, the following limits apply to the total configured whitelist and learned MAC addresses:

Total number of MAC addresses supported under MAC Security is limited to 32K.

Total number of MAC addresses supported under MAC Security, per bridge domain, is limited to 10K.

Total number of MAC addresses supported under MAC Security, per EFP, is limited to 1K.

You can configure or remove the various MAC security elements irrespective of whether MAC security is enabled on the EFP. However, these configurations will become operational only after MAC security is enabled.

Upon enabling the MAC Address Security for EVC Bridge Domain feature, existing MAC address table entries on the EFP are removed.

The MAC Address Security for EVC Bridge Domain feature can be configured on an EFP only if the EFP is a member of a bridge domain.

If you disassociate the EFP from the BD, the MAC security feature is completely removed.

For port-channel, this configuration is propagated to all member links in the port-channel. Consistent with the already implemented bridge domain EVC port-channel functionality, packets on a secured EFP are received on any member link, but all the egress packets are sent out to one of the selected member links.

Enabling MAC Address Security for EVC Bridge Domain

This section describes how to enable MAC address security for EVC bridge domain.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface gigabitethernet slot/subslot/port or interface tengigabitethernet slot/subslot/port or interface port-channel number

4. service instance id Ethernet [service-name]

5. encapsulation dot1q vlan-id

6. bridge-domain bridge-id

7. mac security

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface gigabitethernet slot/subslot/port

or

interface tengigabitethernet slot/subslot/port

or

interface port-channel number

Example:

Router(config)# interface gigabitethernet 4/1

Specifies the Gigabit Ethernet or the Ten Gigabit Ethernet or the port-channel interface to configure.

Step 4 

service instance id Ethernet [service-name]

Example:

Router(config-if)# service instance 101 ethernet

Creates a service instance (an instance of an EVC) on an interface and sets the device into the config-if-srv submode.

Step 5 

encapsulation dot1q vlan-id

Example:

Router(config-if-srv)# encapsulation dot1q 13

Defines the matching criteria to be used in order to map ingress dot1q frames on an interface to the appropriate service instance.

Step 6 

bridge-domain bridge-id

Example:

Router(config-if-srv)# bridge-domain 12

Binds the service instance to a bridge domain instance where bridge-id is the identifier for the bridge domain instance.

Step 7 

mac security or no mac security

Example:

Router(config-if-srv)# mac security or
Router(config-if-srv)# no mac security

Enables or disables the MAC Security on the EFP.

Examples

This example shows how to enable MAC address security for EVC bridge domain.

Router# enable
Router# configure terminal
Router(config)# interface GigabitEthernet 2/1
Router(config-if)# service instance 10 ethernet
Router(config-srv)# encapsulation dot1q 20
Router(config-if-srv)# bridge-domain 100
Router(config-if-srv)# mac security

This example shows how to disable MAC address security for EVC bridge domain.

Router# enable
Router# configure terminal
Router(config)# interface GigabitEthernet 2/1
Router(config-if)# service instance 10 ethernet
Router(config-if-srv)# no mac security

Disabling MAC Address Security for EVC Bridge Domain on an EFP

This section describes how to disable MAC address security for EVC bridge domain.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface gigabitethernet slot/subslot/port or interface tengigabitethernet slot/subslot/port or interface port-channel number

4. service instance id Ethernet [service-name]

5. no mac security

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface gigabitethernet slot/subslot/port

or

interface tengigabitethernet slot/subslot/port

or

interface port-channel number

Example:

Router(config)# interface gigabitethernet 4/1

Specifies the Gigabit Ethernet or the Ten Gigabit Ethernet or the port-channel interface to configure.

Step 4 

service instance id Ethernet [service-name]

Example:

Router(config-if)# service instance 101 ethernet

Creates a service instance (an instance of an EVC) on an interface and sets the device into the config-if-srv submode.

Step 5 

no mac security

Example:

Router(config-if-srv)# no mac security

Disables MAC Security on the EFP.

Examples

This example shows how to disable MAC address security for EVC bridge domain.

Router# enable
Router# configure terminal
Router(config)# interface GigabitEthernet 2/1
Router(config-if)# service instance 10 ethernet
Router(config-if-srv)# no mac security

Configuring MAC Address Whitelist on an EFP

MAC addresses learned dynamically on the EFP after mac security sticky is configured are retained during a link-down condition and device reload. Stickly Mac is shown in the MAC table as static addressess. However, you should copy the running config details to retain the mac address details.

This section describes how to configure sticky MAC addresses on an EFP.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface gigabitethernet slot/subslot/port or interface tengigabitethernet slot/subslot/port or interface port-channel number

4. service instance id Ethernet [service-name]

5. encapsulation dot1q vlan-id

6. bridge-domain bridge-id

7. mac security sticky

8. mac security

9. no mac security

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface gigabitethernet slot/subslot/port

or

interface tengigabitethernet slot/subslot/port

or

interface port-channel number

Example:

Router(config)# interface gigabitethernet 4/1

Specifies the Gigabit Ethernet or the Ten Gigabit Ethernet or the port-channel interface to configure.

Step 4 

service instance id Ethernet [service-name]

Example:

Router(config-if)# service instance 101 ethernet

Creates a service instance (an instance of an EVC) on an interface and sets the device into the config-if-srv submode.

Step 5 

encapsulation dot1q vlan-id

Example:

Router(config-if-srv)# encapsulation dot1q 13

Defines the matching criteria to be used in order to map ingress dot1q frames on an interface to the appropriate service instance.

Step 6 

bridge-domain bridge-id

Example:

Router(config-if-srv)# bridge-domain 12

Binds the service instance to a bridge domain instance where bridge-id is the identifier for the bridge domain instance.

Step 7 

mac security address permit mac address

Example:

Router(config-if-srv)# mac security address permit 0000.1111.2222

Adds the specified MAC Address as a whitelist ("permit") MAC Address for the EFP.

Step 8 

mac security

Example:

Router(config-if-srv)# mac security

Enables MAC Security on the EFP.

Examples

This example shows how to configure whitelisted MAC addresses on an EFP that is a member of a bridge domain.

Router# enable
Router# configure terminal
Router(config)# interface GigabitEthernet 2/1
Router(config-if)# service instance 10 ethernet
Router(config-srv)# encapsulation dot1q 20
Router(config-if-srv)# bridge-domain 100
Router(config-if-srv)# mac security address permit 0000.1111.2222
Router(config-if-srv)# mac security

Configuring Sticky MAC Addresses on an EFP

MAC addresses learned dynamically on the EFP after mac security sticky is configured are retained during a link-down condition and device reload. Stickly Mac is shown in the MAC table as static addressess. However, you should copy the running config details to retain the mac address details.

This section describes how to configure sticky MAC addresses on an EFP.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface gigabitethernet slot/subslot/port or interface tengigabitethernet slot/subslot/port or interface port-channel number

4. service instance id Ethernet [service-name]

5. encapsulation dot1q vlan-id

6. bridge-domain bridge-id

7. mac security sticky

8. mac security

9. no mac security

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface gigabitethernet slot/subslot/port

or

interface tengigabitethernet slot/subslot/port

or

interface port-channel number

Example:

Router(config)# interface gigabitethernet 4/1

Specifies the Gigabit Ethernet or the Ten Gigabit Ethernet or the port-channel interface to configure.

Step 4 

service instance id Ethernet [service-name]

Example:

Router(config-if)# service instance 101 ethernet

Creates a service instance (an instance of an EVC) on an interface and sets the device into the config-if-srv submode.

Step 5 

encapsulation dot1q vlan-id

Example:

Router(config-if-srv)# encapsulation dot1q 13

Defines the matching criteria to be used in order to map ingress dot1q frames (double tagged) on an interface to the appropriate service instance.

Step 6 

bridge-domain bridge-id

Example:

Router(config-if-srv)# bridge-domain 12

Binds the service instance to a bridge domain instance where bridge-id is the identifier for the bridge domain instance.

Step 7 

mac security sticky

Example:

Router(config-if-srv)# mac security sticky

Enables Sticky feature causing all dynamic secure MAC addresses to become sticky MAC addresses. Any new MAC address learnt becomes sticky.

Note To retain the sticky MAC addresses across reloads, ensure that you save the running configuration to the start up configuration.

Step 8 

mac security

Example:

Router(config-if-srv)# mac security

Enables MAC Security on the EFP.

Step 9 

no mac security

Example:

Router(config-if-srv)# no mac security

Disables the MAC Security on the EFP.

Examples

This example configures sticky MAC addresses on an EFP.

Router# enable
Router# configure terminal
Router(config)# interface GigabitEthernet 2/1
Router(config-if)# service instance 10 ethernet
Router(config-if-srv)# encapsulation dot1q 20
Router(config-if-srv)# bridge-domain 100
Router(config-if-srv)# mac security sticky
Router(config-if-srv)# mac security

Configuring Secure MAC Address Aging on an EFP

This section shows how to configure aging of secured MAC addresses under MAC Security. Secured MAC addresses are not subject to the normal aging of MAC table entries in the system.By default, secure MAC addresses do not age out.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface gigabitethernet slot/subslot/port or interface tengigabitethernet slot/subslot/port or interface port-channel number

4. service instance id Ethernet [service-name]

5. encapsulation dot1q vlan-id double tagged

6. bridge-domain bridge-id

7. mac security aging time m [inactivity]

8. mac security aging static

9. mac security aging sticky

10. mac security

11. no mac security

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface gigabitethernet slot/subslot/port

or

interface tengigabitethernet slot/subslot/port

or

interface port-channel number

Example:

Router(config)# interface gigabitethernet 4/1

Specifies the Gigabit Ethernet or the Ten Gigabit Ethernet or the port-channel interface to configure.

Step 4 

service instance id Ethernet [service-name]

Example:

Router(config-if)# service instance 101 ethernet

Creates a service instance (an instance of an EVC) on an interface and sets the device into the config-if-srv submode.

Step 5 

encapsulation dot1q vlan-id

Example:

Router(config-if-srv)# encapsulation dot1q 13

Defines the matching criteria to be used in order to map ingress dot1q double-tagged frames on an interface to the appropriate service instance.

Step 6 

bridge-domain bridge-id

Example:

Router(config-if-srv)# bridge-domain 12

Binds the service instance to a bridge domain instance where bridge-id is the identifier for the bridge domain instance.

Step 7 

mac security aging time m [inactivity]

Example:

Router(config-if-srv)# mac security aging time 200

Sets the aging time for secure addresses (range is 0-1440). The optional inactivity keyword specifies that the address aging is due to inactivity of the sending hosts (as opposed to absolute aging).

Step 8 

mac security aging static

Example:

Router(config-if-srv)# mac security static

Applies aging controls to statically configured addresses.

Step 9 

mac security aging sticky

Example:

Router(config-if-srv)# mac security stickly

Applies aging controls to sticky addresses.

Step 10 

mac security

Example:

Router(config-if-srv)# mac security

Enables MAC Security on the EFP. A sticky MAC address on the MAC table is shown as static addressess.

Step 11 

no mac security

Example:

Router(config-if-srv)# no mac security

Disables the MAC Security on the EFP.

Examples

This example shows how to configure the aging time for secure addresses to 10 minutes.

Router# enable
Router# configure terminal
Router(config)# interface GigabitEthernet 2/1
Router(config-if)# service instance 10 ethernet
Router(config-if-srv)# encapsulation dot1q 20
Router(config-if-srv)# bridge-domain 100
Router(config-if-srv)# mac security aging time 10
Router(config-if-srv)# mac security

This example shows a configuration where the aging out of addresses is based on inactivity of the sending hosts. An address will age out if it is not seen for 10 minutes.

Router# enable
Router# configure terminal
Router(config)# interface GigabitEthernet 2/1
Router(config-if)# service instance 10 ethernet
Router(config-if-srv)# encapsulation dot1q 20
Router(config-if-srv)# bridge-domain 100
Router(config-if-srv)# mac security aging time 10 inactivity
Router(config-if-srv)# mac security

The mac security aging time command only ages out secure addresses that are learned. To enable aging out of whitelist or sticky addresses when the mac security aging time command is configured, use the mac security aging static command (applies aging controls to statically configured addresses) or the mac security aging sticky command (applies aging controls to persistent, that is, sticky, addresses). The configuration below shows an example of applying aging to a sticky address.

Router# enable
Router# configure terminal 
Router(config)# interface GigabitEthernet 1/1 
Router(config-if)# service instance 10 ethernet 
Router(config-if-srv)# encapsulation dot1q 10 
Router(config-if-srv)# bridge-domain 100 
Router(config-if-srv)# mac security 
Router(config-if-srv)# mac security sticky 
Router(config-if-srv)# mac security aging time 100 

Configuring MAC Address Limiting on EFP

This section describes how to configure an upper limit for the number of secured MAC addresses allowed on an EFP. This includes addresses added as part of a whitelist, as well as dynamically learned MAC addresses. If the upper limit is decreased, one or more learned MAC entries may be removed. The default limit is 1.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface gigabitethernet slot/subslot/port or interface tengigabitethernet slot/subslot/port or interface port-channel number

4. service instance id Ethernet [service-name]

5. encapsulation dot1q vlan-id double tagged

6. bridge-domain bridge-id

7. mac security maximum addresses n

8. mac security

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface gigabitethernet slot/subslot/port

or

interface tengigabitethernet slot/subslot/port

or

interface port-channel number

Example:

Router(config)# interface gigabitethernet 4/1

Specifies the Gigabit Ethernet or the Ten Gigabit Ethernet or the port-channel interface to configure.

Step 4 

service instance id Ethernet [service-name]

Example:

Router(config-if)# service instance 101 ethernet

Creates a service instance (an instance of an EVC) on an interface and sets the device into the config-if-srv submode.

Step 5 

encapsulation dot1q vlan-id

Example:

Router(config-if-srv)# encapsulation dot1q 13

Defines the matching criteria to be used in order to map ingress dot1q frames on an interface to the appropriate service instance.

Step 6 

bridge-domain bridge-id

Example:

Router(config-if-srv)# bridge-domain 12

Binds the service instance to a bridge-domain instance where bridge-id is the identifier for the bridge domain instance.

Step 7 

mac security maximum addresses n

Example:

Router(config-if-srv)# mac security maximum addresses 10

Sets (or changes) the maximum number of secure addresses permitted on the EFP to the integer value n. The acceptable range secure addresses is 1-1024.

Step 8 

mac security

Example:

Router(config-if-srv)# mac security

Enables MAC Security on the EFP.

Examples

This example configures an upper limit of 10 for the number of secured MAC addresses allowed on an EFP.

Router# enable
Router# configure terminal
Router(config)# interface GigabitEthernet 2/1
Router(config-if)# service instance 10 ethernet
Router(config-if-srv)# encapsulation dot1q 20
Router(config-if-srv)# bridge-domain 100
Router(config-if-srv)# mac security maximum addresses 10
Router(config-if-srv)# mac security

Configuring MAC Address Limiting on a Bridge Domain

This section describes how to configure an upper limit for the number of secured MAC addresses located on the bridge domain.

SUMMARY STEPS

1. enable

2. configure terminal

3. bridge-domain vlan-id [access | dot1q [tag] | dot1q-tunnel] [broadcast] [ignore-bpdu-pid] [pvst-tlv CE-vlan] [increment] [lan-fcs] [split-horizon]

4. mac limit maximum addresses [n]

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

bridge-domain vlan-id [access | dot1q [tag] | dot1q-tunnel] [broadcast] [ignore-bpdu-pid] [pvst-tlv CE-vlan] [increment] [lan-fcs] [split-horizon]

Example:

Router(config)# bridge-domain 12

Specifies the bridge domain.

Step 4 

mac limit maximum addresses [n]

Example:

Router(config-bdomain)# mac limit maximum addresses 1000

Sets the limit for maximum addresses. The default value is 10240.

Examples

This example configures an upper limit of 1000 for the number of secured MAC addresses.

Router# enable
Router# configure terminal
Router(config)# bridge-domain 100

Router(config-if-srv)# mac limit maximum address 1000

Configuring Violation Response on an EFP

This section describes how to specify the expected behavior of the device when an attempt to dynamically learn a MAC address fails because of a violation of the configured MAC Security policy on the EFP. The default violation behavior is termed as a EFP shutdown.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface gigabitethernet slot/subslot/port or interface tengigabitethernet slot/subslot/port or interface port-channel number

4. service instance id Ethernet [service-name]

5. encapsulation dot1q vlan-id

6. bridge-domain bridge-id

7. mac security violation restrict or mac security violation protect

8. mac security

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface gigabitethernet slot/subslot/port

or

interface tengigabitethernet slot/subslot/port

or

interface port-channel number

Example:

Router(config)# interface gigabitethernet 4/1

Specifies the Gigabit Ethernet or the Ten Gigabit Ethernet or the port-channel interface to configure.

Step 4 

service instance id Ethernet [service-name]

Example:

Router(config-if)# service instance 101 ethernet

Creates a service instance (an instance of an EVC) on an interface and sets the device into the config-if-srv submode.

Step 5 

encapsulation dot1q vlan-id

Example:

Router(config-if-srv)# encapsulation dot1q 13

Defines the matching criteria to be used in order to map ingress dot1q frames on an interface to the appropriate service instance.

Step 6 

bridge-domain bridge-id

Example:

Router(config-if-srv)# bridge-domain 12

Binds the service instance to a bridge domain instance where bridge-id is the identifier for the bridge domain instance.

Step 7 

mac security violation restrict
or
mac security violation protect

Example:

Router(config-if-srv)# mac security violation restrict

Sets the violation mode to restrict or protect.

The no version of this command sets the violation response back to default (default is shutdown). In the Restrict scenario, the packets are dropped and an error message is displayed about the log warning level; in the Protect scenario, the packets are silently dropped and no messages are displayed.

Step 8 

mac security

Example:

Router(config-if-srv)# mac security

Enables MAC Security on the EFP.

Examples

This example configures a restrict violation response on EFP.

Router# enable
Router# configure terminal
Router(config)# interface GigabitEthernet 2/1
Router(config-if)# service instance 10 ethernet
Router(config-if-srv)# encapsulation dot1q 20
Router(config-if-srv)# bridge-domain 100
Router(config-if-srv)# mac security violation restrict

Router(config-if-srv)# mac security

Error Recovery

This section describes how to recover from violation causing an EFP shutdown (default violation response) and contains the following sections:

Manual recovery

Automatic recovery

Manual Recovery

For manual recovery, use the clear ethernet service instance id id interface interface-name errdisable command to bring the service instance out of an error disabled state as shown below:

Router# enable

Router# configure terminal

Router# clear ethernet service instance id 10 interface gi1/1 errdisable

Automatic recovery

For automatic recovery, use the errdisable recovery cause mac security command. You must specify the timer interval. The valid value is from 30 to 86400 second. In the configuration example that follows, the EFP recovers 60 seconds after the violation causes the shutdown.

Router# enable
Router# configure terminal
Router(config)# interface GigabitEthernet 2/1
Router(config-if)# service instance 10 ethernet
Router(config-if-srv)# encapsulation dot1q 10
Router(config-if-srv)# bridge-domain 100
Router(config-if-srv)# mac security 

Router(config-if-srv)# errdisable recovery cause mac-security 60

Verification

Use the following commands to verify operation.

Command
Purpose

Router# show ethernet service instance id id interface interface mac security address

Displays the secure addresses on the specified EFP.

Router# show ethernet service instance id id interface interface mac security last violation

Displays the last violation recorded on the specified EFP.

Router# show ethernet service instance id id interface interface mac security statistics

Displays the number of allowed and actual secured address and the number of violations recorded on the EFP.

Router# show ethernet service instance id id interface interface mac security

Displays the MAC Security status of the specified EFP.

Router# show ethernet service instance mac security address

Displays the secure addresses on all the EFPs in the system.

Router# show ethernet service instance mac security last violation

Displays information about the last violation recorded on the device (across all service instances) and information about the last violation recorded on each of the service instances.

Router# show ethernet service instance mac security statistics

Displays the number of allowed and actual secured addresses, as well as the number of violations recorded on all the EFPs in the system.

Router# show ethernet service instance mac security

Displays all the EFPs in the system that have MAC Security enabled.

Router# show bridge-domain id mac security address

Displays the secure addresses on all EFPs belonging to the specified bridge domain.

Router# show bridge-domain id mac security last violation

Displays information about the last violation recorded on each of the service instances belonging to the bridge domain.

Router# show bridge-domain id mac security statistics

Displays the number of allowed and actual secured addresses, as well as the number of violations recorded on all the EFPs that belong to the specified bridge domain.

Router# show bridge-domain id mac security

Displays all the EFPs that belong to the specified bridge domain, and that have MAC Security enabled.


Troubleshooting

Table 4-17 provides troubleshooting solutions for the MAC Security feature.

Table 4-17 Troubleshooting Scenarios for MAC Security feature

Problem
Solution

MAC security errors on the RP

Use the debug ethern serv instance id id interface int mac sec errors and debug ethern serv instance id id interface int mac table errors commands. Share the output with TAC for further investigation.

MAC security errors on the SP

Use the debug ethernet service instance mac security errors and debug ethernet service instance mac table errors commands to troubleshoot mac security issues on the RP.

EFP is disabled and is unable to automatically recover from error disable state

Use the errdisable recovery cause mac-security interval or clear ethernet service instance id id interface interface-name errdisable commands to re-enable the EFP.

Mac security aging timer is inactive

When mac security aging time inactivity is configured, the hardware mac table aging timer for the EFP VLAN is set with the configuration command mac address-table aging-time time [vlan <vlan id>] command. To resolve the aging timer inactivity, re-set the aging time to the default value of 300 seconds.


CFM and PVST Co-Existence

Ethernet Connectivity Fault Management (CFM) is an end-to-end per-service-instance Ethernet layer OAM protocol that includes proactive connectivity monitoring, fault verification, and fault isolation. Currently, Ethernet CFM supports inward facing and outward facing Maintenance Endpoints (MEPs). For information on Ethernet Connectivity Fault Management, see http://www.cisco.com/en/US/docs/ios/12_2sr/12_2sra/feature/guide/srethcfm.html.

The CFM and PVST Co-Existence feature allows Per Vlan Spanning Tree (PVST) and CFM to co-exist on Cisco 7600 series routers.

The CFM and PVST Co-Existence feature makes use of these Ethernet components:

Ethernet virtual circuit (EVC)—An association between two or more UNIs that identifies a point-to-point or point-to-multipoint path within the provider network.

Ethernet flow point (EFP)—The logical demarcation point of an EVC on an interface.

Each EFP is identified with an EVC. An EVC ID is globally unique within a network. In addition, an EFP is associated with one bridge domain. All the EFPs in a bridge domain belong to the same EVC (when specified).

For EFPs, untagged, single-tagged, and double-tagged encapsulations exist with dot1q, QinQ, and IEEE dot1ad Ether types. Different EFPs belonging to a bridge domain can have different encapsulations.

Restrictions and Usage Guidelines

When configuring CFM and PVST Co-Existence, follow these restrictions and usage guidelines:

The following line cards and supervisors that have three or more match registers are supported:

ES20 line cards

ES+ line cards

RSP720-3C-10GE and

Supervisor Engine 32

WS-X67xx line cards (with supported supervisor)

Generic VLAN Registration Protocol (GVRP) and CFM coexistence is also supported

The following co-existing configurations are supported:

PVST and CFM; you must configure PVST before configuring CFM

Generic VLAN Registration Protocol (GVRP) and CFM; you must configure GVRP before configuring CFM

PVST and GVRP; there is no restriction for the order of configuration.

CFM uses two match registers to identify the control packet type; PVST also uses a match register to identify its control packet type. So in order for both protocols to work on the same system each line card needs to support three match registers, at least one being able to support only a 44 bit MAC match.

This message is displayed when no match registers are available.

CFM is enabled system wide except on supervisor ports due to spanning tree configuration on supervisor ports for CFM due to hardware limitations on these ports. Continued with enabling CFM system-wide to allow coexistence with other protocols such as PVST.

Administrator action may be required. Ensure no CFM traffic is presented to any 
supervisor ports via configuration. If not possible configure STP mode to MST and 
re-enable CFM or disable CFM completely. 

This message is displayed when the 48 bit match register is not available.

CFM is enabled system wide except it's disabled on supervisor ports due to spanning tree or GVRP configuration. Unable to program all port ASIC MAC match registers on supervisor ports for CFM due to hardware limitations on these ports. Continued with enabling CFM system-wide to allow coexistence with other protocols such such as PVST or GVRP.System has handled this by disabling CFM on all supervisor ports. If this is unacceptable configure STP mode to MST and re-enable CFM or disable CFM completely.

This message is displayed, if after configuring PVST-CFM or GVRP-CFM co-existence, an attempt is made to power up an unsupported line card or to insert an unsupported line card into the router:

Unsupported module in slot 3, power not allowed: Module has insufficient match registers. Enabled relevant protocols include SSTP CFM_MULTICAST.


Note Slot 3 in the above message refers to the module with unsufficient match registers.


Configuring PVST and CFM Co-Existence


Note PVST mode is the default spanning-tree mode. It is enabled when you boot the router.



Note You cannot disable PVST spanning-tree mode or MST spanning-tree mode with the no versions of the spanning-tree mode mst or spanning-tree mode pvst commands; you must enable the other spanning-tree mode to disable the existing spanning-tree mode. For example, if you want to disable the MST spanning-tree mode, you must enable the PVST spanning-tree mode.


SUMMARY STEPS

1. enable

2. configure terminal

3. spanning-tree mode pvst

4. ethernet cfm enable

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

spanning-tree mode pvst

Example:

Router(config)# spanning-tree mode pvst

Configures Per-VLAN Spanning Tree+ (PVST+) mode.

Step 4 

ethernet cfm enable

Example:

Router(config)# ethernet cfm enable

Enables connectivity fault management (CFM) processing globally on a device.

The following example configures PVST and CFM Co-Existence:

Router# enable
Router# configure terminal
Router(config)# spanning-tree mode pvst
Router(config)# ethernet cfm enable

Configuring GVRP and CFM Co-Existence

SUMMARY STEPS

1. enable

2. configure terminal

3. gvrp global

4. ethernet cfm enable

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

gvrp global

Example:

Router(config)# gvrp global

Enable GVRP globally.

Step 4 

ethernet cfm enable

Example:

Router(config)# ethernet cfm enable

Enables connectivity fault management (CFM) processing globally on a device.

The following example configures GVRP and CFM Co-Existence:

Router# enable
Router# configure terminal
Router(config)# gvrp global
Router(config)# ethernet cfm enable

Configuring PVST and GVRP Co-Existence

SUMMARY STEPS

1. enable

2. configure terminal

3. gvrp global

4. spanning-tree mode pvst

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

gvrp global

Example:

Router(config)# gvrp global

Enable GVRP globally.

Step 4 

spanning-tree mode pvst

Example:

Router(config)# spanning-tree mode pvst

Configures Per-VLAN Spanning Tree+ (PVST+) mode.

The following example configures PVST and GVRP Co-Existence:

Router# enable
Router# configure terminal
Router(config)# ethernet cfm enable
Router(config)# spanning-tree mode pvst

Verification

Use the following commands to verify operation.

Command
Purpose

Router# show running configuration

Displays the contents of the current running configuration file or the configuration for a specific module.

Router# remote command switch show platform mrm info

Displays protocols using port ASIC match registers. However, the feature will not be enabled if the match registers are not programmed.


Custom Ethertype for EVC Interfaces

The custom ethertype feature allows you to configure the ethertype to be used for outer tag for dot1q and QinQ packets. By default, the Cisco 7600 series router supports ethertype 0x8100 for dot1q and QinQ outer tags. The following ethertype can be configured under a physical port:

0x8100 - 802.1q

0x9100 - Q-in-Q

0x9200 - Q-in-Q, and

0x88a8 - 802.1ad

You can use the dot1 q tunneling ethertype ethertype-value command to configure the custom ethertype within a physical port.

In the following sample configuration, ethertype is set to 0x9100, service instance is created, and Rewrite process is initiated:

interface GigabitEthernet 1/1
    dot1q tunneling ethertype 0x9100
    service instance <number> ethernet
        encapsulation dot1q <vlan 1> [second-dot1q <vlan 2>]
        Rewrite <Rewrite>

Note 802.1q (0x8100) is the default ethertype setting.



Note Cisco IOS Release 12.2(33)SRE adds support for custom ethertype to port-channels.


Supported Rewrite Rules for a Custom Ethertype Configuration

Rewriting allows you to add or remove VLAN tags in the packets transferred between two customer sites in the service provider networks.

The following types of Rewrites are supported on a Network Network Interface (NNI):

Non-Range on C-Tag on NNI

Range on C-Tag on NNI

Supported Rewrites for Non-Range on C-Tag with a NNI

When Custom Ethertype is configured within the NNI physical interface and VLAN range is not specified, the following Rewrites are supported for a provider bridge:

For "encapsulation untagged":

No Rewrite

Rewrite ingress tag push dot1q <vlan1> [second-dot1q <vlan2>] symmetric

For "encapsulation default":

No Rewrite

For "encapsulation dot1q <vlan>":

No Rewrite

Rewrite ingress tag pop 1 symmetric

Rewrite ingress tag translate 1-to-1 dot1q <vlan> symmetric, and

Rewrite ingress tag translate 1-to-2 dot1q <vlan 1> second-dot1q <vlan 2> symmetric

For "encapsulation dot1q <vlan1> second-dot1q <vlan2>":

No Rewrite

Rewrite ingress tag pop 1 symmetric

Rewrite ingress tag pop 2 symmetric

Rewrite ingress tag translate 1-to-1 dot1q <vlan> symmetric

Rewrite ingress tag translate 1-to-2 dot1q <vlan 1> second-dot1q <vlan 2> symmetric

Rewrite ingress tag translate 2-to-1 dot1q <vlan> symmetric, and

Rewrite ingress tag translate 2-to-2 dot1q <vlan 1> second-dot1q <vlan 2> symmetric

Supported Rewrites for Range on C-Tag with a NNI

When a VLAN range is specified on the C-Tag, push Rewrites are not supported. The following Rewrites are supported for VLAN range on C-Tag:

For "encapsulation dot1q <vlan1 - vlan2>":

No Rewrite

For "encapsulation dot1q <vlan1> second-dot1q <vlan2 - vlan3>":

No Rewrite

Rewrite ingress tag pop 1 symmetric

Rewrite ingress tag translate 1-to-1 dot1q <vlan> symmetric

Rewrite ingress tag translate 1-to-2 dot1q <vlan 1> second-dot1q <vlan 2> symmetric


Note To avoid hierarchical provider bridges when any Custom Ethertype is configured, NNI interface does not support "ingress push" Rewrite except for "encap untagged".


Restrictions and Usage Guidelines

When configuring Custom Ethertype, follow these restrictions and usage guidelines:

If a custom ethertype is configured on the port-channel, the same ethertype is implicitly configured for all the other member interfaces.

You cannot configure Custom ethertype explicitly under a member interface of a port-channel.

An interface configured with custom ethertype cannot be a part of port-channel.

An ES+ port configured with custom ethertype cannot become member of port-channel.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface gigabitethernet slot/port or interface tengigabitethernet slot/port or interface port-channel number

4. dot1q tunneling ethertype [0x9100|0x9200|0x88A8]

5. [no] service instance id {Ethernet [service-name]}

6. [no] encapsulation untagged, dot1q {any | vlan-id[vlan-id[vlan-id]]} second-dot1q {any |vlan-id[vlan-id[vlan-id]]}

7. Rewrite ingress tag {push {dot1q vlan-id | dot1q vlan-id second-dot1q vlan-id dot1q vlan-id} | pop {1 | 2} | translate {1-to-1 {dot1q vlan-id}| 2-to-1 dot1q vlan-id }| 1-to-2 {dot1q vlan-id second-dot1q vlan-id dot1q vlan-id} | 2-to-2 {dot1q vlan-id second-dot1q vlan-id dot1q vlan-id}} symmetric

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router> enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface gigabitethernet slot/port

or

interface tengigabitethernet slot/port

or

interface port-channel number

Example:

Router(config)# interface gigabitethernet 4/1

Specifies the Gigabit Ethernet or the Ten Gigabit Ethernet or the port-channel interface to configure.

Step 4 

dot1q tunneling ethertype [0x9100 | 0x9200 | 0x88A8]

Example:

Router(config-if)# dot1q tunneling ethertype 0x88A8

Configure Custom Ethertype as 9100, 9200, or 88A8 within the physical interface as all service instances under physical interface use the configured ethertype.

Step 5 

service instance id ethernet [service-name]

Example:

Router(config-if)# service instance 101 ethernet

Creates a service instance (an instantiation of an EVC) on an interface and sets the device into the config-if-srv submode.

Step 6 

encapsulation untagged dot1q {any | vlan-id[vlan-id[vlain-id]]} second-dot1q {any | vlan-id[vlan-id[vlan-id]]}

Example:

Router(config-if-srv)# encapsulation dot1q 100 second dot1q 200

Defines the matching criteria that maps the ingress dot1q, QinQ, or untagged frames on an interface for the appropriate service instance.

Step 7 

Rewrite ingress tag {push {dot1q vlan-id | dot1q vlan-id second-dot1q vlan-id dot1q vlan-id} | pop {1 | 2} | translate {1-to-1 {dot1q vlan-id}| 2-to-1 dot1q vlan-id }| 1-to-2 {dot1q vlan-id second-dot1q vlan-id dot1q vlan-id} | 2-to-2 {dot1qvlan-id second-dot1q vlan-id dot1q vlan-id}} symmetric

Example:

Router(config-if-srv)# Rewrite ingress tag push dot1q 20

Specifies the Rewrite operation.

Examples

Single Tag Encap with Connect with Custom Ethertype Configured

In the following example, Custom Ethertype is configured on a single tag encap using the connect configuration:

Router#sh running-config int Gi1/1
//Building configuration...
interface GigabitEthernet 1/1
 no ip address
 dot1q tunneling ethertype 0x9100
 no mls qos trust
 service instance 1 ethernet
  encapsulation dot1q 10
Router#sh running-config int Gi1/2
 no ip address
 dot1q tunneling ethertype 0x9100
 mls qos trust dscp
 service instance 1 ethernet
  encapsulation dot1q 10
Router)# connect LC1 GigabitEthernet 1/1 1 GigabitEthernet 1/2 1

Single Tag Encap with Bridge Domain

In the following example, Custom Ethertype is configured on a single tag encap using bridge domain configuration:

Router#sh running-config int Gi1/1
interface GigabitEthernet 1/1
 no ip address
 dot1q tunneling ethertype 0x9100
 no mls qos trust
 service instance 1 ethernet
  encapsulation dot1q 10
  bridge-domain 100
Router#sh running-config int Gi1/2
interface GigabitEthernet 1/2
 no ip address
 dot1q tunneling ethertype 0x9100
 mls qos trust dscp
 service instance 1 ethernet
  encapsulation dot1q 10
  bridge-domain 100

Single Tag Encap with XConnect

In the following example, Custom Ethertype is configured on a single tag encap with xconnect configuration:

Router#sh running-config int Gi1/1
interface GigabitEthernet 1/1
 no ip address
 dot1q tunneling ethertype 0x9100
 no mls qos trust
 service instance 1 ethernet
  encapsulation dot1q 10
  xconnect 3.3.3.3 10 encapsulation mpls
Router#sh running-config int Gi1/2
interface GigabitEthernet 1/2
 ip address 10.10.10.2 255.255.255.0
 no mls qos trust
 mpls label protocol ldp
 mpls ip

Custom Ethertype Support with Sub Interfaces

In this example, Custom Ethertype is configured on a sub interface. Custom Ethertype is always configured within the main physical interface and QinQ encap is configured within the subinterface.

Router#sh running-config int Gi1/1
interface GigabitEthernet 1/1
 no ip address
 dot1q tunneling ethertype 0x9100
 no mls qos trust
end
interface GigabitEthernet 1/1.10
 encapsulation dot1Q 10 second-dot1q 20
 ip address 20.20.20.2 255.255.255.0
end

Verification

Use the following commands to verify operations.

Command
Purpose

Router# show ethernet service instance [id instance-id | interface interface-id | interface interface-id] [detail]

Displays information about:

Specific EVCs if an EVC ID is specified

All the EVCs on an interface if an interface is specified.

The detailed option provides additional information about the EVC. This can be given on RP and LC consoles to determine Custom Ethertype configured under a physical port.


Troubleshooting

Table 4-18 provides troubleshooting solutions for the Custom Ethertype feature.

Table 4-18

Problem
Solution

Error in custom ethertype programming for all the UP links

Use the show platform npc xlif channel-id port <port sram line command to verify if the port-sram is programmed correctly and displays the configured ethertype. Share the output with TAC for further investigation.

Incorrect programming of cusom-ethertype in a port-channel subinterface

Use the show vlan internal usage command to trace errors related to custom etherytype programming and find the internal VLAN allocated to the sub-interface. You can use the internal VLAN to verify if the XLIF entry is present in the ES40 line card. Use this to verify if the custom ethertype is properly programmed in the XLIF.

Unknown errors and events on the port channel

Use the debug platform port-channel [event, error] command to trace the port channel events and errors. Share the output with TAC for further investigation.


Troubleshooting Scenarios

GE LAG with LACP on UNI with Advanced Load Balancing

The GE Link Aggregation with Advanced Load Balancing feature allows the user to specify the primary and multiple backup preferred member links for the service instance. Whenever the primary member link is available (the interface is up and is part of the port-channel group), it is used as the egress interface for a given service instance. When the preferred member link is not available (the interface is down or not part of the port-channel group), a backup member link is used. If none of the backup links are available or the user has neither configured the primary or the backup links, the 7600 platform automatically selects an egress interface for the given service instance. In this case, the user has no control over the egress interface.

If primary and backup links are configured and if the primary interface goes down, one of the backup links is selected as the egress interface. At this stage, when the primary interface comes up, there is a switch back to the primary interface. The backup link is selected based on the order of the configured list of backup link IDs. The first backup link in the list is used if available, otherwise the next backup link in the list is used. This continues until an available backup link is found.

This feature only changes egress EFP traffic in the port-channel and does not affect the ingress traffic. In the case of bridge domain, ingress traffic may enter any port that has an EFP in the same bridge domain as the EFP in the port-channel. In the case of local switching (connect) and cross-connect (xconnect), ingress traffic is received at the EFP or port specified in the connect or cross-connect configuration. This feature coexists with current service instance feature support and supports the existing scale of 8000 service instance per processor (all 8000 service instances can be on one interface). This feature supports HA and SSO as well as OIR.

Restrictions and Usage Guidelines

When configuring GE Link Aggregation with Advanced Load Balancing, follow these guidelines and restrictions:

When the user configures a link ID for a port-channel member link and configures that member link as the preferred egress link for some service instances in that port-channel, there is redistribution of traffic. The redistribution is such that:

Service instances that were configured to be sent over the preferred egress member link is sent over the preferred member link. This is expected behavior.

Redistribution of traffic for which the user has not configured preferred member link happens. The way this redistribution happens is as follows:

For example, let's say there are 8 member links in the port-channel. The load share of the member links is allocated by the port manager as follows,

Member 1—Load share bit 0, Member 2—Load share bit 1,

Member 3—Load share bit 2, Member 4—Load share bit 3,

Member 5—Load share bit 4, Member 6—Load share bit 5,

Member 6—Load share bit 6, Member 7—Load share bit 7.

Now when the user configures Member 1 with link ID 2, the port manager code now allocates load share bit 2 to member 1. So, the new assignments are,

Member 1—Load share bit 2, Member 3—Load share bit 0 (The load share of other members remains the same.)

Consider the example where the platform has chosen an egress link that has the load share bit 2. Before the user has configured the link ID = 2 for Member 1, this EFP traffic has been sent over Member 3. After the user configuration, since member 1 now has the load share bit = 2, this traffic is now be sent over member 1.

The reverse also happens; traffic that was going through member 1 before the user configuration now goes through member 3.

Configuring GE Link Aggregation with Advanced Load Balancing

This section describes how to configure GE LAG with LACP on UNI with Advanced Load Balancing.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface gigabitethernet slot/port or interface tengigabitethernet slot/port

4. channel-group channel-group-number mode {active | on | passive} link id

5. exit

6. interface port-channel number

7. [no] service instance id {Ethernet [service-name]}

8. encapsulation dot1q vlan-id [second-dot1q vlan-id]

9. exit

10. exit

11. interface port-channel number

12. [no] port-channel load-balance link ID

13. [no] backup link ID_list

14. [no] service-instance service_instance_list

15. [no] group service_group_list

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface gigabitethernet slot/port

or

interface tengigabitethernet slot/port

Example:

Router(config)# interface gigabitethernet 4/1

Specifies the Gigabit Ethernet or the Ten Gigabit Ethernet interface to configure, where:

slot/port—Specifies the location of the interface.

Step 4 

channel-group channel-group-number mode {active | on | passive} link id

Example:

Router(config-if)# channel-group 2 mode on link 3

Assigns and configures an EtherChannel interface to an EtherChannel group.

Step 5 

exit

Example:

Router(config-if)# exit

Exits the current configuration mode.

Step 6 

interface port-channel number

Example:

Router(config)# interface port-channel 11

Creates the port-channel interface.

Step 7 

[no] service instance id {Ethernet [service-name]}

Example:

Router(config-if)# service instance 101 ethernet

Creates a service instance (an instantiation of a service instance) on an interface and sets the device into the config-if-srv submode.

Step 8 

encapsulation dot1q vlan-id [second-dot1q vlan-id]

Example:

Router(config-if-srv)# encapsulation dot1q 10

Defines the matching criteria to be used in order to map ingress dot1q frames on an interface to the appropriate service instance.

Step 9 

exit

Example:

Router(config-if-srv)# exit

Exits the current configuration mode.

Step 10 

exit

Example:

Router(config-if)# exit

Exits the current configuration mode.

Step 11 

interface port-channel number

Example:

Router(config)# interface port-channel 11

Creates the port-channel interface.

Step 12 

[no] port-channel load-balance link ID

Example:

Router(config-if)# port-channel load-balance link 3

Configures the specified member link interfaces for load-balancing the port-channel's egress traffic and enters the load-balancing configuration submode.

Step 13 

[no] backup link ID_list

Example:

Router(config-if-lb)# backup link 7

Configures a list of member links to use as backup for the primary load-balancing member link.

You can create multiple backup links using the backup link command. The backup links are used in order of configuration if a Port-channel member is down. A default platform algorithm is used to find the backup links if all the configured backup links are down.

Step 14 

[no] service-instance service_instance_list

Example:

Router(config-if-lb)# service-instance 10

Defines the set of service Ethernet instances whose traffic should egress over the member link identified by configuration in Step 12.

Step 15 

[no] group service_group_list

Example:

Router(config-if-lb)# group 10

Defines the Ethernet service groups that will be load-balanced over an interface.

Example

The following example shows four member links across two different channel-groups:

Router(config)# interface Gi0/1
Router(config-if)# channel-group 1 mode on link 3
Router(config)# interface Gi0/2
Router(config-if)# channel-group 1 mode on link 4
Router(config)# interface Gi0/3
Router(config-if)# channel-group 2 mode on link 3
Router(config)# interface Gi0/4
Router(config-if)# channel-group 2 mode on link 7
Router(config)# interface Port-channel1
Router(config-if)# service instance 10 ethernet
Router(config-if-srv)# encapsulation dot1Q 10
Router(config-if-srv)# service instance 20 ethernet
Router(config-if-srv)# encapsulation dot1Q 20
Router(config-if-srv)# service instance 60 ethernet
Router(config-if-srv)# group 10
Router(config-if-srv)# service instance 70 ethernet
Router(config-if-srv)# group 10

Additional service instance definitions follow:

Router(config-if)# port-channel load-balance link 3
Router(config-if-lb)# backup link 4
Router(config-if-lb)# service-instance 10,20-22
Router(config-if)# port-channel load-balance link 4
Router(config-if-lb)# service-instance 30-40
Router(config-if-lb)# group 10
Router(config)# interface Port-channel2
Router(config-if)# service instance 10 ethernet
Router(config-if-srv)# encapsulation dot1Q 10
Router(config-if)# port-channel load-balance link 3
Router(config-if-lb)# backup link 7
Router(config-if-lb)# service-instance 10

Verification

Use the following commands to verify operation.

Table 4-19 Commands for Displaying Traffic Storm Control Status and Configuration

Command
Purpose

Router# show ethernet service instance interface interface load-balance

Displays the current egress member-link assignments for service instances configured with port-channel load-balancing.

Router# show ethernet service instance id efp interface port-channel group detail

Displays detailed status for the specified service instance, including the egress member-link assignment, if any.


Troubleshooting Load Balancing Features

Table Table 4-20 provides troubleshooting solutions for the LoadBalancing features.

Table 4-20 Troubleshooting Scenarios

Problem
Solution

Link group creation command is rejected with an error message "Incomplete command".

Re-configure the link group with the specific link ID and these keywords:

port-channel load-balance link:<< Missing link ID>>

no port-channel load-balance link : << Missing link ID>>

default port-channel load-balance link: << Missing link ID

port-channel load-balance: << Missing 'link' keyword

port-channel: << Missing 'load-balance' keyword>>

Error message "Invalid input detected".

Re-configure the link group with valid IDs.

Back up link command is rejected and an error message displayed

Ensure that:

The back up link ID does not overlap with the primary link ID.

You have not exceeded the permissible number of back up links.

You have not entered a sub-mode command in a deleted load-balance group.

Invalid input

Execute the show run command to confirm if duplicate back up link IDs exists between two link groups.

Ensure that the configured EFPs have valid IDs.

Ensure that you have not configured an existing EFP ID in a different link group.

Member link is disabled

Use the show etherchannel port-channel command to verify the load share of each member link. Study the derived output and share the information with TAC for further investigation.

Traffic is not dsitributed equally among all members (Port channel load balancing issue)

Use the show ethernet service instance interface port-channel load-balance command to verify the load balancing information for all the port channels. Share the output with TAC for further investigation.

Traffic is not dsitributed equally among all members (EFP load balancing issues)

Use the show ethernet service instance id efp interface port-channel group detail command to verify and display the the load balancing information for the EFPs. Share the output with TAC for further investigation.


Storm Control on Switchports and Ports Having EVCs

A traffic storm occurs when packets flood the LAN, creating excessive traffic and degrading network performance. The traffic storm control feature prevents LAN ports from being disrupted by a broadcast or multicast traffic storm on physical interfaces. The traffic storm control level is set as a percentage of the total available bandwidth of the port.

For information on LAN-based Ethernet line card Broadcast Storm Control, see the chapter `Configuring Traffic Storm Control' in the Cisco 7600 Series Router Cisco IOS Software Configuration Guide at: http://www.cisco.com/en/US/docs/routers/7600/ios/15S/configuration/guide/storm.html.

This feature implements a mechanism to detect and control broadcast/multicast congestion/storm scenario via rate control mechanism in ES line cards.

Storm control for ES20 and ES+ cards is supported on:

Switchports


Note Layer 3 (routed port) to Layer 2 (switchport) conversion is allowed only when there are no subinterfaces configured on the port.


Ports with EVC configurations

The feature is per port, not per EVC. Hence, all EVCs under the port are subject to the same storm control rate.

In Cisco IOS Release 15.0(1)S, the following storm control feature enhancements are covered on 67xx, 6196, ES20 and ES+ line cards:

Port-channel interfaces: Support for port-channel interfaces on ES20 and ES+ line cards.

Shutdown: When a storm is detected and the storm traffic exceeds the accepted threshold, the affected interface moves to error disable state. The traffic threshold is calculated as a percentage of the total bandwidth of the port (%BW). Use the error disable detection and the recovery feature, or the shut or no shut command to re-enable the port on the affected interface.

Trap: An SNMP trap can be sent when a storm is detected.

Detecting a Broadcast Storm

A broadcast storm is detected when the following occurs:

The port receives multicast and broadcast traffic beyond its configured bandwidth.

The value of the TotalSuppDiscards counter increments. This value is displayed when you use the show interface gigabitEthernet <slot/port> counters storm-control command.

Restrictions and Usage Guidelines

Use the following guidelines and restrictions while configuring traffic storm control:


Note These restrictions and usage guidelines apply only to the Cisco 7600 Series ES+ line cards.


Traffic storm control is disabled by default.

Unicast storm control is not supported.

Storm control on Layer 3 interfaces is not supported.

Storm control feature cannot be configured at the EVC Level.

Storm control rate can not be specified in Packets/Second (PPS).

The broadcast and multicast suppression share the same suppression rate, therefore, when you configure a different rate either for broadcast or multicast the new rate will apply to broadcast and multicast.

Storm control feature is not supported on the member interfaces of a port channel.

Untagged frames can be subjected to storm control by having a service instance which marks all untagged frames. Once such a service instance is created, these frames behave like any storm control on any other EVC.

Specify the level as a percentage of the total interface bandwidth:

The level can be from 0 to 100.

The optional fraction of a level can be from 0 to 99.

100 percent means no traffic storm control.

0.0 percent suppresses all traffic.

You can specify the percentage rate to allow in units of 0.01%.

The maximum storm control rate is 4 Gbps (on 10 Gigabit interfaces it can be 40% of line rate)

Storm control works in switchport dot1q-tunnel mode.

When storm control is applied on an interface that has an inbound Layer 2 ACL applied, all packets are dropped irrespective of the configured suppression level.

Any additions or changes made to the storm control configuration on the port-channel interface is automatically updated across all the port-channel member-links.

Storm control configuration or deletion is not allowed on member-links.

You can add an interface to a port-channel if the storm control configuration on the interface and the port-channel are alike.

You can either club member-links to form a port- channel and then configure the port-channel or change the storm control configuration on the interface to match with the port-channel, before adding it to the port-channel.

Using the default interface command twice, removes the storm control feature from a member-link interface.

Configuring Storm Control on Ports with EVC Configurations

This section describes how to configure storm control on ports with EVC configurations.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface gigabitethernet slot/port or interface tengigabitethernet slot/port

4. [no] service instance id {Ethernet service-name}

5. encapsulation dot1q vlan-id

6. [no] bridge-domain bridge-id

7. storm-control {broadcast | multicast} level level[.level]

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface gigabitethernet slot/port

or

interface tengigabitethernet slot/port

Example:

Router(config)# interface gigabitethernet 4/1

Specifies the Gigabit Ethernet or the Ten Gigabit Ethernet interface to configure, where:

slot/port—Specifies the location of the interface.

Step 4 

[no] service instance id Ethernet [service-name}

Example:

Router(config-if)# service instance 101 ethernet

Creates a service instance (an instantiation of an EVC) on an interface and sets the device into the config-if-srv submode.

Step 5 

encapsulation dot1q vlan-id

Example:

Router(config-if-srv)# encapsulation dot1q 13

Defines the matching criteria to be used in order to map ingress dot1q frames on an interface to the appropriate service instance.

Step 6 

[no] bridge-domain bridge-id

Example:

Router(config-subif)# bridge domain 12

Binds the service instance to a bridge domain instance where bridge-id is the identifier for the bridge domain instance.

Step 7 

storm-control {broadcast | multicast} level level[.level]

Example:

Router(config-if)# storm-control broadcast level 30

Sets the storm control suppression level.

Example

This example shows a configuration for ports with EVCs on them:

Router# enable
Router# configure terminal
Router(config)# interface GigabitEthernet 4/1
Router(config-if)# service instance 2 ethernet
Router(config-if-srv)# encapsulation dot1q 20
Router(config-if-srv)# bridge-domain 10

Router(config-if)# storm-control multicast level 45

Configuring Storm Control on Switchports

SUMMARY STEPS

1. enable

2. configure terminal

3. interface gigabitethernet slot/port or interface tengigabitethernet slot/port

4. switchport

5. switchport mode {access | dot1q-tunnel | dynamic {auto | desirable} | private-vlan | trunk}

6. storm-control {broadcast | multicast} level level[.level]

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface gigabitethernet slot/port

or

interface tengigabitethernet slot/port

Example:

Router(config)# interface gigabitethernet 4/1

Specifies the Gigabit Ethernet or the Ten Gigabit Ethernet interface to configure, where:

slot/port—Specifies the location of the interface.

Step 4 

switchport 
Example:
Router(config-if)# switchport

Sets the switching characteristics of the Layer 2-switched interface.

Step 5 

switchport mode {access | dot1q-tunnel | dynamic 
{auto | desirable} | private-vlan | trunk} 
Example:
Router(config-if)# switchport mode trunk

Sets the interface type.

Step 6 

storm-control {broadcast | multicast} level level[.level]

Example:

Router(config-if)# storm-control broadcast level 30

Sets the storm control suppression level.

Example

This example shows a configuration for ports with switchport configuration:

Router# enable
Router# configure terminal
Router(config)# interface GigabitEthernet 4/1
Router(config)# switchport
Router(config)# switchport mode trunk 
Router(config)# storm-control multicast level 45

Configuring Storm Control on Port Channels

Perform the following tasks to configure storm control on port channels:

SUMMARY STEPS

1. enable

2. configure terminal

3. snmp-server enable traps storm-control trap-rate trap-rate

4. interface type slot/bay/port

5. storm-control {{broadcast | multicast} level level | action {shutdown | trap}}

6. end

7. show interfaces type/slot/port counters storm-control

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

snmp-server enable traps storm-control trap-rate trap-rate

Example:

Router(config)# snmp-server enable traps storm-control trap-rate 2

(Optional) Enables SNMP storm control trap parameters. The trap-rate range is 0 to 1000 traps per minute. However, the number of traps generated for storm control cannot exceed six per minute (by design).

Step 4 

interface type slot/bay/port

Example:

Router(config)# interface port-channel 1/0/18

Selects an interface to configure.

Step 5 

storm-control {{broadcast | multicast} level level | action {shutdown | trap}}

Example:

Router(config-if)# storm-control broadcast level 50

Router(config-if)# storm-control action shutdown

Sets the broadcast and multicast suppression level for traffic storm control on the interface. Enables an action for traffic storm control the interface, such as, shuts down an interface or sends an SNMP trap. However, broadcast or multicast level suppression must be enabled before setting the action.

Note A suppression level of 100% means no suppression will occur and 0% suppression means no traffic of the suppressed type will be allowed.

The no form of the command disables storm control for broadcast or multicast traffic or disables the specified storm-control action, on the selected interface.

Note Unicast level traffic suppression is not supported on port channel interface.

Step 6 

end

Exits the configuration mode.

Step 7 

show interfaces type/slot/port counters storm-control

Example:

Router# show interfaces gigabitEthernet 4/1 counters storm-control

Displays the total number of packets (%) discarded for the three traffic storm control levels (broadcast, multicast and unicast) on the specified interface.

Displays the statistics for the TotalSuppDiscards counter. This counter increments whenever a traffic storm occurs.

For more information regarding the commands, see the following command reference guides:

Cisco IOS Interface and Hardware Component Command Reference

Cisco IOS Network Management Command Reference

Example

The following is a sample configuration for storm control on a Layer 2 port channel on the ES+ line card:

interface Port-channel22
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 storm-control broadcast level 0.01
 storm-control multicast level 0.01
 storm-control action shutdown
 storm-control action trap
interface GigabitEthernet2/13
 switchport
 switchport mode trunk
 storm-control broadcast level 0.01
 storm-control multicast level 0.01
 storm-control action shutdown
 storm-control action trap
 channel-group 22 mode on
interface GigabitEthernet2/21
 switchport
 switchport mode trunk
 storm-control broadcast level 0.01
 storm-control multicast level 0.01
 storm-control action shutdown
 storm-control action trap
 channel-group 22 mode on

Use the show interfaces interface counters storm-control command to display the total suppression percentage of packets for the broadcast, multicast and unicast storm control traffic on all interfaces or on a specified interface. The storm control shutdown on an interface depends on the `TotalSuppDiscards' counter (displayed in the example). This counter increments when a traffic storm occurs.

Router# show interfaces counters storm-control
Port         UcastSupp %     McastSupp %     BcastSupp %  TotalSuppDiscards
Gi1/1             100.00          100.00          100.00                  0
Gi1/2             100.00          100.00          100.00                  0
Gi1/3             100.00          100.00          100.00                  0
Gi1/4             100.00          100.00          100.00                  0
Gi1/5             100.00          100.00          100.00                  0
Gi1/6             100.00          100.00          100.00                  0
Gi1/7             100.00           20.00           20.00         2943374677
Gi1/8             100.00          100.00          100.00                  0
Gi1/9             100.00          100.00          100.00                  0
Gi1/10            100.00          100.00          100.00                  0
Gi1/11            100.00          100.00          100.00                  0
Gi1/12            100.00          100.00          100.00                  0
Gi1/13            100.00          100.00          100.00                  0
Gi1/14            100.00          100.00          100.00                  0
Gi1/15            100.00          100.00          100.00                  0
Gi1/16            100.00          100.00          100.00                  0
Gi1/17            100.00          100.00          100.00                  0
Gi1/18            100.00          100.00          100.00          434529474
Gi1/19            100.00          100.00          100.00                  0
Gi1/20            100.00          100.00          100.00                  0
Gi1/21            100.00          100.00          100.00                  0
Port         UcastSupp %     McastSupp %     BcastSupp %  TotalSuppDiscards
Gi1/22            100.00          100.00          100.00          499018427
Gi1/23            100.00          100.00          100.00                  0
Gi1/24            100.00          100.00          100.00                  0
Gi1/25            100.00          100.00          100.00                  0
Gi1/26            100.00          100.00          100.00                  0
Gi1/27            100.00          100.00          100.00                  0
Gi1/28            100.00          100.00          100.00                  0
Gi1/29            100.00          100.00          100.00                  0
Gi1/30            100.00          100.00          100.00                  0
Gi1/31            100.00          100.00          100.00                  0
Gi1/32            100.00          100.00          100.00                  0
Gi1/33            100.00          100.00          100.00                  0
Gi1/34            100.00          100.00          100.00                  0
Gi1/35            100.00          100.00          100.00                  0
Gi1/36            100.00          100.00          100.00                  0
Gi1/37            100.00          100.00          100.00                  0
Gi1/38            100.00          100.00          100.00                  0
Gi1/39            100.00          100.00          100.00                  0
Gi1/40            100.00          100.00          100.00                  0
Router#
Router# show interfaces gig1/18 counters storm-control
Port         UcastSupp %     McastSupp %     BcastSupp %  TotalSuppDiscards
Gi1/18            100.00          100.00          100.00          434529474

Verification

Use the following commands to verify operation.

Table 4-21 Commands for Displaying Traffic Storm Control Status and Configuration

Command
Purpose

Router# show interfaces [{type1  slot/port} | switchport]

Displays the administrative and operational status of all Layer 2 LAN ports or the specified Layer 2 LAN port.

Router# show interfaces [{type1 slot/port} | counters storm-control

Router# show interfaces counters storm-control [module slot_number]

Displays the total number of packets discarded for all three traffic storm control modes, on all interfaces or on the specified interface.

1 type = ethernet, fastethernet, gigabitethernet, or tengigabitethernet


Storm Control over EVC

Storm control prevents traffic on a LAN from being disrupted by a broadcast, a multicast, or a unicast storm on one of the physical interfaces. A LAN storm occurs when packets flood the LAN, creating excessive traffic, and degrading network performance.

Currently for ports where EVCs are configured, storm control can be configured per port. When you configure storm control on a port, policing is applied on all the traffic on that port. Each EVC in a port represents different types of customers such as different businesses or business and individuals on the same port. When a traffic storm occurs, all traffic on the port is blocked impacting customers on all the EVCs . To prevent this, service providers need to combine similar types of customers on the same port.

Effective with Cisco IOS 15.2(2)S, storm control is supported on EVCs and policing can be applied at the EVC level. This feature enables service providers to combine different type of customers on the same port.

Restrictions for Storm Control over EVC

Following restrictions apply to storm control over EVC:

Storm control over EVC can be configured on connect, cross connect and bridge-domain interfaces.

Storm control is supported on port channel EVCs.

Storm control over EVC can be configured only for broadcast or multicast packets, not for unicast packets.

If storm control is already configured at the port level, you cannot configure storm control over EVC and vice versa.

When an EVC moves to the error-disable state, auto-recovery can be configured for storm-control after a certain pre-determined interval.

Storm control over EVC is supported only on the Cisco 7600 ES+ line card.

SNMP trap is not supported.

If storm control is enabled on a port channel EVC, the configuration is applied per network processor (NP).

Only 256 policer profiles are supported per network processor.

QoS and storm-control share the same hardware policer resources.

Configuring Storm Control over EVC

Perform these steps to configure storm control over EVC feature.

Summary Steps

1. enable

2. configure terminal

3. interface type number

or

interface port-channel number

4. service instance id ethernet

5. encapsulation dot1q vlan-id

6. storm control {{broadcast | multicast} cir cir| action shutdown}

7. bridge-domain bridge-id

8. end

Detailed Steps

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode. If prompted, enter your password.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface gigabitethernet slot/port

or

interface tengigabitethernet slot/port

or

interface port-channel number

Example:

Router(config)# interface gigabitethernet 4/1

Specifies the gigabit ethernet or the ten gigabit ethernet interface, or port channel to configure.

slot/port—Specifies the location of the interface.

number— Specifies the port channel interface.

Step 4 

service instance id Ethernet [service-name}

Example:

Router(config-if)# service instance 101 ethernet

Creates a service instance (an instantiation of an EVC) on the interface.

Step 5 

encapsulation dot1q vlan-id

Example:

Router(config-if-srv)# encapsulation dot1q 100

Defines the matching criteria to be used in order to map ingress dot1q frames on an interface to the appropriate service instance.

Step 6 

bridge-domain bridge-id

Example:

Router(config-subif)# bridge-domain 12

Binds the service instance to a bridge domain instance where bridge-id is the identifier.

Step 7 

storm-control {{broadcast | multicast} cir cir-value | action shutdown }

Example:

Router(config-if)# storm-control broadcast cir 11000000

Sets the storm control rate for broadcast or multicast. Enables an action for traffic storm control on the interface, such as, shutting down an interface.

cir-value - The acceptable range is 10000000 -1000000000 for a gigabit ethernet interface, and 100000000-10000000000 for a ten gigabit interface. The recommended maximum value is up to 98 percent.

Step 8 

end

Example:

Router(config-if)# end

Exits the configuration mode.


Note When the ingress packets exceed the configured rate, the EVC moves to error-disable state if the action is configured as shutdown. You can configure the EVC to move to up state after a certain interval using errdisable recovery casue storm-control interval command. The accepted interval varies from 30 to 86400 seconds.


Examples

This example shows how to configure storm control over an EVC.

Router# enable
Router# configure terminal
Router(config)# interface GigabitEthernet 1/1
Router(config-if)# service instance 1 ethernet
Router(config-if-srv)# encapsulation dot1q 100
Router(config-if-srv)# bridge-domain 200

Router(config-if-srv)# storm-control broadcast cir 11000000

Router(config-if)# end

This example shows how to configure storm control over a port channel EVC.

Router# enable
Router# configure terminal
Router(config)# interface port-channel 1
Router(config-if)# service instance 1 ethernet
Router(config-if-srv)# encapsulation dot1q 200
Router(config-if-srv)# bridge-domain 100

Router(config-if-srv)# storm-control multicast cir 11000000

Router(config-if)# end

Verification

Use the show ethernet service instance id id interface type slot/port stats command to verify the storm control over EVC configuration.

Router# show ethernet service instance id  1204 interface gigabit ethernet 2/7 stats
Port maximum number of service instances: 8000
Service Instance 1204, Interface GigabitEthernet2/7
  Pkts In   Bytes In   Pkts Out  Bytes Out
  2262238  452447600     150570   30114000

StormControl Discard Pkts: 1809909

Asymmetric Carrier-Delay

During redundant link deployments where the remote network element is enabled, a link or port may be displayed as up before the port or link is ready to forward data. This anomaly leads to traffic loss during switchover as up events are notified faster than the required routing protocol convergence time. With existing conventional carrier delay, both up and down events are notified within equal time that might not be feasible in certain network deployments. Asymmetric carrier-delays ensure stable topologies compared to conventional carrier-delay implementation.

Table 4-22 lists the differences between the conventional carrier-delay and asymmetric carrier-delay implementations.

Table 4-22

Conventional carrier-delay implementation
Asymmetric carrier-delay implementation

You can configure carrier-delay on a main physical interface.

You can configure asymmetric carrier-delay on a main physical interface.

The default value for configuring symmetric carrier delay is 10 milliseconds.

The default values for configuring asymmetric carrier-delay is as follows:

For ES+ GE linecards:

up time is 300 milliseconds.

down time is 10 milliseconds.

For ES+ 10 GE linecards:

up time is 1000 milliseconds.

down time is 10 milliseconds.

You can configure a single delay value used by both up and down events.

You can configure separate delay values for each down and up timers.

Traffic losses and timer optimization issues due to single configurable delay values for both up and down events.

Optimal timer configurations are achieved due to separate for timer values for up and down events.


Conventional Carrier-delay versus Asymmetric Carrier-delay

Restrictions and Usage Guidelines

The minimum valid carrier-delay down time that user can configure is 11 milliseconds for Gigabit ports. By default, carrier-delay is configured to 10 milliseconds during a card bootup. However, even if you configure a value less than 11 milliseconds , there will not be any impact on the carrier delay.

As the fast link feature and carrier-delay features are mutually exclusive, fast link feature is enabled by default.

If you configure carrier-delay values, fast link feature is disabled on a line card.

Though the fast link feature is configured by default in the card, the carrier-delay feature overwrites the fast link feature when configured.

If you have not configured the carrier-delay values, fast link feature values are utilized for down event notification.


Note If you are using Cisco IOS release version 12.2(33) SRE or prior versions and asymmetric carrier delay is configured on the interface, the show running-config command may display carrier-delay msec 0. This issue is fixed in Cisco IOS 15.0(1)S and further releases.


Configuring Asymmetric Carrier Delay

Perform these steps to configure asymmetric carrier delay.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface type/ slot/port

4. carrier-delay [{up | down} [seconds]{msec| sec}]

5. end

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

enable

Example:

Router> enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface type/ slot/port

Example:

Router(config)# interface gigabit ethernet 8/0/14

Selects the main interface to configure.

Step 4 

carrier-delay [{up | down} [seconds]{msec| sec}]

Example:

Router(config-if)# carrier-delay up 300

Router(config-if)# carrier-delay down 10

Configures the asymmetric carrier-delay up or down value in milliseconds or seconds.

Step 5 

end

Router(config-if)# end

Exits the configuration mode.

Verification

You can use the show run command to display the carrier-delay configurations on an ES+ physical interface. The first example shows asymmetric carrier-delay configuration and the second example shows symmetric carrier delay configuration.

Router# show running-config interface GigabitEthernet 8/0/4
Building configuration...
Current configuration:
!
interface GigabitEthernet8/0/4 
no ip address
carrier-delay up 300
carrier-delay down 10
shutdown
Router# show running-config interface GigabitEthernet 2/0/1
Building configuration...
Current configuration:
!
interface GigabitEthernet2/0/1 
no ip address
carrier-delay msec 10
shutdown

Manual Load Balancing for EVC over Port-Channel/LACP

The Manual Load Balancing for EVC over Port-Channel/LACP feature allows the user to specify the primary and multiple backup preferred member links for the service instance. Whenever the primary member link is available (the interface is up and is part of the port-channel group), it is used as the egress interface for a given service instance. When the preferred member link is not available (the interface is down or not part of the port-channel group), a backup member link is used. If none of the backup links are available or the user has neither configured the primary or the backup links, the 7600 platform automatically selects an egress interface for the given service instance. In this case, the user has no control over the egress interface.

If primary and backup links are configured and if the primary interface goes down, one of the backup links is selected as the egress interface. At this stage, when the primary interface comes up, there is a switch back to the primary interface. The backup link is selected based on the order of the configured list of backup link IDs. The first backup link in the list is used if available, otherwise the next backup link in the list is used. This continues until an available backup link is found.

This feature only changes egress EFP traffic in the port-channel and does not affect the ingress traffic. In the case of bridge domain, ingress traffic may enter any port that has an EFP in the same bridge domain as the EFP in the port-channel. In the case of local switching (connect) and cross-connect (xconnect), ingress traffic is received at the EFP or port specified in the connect or cross-connect configuration. This feature coexists with current service instance feature support and supports the existing scale of 8000 service instance per processor (all 8000 service instances can be on one interface). This feature supports HA and SSO as well as OIR.

Restrictions and Usage Guidelines

When configuring Manual Load Balancing for EVC over Port-Channel/LACP, follow these guidelines and restrictions:

When the user configures a link ID for a port-channel member link and configures that member link as the preferred egress link for some service instances in that port-channel, there is redistribution of traffic. The redistribution is such that:

Service instances that were configured to be sent over the preferred egress member link is sent over the preferred member link. This is expected behavior.

Redistribution of traffic for which the user has not configured preferred member link happens. The way this redistribution happens is as follows:

For example, let's say there are 8 member links in the port-channel. The load share of the member links is allocated by the port manager as follows,

Member 1—Load share bit 0, Member 2—Load share bit 1,

Member 3—Load share bit 2, Member 4—Load share bit 3,

Member 5—Load share bit 4, Member 6—Load share bit 5,

Member 6—Load share bit 6, Member 7—Load share bit 7.

Now when the user configures Member 1 with link ID 2, the port manager code now allocates load share bit 2 to member 1. So, the new assignments are,

Member 1—Load share bit 2, Member 3—Load share bit 0 (The load share of other members remains the same.)

Consider the example where the platform has chosen an egress link that has the load share bit 2. Before the user has configured the link ID = 2 for Member 1, this EFP traffic has been sent over Member 3. After the user configuration, since member 1 now has the load share bit = 2, this traffic is now be sent over member 1.

The reverse also happens; traffic that was going through member 1 before the user configuration now goes through member 3.

Configuring Manual Load Balancing for EVC over Port-Channel/LACP

This section describes how to configure manual load balancing for EVC over Port-Channel/LACP.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface gigabitethernet slot/port or interface tengigabitethernet slot/port

4. channel-group channel-group-number mode {active | on | passive} link id

5. exit

6. interface port-channel number

7. [no] service instance id {Ethernet [service-name]}

8. encapsulation dot1q vlan-id [second-dot1q vlan-id]

9. exit

10. exit

11. interface port-channel number

12. [no] port-channel load-balance link ID

13. [no] backup link ID_list

14. [no] service-instance service_instance_list

15. [no] group service_group_list

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface gigabitethernet slot/port

or

interface tengigabitethernet slot/port

Example:

Router(config)# interface gigabitethernet 4/1

Specifies the Gigabit Ethernet or the Ten Gigabit Ethernet interface to configure, where:

slot/port—Specifies the location of the interface.

Step 4 

channel-group channel-group-number mode {active | on | passive} link id

Example:

Router(config-if)# channel-group 2 mode on link 3

Assigns and configures an EtherChannel interface to an EtherChannel group.

Step 5 

exit

Example:

Router(config-if)# exit

Exits the current configuration mode.

Step 6 

interface port-channel number

Example:

Router(config)# interface port-channel 11

Creates the port-channel interface.

Step 7 

[no] service instance id {Ethernet [service-name]}

Example:

Router(config-if)# service instance 101 ethernet

Creates a service instance (an instantiation of a service instance) on an interface and sets the device into the config-if-srv submode.

Step 8 

encapsulation dot1q vlan-id [second-dot1q vlan-id]

Example:

Router(config-if-srv)# encapsulation dot1q 10

Defines the matching criteria to be used in order to map ingress dot1q frames on an interface to the appropriate service instance.

Step 9 

exit

Example:

Router(config-if-srv)# exit

Exits the current configuration mode.

Step 10 

exit

Example:

Router(config-if)# exit

Exits the current configuration mode.

Step 11 

interface port-channel number

Example:

Router(config)# interface port-channel 11

Creates the port-channel interface.

Step 12 

[no] port-channel load-balance link ID

Example:

Router(config-if)# port-channel load-balance link 3

Configures the specified member link interfaces for load-balancing the port-channel's egress traffic and enters the load-balancing configuration submode.

Step 13 

[no] backup link ID_list

Example:

Router(config-if-lb)# backup link 7

Configures a list of member links to use as backup for the primary load-balancing member link.

You can create multiple backup links using the backup link command. The backup links are used in order of configuration if a Port-channel member is down. A default platform algorithm is used to find the backup links if all the configured backup links are down.

Step 14 

[no] service-instance service_instance_list

Example:

Router(config-if-lb)# service-instance 10

Defines the set of service Ethernet instances whose traffic should egress over the member link identified by configuration in Step 12.

Step 15 

[no] group service_group_list

Example:

Router(config-if-lb)# group 10

Defines the Ethernet service groups that will be load-balanced over an interface.

Example

The following example shows four member links across two different channel-groups:

Router(config)# interface Gi0/1
Router(config-if)# channel-group 1 mode on link 3
Router(config)# interface Gi0/2
Router(config-if)# channel-group 1 mode on link 4
Router(config)# interface Gi0/3
Router(config-if)# channel-group 2 mode on link 3
Router(config)# interface Gi0/4
Router(config-if)# channel-group 2 mode on link 7
Router(config)# interface Port-channel1
Router(config-if)# service instance 10 ethernet
Router(config-if-srv)# encapsulation dot1Q 10
Router(config-if-srv)# service instance 20 ethernet
Router(config-if-srv)# encapsulation dot1Q 20
Router(config-if-srv)# service instance 60 ethernet
Router(config-if-srv)# group 10
Router(config-if-srv)# service instance 70 ethernet
Router(config-if-srv)# group 10

Additional service instance definitions follow:

Router(config-if)# port-channel load-balance link 3
Router(config-if-lb)# backup link 4
Router(config-if-lb)# service-instance 10,20-22
Router(config-if)# port-channel load-balance link 4
Router(config-if-lb)# service-instance 30-40
Router(config-if-lb)# group 10
Router(config)# interface Port-channel2
Router(config-if)# service instance 10 ethernet
Router(config-if-srv)# encapsulation dot1Q 10
Router(config-if)# port-channel load-balance link 3
Router(config-if-lb)# backup link 7
Router(config-if-lb)# service-instance 10

Verification

Use the following commands to verify operation.

Table 4-23 Commands for Displaying Traffic Storm Control Status and Configuration

Command
Purpose

Router# show ethernet service instance interface interface load-balance

Displays the current egress member-link assignments for service instances configured with port-channel load-balancing.

Router# show ethernet service instance id efp interface port-channel group detail

Displays detailed status for the specified service instance, including the egress member-link assignment, if any.


EVC Port Channel Per Flow Load Balancing

EVC port channel per flow load balancing is implemented to load balance traffic across member links of a port channel when EVCs are configured. If this type of load balancing is not configured, EVCs configured on a port channel are statically mapped to one of the active port-channel member links, which results in the outgoing traffic being limited to the bandwidth of the member link.

In a flow based load balancing on EVC port channel, different flows of traffic over an EVC interface are identified based on the data packet header. For example, the source and destination address of the data packet can be used to identify a flow. The various data traffic flows are then mapped to the different member links of a port channel. After the mapping is complete, the data traffic is transmitted through the assigned member link. The flow mapping is dynamic and changes when there is any change in the state of a member link to which a flow is assigned. The flow mappings can also change if member links are added or removed from the EVC interface. Multiple flows can be mapped to each member link.

Table 4-24 lists the ACL support for EVC port channel with per-flow load balancing.

Table 4-24 ACL Support for

ACL Type
Ingress Support
Egress Support

Layer 2

Yes

No

Layer 3 and Layer 4

Yes

Yes


Port Channel Per-flow Load Balancing

Ingress ACLs are internally configured on every member interface because the traffic can enter any of the member links. Therefore, the load balancing algorithm does not change the way the ingress ACLs behave.

When per-flow load balancing is configured on the port-channel, traffic for an EVC can exit from any of the member links. Therefore, with the per-flow load balancing feature enabled on the port channel, the egress ACL is internally configured on each of the member links in the egress direction. When the per-flow load balancing configuration is removed from the port-channel interface, the egress ACL information is internally removed from each active member link, and configured on the member selected by the load balancing algorithm.

Restrictions

Following restrictions apply for EVC port channel per flow load balancing:

When flow-based load balancing is configured, bandwidth of the port channel should be configured such that it is equal to the member link's port bandwidth. Use the bandwidth bandwidth_value command in the port-channel interface.

EVC port channel per flow load balancing is supported over connect and cross connect.

EVC port channel per flow load balancing is not supported over a bridge domain.

Flow based load balancing cannot co-exist with other load balancing schemes.

If you configure QoS on a EVC port channel, QoS policies are installed on each port channel member link with the same QoS configuration of the EVC port channel. For example, if you configure 1 Mbps bandwidth on a EVC port channel with four active member links, 1 Mbps is configured on each member link.

If EVCs within a port-channel interface are part of a service group with EVCs and sub interfaces configured, you cannot remove the flow-based load balancing configuration.

Configuring EVC Port Channel Per Flow Load Balancing

This section describes how to configure flow based load balancing on EVC port channel.

Summary Steps

1. enable

2. configure terminal

3. interface port-channel channel-number

4. port-channel load-balance flow-based

5. end

Detailed Steps

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode. Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface port-channel channel-number

Example:

Router(config)# interface port-channel 1

Creates the port-channel interface.

Step 4 

port-channel load-balance flow-based

Example:

Router(config-if)# port-channel load-balance flow-based

Configures the specified port-channel interface in flow based load-balancing mode.

Step 5 

end

Exits the configuration mode.

Example

This example shows configuring flow based load balancing on a port channel interface.

Router# enable
Router# configure terminal
Router(config)# interface Port-channel 1
Router(config-if)# bandwidth 1000000

Router(config-if)# port-channel load-balance flow-based

Router(config-if)# end

Verification

Use the show running-config interface port-channel channel-number command to verify the EVC port channel per flow load balancing configuration.

Router# enable
Router# configure terminal
Router(config)# interface Port-channel 2

Router(config-if)# port-channel load-balance flow-based

Router(config-if)# bandwidth 1000000

Router(config-if)# end

Router# show running-config interface Port-channel 2

Building configuration...

Current configuration : 113 bytes

!

interface Port-channel2

band width 1000000

no ip address

port-channel load-balance flow-based

end

Configuring Layer 3 and Layer 4 ACLs

This section describes how to configure Layer 3 and Layer 4 ACLs on an EVC port channel with per flow load balancing.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface port-channel channel-number

4. mtu bytes

5. no ip address

6. port-channel load-balance flow-based

7. service instance id ethernet [evc-name]

8. encapsulation dot1q vlan-id

9. ip access-group {access-list-name | access-list-number} {in | out}

10. xconnect peer-ip-address vc-id {encapsulation mpls}

11. end

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode. Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface port-channel channel-number

Example:

Router(config)# interface port-channel 4

Creates the port-channel interface.

Step 4 

mtu bytes

Example:

Router(config-if)# mtu 9216

Specifies the maximum transmission unit (MTU) size.

Step 5 

no ip address

Example:

Router(config-if)# no ip address

Disables IP adress processing.

Step 6 

port-channel load-balance flow-based

Example:

Router(config-if)# port-channel load-balance flow-based

Configures the specified port-channel interface in a flow based load-balancing mode.

Step 7 

service instance id ethernet [evc-name]

Example:

Router(config-if)#service instance 2 ethernet

Configures an ethernet service instance on an interface and enters ethernet service configuration mode.

Step 8 

encapsulation dot1q vlan-id

Example:

Router(config-if-srv)#encapsulation dot1q 2

Enables IEEE 802.1Q encapsulation of traffic on the specified subinterface in a VLAN.

Step 9 

ip access-group {access-list-name | access-list-number} {in | out}

Example:

Router(config-if-srv)#ip access-group acl3 out

Applies the IP access list to the interface.

Step 10 

xconnect peer-ip-address vc-id {encapsulation mpls}

Example:

Router(config-if-srv)#xconnect 2.2.2.2 2 encapsulation mpls

Binds an attachment circuit to a pseudowire.

Step 11 

end

Exits the service instance configuration mode.

Configuration Examples

This example shows how to configure Layer 3 and Layer 4 ACLs on an EVC port channel with per flow load balancing.

Router# enable
Router# configure terminal
Router(config)# interface port-channel 4
Router(config-if)# mtu 9216
Router(config-if)# no ip address
Router(config-if)# port-channel load-balance flow-based
Router(config-if)# service instance 2 ethernet 
Router(config-if-srv)# encapsulation dot1q 2 
Router(config-if-srv)# ip access-group acl3 out
Router(config-if-srv)# xconnect 2.2.2.2 2 encapsulation mpls
Router(config-if-srv)# end

Verification

Use the show ip access-lists access-list-name command to list the ACL configuration.

Router# show ip access-lists acl3
Extended IP access list acl3
    10 permit tcp any eq 1003 any eq 5003

Use the show ethernet service instance id id command to display information about ethernet customer service instances.

Router# show ethernet service instance id 3
interface port-channel 4 stats Port maximum number of service instances: 8000 Service 
Instance 3, Interface Port-channel4
   Pkts In   Bytes In   Pkts Out  Bytes Out
         0          0   14359328 1794916000
SACL permit out count: 14362672
SACL deny out count: 504376  

Multichassis Support for LACP

Configured at the edge of a provider's network, Multichassis Link Aggregation Control Protocol (MLACP) features performs the following actions:

Dual-homed devices (DHD) to provide network redundancy between two or more service provider networks.

Allows the LACP state machine and protocol to operate in a dual- homed mode.

Each switch is a point of attachments (PoA), where one PoA is active, and the other is a standby, and the active PoA executes the multichassis link aggregation group with a DHD. A virtual LACP peer on the PoA is created giving the impression that a DHD is connected to one node.

shows the placement of PoAs and DHDs in an MLACP configuration.

Figure 4-5 Placement of PoAs and DHDs in an MLACP Implementation

The status of the PoAs during traffic relay are:

The two PoAs form a redundancy group, and only one of the PoAs is active at any given time.

Only two PoAs form a redundancy group; however, you can configure a maximum of 50 redundancy groups connecting to other DHDs.

Active links exist only between a DHD and active PoAs. None of the links between the DHD and the standby PoA relay traffic other than Bridge Protocol Data Unit (BPDU)s.

The state of the etherchannel interface on a standby PoA is UP.

A switchover from an active PoA to a standby PoA occurs when there is a failure on the:

Uplink port on the DHD

Downlink port on an active PoA

Active PoA node

Active PoA uplinks

The default switchover mechanism uses dynamic port priority changes on the port channel and member link(s) to provide revertive mode and nonrevertive mode options. The default operation in a multi- chassis LACP is revertive.

Bruteforce is a switchover mechanism where the member link is in a err-disable state after a switchover. To recover the port channel and enable the member link on a new standby PoA, use the err disable recovery cause mlacp-minlink command in the global configuration mode.

Use the lacp max-bundle command on all the PoAs to operate in the PoA control and shared control modes. The max-bundle value argument should not be less than the total number of links in the Link Aggregation Group (LAG) that are connected to the PoA. Each PoA may be connected to the DHD with a different number of links for the LAG and, therefore, configured with a different value for the max-bundle value argument.


Note The lacp failover brute-force command cannot be used with a nonrevertive configuration.


Requirements and Restrictions

Follow these requirements and restrictions when configuring the MLACP feature in a ES40 line card:

Supported only on ES20 and ES40 line cards, all member links on a port-channel should be on same type of line card.

Cisco IOS Release 12.2(33)SRE supports service instances only on an MLACP port-channel.

A PoA may be active for one port-channel, and standby for a different port-channel.

The maximum number of port-channels supported on a PoA is 256.

In any LACP configuration, ensure that the numerical value of the system-priority of the virtual LACP instance on the PoAs is lower (higher priority) than that on the DHD for all control variants.

It is not recommended to configure different max bundle configurations on a PoA. For example, if DHD 1 to PoA has 4 links, PoA2 should also have 4 links.

Links can be successfully aggregated based on the following constraints:

Links should be from the same line card type.

QoS should be validated.

Port-channel hashing should be identical for two links.

Flowcontrol should match.

When Cisco 7600 routers are used to form a redundancy group within a PoA, the member links should adhere to the constraints listed in the previous paragraph. These constraints are not validated across PoAs and you should ensure that configuration between the two PoAs are identical.

Ensure that the etherchannel usage configuration is identical on the two PoAs.

The maximum bundle value on a PoA is 8.

A maximum of two PoAs in a redundancy group and 50 redundancy groups per node are supported.

Multiple Spanning Tree (MST) on an EVC is not supported on MLACP etherchannel ports.

Reverse Layer 2 Gateway Protocol (RL2GP) with MLACP is not supported.

DHD port-channel cannot use Spanning Tree Protocol (STP) or Resilient Ethernet Protocol (REP) or Reverse Layer 2 Gateway Protocol (RL2GP) as a redundancy option. DHD port-channel disables the STP enabled by default.

Subinterfaces on port-channels are not supported.

You can configure the channel-group command as active and configuring the channel-group command as passive is not supported.

As the lacp direct-loadswap command is not applicable on a PoA, member links on a PoA are not protected with links on the same PoA.

We do not recommend you to have different bundle configurations on a DHD. For example, if DHD 1 to PoA1 has four links, DHD 1 to PoA 2 should also have the same number of links.

Use the port-channel min-link command to configure each PoA with the minimum number of links. This maintains the LAG in an active state.

The lacp max-bundle command must be used on all the PoAs to operate in PoA control and shared control modes. The value of the max-bundle should not be less than the total number of interfaces in the LAG that are connected to the PoA.

If you use the lacp failover command with brute force, then after the switchover, the port-channel member link moves to a errdisabled state.By default, the interval is 300 seconds (tunable range is 30 seconds to 300 seconds).To recover the port-channel, use the errdisable recovery cause mlacp-minlink command. EVC with connect as forwarding function is not supported.

The lacp failover non-revertive and lacp failover brute-force commands are mutually exclusive within the same port-channel.

Connectivity Fault Management configuration on an MLACP port-channel is not permissible.

For best switchover performance, configure LACP fast-switchover in PoAs and DHDs.

You cannot use MLACP port-channel for IP forwarding.

You cannot configure REP on a MLACP port-channel.

Use the errdisable recovery cause mlacp-minlink command to auto-recover the port-channel after timer expiration.

The core interfaces in a VPLS core should be a ES20 or ES40 line card.

When switching to MLACP mode from P-MLACP mode, ensure that you:

Enable max bundle configuration to have MLACP active or standby.

Shutdown interface on both PoA to avoid any possible traffic loop.

The recommended configuration sequence is:

Configure interchassis group and MLACP commands.

Configure MLACP interchassis group and other port-channel commands.

Add member links.

SUMMARY STEPS

1. enable

2. configure terminal

3. redundancy

4. interchassis group {number}

5. monitor peer {BFD}

6. member IP {IP address}

7. mlacp node-id {number}

8. mlacp system-mac {IP address}

9. mlacp system-priority priority

10. backbone interface any interface

11. exit

12. interface port-channel {port-channel number}

13. lacp max-bundle {max-bundle value}

14. lacp failover { non-revertive| brute force }

15. mlacp interchassis group {group-id}

16. backbone int member

17. exit

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router> enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

redundancy

Example:

Router(config)# redundancy

Enters redundancy configuration mode.

Step 4 

interchassis group {number}

Example:

Router(configure-red)# interchassis group 400

Configures an interchassis group within the redundancy configuration mode and assigns a group number.

Step 5 

monitor peer {BFD}

Example:

Router(configure-red)#

Configures the BFD option to monitor the state of the peer. The default option is route-watch.

Step 6 

member ip {IP address}

Example:

Router(configure-red)# member ip 172.3.3.3

Configures the IP address of the mlacp peer member group.

Step 7 

mlacp node-id {number}

Example:

Router(config-r-ic)# mlacp node-id 5

Defines the node ID to be used in the LACP port-id field. Valid value range is 0 - 7, and the value should be different from the peer values.

Step 8 

mlacp system-mac {address}

Example:

Router(config-r-ic)# mlacp aaaa.aaaa.aaab

Defines and advertises the system MAC address value to the MLACP members of the redundancy group.

Step 9 

mlacp system-priority priority

Example:

Router(config-r-ic)# mlacp system-pri- ority 100

Defines the system priority advertised to the other MLACP members of the redundancy group. System priority values are from 1 to 65535, the default value being 32768. The assigned values should be lower than the DHD.

Step 10 

backbone interface any interface

Example:

Router(config-r-ic)# Router#

Defines the backbone interface for the MLACP configuration.

Step 11 

exit

Exits the redundancy mode.

Step 12 

interface port-channel {port-channel number}

Example:

Router# interface Port-channel1

To identify the PoA uplink failure, configure the port- channel interface or any physical interface.

Step 13 

lacp max-bundle {max-bundle value}

Example:

Router (config-int)# lacp max-bundle 4

Configures the max-bundle links that are connected to the PoA. The value of the max-bundle links argument should not be less than the total number of links in the LAG that are connected to the PoA.

Step 14 

lacp failover { non-revertive| brute force}

Example:

P19_C7609-S(config-if)#lacp failover ?

brute-force Brute force interface failover

non-revertive Non revertive interface failover

Sets the MLACP switchover to nonrevertive or brute force. Default value is revertive. If you configure brute force, a minimum link or last link failure for every MLACP failure occurs or the dynamic lag priority value is modified.

Step 15 

mlacp interchassis group {group-id}

Example:

Router(config-red)#interchassis group 230

Specifies that the port-channel is an MLACP port-channel. The group-id should match the configured redundancy group.

Step 16 

backbone int member

Example:

Router(config-r-ic)# mlacp 5

Sets the backbone interface member.

Step 17 

exit

Exits the port-channel interface mode.

Examples

The following is a configuration example for Virtual Private Wire Services (VPWS):

ACTIVE POA

redundancy
interchassis group 100
  monitor peer bfd
  member ip 172.3.3.3
  backbone interface GigabitEthernet2/3
  backbone interface GigabitEthernet2/4
  mlacp system-priority 200
  mlacp node-id 0
!
interface Port-channel1
 no ip address
 load-interval 30
 speed nonegotiate
 port-channel min-links 4
 lacp failover brute-force
 lacp fast-switchover
 lacp max-bundle 4
 mlacp lag-priority 28000
 mlacp interchassis group 100
 service instance 2 ethernet
  encapsulation dot1q 2
  rewrite ingress tag pop 1 symmetric
  xconnect 172.2.2.2 2 pw-class mlacp
   backup peer 172.4.4.4 2 pw-class mlacp
 !
pseudowire-class mlacp
 encapsulation mpls
 status peer topology dual-homed
mpls ldp graceful-restart
!
!
interface Loopback0
 ip address 172.1.1.1 255.255.255.255
!
interface GigabitEthernet2/3
 ip address 120.0.0.1 255.255.255.0
 carrier-delay msec 0
 mpls ip
 bfd interval 100 min_rx 100 multiplier 3
!
interface GigabitEthernet2/9
 no ip address
 speed 1000
 channel-group 1 mode active

Use the show lacp multi-chassis group command to display the interchassis redundancy group value and the operational LACP parameters.

MLACP-PE1# show lacp multi-chassis group 100
Interchassis Redundancy Group 100
Operational LACP Parameters:
RG State:     Synchronized
System-Id:    200.000a.f331.2680
ICCP Version: 0
Backbone Uplink Status: Connected
Local Configuration:
Node-id:   0
System-Id: 200.000a.f331.2680
Peer Information:
State:        Up
Node-id:      7
System-Id:    2000.0014.6a8b.c680
ICCP Version: 0
State Flags: Active            - A
             Standby           - S
             Down              - D
             AdminDown         - AD
             Standby Reverting - SR
             Unknown           - U
          
mLACP Channel-groups
Channel    State      Priority     Active Links   Inactive Links
 Group   Local/Peer  Local/Peer     Local/Peer      Local/Peer
   1        A/S     28000/32768        4/4             0/0

Use the show lacp multi-chassis portchannel command to display the interface port-channel value

channel group, LAG state, priority, inactive links peer configuration, and standby links.

MLACP-PE1# show lacp multi-chassis port-channel 1
Interface Port-channel1
Local Configuration:
Address: 000a.f331.2680
Channel Group: 1
State: Active
LAG State: Up
Priority: 28000
Inactive Links: 0
Total Active Links: 4   
           Bundled: 4   
          Selected: 4   
           Standby: 0   
        Unselected: 0   
Peer Configuration:
Interface: Port-channel1
Address: 0014.6a8b.c680
Channel Group: 1
State: Standby
LAG State: Up
Priority: 32768
Inactive Links: 0
Total Active Links: 4   
                           Bundled: 0   
          Selected: 0   
           Standby: 4   
        Unselected: 0   

Use the show mpls ldp iccp command to display the LDP session and ICCP state information.

MLACP-PE1# show mpls ldp iccp 
ICPM RGID Table
  iccp:
    rg_id: 100, peer addr: 172.3.3.3
    ldp_session 0x3, client_id 0
    iccp state: ICPM_ICCP_CONNECTED
    app type: MLACP
        app state: ICPM_APP_CONNECTED, ptcl ver: 0
ICPM RGID Table total ICCP sessions: 1
ICPM LDP Session Table
  iccp:
    rg_id: 100, peer addr: 172.3.3.3
    ldp_session 0x3, client_id 0
    iccp state: ICPM_ICCP_CONNECTED
    app type: MLACP
        app state: ICPM_APP_CONNECTED, ptcl ver: 0
ICPM LDP Session Table total ICCP sessions: 1

Use the show mpls l2transport command to display the local interface and session details, destination address, and status.

MLACP-PE1# show mpls l2transport vc 2 
Local intf     Local circuit              Dest address    VC ID      Status    
-------------  -------------------------- --------------- ---------- ----------
Po1            Eth VLAN 2                 172.2.2.2       2          UP        
Po1            Eth VLAN 2                 172.4.4.4       2          STANDBY   

Use the show etherchannel summary command to display the status and identity of the MLACP member links.

MLACP-PE1# show etherchannel summary
Flags:  D - down        P - bundled in port-channel
        I - stand-alone s - suspended
        H - Hot-standby (LACP only)
        R - Layer3      S - Layer2
        U - in use      f - failed to allocate aggregator
        M - not in use, minimum links not met
        u - unsuitable for bundling
        w - waiting to be aggregated
        d - default port
Number of channel-groups in use: 2
Number of aggregators:           2
Group  Port-channel  Protocol    Ports
------+-------------+-----------+-----------------------------------------------
1      Po1(RU)         LACP      Gi2/9(P)    Gi2/20(P)   Gi2/31(P)   
  

Use the show lacp internal command to display the device, port, and member- link information.

MLACP-PE1# show lacp internal 
Flags:  S - Device is requesting Slow LACPDUs 
        F - Device is requesting Fast LACPDUs
        A - Device is in Active mode       P - Device is in Passive mode     
Channel group 1
                            LACP port     Admin     Oper    Port        Port
Port      Flags   State     Priority      Key       Key     Number      State
Gi2/9     SA      bndl-act  28000         0x1       0x1     0x820A      0x3D  
Gi2/20    SA      bndl-act  28000         0x1       0x1     0x8215      0x3D  
Gi2/31    SA      bndl-act  28000         0x1       0x1     0x8220      0x3D  
Gi2/40    SA      bndl-act  28000         0x1       0x1     0x8229      0x3D  
Peer (MLACP-PE3) mLACP member links
Gi3/11    FA      hot-sby   32768         0x1       0x1     0xF30C      0x5   
Gi3/21    FA      hot-sby   32768         0x1       0x1     0xF316      0x5   
Gi3/32    FA      hot-sby   32768         0x1       0x1     0xF321      0x7   
Gi3/2     FA      hot-sby   32768         0x1       0x1     0xF303      0x7   

POA2

redundancy
 interchassis group 100
  monitor peer bfd
  member ip 172.1.1.1
  backbone interface GigabitEthernet3/3
  backbone interface GigabitEthernet3/5
  mlacp system-priority 2000
  mlacp node-id 7
!
interface Port-channel1
 no ip address
 load-interval 30
 speed nonegotiate
 port-channel min-links 4
 lacp failover brute-force
 lacp fast-switchover
 lacp max-bundle 4
 mlacp interchassis group 100
 service instance 2 ethernet
  encapsulation dot1q 2
  rewrite ingress tag pop 1 symmetric
  xconnect 172.2.2.2 2 pw-class mlacp
   backup peer 172.4.4.4 2 pw-class mlacp
!
pseudowire-class mlacp
 encapsulation mpls
 status peer topology dual-homed
 
mpls ldp graceful-restart
!
!
interface Loopback0
 ip address 172.3.3.3 255.255.255.255
!
interface GigabitEthernet3/2
 channel-group 1 mode active
!
interface GigabitEthernet3/3
 ip address 123.0.0.2 255.255.255.0
 mpls ip
 mpls label protocol ldp
 bfd interval 100 min_rx 100 multiplier 3
!

Use the show lacp multi-chassis group command to display the LACP parameters, local configuration, status of the backbone uplink, peer information, node ID, channel, state, priority active, and inactive links.

MLACP-PE3# show lacp multi-chassis group 100
Interchassis Redundancy Group 100
Operational LACP Parameters:
RG State:     Synchronized
System-Id:    200.000a.f331.2680
ICCP Version: 0
Backbone Uplink Status: Connected
Local Configuration:
Node-id:   7
System-Id: 2000.0014.6a8b.c680
Peer Information:
State:        Up
Node-id:      0
System-Id:    200.000a.f331.2680
ICCP Version: 0
State Flags: Active            - A
             Standby           - S
             Down              - D
             AdminDown         - AD
             Standby Reverting - SR
             Unknown           - U
          
mLACP Channel-groups
Channel    State      Priority     Active Links   Inactive Links
 Group   Local/Peer  Local/Peer     Local/Peer      Local/Peer
   1        S/A     32768/28000        4/4             0/0

Use the show lacp multi-chassis portchannel command to display the interface port-channel value channel group, LAG state, priority, inactive links peer configuration, and standby links.

MLACP-PE3# show lacp multi-chassis port-channel 1
Interface Port-channel1
Local Configuration:
Address: 0014.6a8b.c680
Channel Group: 1
State: Standby
LAG State: Up
Priority: 32768
Inactive Links: 0
Total Active Links: 4   
           Bundled: 0   
          Selected: 0   
           Standby: 4   
        Unselected: 0   
Peer Configuration:
Interface: Port-channel1
Address: 000a.f331.2680
Channel Group: 1
State: Active
LAG State: Up
Priority: 28000
Inactive Links: 0
Total Active Links: 4   
                           Bundled: 4   
          Selected: 4   
           Standby: 0   
        Unselected: 0   

Use the show mpls ldp iccp command to display the LDP session and ICCP state information.

MLACP-PE3# show mpls ldp iccp 
ICPM RGID Table
  iccp:
    rg_id: 100, peer addr: 172.1.1.1
    ldp_session 0x2, client_id 0
    iccp state: ICPM_ICCP_CONNECTED
    app type: MLACP
        app state: ICPM_APP_CONNECTED, ptcl ver: 0
ICPM RGID Table total ICCP sessions: 1
ICPM LDP Session Table
  iccp:
    rg_id: 100, peer addr: 172.1.1.1
    ldp_session 0x2, client_id 0
    iccp state: ICPM_ICCP_CONNECTED
    app type: MLACP
        app state: ICPM_APP_CONNECTED, ptcl ver: 0
ICPM LDP Session Table total ICCP sessions: 1
MLACP-PE3# sh mpls l2transport vc 2
Local intf     Local circuit              Dest address    VC ID      Status    
-------------  -------------------------- --------------- ---------- ----------
Po1            Eth VLAN 2                 172.2.2.2       2          STANDBY   
Po1            Eth VLAN 2                 172.4.4.4       2          STANDBY   

Use the show etherchannel summary command to display the status and identity of the MLACP member links.

MLACP-PE3# show etherchannel summary 
Flags:  D - down        P - bundled in port-channel
        I - stand-alone s - suspended
        H - Hot-standby (LACP only)
        R - Layer3      S - Layer2
        U - in use      f - failed to allocate aggregator
        M - not in use, minimum links not met
        u - unsuitable for bundling
        w - waiting to be aggregated
        d - default port
Number of channel-groups in use: 2
Number of aggregators:           2
Group  Port-channel  Protocol    Ports
------+-------------+-----------+-----------------------------------------------
1      Po1(RU)         LACP      Gi3/2(P)    Gi3/11(P)   Gi3/21(P)   
                                 Gi3/32(P)   

Use the show lacp internal command to display the device, port, and member- link information.

MLACP-PE3# show lacp 1 internal 
Flags:  S - Device is requesting Slow LACPDUs 
        F - Device is requesting Fast LACPDUs
        A - Device is in Active mode       P - Device is in Passive mode     
Channel group 1
                            LACP port     Admin     Oper    Port        Port
Port      Flags   State     Priority      Key       Key     Number      State
Gi3/2     FA      bndl-sby  32768         0x1       0x1     0xF303      0x7   
Gi3/11    FA      bndl-sby  32768         0x1       0x1     0xF30C      0x5   
Gi3/21    FA      bndl-sby  32768         0x1       0x1     0xF316      0x5   
Gi3/32    FA      bndl-sby  32768         0x1       0x1     0xF321      0x7   
Peer (MLACP-PE1) mLACP member links
Gi2/20    SA      bndl      28000         0x1       0x1     0x8215      0x3D  
Gi2/31    SA      bndl      28000         0x1       0x1     0x8220      0x3D  
Gi2/40    SA      bndl      28000         0x1       0x1     0x8229      0x3D  
Gi2/9     SA      bndl      28000         0x1       0x1     0x820A      0x3D  
MLACP-PE3# 

The following is a configuration example for a Virtual Private Lan Service (VPLS):

Active POA

redundancy
interchassis group 100
  monitor peer bfd
  member ip 172.3.3.3
  backbone interface GigabitEthernet2/3
  backbone interface GigabitEthernet2/4
  mlacp system-priority 200
  mlacp node-id 0
!
interface Port-channel1
 no ip address
 speed nonegotiate
 port-channel min-links 2
 lacp fast-switchover
 lacp max-bundle 4
 mlacp lag-priority 28800
 mlacp interchassis group 100
 service instance 4000 ethernet
  encapsulation dot1q 4000
  rewrite ingress tag pop 1 symmetric
  bridge-domain 4000
!
l2 vfi VPLS manual 
 vpn id 4000
 neighbor 172.2.2.2 encapsulation mpls
 neighbor 172.4.4.4 encapsulation mpls
 status decoupled
!
interface Vlan4000
 xconnect vfi VPLS
!
mpls ldp graceful-restart
!
interface Loopback0
 ip address 172.1.1.1 255.255.255.255
!
interface GigabitEthernet2/3
 ip address 120.0.0.1 255.255.255.0
 carrier-delay 0
 mpls ip
 bfd interval 100 min_rx 100 multiplier 3
!
interface GigabitEthernet2/9
 channel-group 1 mode active
!

Use the show lacp mg command to display the LACP parameters, local configuration, status of the

backbone uplink, peer information, node ID, channel, state, priority active, and inactive links.

MLACP-PE1# show lacp multi-chassis group 100
Interchassis Redundancy Group 100
Operational LACP Parameters:
RG State:     Synchronized
System-Id:    200.000a.f331.2680
ICCP Version: 0
Backbone Uplink Status: Connected
Local Configuration:
Node-id:   0
System-Id: 200.000a.f331.2680
Peer Information:
State:        Up
Node-id:      7
System-Id:    2000.0014.6a8b.c680
ICCP Version: 0
State Flags: Active            - A
             Standby           - S
             Down              - D
             AdminDown         - AD
             Standby Reverting - SR
             Unknown           - U
mLACP Channel-groups
Channel    State      Priority     Active Links   Inactive Links
 Group   Local/Peer  Local/Peer     Local/Peer      Local/Peer
   1        A/S     28000/32768        4/4             0/0

Use the show lacp multi-chassis portchannel command to display the interface port-channel value

channel group, LAG state, priority, inactive links peer configuration, and standby links.

MLACP-PE1# show lacp multi-chassis port-channel 1
Interface Port-channel1
Local Configuration:
Address: 000a.f331.2680
Channel Group: 1
State: Active
LAG State: Up
Priority: 28000
Inactive Links: 0
Total Active Links: 4   
           Bundled: 4   
          Selected: 4   
           Standby: 0   
        Unselected: 0   
Peer Configuration:
Interface: Port-channel1
Address: 0014.6a8b.c680
Channel Group: 1
State: Standby
LAG State: Up
Priority: 32768
Inactive Links: 0
Total Active Links: 4   
                           Bundled: 0   
          Selected: 0   
           Standby: 4   
        Unselected: 0   

Use the show mpls ldp iccp command to display the LDP session and ICCP state information.

MLACP-PE1# show mpls ldp iccp 
ICPM RGID Table
  iccp:
    rg_id: 100, peer addr: 172.3.3.3
    ldp_session 0x3, client_id 0
    iccp state: ICPM_ICCP_CONNECTED
    app type: MLACP
        app state: ICPM_APP_CONNECTED, ptcl ver: 0
ICPM RGID Table total ICCP sessions: 1
ICPM LDP Session Table
  iccp:
    rg_id: 100, peer addr: 172.3.3.3
    ldp_session 0x3, client_id 0
    iccp state: ICPM_ICCP_CONNECTED
    app type: MLACP
        app state: ICPM_APP_CONNECTED, ptcl ver: 0
ICPM LDP Session Table total ICCP sessions: 1

Use the show mpls l2transport command to display the local interface and session details, destination address, and the status.

MLACP-PE1# show mpls l2transport vc 4000
Local intf     Local circuit              Dest address    VC ID      Status    
-------------  -------------------------- --------------- ---------- ----------
VFI VPLS       VFI                        172.2.2.2       4000       UP     
VFI VPLS       VFI			  172.4.4.4	  4000	     UP

Use the show etherchannel summary command to display the status and identity of the MLACP member links.

MLACP-PE1# show etherchannel summary
Flags:  D - down        P - bundled in port-channel
        I - stand-alone s - suspended
        H - Hot-standby (LACP only)
        R - Layer3      S - Layer2
        U - in use      f - failed to allocate aggregator
        M - not in use, minimum links not met
        u - unsuitable for bundling
        w - waiting to be aggregated
        d - default port
Number of channel-groups in use: 2
Number of aggregators:           2
Group  Port-channel  Protocol    Ports
------+-------------+-----------+-----------------------------------------------
1      Po1(RU)         LACP      Gi2/9(P)    Gi2/20(P)   Gi2/31(P)   
                                 Gi2/40(P) 

Use the show lacp internal command to display the device, port, and member-link information.

MLACP-PE1# show lacp internal 
Flags:  S - Device is requesting Slow LACPDUs 
        F - Device is requesting Fast LACPDUs
        A - Device is in Active mode       P - Device is in Passive mode     
Channel group 1
                            LACP port     Admin     Oper    Port        Port
Port      Flags   State     Priority      Key       Key     Number      State
Gi2/9     SA      bndl-act  28000         0x1       0x1     0x820A      0x3D  
Gi2/20    SA      bndl-act  28000         0x1       0x1     0x8215      0x3D  
Gi2/31    SA      bndl-act  28000         0x1       0x1     0x8220      0x3D  
Gi2/40    SA      bndl-act  28000         0x1       0x1     0x8229      0x3D  
Peer (MLACP-PE3) mLACP member links
Gi3/11    FA      hot-sby   32768         0x1       0x1     0xF30C      0x5   
Gi3/21    FA      hot-sby   32768         0x1       0x1     0xF316      0x5   
Gi3/32    FA      hot-sby   32768         0x1       0x1     0xF321      0x7   
Gi3/2     FA      hot-sby   32768         0x1       0x1     0xF303      0x7   

Configuration example on a standby PoA:

redundancy
 interchassis group 100
  monitor peer bfd
  member ip 172.1.1.1
  backbone interface GigabitEthernet3/3
  backbone interface GigabitEthernet3/5
  mlacp system-priority 2000
  mlacp node-id 7
!
interface Port-channel1
 no ip address
 speed nonegotiate
 port-channel min-links 2
 lacp fast-switchover
 lacp max-bundle 4
 mlacp lag-priority 28800
 mlacp interchassis group 100
 service instance 4000 ethernet
  encapsulation dot1q 4000
  rewrite ingress tag pop 1 symmetric
  bridge-domain 4000
!
l2 vfi VPLS manual 
 vpn id 4000
 neighbor 172.2.2.2 encapsulation mpls
 neighbor 172.4.4.4 encapsulation mpls
 status decoupled
!
interface Vlan4000
 xconnect vfi VPLS
!
mpls ldp graceful-restart
!
!
interface Loopback0
 ip address 172.3.3.3 255.255.255.255
!
interface GigabitEthernet3/2
 channel-group 1 mode active
!
interface GigabitEthernet3/3
 ip address 123.0.0.2 255.255.255.0
 mpls ip
 mpls label protocol ldp
 bfd interval 100 min_rx 100 multiplier 3
!

Use the show lacp multi-chassis group interchassis group number command to display the LACP parameters, local configuration, status of the backbone uplink, peer information, nodeID, channel, state, priority, active, and inactive links.

MLACP-PE3# show lacp multi-chassis group 100
Interchassis Redundancy Group 100
Operational LACP Parameters:
RG State:     Synchronized
System-Id:    200.000a.f331.2680
ICCP Version: 0
Backbone Uplink Status: Connected
Local Configuration:
Node-id:   7
System-Id: 2000.0014.6a8b.c680
Peer Information:
State:        Up
Node-id:      0
System-Id:    200.000a.f331.2680
ICCP Version: 0
State Flags: Active            - A
             Standby           - S
             Down              - D
             AdminDown         - AD
             Standby Reverting - SR
             Unknown           - U
mLACP Channel-groups
Channel    State      Priority     Active Links   Inactive Links
 Group   Local/Peer  Local/Peer     Local/Peer      Local/Peer
   1        S/A     32768/28000        4/4             0/0

Use the show lacp multi-chassis portchannel command to display the interface port-channel value

channel group, LAG state, priority, inactive links peer configuration, and standby links.

MLACP-PE3# show lacp multi-chassis port-channel 1
Interface Port-channel1
Local Configuration:
Address: 0014.6a8b.c680
Channel Group: 1
State: Standby
LAG State: Up
Priority: 32768
Inactive Links: 0
Total Active Links: 4   
           Bundled: 0   
          Selected: 0   
           Standby: 4   
        Unselected: 0   
Peer Configuration:
Interface: Port-channel1
Address: 000a.f331.2680
Channel Group: 1
State: Active
LAG State: Up
Priority: 28000
Inactive Links: 0
Total Active Links: 4   
                           Bundled: 4   
          Selected: 4   
           Standby: 0   
        Unselected: 0   
MLACP-PE3# show mpls ldp iccp 
ICPM RGID Table
  iccp:
    rg_id: 100, peer addr: 172.1.1.1
    ldp_session 0x2, client_id 0
    iccp state: ICPM_ICCP_CONNECTED
    app type: MLACP
        app state: ICPM_APP_CONNECTED, ptcl ver: 0
ICPM RGID Table total ICCP sessions: 1
ICPM LDP Session Table
  iccp:
    rg_id: 100, peer addr: 172.1.1.1
    ldp_session 0x2, client_id 0
    iccp state: ICPM_ICCP_CONNECTED
    app type: MLACP
        app state: ICPM_APP_CONNECTED, ptcl ver: 0
ICPM LDP Session Table total ICCP sessions: 1
MLACP-PE3# sh mpls l2transport vc 2
Local intf     Local circuit              Dest address    VC ID      Status    
-------------  -------------------------- --------------- ---------- ----------
VFI VPLS       VFI                        172.2.2.2       4000       UP     
VFI VPLS       VFI			  172.4.4.4	  4000	     UP

Use the show etherchannel summary command to display the status and identity of the MLACP member

links.

MLACP-PE3#show etherchannel summary 
Flags:  D - down        P - bundled in port-channel
        I - stand-alone s - suspended
        H - Hot-standby (LACP only)
        R - Layer3      S - Layer2
        U - in use      f - failed to allocate aggregator
        M - not in use, minimum links not met
        u - unsuitable for bundling
        w - waiting to be aggregated
        d - default port
Number of channel-groups in use: 2
Number of aggregators:           2
Group  Port-channel  Protocol    Ports
------+-------------+-----------+-----------------------------------------------
1      Po1(RU)         LACP      Gi3/2(P)    Gi3/11(P)   Gi3/21(P)   
                                 Gi3/32(P)   

Use the show lacp internal command to display the device, port, and member- link information.

MLACP-PE3# show lacp 1 internal 
Flags:  S - Device is requesting Slow LACPDUs 
        F - Device is requesting Fast LACPDUs
        A - Device is in Active mode       P - Device is in Passive mode     
Channel group 1
                            LACP port     Admin     Oper    Port        Port
Port      Flags   State     Priority      Key       Key     Number      State
Gi3/2     FA      bndl-sby  32768         0x1       0x1     0xF303      0x7   
Gi3/11    FA      bndl-sby  32768         0x1       0x1     0xF30C      0x5   
Gi3/21    FA      bndl-sby  32768         0x1       0x1     0xF316      0x5   
Gi3/32    FA      bndl-sby  32768         0x1       0x1     0xF321      0x7   
Peer (MLACP-PE1) mLACP member links
Gi2/20    SA      bndl      28000         0x1       0x1     0x8215      0x3D  
Gi2/31    SA      bndl      28000         0x1       0x1     0x8220      0x3D  
Gi2/40    SA      bndl      28000         0x1       0x1     0x8229      0x3D  
Gi2/9     SA      bndl      28000         0x1       0x1     0x820A      0x3D  
MLACP-PE3# 

Pseudo MLACP Support on Cisco 7600

In dual homing, a device is connected to the network using two independent access points or points of attachments (POAs). One POA is the primary connection and the other is a standby connection that is activated in the event of a failure of the primary connection. The Multi-chassis Link Aggregation Protocol (MLACP) solution is an active and standby Provider Edge (PE) redundancy mechanism. The Pseudo MLACP (PMLACP) feature introduced in Cisco IOS release 15.1(3)S, provides a flexible dual homing redundancy mechanism where both the connections are in the active mode (active-active mode). In PMLACP implementation, a PMLACP application is implemented on the PE router. Both the POA ports are placed in active mode with manual VLAN load balancing.

PMLACP provides higher bandwidth utilization than MLACP and other active and standby link level schemes. PMLACP provides VLAN based redundancy by allowing you to configure one primary and one secondary interface pair for each member VLAN. The POAs determine which POA is active and standby for each VLAN on a Multi-Chassis Link Aggregation (MLAG) and only the active POA forwards frames for the respective VLAN. Additionally PMLACP allows maximum flexibility for the PE-CE inter operability in terms of dual-homing redundancy and failover recovery.

Figure 4-6 explains the PMLACP implementation with manual VLAN load-balancing configuration.

Figure 4-6 PMLACP Implementation

In the illustration, POA ports are configured for a PMLACP role, and ports are configured in active-active mode with manual VLAN load-balancing. The POAs are configured to allow certain VLANs on one of their downlinks but not the other VLANs. The POA activates its uplinks for locally active VLANs. DHD is configured to enable all VLANs on both its uplinks. Traffic from DHD is initially flooded on both uplinks until DHD learns which uplink is active for which VLANs.

Failover Operations

The PMLACP feature provides network resiliency by protecting against port, link, and node failures.

Figure 4-7 explains the failure points in a network.

Figure 4-7

PMLACP Failover Protection

These failures can be categorized into five types.

A—Failure of the uplink port on the DHD

B—Failure of the ethernet link

C—Failure of the downlink port on the POA

D—Failure of the POA node

E—Failure of the active POA uplinks

The failover operations are triggered by three different events.

Access side link or port failure (failure types A- C): PMLACP on the failing POA initiates a failover to the peer for any VLANs that were active on the failed link or links. This failover is initiated by sending an MLACP port state Type Length Value (TLV) message, indicating that the port state is down.

Node failure (failure type D): PMLACP on the surviving POA receives a node failure notification and initiates a failover of all VLANs in standby mode on all shared MLAGs.

POA uplink failure (failure type E): The failing POA sends a message to the peer about the core isolation using the MLACP system state TLV, indicating that the POA is isolated. It will then place all VLANs in the blocking mode.

All the three failover events involve the peer POA receiving a notification of the failure. At this point the receiving standby POA completes the following steps:

1. Unblocks any of the affected VLANs which were in standby or blocked mode.

2. Sends a MAC flush message to the access side network device through a Multiple VLAN Registration Protocol (MVRP) message. This message reflects all the VLANs which are being activated only for the associated interface. When DHD receives the MVRP message, DHD responds by flushing the MAC address tables for those VLANs.

3. Triggers the core network edge MAC flushing.

Failure Recovery

PMLACP uses revertive mode after a failure recovery to support the active-active model. The reversal process is also similar to the failover process. The standby POA initates the reversal for each VLAN by indicating that the POA is relinquishing its active role for the VLAN. This is done though an ICCP PLACP interface state TLV message, which indicates that it is no longer in active mode for the affected VLANs. Upon TLV receipt, the recovering POA unblocks the affected VLANs and triggers the MAC flushes towards access side and core side.

Revertive mode is enabled by default. If you want to choose when to trigger reversion after the failover recovery, you can configure non revertive mode. The non revertive mode is enabled by configuring the command lacp failover non-revertive under port channel.

Restrictions for PMLACP on Cisco 7600

Follow this restrictions and usage guidelines while configuring PMLACP.

PMLACP is supported on ES+ and ES 20 line cards.

PMLACP is supported on SUP 720 and RSP 720.

PMLACP configuration on a port channel supports only service instances.

If PMLACP is enabled on a port channel, Resilient Ethernet Protocol (REP), Spanning Tree Protocol (STP), Link Aggregation Control Protocol (LACP), VLAN Trunking Protocol (VTP), or other layer 2 control protocols are not supported.

The ethernet VLAN color blocking needs to be configured on all VLANs under the port channel if it has EVC xconnect or MTP configured on it. Use the ethernet vlan color-block vlan all command for configuring it.

Both POAs must contain the same configuration of manual-load balance VLAN list and LAG.

The bridge-domain that is configured under a PMLACP port channel EVC should not be part of any other non PMLACP interfaces.

Only one port channel of MLACP or PMLACP type is supported on a single redundancy group (RG). There can be one MLACP port channel and another PMLACP port channel on a single RG, but not two port channels of the same type.

Active VLAN list configuration needs to be the same on both POAs.

The port-channel configuration on both POAs must be the same, but port-channel members need not be the same.

The recommended configuration sequence for PMLACP is:

Configure interchassis group and PMLACP commands.

Configure MLACP interchassis group and other port channel commands.

Add member links.

Configuring PMLACP on Cisco 7600

Complete the following steps to configure PMLACP on the Cisco 7600 router.

SUMMARY STEPS

1. enable

2. configure terminal

3. pseudowire-class pw-class-name

4. encapsulation mpls

5. status peer topology dual-homed

6. exit

7. l2 vfi name manual

8. vpn id vpn-id

9. neighbor remote-id encapsulation mpls

10. exit

11. redundancy

12. interchassis group number

13. monitor peer bfd

14. member IP IP-address

15. mlacp node-id number

16. mlacp system-priority priority

17. backbone interface interface

18. exit

19. interface port-channel port-channel number

20. no ip address

21. mlacp interchassis group group-id

22. mlacp mode active-active

23. mlacp load-balance primary vlan range

24. mlacp load-balance secondary vlan range

25. ethernet vlan color-block all

26. service instance id ethernet

27. encapsulation dot1q vlan id

28. rewrite ingress tag pop {1 | 2} symmetric

29. xconnect peer-id vc-id pw-class pw-class-name

or

brige-domain bridge-domain-id

30. backup peer peer-id vc-id pw-class pw-class-name

31. exit

32. interface vlan bridge-domain-id

33. xconnect vfi vfi-name

34. end

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router> enable

Enables privileged EXEC mode, and if prompted enter your password.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

pseudowire-class pw-class-name

Example:

Router(config)# pseudowire-class vpws

Specifies the name of a pseudowire class and enters pseudowire class configuration mode.

Step 4 

encapsulation mpls

Example:

Router(config-pw-class)# encapsulation mpls

Specifies that MPLS is used as the data encapsulation method for tunneling Layer 2 traffic over the pseudowire.

Step 5 

status peer topology dual-homed

Example:

Router(config-pw-class)# status peer topology dual-homed

Enables the reflection of the attachment circuit status on both the primary and secondary pseudowires. This configuration is necessary if the peer PEs are connected to a dual-homed device.

Step 6 

exit

Example:

Router(config-pw-class)# Router#

Exits pseudowire class configuration mode.

Step 7 

l2 vfi name manual

Example:

Router(config)# l2 vfi vpls manual

Creates a named Layer 2 Virtual Forwarding Instance (VFI) and enables the Layer 2 VFI manual configuration mode.

Note Perform steps 7 to 10 only if you are configuring PMLACP over VPLS. Else go to step 11.

Step 8 

vpn id vpn-id

Example:

Router(config-vfi)# vpn id 17

Configures a VPN ID for the VPLS domain.

Step 9 

neighbor remote-id encapsulation mpls

Example:

Router(config-vfi)# neighbor 1.5.1.1 encapsulation mpls

Specifies the remote peering router ID, which is the IP address of the router, and the tunnel encapsulation type for the emulated VC.

Step 10 

exit

Example:

Router(config-vfi)# exit

Exits the L2 VFI manual configuration mode.

Step 11 

redundancy

Example:

Router(config)# redundancy

Enters redundancy configuration mode.

Step 12 

interchassis group number

Example:

Router(configure-red)# interchassis group 100

Configures an interchassis group within the redundancy configuration mode and assigns a group number.

Step 13 

monitor peer bfd

Example:

Router(configure-r-ic)# monitor peer bfd

Configures the BFD option to monitor the state of the peer.

Note The monitor peer bfd command is optional. If this command is not specified, the default option is route-watch.

Step 14 

member ip IP-address

Example:

Router(configure-r-ic)# member ip 172.3.3.3

Configures the IP address of the MLACP peer member group.

Step 15 

mlacp node-id node-id

Example:

Router(config-r-ic)# mlacp node-id 5

Specifies the node ID to be used in the LACP port-id field.

node-id — Valid range is 0 - 7, and the value should be different from the peer values.

Step 16 

mlacp system-priority priority

Example:

Router(config-r-ic)# mlacp system-pri- ority 100

Specifies the system priority advertised to the other MLACP members of the redundancy group.

priority — Acceptable range is 1 to 65535. The default value is 32768. The assigned values should be lower than the DHD.

Step 17 

backbone interface interface

Example:

Router(config-r-ic)# Router(config)#

Specifies the backbone interface for the MLACP configuration.

Step 18 

exit

Example:

Router(config-r-ic)# Router(config-if)#

Exits the redundancy mode.

Step 19 

interface port-channel number

Example:

Router(config)# interface Port-channel 10

Specifies the port-channel interface.

Step 20 

no ip address

Example:

Router(config-if)# no ip address

Removes the IP address from the interface.

Step 21 

mlacp interchassis group group-id

Example:

Router(config-if)# mlacp interchassis group 100

Specifies that the port-channel is an MLACP port-channel. The group-id should match the configured redundancy group.

Step 22 

mlacp mode active-active

Example:

Router(config-if)# mlacp mode active-active

Specifies the MLACP mode as active-active.

Step 23 

mlacp load-balance primary vlan range

Example:

Router(config-if)# mlacp load-balance primary vlan 100-109

Specifies the primary VLAN range for manual load balancing.

range — Specifies the VLAN ID range. Values range from 1 to 4094.

Step 24 

mlacp load-balance secondary vlan range

Example:

Router(config-if)# mlacp load-balance secondary vlan 110-120

Specifies the secondary VLAN range for manual load balancing.

Step 25 

ethernet vlan color-block all

Example:

Router(config-if)# ethernet vlan color-block all

Blocks VLANs on EVCs with connect and cross-connect.

devices.

Note This configuration is required if EVC cross connect or MTP is used on the PMLACP port channel.

Step 26 

service instance id ethernet

Example:

Router(config-if)# service instance 101 ethernet

Creates a service instance on an interface.

Step 27 

encapsulation dot1q vlan-id

Example:

Router(config-if-srv)# encapsulation dot1q 100

Configures the encapsulation. Defines the matching criteria to be used in order to map the ingress dot1q frames on an interface to the appropriate service instance.

Step 28 

rewrite ingress tag pop {1 | 2} symmetric

Example:

Router(config-if-srv)# rewrite ingress tag pop 1 symmetric

Specifies the tag manipulation that is to be performed on the frame in ingress direction to the service instance.

Step 29 

xconnect peer-id vc-id pseudowire-class pw-classname

or

brige-domain bridge-domain-id

Example:

Router(config-if-srv)# xconnect 3.3.3.3 90 pseudowire-class vpws

Binds the 802.1Q VLAN attachment circuit to a virtual circuit (VC).

Binds the attachment circuit to a pseudowire VC.

peer-id— specifies the IP address of the peer PE router.

vc-id— specifies the 32-bit value that identifies the VC between the peer PE routers at each endpoint of the VC. You must configure the same VC ID on the peer PE router.

pw-classname— Specifies the pseudowire class.

Note Use the bridge-domain command if you are configuring PMLACP on VPLS.

Step 30 

backup peer peer-id vc-id pseudow- ire-class pw-classname

Example:

Router(config-if-srv)# backup peer 4.3.3.3 90 pseudowire-class vpws

Specifies a redundant peer for a pseudowire virtual circuit.

Step 31 

exit

Exits from the interface configuration mode.

Step 32 

interface vlan bridge-domain-id

Example:

Router(config-if)# interface vlan 201

Creates or accesses a dynamic switched virtual interface (SVI).

Note You need to perform steps 32 and 33 only if you are configuring VPLS.

Step 33 

xconnect vfi vfi-name

Example:

Router(config-if)# xconnect vfi vpls

Specifies the Layer 2 VFI that you are binding to the VLAN port.

Step 34 

end

Example:

Router(config-if)# end

Exits the port-channel interface mode.

Configuration Examples

This is a configuration example for PMLACP with EVC xconnect on two POAs, A and B. In this example primary VLAN range is configured as 100-109 on router A and 110-120 on router B. The VLAN range is interchanged so that the primary VLAN range of router A becomes the secondary VLAN range in router B and the secondary VLAN range of router A becomes the primary VLAN range in router B.

RouterA> enable
RouterA# configure terminal
RouterA(config)# pseudowire-class vpws
RouterA(config-pw-class)# encapsulation mpls
RouterA(config-pw-class)# status peer topology dual-homed 
RouterA(config-pw-class)# exit
RouterA(config)# l2 vfi vpls manual
RouterA(config-vfi)# vpn id 100
RouterA(config-vfi)# neighbor 3.3.3.3 encapsulation mpls
RouterA(config-vfi)# exit
RouterA(config)# redundancy
RouterA(config-red)# interchassis group 100
RouterA(config-r-ic)# monitor peer bfd
RouterA(config-r-ic)# member ip 2.2.2.2
RouterA(config-r-ic)# backbone interface GigabitEthernet8/0/10
RouterA(config-r-ic)# mlacp system-priority 100
RouterA(config-r-ic)# mlacp node-id 1 
Router(config)# interface Port-channel10
RouterA(config-if)# no ip address
RouterA(config-if)# mlacp interchassis group 100
RouterA(config-if)# mlacp mode active-active
RouterA(config-if)# mlacp load-balance primary vlan 100-109
RouterA(config-if)# mlacp load-balance secondary vlan 110-120
RouterA(config-if)# ethernet vlan color-block all
RouterA(config-if)# service instance 10 ethernet
RouterA(config-if-srv)# encapsulation dot1q 100
RouterA(config-if-srv)# rewrite ingress tag pop 1 symmetric
RouterA(config-if-srv)# xconnect 3.3.3.3 90 pseudowire-class vpws
RouterA(config-if-srv)# backup peer 4.3.3.3 91
RouterA(config-if)# service instance 11 ethernet 
RouterA(config-if-srv)# encapsulation dot1q 101
RouterA(config-if-srv)# rewrite ingress tag pop 1 symmetric
RouterA(config-if-srv)# bridge-domain 201
RouterA(config-if-srv)# exit
RouterA(config-if)# exit
RouterA(config)# interface vlan 201

RouterA(config-if)# no shutdown

RouterA(config-if)# xconnect vfi vpls

RouterA(config-if)# end
RouterB> enable
RouterB# configure terminal
RouterB(config)# pseudowire-class vpws
RouterB(config-pw-class)# encapsulation mpls
RouterB(config-pw-class)# status peer topology dual-homed 
RouterB(config-pw-class)# exit
RouterB(config)# l2 vfi vpls manual
RouterB(config-vfi)# vpn id 100
RouterB(config-vfi)# neighbor 3.3.3.3 encapsulation mpls
RouterB(config-vfi)# exit
RouterB(config)# redundancy
RouterB(config-red)# interchassis group 100
RouterB(config-r-ic)# monitor peer bfd
RouterB(config-r-ic)# member ip 1.1.1.1
RouterB(config-r-ic)# backbone interface GigabitEthernet8/0/10
RouterB(config-r-ic)# mlacp system-priority 100
RouterB(config-r-ic)# mlacp node-id 2
Router(config)# interface Port-channel 10
RouterB(config-if)# no ip address
RouterB(config-if)# mlacp interchassis group 100
RouterB(config-if)# mlacp mode active-active
RouterB(config-if)# mlacp load-balance primary vlan 110-120
RouterB(config-if)# mlacp load-balance secondary vlan 100-109
RouterB(config-if)# ethernet vlan color-block all
RouterB(config-if)# service instance 10 ethernet
RouterB(config-if-srv)# encapsulation dot1q 100
RouterB(config-if-srv)# rewrite ingress tag pop 1 symmetric
RouterB(config-if-srv)# xconnect 3.3.3.3 90 pseudowire-class vpws
RouterB(config-if-srv)# backup peer 4.3.3.3 91
RouterB(config-if)# service instance 11 ethernet 
RouterB(config-if-srv)# encapsulation dot1q 101
RouterB(config-if-srv)# rewrite ingress tag pop 1 symmetric
RouterB(config-if-srv)# bridge-domain 201
RouterB(config-if-srv)# exit
RouterB(config-if)# exit
RouterB(config)# interface vlan 201
RouterB(config-if)# no shutdown

RouterB(config-if)# xconnect vfi vpls

RouterB(config-if)# end

Verification

Use the show lacp multi-chassis load-balance port-channel number command to verify the PMLACP configuration information on the port channel interface.

PE1# show lacp multi-chassis load-balance port-channel 10
Interface Port-Channel 10
        Local Configuration:
                P-mLACP Enabled:      Yes
                Redundancy Group:     100
                Revertive Mode:       Non-Revertive
                Primary VLANs:        4001-4002,4004-4005,4007-4010
                Secondary VLANs:      4012-4013,4015-4016,4018-4021
Local Interface State:
                Interface ID: 10
                Port State:           Up
                Primary VLAN State:   Standby
                Secondary VLAN State: Standby
Peer Interface State:
                Interface ID: 10
                Primary VLAN State:   Active
                Secondary VLAN State: Active

Use the show lacp multi-chassis group command to display the interchassis redundancy group and the operational LACP parameters.

PE1# show lacp multi-chassis group

Interchassis Redundancy Group 100
Operational LACP Parameters:
                RG State:     Synchronized
                System-Id:    32768.001b.0de6.3080
                ICCP Version: 0
        Backbone Uplink Status: Connected
        Local Configuration:
                Node-id:   1
                System-Id: 32768.001b.0de6.3080
Peer Information:
                State:        Up
                Node-id:      2
                System-Id:    32768.f866.f2d2.6680
                ICCP Version: 0
State Flags: Active - A
             Standby           - S
             Down              - D
             AdminDown         - AD
             Standby Reverting - SR
             Unknown           - U
mLACP Channel-groups
Channel    State      Priority     Active Links   Inactive Links
 Group   Local/Peer  Local/Peer     Local/Peer      Local/Peer
   10       A/A     32768/32768        2/2             0/0
Redundancy Group 100 (0x64)
  Applications connected: mLACP, Pseudo-mLACP
  Monitor mode: BFD
  member ip: 2.2.2.2 "PE2", CONNECTED
    BFD neighbor: GigabitEthernet2/9, next hop 192.168.41.2, UP
    mLACP state: CONNECTED

Pseudo-mLACP state: CONNECTED

backbone int GigabitEthernet8/0/9: UP (IP)
ICRM fast-failure detection neighbor table
  IP Address       Status Type Next-hop IP      Interface
  ==========       ====== ==== ===========      =========
  2.2.2.2          UP     BFD  192.168.41.2     GigabitEthernet2/9

Use the show lacp multi-chassis load-balance group command to display the PMLACP configuration information including redundancy group, link states and interface status.

PE2#sh lacp multi-chassis load-balance group

Interchassis Redundancy Group 100
                RG State:       Synchronized
                ICCP Version:   0
        Backbone Uplink Status: Connected
        Local Configuration:
                Node-id:        2
        Peer Information:
                State:          Up
                Node-id:        1
                ICCP Version:   0
States:      Active     - ACT           Standby    - SBY
             Down       - DN            AdminDown  - ADN
             Unknown    - UN            Reverting  - REV
P-mLACP Interfaces
Interface    Port State     Local VLAN State      Peer VLAN State
   ID          Local       Primary/Secondary     Primary/Secondary
   10           ADN             ADN/ADN                DN/DN 
   34            UP             ACT/SBY               ACT/SBY

Troubleshooting Tips

Table 4-25 Troubleshooting

Command
Purpose

debug lacp load-balance [all | database | redundancy-group | vlan]

Enables debugging of the PMLACP activity. Use this command from the switch processor (SP).

debug redundancy interchassis [all | application | error | event | monitor]

Enables debugging of the interchassis redundancy manager.

debug mpls ldp iccp

Enables debugging of the Inter Chassis Control Protocol (ICCP). Use this command from the RP.


Tips

Layer 2 Tunneling Protocol Version 3 (L2TPv3)

The L2TPv3 feature employs L2TPv3 and pseudowire (PW) technology to provide tunneling service to Ethernet traffic. The feature is developed for SUP720-3B/3BXL and RSP720 routers, which function as Provider Edge (PE) routers in the network topologies recommended by RFC3985 Pseudowire Emulation Edge-to-Edge (PWE3) architecture. L2TPv3 also supports inter-operability between the Cisco 7600 router and any standard compliant Cisco or non-Cisco device.

A L2TPv3 tunnel is a control connection between two PE routers. One L2TPv3 tunnel can have multiple data connections, and each data connection is termed as an L2TPv3 session. The control connection is used to establish, maintain, and release sessions. Each session is identified by a session ID which is unique across the entire router.

Figure 4-8 Network Topology for L2TPv3

In Figure 4-8, the attachment Virtual Circuit (VC) represents a physical or a logical port that connects a Customer Edge (CE) device to a Provider Edge (PE) device. A pseudowire is defined as a VC connecting two attachment VCs, and it consists of two L2TPv3 tunnel paths, one in each direction.

Restrictions for L2TPv3

Following restrictions apply to L2TPv3:

Layer 2 facing line card must be an L2TPv3 supporting line card.

There must be at least one distinct L2TPv3 tunnel per Layer 2 facing linecard.

The L2TPv3 feature on a Cisco 7600 router is supported on ES+ and SIP 400 line cards.

The Cisco 7600 router supports only IPv4 tunnelling for the Layer 2 frames.

The L2TPv3 feature does not support configurations such as EoL2TPv3oMPLS on the encapsulating PE.

The L2TPv3 feature supports a maximum of 16,000 pseudowires.

L2TPv3 is not supported in conjunction with EVC features. L2TPv3 coexists with EVC on the same port. That is, while one sub-interface is used to tunnel dot1q tagged traffic over L2TP, another sub-interface is used to perform EVC features.

Effective with Cisco IOS release 15.1(3)S, 4000 IP tunnels are supported on ES+ line cards.

The L2TPv3 feature does not support SSO. You must enable cookies for L2TPv3 session on HA setups.

Configuring L2TPv3

Before configuring L2TPv3, ensure the following:

Create loopback interfaces to host the local IP addresses used by the L2TP tunnels. On a 7600 router, create multiple loopback interfaces to accommodate routing protocol configuration and L2TPv3 configuration. The mls l2tpv3 reserve command must be configured under loopback to indicate the Layer 2 network or CE side facing interface. This interface must be on ES+ or SIP400 LC.

For more information on L2TPv3 process and configuration, see: http://www.cisco.com/en/US/docs/ios/wan/configuration/guide/wan_l2_tun_pro_v3.html

Complete the following steps to configure L2TPv3:

SUMMARY STEPS

1. enable

2. configure terminal

3. l2tp-class name

4. exit

5. interface loopback loopback_id

6. ip address loopback_address mask

7. mls l2tpv3 reserve interface gigabitethernet slot/subslot/port

8. exit

9. pseudowire-class pseudowire-class name

10. encapsulation l2tpv3

11. protocol l2tpv3 name

12. ip local interface loopback loopback_id

13. exit

14. interface gigabitethernet slot/port

15. encapsulation dot1q vlan_id

16. xconnect loopback_ip vc_id encapsulation l2tpv3 pw-class pseudowire-class name

17. exit

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode. Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

l2tp-class name

Example:

Router(config)#l2tp-class H-NAME

Creates a template of Layer 2 Tunnel Protocol (L2TP) control plane configuration settings that can be inherited by different pseudowire classes, and enters L2TP class configuration mode.

Note Optionally, you can configure the command hello interval in the L2TP class configuration mode. It specifies the exchange interval (in seconds) used between L2TP hello packets.

Step 4 

exit

Example:

Router(config-l2tp-class)# exit

Exits the L2TP-class configuration mode.

Step 5 

interface loopback loopback_id

Example:

Router(config)# interface loopback 8000

Creates a loopback with the specified loopback_id.

Step 6 

ip address loopback_address mask

Example:

Router(config-if)# ip address 200.1.1.1 mask 255.255.255.0

Creates an IP address for the loopback.

Step 7 

mls l2tpv3 reserve interface GigabitEthernet slot/subslot/port

Example:

Router(config-if)#mls l2tpv3 reserve interface Gig3/1 Gig3/10

Reserves a loopback interface used as a source of the L2TPv3 tunnel in a particular line card and prevents it from being used across multiple line cards.

slot/subslot/port—Specifies the location of the interface.

Step 8 

exit

Example:

Router(config-if)#exit

Exits interface configuration mode.

Step 9 

pseudowire-class pseudowire-class name

Example:

Router(config)# pseudowire-class eth8000

Specifies the name of a L2TPv3 pseudowire class and enters pseudowire class configuration mode.

Step 10 

encapsulation l2tpv3

Example:

Router(config-pw-class)#encapsulation l2tpv3

Configures the tunnel encapsulation type and ensures that the L2TPv3 connectivity is up.

Step 11 

protocol l2tpv3 name

Example:

Router(config-pw-class)#protocol l2tpv3 H-NAME

Defines L2TPv3 signaling protocol.

Step 12 

ip local interface loopback loopback_id

Example:

Router(config-pw-class)#ip local interface Loopback 8000

Specifies the local PE interface, whose IP address is used as the source IP address for sending tunneled packets.

Step 13 

exit

Example:

Router(config-pw-class)# exit

Exits interface configuration mode.

Step 14 

interface gigabitethernet slot/port

Example:

Router(config)#interface GigabitEthernet3/4.100

Enters the sub interface configuration mode.

Step 15 

encapsulation dot1q vlan_id

Example:

Router(config-subif)#encapsulation dot1Q 100

Configures the encapsulation by defining the matching criteria to be used in order to map ingress dot1q frames on a VLAN interface.

Step 16 

xconnect loopback_ip vc_id encapsulation l2tpv3 pw-class pseudowire-class name

Example:

Router(config-subif)#xconnect 100.1.1.1 80 encap l2tpv3 pw-class eth8000

Attaches the Layer 2 facing interfaces to the pseudowire. The virtual circuit identifier (VC_ID) used must be a unique combination on the router. The same VC_ID must be used on both PE routers.

Step 17 

exit

Example:

Router(config-subif-xconn)#exit

Exits the sub interface configuration mode.

Configuration Examples

This example shows how to configure L2TPv3:

Router# enable
Router# configure terminal
Router (config)#l2tp-class H-NAME 
Router (config-l2tp-class)#exit 
Router (config)#interface Loopback8000 
Router (config-if)#ip address 200.1.1.1 255.255.255.0 
Router (config-if)#mls l2tpv3 reserve interface Gig3/1 Gig3/10 
Router (config-if)#exit 
Router (config)#pseudowire-class eth8000 
Router (config-pw-class)#encapsulation l2tpv3 
Router (config-pw-class)#protocol l2tpv3 H-NAME 
Router (config-pw-class)#ip local interface Loopback8000 
Router (config-pw-class)#exit 
Router (config)#interface GigabitEthernet3/4.100 
Router (config-subif)#encapsulation dot1Q 100 
Router (config-subif)#xconnect 100.1.1.1 80 encap l2tpv3 pw-class eth8000 
Router (config-subif-xconn)#exit 
Router (config-subif)#exit 
Router (config)#exit 

Verification

Use the following commands to verify the L2TPv3 configuration:

Router #show l2tp tunnel
L2TP Tunnel Information Total tunnels 2 sessions 2
LocTunID   RemTunID   Remote Name   State  Remote Address  Sessn L2TP Class/
                                                            Count VPDN Group
2101541749 1606300868 7600-3_BR     est    100.1.1.1       1     H-NAME
2974027542 2468589365 7600-3_BR     est    100.1.2.1       1     H-NAME
Router #show l2tp tunnel all
L2TP Tunnel Information Total tunnels 2 sessions 2
Tunnel id 2101541749 is up, remote id is 1606300868, 1 active sessions
   Locally initiated tunnel
   Tunnel state is established, time since change 03:37:28
   Tunnel transport is IP  (115)
   Remote tunnel name is 7600-3_BR
     Internet Address 100.1.1.1, port 0
   Local tunnel name is 7600-2-CE
     Internet Address 200.1.1.1, port 0
   L2TP class for tunnel is H-NAME
   Counters, taking last clear into account:
     0 packets sent, 0 received
     0 bytes sent, 0 received
   Last clearing of counters never
   Counters, ignoring last clear:
     0 packets sent, 0 received
     0 bytes sent, 0 received
   Control Ns 33, Nr 90
   Local RWS 1024 (default), Remote RWS 1024
   Control channel Congestion Control is disabled
   Tunnel PMTU checking enabled
   Retransmission time 1, max 1 seconds
   Unsent queuesize 0, max 0
   Resend queuesize 0, max 2
   Total resends 0, ZLB ACKs sent 89
   Total out-of-order dropped pkts 0
   Total out-of-order reorder pkts 0
   Total peer authentication failures 0
   Current no session pak queue check 0 of 5
   Retransmit time distribution: 0 0 0 0 0 0 0 0 0
   Control message authentication is disabled
Tunnel id 2974027542 is up, remote id is 2468589365, 1 active sessions
   Locally initiated tunnel
   Tunnel state is established, time since change 03:37:36
   Tunnel transport is IP  (115)
   Remote tunnel name is 7600-3_BR
     Internet Address 100.1.2.1, port 0
   Local tunnel name is 7600-2-CE
     Internet Address 200.1.2.1, port 0
   L2TP class for tunnel is H-NAME
   Counters, taking last clear into account:
     0 packets sent, 0 received
     0 bytes sent, 0 received
   Last clearing of counters never
   Counters, ignoring last clear:
     0 packets sent, 0 received
     0 bytes sent, 0 received
   Control Ns 35, Nr 92
   Local RWS 1024 (default), Remote RWS 1024
   Control channel Congestion Control is disabled
   Tunnel PMTU checking enabled
   Retransmission time 1, max 1 seconds
   Unsent queuesize 0, max 0
   Resend queuesize 0, max 2
   Total resends 0, ZLB ACKs sent 91
   Total out-of-order dropped pkts 0
   Total out-of-order reorder pkts 0
   Total peer authentication failures 0
   Current no session pak queue check 0 of 5
   Retransmit time distribution: 0 0 0 0 0 0 0 0 0
   Control message authentication is disabled

Troubleshooting Tips

For specific troubleshooting information, contact Cisco Technical Assistance Center (TAC) at this location:

http://www.cisco.com/en/US/support/tsd_cisco_worldwide_contacts.html

Reverse L2GP for Cisco 7600

Layer 2 Gateway Ports (L2GP) is a proposed IEEE standard (802.1ah) to address the issues that arise when two independent bridged domains are connected redundantly through an arbitrary number of links. Layer 2 Gateway Ports define how the forwarding gateways are selected so that only redundant ports are blocked and there are no temporary loops. The transitions can be at least as fast as STP L2GP resolves the transient loop problem during the re-convergence as it does not require cooperation from the outside domain.

Reverse L2GP (R-L2GP) is a variation of L2GP. In case of R-L2GP, the pseudo information of the R-L2GP is transmitted by nPEs, instead of uPEs. R-L2GP provides a mechanism to send out static preconfigured BPDUs on each ring access port of nPEs to stimulate a per-access ring instantiation of the protocol. In order for this to work, the pair of nPEs are programmed to send out BPDUs on the access ring ports in such a way that they appear to be either:

The root bridge itself (the bridge with the lowest bridge id/priority).

The bridge with the second lowest bridge ID/priority, and with a 0 cost path to the root.

Using R-L2GP, you can statically configure the BPDUs instead of dynamic configuration.

For more information, see Configuring STP and MST at:
http://www.cisco.com/en/US/docs/routers/7600/ios/15S/configuration/guide/spantree.html#wp1101874.

Restrictions and Usage Guidelines

When configuring Reverse L2GP for the Cisco 7600 router, follow these guidelines and restrictions:

R-L2GP is not compatible with pre-standard MST. This combination is not supported.

Use only on bridge ports.

Because VLAN ID is required for EVC service instance to MST instance mapping, EVC service instances without any VLAN ID in the encapsulation are not supported. This includes:

Untagged encapsulation

Priority-tagged encapsulation

Default encapsulation

In EVC service instance, MST runs on the encapsulation VLAN, not on the broadcast-domain VLAN.

Service instances with multiple outer tags are not supported.

The feature is supported only on ES20 and ES+ line cards.

MST and R-L2GP can co-exist on the same router.

R-L2GP does not provide any automatic detection or recovery mechanisms for BPDU data.

MST instance zero under RL2GP must be configured before RL2GP instance is attached to a port.

Configure MST instance zero on the same nPE pair as RL2GP instance.

In case of EVC service instance configuration, Encap vlan and BD vlan should be part of the same MST instance to send the TCNs on the BD-Vlans.

Configuring Reverse L2GP for 7600

To enable R-L2GP on a port, you need to:

Configure MST

Configure RL2GP instance

Attach RL2GP instance to a port

Configure VPLS BPDU Pseudo Wire

Configuration of MST must be done before configuring RL2GP and attaching it to a port. For MST configuration, you need to configure:

Provider Bridge Mode

Hello Time

Name

Revision

MSTI information (VLAN mapping, bridge priority, port priority, and cost)

Priority Vector information (bridge ID, port ID, Root Bridge ID)

Since the R-L2GP configuration is bundled with the MSTI configuration, the above parameters can be recycled from the MSTI and MST region (currently only one MST region is supported on IOS) configurations. This section describes how to configure Reverse L2GP for 7600. It consists of the following sections:

Configuring MST

Configuring the RL2GP Instance

Attaching the RL2GP Instance to a Port

Configuring the VPLS Pseudo Wire

Configuring MST

SUMMARY STEPS

1. enable

2. configure terminal

3. spanning-tree mst configuration

4. [no] name name

5. [no] revision version

6. [no] instance instance-id {vlans vlan-range}

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

spanning-tree mst configuration

Example:

Router(config)# spanning-tree mst configuration

Enters MST-configuration submode.

Step 4 

[no] name name

Example:

Router(config-mst)# name Cisco

Sets the name of a Multiple Spanning Tree (MST) region.

Step 5 

revision version

Example:

Router(config-mst)# revision 5

Sets the revision number for the Multiple Spanning Tree (802.1s) (MST) configuration.

Step 6 

[no] instance instance-id {vlans vlan-range}

Example:

Router(config-mst)# instance 2 vlans 1-100

Maps a VLAN or a group of VLANs to a multiple spanning tree (MST) instance.

Configuring the RL2GP Instance

SUMMARY STEPS

1. spanning-tree pseudo-information transmit indentifier

2. remote-id id

3. mst root mac-address

4. mst root priority

5. mst root

6. mst cost

DETAILED STEPS

 
Command
Purpose

Step 1 

spanning-tree pseudo-information transmit indentifier

Example:

Router(config)# spanning-tree pseudo-information transmit 10

Configures the Reverse-L2GP configuration on the interface (or untagged EFP port).

Step 2 

remote-id id

Example:

Router(config-pseudo)# remote-id 5

Configures the remote RL2GP instance Id that pairs with the specified R-L2GP instance Id.

Step 3 

mst root mac-address

Example:

Router(config-pseudo)# mst root 0000.9c6d.2ec0

Adds MST instance list to R-L2GP instance and configures R-L2GP root bridge MAC address for MST instance (or multiple MST instances).

Step 4 

mst root priority

Example:

Router(config-pseudo)# mst root priority

Adds MST instance list to RL2GP instance and configures the R-L2GP bridge priority ( in multiples of 4096) for instances.

Step 5 

mst root

Example:

Router(config-pseudo)# mst root

Adds MST instances to RL2GP instances and configures the MAC address and priority for MST instances.

Step 6 

mst cost

Example:

Router(config-pseudo)# mst cost

Adds MST instance list to RL2GP instance and configures R-L2GP path cost for MST instance (or multiple MST instances).

Attaching the RL2GP Instance to a Port

SUMMARY STEPS

1. interface gigabitethernet slot/port or interface tengigabitethernet slot/port

2. spanning-tree pseudo-information transmit indentifier

DETAILED STEPS

 
Command
Purpose

Step 1 

interface gigabitethernet slot/port

or

interface tengigabitethernet slot/port

Example:

Router(config)# interface gigabitethernet 4/1

Specifies the Gigabit Ethernet or the Ten Gigabit Ethernet interface to configure, where:

slot/port—Specifies the location of the interface.

Step 2 

spanning-tree pseudo-information transmit indentifier

Example:

Router(config-if)# spanning-tree pseudo-information transmit 10

Configures the Reverse-L2GP configuration on the interface.

Configuring the VPLS Pseudo Wire

SUMMARY STEPS

1. l2 vfi name manual

2. vpn id vpn_id

3. forward permit l2protocol all

4. neighbor ip-address vc-id {encapsulation mpls |pw-class pw-class-name}

5. exit

6. interface vlan vlanid type {trbrf | ethernet}

7. xconnect vfi vfi_name

DETAILED STEPS

 
Command
Purpose

Step 1 

l2 vfi name manual

Example:

Router(config)# l2 vfi vfitest1 manual

Creates a Layer 2 VFI and enters the Layer 2 VFI manual configuration submode.

Step 2 

vpn id vpn_id

Example:

Router(config-vfi)# vpn id 303

Sets or updates a Virtual Private Network (VPN) ID on a VPN routing and forwarding (VRF) instance.

Step 3 

forward permit l2protocol all

Example:

Router(config-vfi)# forward permit l2protocol all

Defines the VPLS pseudowire that is used to transport bridge protocol data unit (BPDU) information between two network provider edge (N-PE) routers.

Step 4 

neighbor ip-address vc-id {encapsulation mpls |pw-class pw-class-name}

Example:

Router(config-vfi)# neighbor 10.10.10.10 1 encapsulation mpls

Specifies the routers that should form a point-to-point Layer 2 virtual forwarding interface (VFI) connection.

Step 5 

exit

Example:

Router(config-vfi)# exit

Router(config)#

Exits the current configuration mode.

Step 6 

interface vlan vlanid type {trbrf | ethernet}

Example:

Router(config)# interface vlan 23

Creates a dynamic Switch Virtual Interface (SVI).

Step 7 

xconnect vfi vfi name

Example:

Router(config-if)# xconnect vfi vfi16

The xconnect command specifies the Layer 2 VFI that you are binding to the VLAN port.

Examples

This is a sample configuration for switch port:

----- PE1 configuration -----
Step 1:
PE1#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
PE1(config)#spanning-tree mode mst
PE1(config)#spanning-tree extend system-id
PE1(config)#spanning-tree pseudo-information transmit 2
PE1(config-pseudo)# remote-id 1
PE1(config-pseudo)# mst 0 root 32768 0000.0000.0001
%Warning:  Please make same configuration change on mst instance 0  for
 remote Pseudo Info instance also.   Difference in mst instance 0 config
 on Pseudo Info pair can cause network instability
PE1(config-pseudo)# mst 1 root 32768 0000.0000.0002
PE1(config-pseudo)# mst 1 cost 100
PE1(config-pseudo)#exit
PE1(config)#spanning-tree mst configuration
PE1(config-mst)#instance 1 vlan 100-200, 400-500
Step 2:
PE1#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
PE1(config)#interface TenGigabitEthernet4/1
PE1(config-if)# switchport
PE1(config-if)# switchport mode trunk
PE1(config-if)# spanning-tree pseudo-information transmit 2
PE1(config-if)#end
PE1#
Step 3:
PE1(config)#l2 vfi bpdupw manual 
PE1(config-vfi)#vpn id 100
PE1(config-vfi)#forward permit l2protocol all
PE1(config-vfi)#neighbor 22.22.22.22 encapsulation mpls
PE1(config-vfi-neighbor)#
Step 4:
PE1#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
PE1(config)#interface Vlan1
PE1(config-if)#no ip address
PE1(config-if)#xconnect vfi bpdupw
PE1(config-if)#end
PE1#

Use the show commands to check the configuration:

PE1#show running-config int te4/1
Building configuration...
Current configuration : 119 bytes
!
interface TenGigabitEthernet4/1
 switchport
 switchport mode trunk
 spanning-tree pseudo-information transmit 2
end
PE1#show spanning-tree mst 
##### MST0    vlans mapped:   1-99,201-399,501-4094
Bridge        address 0013.5f21.e240  priority      32768 (32768 sysid 0)
Root          this switch for the CIST
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20
Interface                        Role Sts Cost      Prio.Nbr Type
----------------                 ---- --- --------- -------- 
--------------------------------
Te4/1                            Desg FWD 2000      128.769  P2p R-L2GP 
PW 22.22.22.22:100               Desg FWD 200       128.1020 P2p R-L2GP 
##### MST1    vlans mapped:   100-200,400-500
Bridge        address 0013.5f21.e240  priority      32769 (32768 sysid 1)
Root          this switch for MST1
Interface                        Role Sts Cost      Prio.Nbr Type
----------------                 ---- --- --------- -------- 
--------------------------------
Te4/1                            Desg FWD 2000      128.769  P2p R-L2GP 
PW 22.22.22.22:100               Desg FWD 200       128.1020 P2p R-L2GP 
PE1#show spanning-tree pseudo-information 
Pseudo id 2, type transmit:
   remote_id 1
   mst_region_id 0, port_count 1, update_flag 0x0
   mrecord 0x1DF3627C, mrec_count 2:
        msti 0: root_id 32768.0000.0000.0001, root_cost 0, update_flag 0x0
        msti 1: root_id 32769.0000.0000.0002, root_cost 100, update_flag 0x0
   Pseudo interfaces:
        TenGigabitEthernet4/1
PE1#show spanning-tree mst detail 
##### MST0    vlans mapped:   1-99,201-399,501-4094
Bridge        address 0013.5f21.e240  priority      32768 (32768 sysid 0)
Root          this switch for the CIST
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20
TenGigabitEthernet4/1 of MST0 is designated forwarding 
Port info             port id        128.769  priority    128  cost        2000
Designated root       address 0013.5f21.e240  priority  32768  cost           0
Design. regional root address 0013.5f21.e240  priority  32768  cost           0
Designated bridge     address 0013.5f21.e240  priority  32768  port id  128.769
Pseudo-info (id 2) is running
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 500, received 0
PW 22.22.22.22:100 of MST0 is designated forwarding 
Port info             port id       128.1020  priority    128  cost         200
Designated root       address 0013.5f21.e240  priority  32768  cost           0
Design. regional root address 0013.5f21.e240  priority  32768  cost           0
Designated bridge     address 0013.5f21.e240  priority  32768  port id 128.1020
Pseudo-info (id 255) is running
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 396, received 14
##### MST1    vlans mapped:   100-200,400-500
Bridge        address 0013.5f21.e240  priority      32769 (32768 sysid 1)
Root          this switch for MST1
TenGigabitEthernet4/1 of MST1 is designated forwarding 
Port info             port id        128.769  priority    128  cost        2000
Designated root       address 0013.5f21.e240  priority  32769  cost           0
Designated bridge     address 0013.5f21.e240  priority  32769  port id  128.769
Pseudo-info (id 2) is running
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 501, received 0
PW 22.22.22.22:100 of MST1 is designated forwarding 
Port info             port id       128.1020  priority    128  cost         200
Designated root       address 0013.5f21.e240  priority  32769  cost           0
Designated bridge     address 0013.5f21.e240  priority  32769  port id 128.1020
Pseudo-info (id 255) is running
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 396, received 13
PE1#show mpls l2transport vc detail 
Local interface: VFI bpdupw VFI  up
  Interworking type is Ethernet
  Destination address: 22.22.22.22, VC ID: 100, VC status: up
    Output interface: Te4/2, imposed label stack {17}
    Preferred path: not configured  
    Default path: active
    Next hop: 12.0.0.2
  Create time: 00:15:59, last status change time: 00:15:35
  Signaling protocol: LDP, peer 22.22.22.22:0 up
    Targeted Hello: 11.11.11.11(LDP Id) -> 22.22.22.22, LDP is UP
    Status TLV support (local/remote)   : enabled/supported
      LDP route watch                   : enabled
      Label/status state machine        : established, LruRru
      Last local dataplane   status rcvd: No fault
      Last BFD dataplane     status rcvd: Not sent
      Last BFD peer monitor  status rcvd: No fault
      Last local AC  circuit status rcvd: No fault
      Last local AC  circuit status sent: No fault
      Last local LDP TLV     status sent: No fault
      Last remote LDP TLV    status rcvd: No fault
      Last remote LDP ADJ    status rcvd: No fault
    MPLS VC labels: local 21, remote 17 
    PWID: 16424
    Group ID: local 0, remote 0
    MTU: local 1500, remote 1500
    Remote interface description: 
    MAC Withdraw: sent:1, received:3
  Sequencing: receive disabled, send disabled
  Control Word: On (configured: autosense)
  SSO Descriptor: 22.22.22.22/100, local label: 21
    SSM segment/switch IDs: 20523/4135 (used), PWID: 16424
  VC statistics:
    transit packet totals: receive 29, send 390
    transit byte totals:   receive 4423, send 55770
    transit packet drops:  receive 0, seq error 0, send 0
PE1#show vfi name bpdupw
Legend: RT=Route-target, S=Split-horizon, Y=Yes, N=No
VFI name: bpdupw, state: up, type: multipoint signaling: LDP
  VPN ID: 100
  Forwarding BPDUs only
  Bridge-Domain 1 attachment circuits:
    Vlan1 
  Neighbors connected via pseudowires:
  Peer Address     VC ID        S
  22.22.22.22      100          Y
----- PE2 configuration -----
Step 1:
PE2#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
PE2(config)#spanning-tree mode mst
PE2(config)#spanning-tree extend system-id
PE2(config)#spanning-tree pseudo-information transmit 1
PE2(config-pseudo)# remote-id 2
PE2(config-pseudo)# mst 0 root 32768 0000.0000.0001
%Warning:  Please make same configuration change on mst instance 0  for
 remote Pseudo Info instance also.   Difference in mst instance 0 config
 on Pseudo Info pair can cause network instability
PE2(config-pseudo)# mst 1 root 32768 0000.0000.0002
PE2(config-pseudo)# mst 1 cost 100
PE2(config-pseudo)# exit
PE2(config)#spanning-tree mst configuration
PE2(config-mst)# instance 1 vlan 100-200, 400-500
PE2(config-mst)#end
PE2#
Step 2:
PE2#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
PE2(config)#interface GigabitEthernet13/7
PE2(config-if)#switchport
PE2(config-if)#switchport mode trunk
PE2(config-if)#spanning-tree pseudo-information transmit 1
PE2(config-if)#end
PE2#
Step 3:
PE2#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
PE2(config)#l2 vfi bpdupw manual 
PE2(config-vfi)#vpn id 100
PE2(config-vfi)#forward permit l2protocol all
PE2(config-vfi)#neighbor 11.11.11.11 encapsulation mpls
PE2(config-vfi)#end
PE2#
Step 4:
PE2#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
PE2(config)#interface Vlan1
PE2(config-if)#no ip address
PE2(config-if)#xconnect vfi bpdupw
PE2(config-if)#end
PE2#
Use the show commands to check the configuration:
PE2#show running-config int gig 13/7
Building configuration...
Current configuration : 117 bytes
!
interface GigabitEthernet13/7
 switchport
 switchport mode trunk
 spanning-tree pseudo-information transmit 1
end
PE2#show spanning-tree mst 
##### MST0    vlans mapped:   1-99,201-399,501-4094
Bridge        address 0015.c7f9.cc40  priority      32768 (32768 sysid 0)
Root          this switch for the CIST
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20
Interface                        Role Sts Cost      Prio.Nbr Type
----------------                 ---- --- --------- -------- --------------------
------------
PW 11.11.11.11:100               Desg FWD 200       128.3070 P2p R-L2GP 
Gi13/7                           Desg FWD 20000     128.3079 P2p R-L2GP 
##### MST1    vlans mapped:   100-200,400-500
Bridge        address 0015.c7f9.cc40  priority      32769 (32768 sysid 1)
Root          this switch for MST1
Interface                        Role Sts Cost      Prio.Nbr Type
----------------                 ---- --- --------- -------- --------------------
------------
PW 11.11.11.11:100               Desg FWD 200       128.3070 P2p R-L2GP 
Gi13/7                           Desg FWD 20000     128.3079 P2p R-L2GP 
PE2#show spanning-tree pseudo-information 
Pseudo id 1, type transmit:
   remote_id 2
   mst_region_id 0, port_count 1, update_flag 0x0
   mrecord 0x542B57F4, mrec_count 2:
        msti 0: root_id 32768.0000.0000.0001, root_cost 0, update_flag 0x0
        msti 1: root_id 32769.0000.0000.0002, root_cost 100, update_flag 0x0
   Pseudo interfaces:
        GigabitEthernet13/7               
PE2#show spanning-tree mst detail  
##### MST0    vlans mapped:   1-99,201-399,501-4094
Bridge        address 0015.c7f9.cc40  priority      32768 (32768 sysid 0)
Root          this switch for the CIST
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20
PW 11.11.11.11:100 of MST0 is designated forwarding 
Port info             port id       128.3070  priority    128  cost         200
Designated root       address 0015.c7f9.cc40  priority  32768  cost           0
Design. regional root address 0015.c7f9.cc40  priority  32768  cost           0
Designated bridge     address 0015.c7f9.cc40  priority  32768  port id 128.3070
Pseudo-info (id 255) is running
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 16, received 385
GigabitEthernet13/7 of MST0 is designated forwarding 
Port info             port id       128.3079  priority    128  cost       20000
Designated root       address 0015.c7f9.cc40  priority  32768  cost           0
Design. regional root address 0015.c7f9.cc40  priority  32768  cost           0
Designated bridge     address 0015.c7f9.cc40  priority  32768  port id 128.3079
Pseudo-info (id 1) is running
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 163, received 0
##### MST1    vlans mapped:   100-200,400-500
Bridge        address 0015.c7f9.cc40  priority      32769 (32768 sysid 1)
Root          this switch for MST1
PW 11.11.11.11:100 of MST1 is designated forwarding 
Port info             port id       128.3070  priority    128  cost         200
Designated root       address 0015.c7f9.cc40  priority  32769  cost           0
Designated bridge     address 0015.c7f9.cc40  priority  32769  port id 128.3070
Pseudo-info (id 255) is running
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 16, received 354
GigabitEthernet13/7 of MST1 is designated forwarding 
Port info             port id       128.3079  priority    128  cost       20000
Designated root       address 0015.c7f9.cc40  priority  32769  cost           0
Designated bridge     address 0015.c7f9.cc40  priority  32769  port id 128.3079
Pseudo-info (id 1) is running
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 164, received 0
PE2#show mpls l2transport vc detail 
Local interface: VFI bpdupw VFI up
  Interworking type is Ethernet
  Destination address: 11.11.11.11, VC ID: 100, VC status: up
    Output interface: Te12/2, imposed label stack {21}
    Preferred path: not configured  
    Default path: active
    Next hop: 12.0.0.1
  Create time: 00:09:39, last status change time: 00:09:04
  Signaling protocol: LDP, peer 11.11.11.11:0 up
    Targeted Hello: 22.22.22.22(LDP Id) -> 11.11.11.11, LDP is UP
    Status TLV support (local/remote)   : enabled/supported
      LDP route watch                   : enabled
      Label/status state machine        : established, LruRru
      Last local dataplane   status rcvd: No fault
      Last BFD dataplane     status rcvd: Not sent
      Last local SSS circuit status rcvd: No fault
      Last local SSS circuit status sent: No fault
      Last local  LDP TLV    status sent: No fault
      Last remote LDP TLV    status rcvd: No fault
      Last remote LDP ADJ    status rcvd: No fault
    MPLS VC labels: local 17, remote 21 
    PWID: 8250
    Group ID: local 0, remote 0
    MTU: local 1500, remote 1500
    Remote interface description: 
    MAC Withdraw: sent:1, received:1
  Sequencing: receive disabled, send disabled
  Control Word: On (configured: autosense)
  SSO Descriptor: 11.11.11.11/100, local label: 17
    SSM segment/switch IDs: 16444/4153 (used), PWID: 8250
  VC statistics:
    transit packet totals: receive 289, send 15
    transit byte totals:   receive 41327, send 2091
    transit packet drops:  receive 0, seq error 0, send 0
PE2#show vfi name bpdupw
Legend: RT=Route-target, S=Split-horizon, Y=Yes, N=No
VFI name: bpdupw, state: up, type: multipoint signaling: LDP
  VPN ID: 100
  Forwarding BPDUs only
  Bridge-Domain 1 attachment circuits:
    Vlan1 
  Neighbors connected via pseudowires:
  Peer Address     VC ID        S
  11.11.11.11      100          Y

This is a sample configuration for EVC-BD:

----- PE1 configuration -----

Step 1:
PE1#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
PE1(config)#spanning-tree mode mst
PE1(config)#spanning-tree extend system-id
PE1(config)#spanning-tree pseudo-information transmit 2
PE1(config-pseudo)#remote-id 1
PE1(config-pseudo)# mst 0 root 32768 0000.0000.0001
%Warning:  Please make same configuration change on mst instance 0  for
 remote Pseudo Info instance also.   Difference in mst instance 0 config
 on Pseudo Info pair can cause network instability
PE1(config-pseudo)# mst 1 root 32768 0000.0000.0002
PE1(config-pseudo)# mst 1 cost 100
PE1(config-pseudo)# exit
PE1(config)#spanning-tree mst configuration
PE1(config-mst)# instance 1 vlan 100-200, 400-500
Step 2:
PE1#configure terminal                    
Enter configuration commands, one per line.  End with CNTL/Z.
PE1(config)#interface TenGigabitEthernet4/1
PE1(config-if)# spanning-tree pseudo-information transmit 2
PE1(config-if)# service instance 2 ethernet
PE1(config-if-srv)# encapsulation dot1q 2
PE1(config-if-srv)# rewrite ingress tag pop 1 symmetric
PE1(config-if-srv)# bridge-domain 100
PE1(config-if-srv)# service instance 499 ethernet
PE1(config-if-srv)# encapsulation dot1q 499
PE1(config-if-srv)# rewrite ingress tag pop 1 symmetric
PE1(config-if-srv)# bridge-domain 402
PE1(config-if-srv)#end
PE1#
Step 3:
PE1(config)#l2 vfi bpdupw manual 
PE1(config-vfi)#vpn id 100
PE1(config-vfi)#forward permit l2protocol all
PE1(config-vfi)# neighbor 22.22.22.22 encapsulation mpls
PE1(config-vfi-neighbor)#
Step 4:
PE1#configure terminal 
Enter configuration commands, one per line.  End with CNTL/Z.
PE1(config)#interface Vlan1
PE1(config-if)# no ip address
PE1(config-if)# xconnect vfi bpdupw
PE1(config-if)#end
PE1#
Use the show commands to check the configuration:
PE1#show running-config int te4/1
Building configuration...
Current configuration : 361 bytes
!
interface TenGigabitEthernet4/1
 ip arp inspection limit none
 no ip address
 spanning-tree pseudo-information transmit 2
 service instance 2 ethernet
  encapsulation dot1q 2
  rewrite ingress tag pop 1 symmetric
  bridge-domain 100
 !
 service instance 499 ethernet
  encapsulation dot1q 499
  rewrite ingress tag pop 1 symmetric
  bridge-domain 402
 !
end
PE1#show spanning-tree mst 
##### MST0    vlans mapped:   1-99,201-399,501-4094
Bridge        address 0013.5f21.e240  priority      32768 (32768 sysid 0)
Root          this switch for the CIST
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20
Interface                        Role Sts Cost      Prio.Nbr Type
----------------                 ---- --- --------- -------- 
--------------------------------
Te4/1                            Desg FWD 2000      128.769  P2p R-L2GP 
PW 22.22.22.22:100               Desg FWD 200       128.1022 P2p R-L2GP 
##### MST1    vlans mapped:   100-200,400-500
Bridge        address 0013.5f21.e240  priority      32769 (32768 sysid 1)
Root          this switch for MST1
Interface                        Role Sts Cost      Prio.Nbr Type
----------------                 ---- --- --------- -------- 
--------------------------------
Te4/1                            Desg FWD 2000      128.769  P2p R-L2GP 
PW 22.22.22.22:100               Desg FWD 200       128.1022 P2p R-L2GP 
PE1#show spanning-tree pseudo-information
Pseudo id 2, type transmit:
   remote_id 1
   mst_region_id 0, port_count 1, update_flag 0x0
   mrecord 0x1DF3627C, mrec_count 2:
        msti 0: root_id 32768.0000.0000.0001, root_cost 0, update_flag 0x0
        msti 1: root_id 32769.0000.0000.0002, root_cost 100, update_flag 0x0
   Pseudo interfaces:
        TenGigabitEthernet4/1
PE1#show spanning-tree mst configuration
Name      []
Revision  0     Instances configured 2
Instance  Vlans mapped
--------  ---------------------------------------------------------------------
0         1-99,201-399,501-4094
1         100-200,400-500
-------------------------------------------------------------------------------
PE1#
PE1#show spanning-tree mst detail 
##### MST0    vlans mapped:   1-99,201-399,501-4094
Bridge        address 0013.5f21.e240  priority      32768 (32768 sysid 0)
Root          this switch for the CIST
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20
TenGigabitEthernet4/1 of MST0 is designated forwarding 
Port info             port id        128.769  priority    128  cost        2000
Designated root       address 0013.5f21.e240  priority  32768  cost           0
Design. regional root address 0013.5f21.e240  priority  32768  cost           0
Designated bridge     address 0013.5f21.e240  priority  32768  port id  128.769
Pseudo-info (id 2) is running
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 770, received 0
PW 22.22.22.22:100 of MST0 is designated forwarding 
Port info             port id       128.1022  priority    128  cost         200
Designated root       address 0013.5f21.e240  priority  32768  cost           0
Design. regional root address 0013.5f21.e240  priority  32768  cost           0
Designated bridge     address 0013.5f21.e240  priority  32768  port id 128.1022
Pseudo-info (id 255) is running
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 0, received 0
##### MST1    vlans mapped:   100-200,400-500
Bridge        address 0013.5f21.e240  priority      32769 (32768 sysid 1)
Root          this switch for MST1
TenGigabitEthernet4/1 of MST1 is designated forwarding 
Port info             port id        128.769  priority    128  cost        2000
Designated root       address 0013.5f21.e240  priority  32769  cost           0
Designated bridge     address 0013.5f21.e240  priority  32769  port id  128.769
Pseudo-info (id 2) is running
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 770, received 0
PW 22.22.22.22:100 of MST1 is designated forwarding 
Port info             port id       128.1022  priority    128  cost         200
Designated root       address 0013.5f21.e240  priority  32769  cost           0
Designated bridge     address 0013.5f21.e240  priority  32769  port id 128.1022
Pseudo-info (id 255) is running
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 0, received 0
PE1#show mpls l2transport vc detail 
Local interface: VFI bpdupw VFI  up
  Interworking type is Ethernet
  Destination address: 22.22.22.22, VC ID: 100, VC status: up
    Output interface: Te4/2, imposed label stack {17}
    Preferred path: not configured  
    Default path: active
    Next hop: 12.0.0.2
  Create time: 00:23:57, last status change time: 00:23:24
  Signaling protocol: LDP, peer 22.22.22.22:0 up
    Targeted Hello: 11.11.11.11(LDP Id) -> 22.22.22.22, LDP is UP
    Status TLV support (local/remote)   : enabled/supported
      LDP route watch                   : enabled
      Label/status state machine        : established, LruRru
      Last local dataplane   status rcvd: No fault
      Last BFD dataplane     status rcvd: Not sent
      Last BFD peer monitor  status rcvd: No fault
      Last local AC  circuit status rcvd: No fault
      Last local AC  circuit status sent: No fault
      Last local LDP TLV     status sent: No fault
      Last remote LDP TLV    status rcvd: No fault
      Last remote LDP ADJ    status rcvd: No fault
    MPLS VC labels: local 22, remote 17 
    PWID: 20498
    Group ID: local 0, remote 0
    MTU: local 1500, remote 1500
    Remote interface description: 
    MAC Withdraw: sent:3, received:4
  Sequencing: receive disabled, send disabled
  Control Word: On (configured: autosense)
  SSO Descriptor: 22.22.22.22/100, local label: 22
    SSM segment/switch IDs: 16405/12305 (used), PWID: 20498
  VC statistics:
    transit packet totals: receive 0, send 129268726
    transit byte totals:   receive 0, send 4504820856
    transit packet drops:  receive 0, seq error 0, send 0
PE1#show vfi name bpdupw
Legend: RT=Route-target, S=Split-horizon, Y=Yes, N=No
VFI name: bpdupw, state: up, type: multipoint signaling: LDP
  VPN ID: 100
  Forwarding BPDUs only
  Bridge-Domain 1 attachment circuits:
    Vlan1 
  Neighbors connected via pseudowires:
  Peer Address     VC ID        S
  22.22.22.22      100          Y
----- PE2 configuration -----
Step 1:
PE2#configure terminal 
Enter configuration commands, one per line.  End with CNTL/Z.
PE2(config)#spanning-tree mode mst
PE2(config)#spanning-tree extend system-id
PE2(config)#spanning-tree pseudo-information transmit 1
PE2(config-pseudo)# remote-id 2
PE2(config-pseudo)# mst 0 root 32768 0000.0000.0001
%Warning:  Please make same configuration change on mst instance 0  for
 remote Pseudo Info instance also.   Difference in mst instance 0 config
 on Pseudo Info pair can cause network instability
PE2(config-pseudo)# mst 1 root 32768 0000.0000.0002
PE2(config-pseudo)# mst 1 cost 100
PE2(config-pseudo)# exit
PE2(config)#spanning-tree mst configuration
PE2(config-mst)# instance 1 vlan 100-200, 400-500
PE2(config-mst)#end
PE2#
Step 2:
PE2#configure terminal 
Enter configuration commands, one per line.  End with CNTL/Z.
PE2(config)#interface GigabitEthernet13/7
PE2(config-if)# ip arp inspection limit none
PE2(config-if)# no ip address
PE2(config-if)# spanning-tree pseudo-information transmit 1
PE2(config-if)# service instance 2 ethernet
PE2(config-if-srv)# encapsulation dot1q 2
PE2(config-if-srv)# rewrite ingress tag pop 1 symmetric
PE2(config-if-srv)# bridge-domain 100
PE2(config-if-srv)# service instance 499 ethernet
PE2(config-if-srv)# encapsulation dot1q 499
PE2(config-if-srv)# rewrite ingress tag pop 1 symmetric
PE2(config-if-srv)# bridge-domain 402
PE2(config-if-srv)#end
PE2#
Step 3:
PE2#configure terminal 
Enter configuration commands, one per line.  End with CNTL/Z.
PE2(config)#l2 vfi bpdupw manual 
PE2(config-vfi)# vpn id 100
PE2(config-vfi)# forward permit l2protocol all
PE2(config-vfi)# neighbor 11.11.11.11 encapsulation mpls
PE2(config-vfi)#end
PE2#
Step 4:
PE2#configure terminal 
Enter configuration commands, one per line.  End with CNTL/Z.
PE2(config)#interface Vlan1
PE2(config-if)# no ip address
PE2(config-if)# xconnect vfi bpdupw
PE2(config-if)#end
PE2#
Use the show commands to check the configuration:
PE2#show running-config int gig 13/7
Building configuration...
Current configuration : 359 bytes
!
interface GigabitEthernet13/7
 ip arp inspection limit none
 no ip address
 spanning-tree pseudo-information transmit 1
 service instance 2 ethernet
  encapsulation dot1q 2
  rewrite ingress tag pop 1 symmetric
  bridge-domain 100
 !
 service instance 499 ethernet
  encapsulation dot1q 499
  rewrite ingress tag pop 1 symmetric
  bridge-domain 402
 !
end
PE2#show spanning-tree mst 
##### MST0    vlans mapped:   1-99,201-399,501-4094
Bridge        address 0015.c7f9.cc40  priority      32768 (32768 sysid 0)
Root          this switch for the CIST
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20
Interface                        Role Sts Cost      Prio.Nbr Type
----------------                 ---- --- --------- -------- --------------------
------------
PW 11.11.11.11:100               Desg FWD 200       128.3070 P2p R-L2GP 
Gi13/7                           Desg FWD 20000     128.3079 P2p R-L2GP 
##### MST1    vlans mapped:   100-200,400-500
Bridge        address 0015.c7f9.cc40  priority      32769 (32768 sysid 1)
Root          this switch for MST1
Interface                        Role Sts Cost      Prio.Nbr Type
----------------                 ---- --- --------- -------- --------------------
------------
PW 11.11.11.11:100               Desg FWD 200       128.3070 P2p R-L2GP 
Gi13/7                           Desg FWD 20000     128.3079 P2p R-L2GP 
PE2#show spanning-tree pseudo-information 
Pseudo id 1, type transmit:
   remote_id 2
   mst_region_id 0, port_count 1, update_flag 0x0
   mrecord 0x542B57F4, mrec_count 2:
        msti 0: root_id 32768.0000.0000.0001, root_cost 0, update_flag 0x0
        msti 1: root_id 32769.0000.0000.0002, root_cost 100, update_flag 0x0
   Pseudo interfaces:
        GigabitEthernet13/7
PE2#show spanning-tree mst configuration 
Name      []
Revision  0     Instances configured 2
Instance  Vlans mapped
--------  ---------------------------------------------------------------------
0         1-99,201-399,501-4094
1         100-200,400-500
-------------------------------------------------------------------------------
PE2#
PE2#show spanning-tree mst detail 
##### MST0    vlans mapped:   1-99,201-399,501-4094
Bridge        address 0015.c7f9.cc40  priority      32768 (32768 sysid 0)
Root          this switch for the CIST
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20
PW 11.11.11.11:100 of MST0 is designated forwarding 
Port info             port id       128.3070  priority    128  cost         200
Designated root       address 0015.c7f9.cc40  priority  32768  cost           0
Design. regional root address 0015.c7f9.cc40  priority  32768  cost           0
Designated bridge     address 0015.c7f9.cc40  priority  32768  port id 128.3070
Pseudo-info (id 255) is running
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 0, received 0
GigabitEthernet13/7 of MST0 is designated forwarding 
Port info             port id       128.3079  priority    128  cost       20000
Designated root       address 0015.c7f9.cc40  priority  32768  cost           0
Design. regional root address 0015.c7f9.cc40  priority  32768  cost           0
Designated bridge     address 0015.c7f9.cc40  priority  32768  port id 128.3079
Pseudo-info (id 1) is running
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 1301, received 0
##### MST1    vlans mapped:   100-200,400-500
Bridge        address 0015.c7f9.cc40  priority      32769 (32768 sysid 1)
Root          this switch for MST1
PW 11.11.11.11:100 of MST1 is designated forwarding 
Port info             port id       128.3070  priority    128  cost         200
Designated root       address 0015.c7f9.cc40  priority  32769  cost           0
Designated bridge     address 0015.c7f9.cc40  priority  32769  port id 128.3070
Pseudo-info (id 255) is running
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 0, received 0
GigabitEthernet13/7 of MST1 is designated forwarding 
Port info             port id       128.3079  priority    128  cost       20000
Designated root       address 0015.c7f9.cc40  priority  32769  cost           0
Designated bridge     address 0015.c7f9.cc40  priority  32769  port id 128.3079
Pseudo-info (id 1) is running
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 1303, received 0
PE2#show mpls l2transport vc detail 
Local interface: VFI bpdupw VFI up
  Interworking type is Ethernet
  Destination address: 11.11.11.11, VC ID: 100, VC status: up
    Output interface: Te12/2, imposed label stack {17}
    Preferred path: not configured  
    Default path: active
    Next hop: 12.0.0.1
  Create time: 00:10:32, last status change time: 00:09:56
  Signaling protocol: LDP, peer 11.11.11.11:0 up
    Targeted Hello: 22.22.22.22(LDP Id) -> 11.11.11.11, LDP is UP
    Status TLV support (local/remote)   : enabled/supported
      LDP route watch                   : enabled
      Label/status state machine        : established, LruRru
      Last local dataplane   status rcvd: No fault
      Last BFD dataplane     status rcvd: Not sent
      Last local SSS circuit status rcvd: No fault
      Last local SSS circuit status sent: No fault
      Last local  LDP TLV    status sent: No fault
      Last remote LDP TLV    status rcvd: No fault
      Last remote LDP ADJ    status rcvd: No fault
    MPLS VC labels: local 19, remote 17 
    PWID: 4144
    Group ID: local 0, remote 0
    MTU: local 1500, remote 1500
    Remote interface description: 
    MAC Withdraw: sent:1, received:1
  Sequencing: receive disabled, send disabled
  Control Word: On (configured: autosense)
  SSO Descriptor: 11.11.11.11/100, local label: 19
    SSM segment/switch IDs: 16433/4138 (used), PWID: 4144
  VC statistics:
    transit packet totals: receive 0, send 0
    transit byte totals:   receive 0, send 0
    transit packet drops:  receive 0, seq error 0, send 0
PE2#show vfi name bpdupw
Legend: RT=Route-target, S=Split-horizon, Y=Yes, N=No
VFI name: bpdupw, state: up, type: multipoint signaling: LDP
  VPN ID: 100
  Forwarding BPDUs only
  Bridge-Domain 1 attachment circuits:
    Vlan1 
  Neighbors connected via pseudowires:
  Peer Address     VC ID        S
  11.11.11.11      100          Y

Troubleshooting

Table 4-26 provides troubleshooting solutions for the Reverse L2GP feature.

Table 4-26 Troubleshooting Reverse L2GP feature

Problem
Solution

RL2GP configuration issues

Use the show spanning-tree pseudo-information [id [configuration | interface]] and debug spanning-tree pseudo-information commands to trace the configuration sequence of the R-L2GP commands and the messages between the route and switch processor. Share the output with TAC for further investigation.

Disabled STP or MST instances

Use the show spanning-tree [active | detail | interface] command to verify the state of the STP or MST. Share the output with TAC for further investigation.

spanning-tree pseudo-information transmit command is rejected

Verify if :

All MST instances within the pseudo-information are configured within the MST global configuration.

MSTI 0 (IST) is configured within the pseudo-information.

Cannot configure MST

Re-configure MSTE and ensure that priority, MAC address and cost are the same on both the network processor engines.

System loops

Re-configure all the 64 VLAN instances per RL2GP within a Pseudo ID.

Configuration is rejected when the MST region ID is modified.

As IOS supports only single region MST, remove the multiple MSTregion IDs that have been configured and configure only a single MST ID.


Configuring Static MAC Binding to EVCs and Psuedowires

Static MAC on Ethernet Flow Point (EFP) and Pseudowire (PW) provides the functionality to configure static unicast or multicast MAC address on EFP and PW. A MAC address can be statically added on an EFP under port channel. This feature provides the functionality to:

Avoid dynamically learning the traffic in both the directions.

Configure MAC address for Service Instance (SI) and PW.

Limit the scope of the data traffic flood by creating multicast groups. The static MAC address assignment is important to avoid dynamically learning the traffic in both directions and also to limit the flooding scope by creating a static multicast group.

Implement security by explicitly enabling a single MAC address.

Resolve the problem of MAC address aging out as the dynamic learning is disabled.

Optimize L2 table performance by limiting the table size.

Configure static MAC on EFPs on port channels.

Configure fully meshed pseudowire network between core facing routers and place them under single multicast group.

Restrictions and Usage Guidelines

When configuring static MAC on EFP and PW for the Cisco 7600 routers, follow these guidelines and restrictions:

You cannot configure unicast static MAC address and MAC security on the same EFP simultaneously. For multicast addresses, static MAC and MAC security can be simultaneously supported under EFP.

No support for static MAC on PWs on C-MAC Bridge-domain.

Static MACs are related to a L2 Bridge-domain table, so only the bridged services are supported.

When static MAC is configured on VPLS PW, and core-facing interface fails resulting in egress interface to move to available interface, the traffic may be delayed.

Static MAC configuration is supported only on EVC bridge-domain interfaces and VFI pseudowires.

Static Mac configuration on EFP is supported on ES+ and ESM20 line cards

Static Mac configuration on VFI PW is supported on ES+, ESM20 and SIP 400 line cards.

Number of MACs per PW (unicast and multicast) is limited to 1024.

Number of MACs per Bridge-domain or VFI (unicast and multicast) is limited to 1024.

Number of MACs per system (unicast and multicast) is limited to 1024.

A static unicast MAC can be configured either globally or within a EVC or PW, not both. If a static unicast MAC is configured within a EVC or PW first, then configuring the same MAC address globally using the command mac-address-table static H.H.H vlan vlan_id [drop | interface] makes the configuration within EVC or PW invalid.

The next section describes how to configure Static MAC on EFP and PW for the Cisco 7600 router. You need to configure MPLS on core-facing router before configuring static MAC on PW. The information about configuring MPLS on core-facing router is included as a separate section.

Configuring Static MAC over EFP for the Cisco 7600 Router

Configuring MPLS on Core-Facing Interface

Configuring Static MAC over Pseudowire for the Cisco 7600 Router

Configuring Static MAC over EFP for the Cisco 7600 Router

This section describes how to configure static MAC over EFP or SIs.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface gigabitethernet slot/port or interface tengigabitethernet slot/port

4. service instance id Ethernet [service-name]

5. encapsulation dot1q | untagged | double tagged | default vlan-id

6. bridge-domain bridge-id

7. mac static address mac_address [auto-learn | disable-snooping]

8. mac static address mac_address

9. exit

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# Router(config)# interface giga- bitethernet 4/1

Enters global configuration mode.

Step 3 

interface gigabitethernet slot/port

or interface tengigabitethernet slot/port

Example:

Router(config)# Interface GigabitEthernet2/0/0

Specifies the Gigabit Ethernet or the Ten Gigabit Ethernet interface to configure, where slot/port specifies the location of the interface.

Step 4 

service instance id Ethernet [ser- vice-name]

Example:

Router(config-if)# service instance 101 ethernet

Creates a service instance (an instance of an EVC) on an interface and sets the device into the config-if-srv submode.

Step 5 

encapsulation dot1q {any | vlan-id [vlan-id[vlain-id]]} second-dot1q {any | vlan-id[vlan-id[vlan-id]]}

Example:

Router(config-if-srv)# encapsulation dot1q 100 second dot1q 200

Configuring the encapsulation. Defines the matching criteria to be used in order to map ingress dot1q frames on an interface to the appropriate service instance.

Step 6 

bridge-domain bridge-id

Example:

Router(config-if-srv)# bridge-domain 12

Configuring the bridge domain. Binds the service instance to a bridge domain instance where bridge-id is the identifier for the bridge domain instance.

Step 7 

mac static address mac_address [au- to-learn | disable-snooping]

Example:

Router(config-if-srv)# mac static ad- dress 0002.1122.0010

Configuring the static mac address for service instance. These are the options:

auto-learn:Specifies that if the router sees this same MAC address on a different port, the MAC entry should be updated with the new port to allow MAC move.

disable-snooping is used for multicast static MAC address. This option disables IGMP snooping on the multicast MAC address.The MAC address is in hexadecimal format.

Step 8 

mac static address mac_address

Example:

Router(config-if-srv)# mac static ad- dress 0002.1122.0010

Enables the static MAC address.

Step9

exit

Example:

Router(config-if-srv)# exit

Exits interface configuration mode.

Examples

This example shows how to configure static MAC over EFP or SIs:

Router# enable
Router# configure terminal
Router(config-if)# service instance 10 ethernet
Router(config-srv)# encapsulation dot1q 20
Router(config-if-srv)# bridge-domain 100
Router(config-if-srv)# mac static address 0002.1122.0010 
Router(config-if-srv)# mac static address 0100.5e00.1111 disable-snooping 
Router(config-if-srv)# mac static address 0002.1122.0011 auto-learn
Router(config-if-srv)# mac static address 0100.5e00.1112 
Router(config-if-srv)# mac static address 0002.1122.0012 auto-learn
Router(config-if-srv)# mac static address 0100.5e00.1113 disable-snooping
Router(config-if-srv)# exit

Configuring MPLS on Core-Facing Interface

You need to configure MPLS on the core-facing router before configuring static MAC over pseudowire. This section describes how to configure MPLS on the core-facing router interface.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface gigabitethernet slot/subslot/port

4. ip address ip_Address mask

5. mpls ip

6. mpls label protocol ldp

7. exit

8. interface loopback Loopback_Id

9. ip address loopback_address mask

10. exit

11. mpls ldp router-id loopback loopback_Id force

12. router ospf ospf_Id

13. network loopback_network wildcard_mask area 0

14. exit

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface gigabitethernet slot/sub- slot/port

Example:

Router(config)# interface gigabitether- net 3/0/0

Specifies the Gigabit Ethernet interface to configure, where:

slot/subslot/port—Specifies the location of the interface.

Step 4 

ip address ip_Address mask

Example:

Router(config-if)# ip address 10.192.0.2 255.255.0.0

Configures ip address for the interface.

Step 5 

mpls ip

Example:

Router(config-if)# mpls ip

Enables MPLS.

Step 6 

mpls label protocol ldp

Example:

Router(config-if)# mpls label protocol ldp

Configures the mpls parameters.

Step 7 

exit

Example:

Router(config-if)# exit

Exits interface configuration mode.

Step 8 

interface loopback loopback_Id

Example:

Router(config)# interface loopback 0

Creates a loopback with the specified loopback_Id.

Step 9 

ip address loopback_address mask

Example:

Router(config-if)# ip address 1.1.1.1 mask 255.255.255.255

Creates an IP address for the loopback.

Step 10 

exit

Example:

Router(config)# exit

Exits interface configuration mode.

Step 11 

mpls ldp router-id loopback loopback_Id force

Example:

Router(config)# mpls ldp router-id loopback 0 force

Configures loopback address as router-id.

Step 12 

router ospf ospf_Id

Example:

Router(config)# router ospf 50

Enables OSPF router configuration mode.

Step 13 

network loopback_network wildcard_mask area 0

Example:

Router(config)# network 192.168.1.1 255.255.255.225 area 0

Defines an interface on which OSPF runs and define the area ID for that interface.

Step 14 

exit

Example:

Router(config)# exit

Exits the interface configuration mode.

Configuring Static MAC over Pseudowire for the Cisco 7600 Router

This section describes how to configure static MAC over pseudowire.

SUMMARY STEPS

1. enable

2. configure terminal

3. l2 vfi vfi_Id manual

4. vpn id vpn_id

5. bridge-domain bd_number vlan

6. neighbor ip_address encapsulation mpls

7. mac static address mac_address

8. exit

9. Interface vlan vlan_Id

10. xconnect vfi vfi_Id

11. no shutdown

12. exit

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

l2 vfi vfi_name manual

Example:

Router(config-vfi)# l2 vfi smac_vfi manual

Creates a VFI and enters L2 VFI configuration mode.

Step 4 

vpn id vpn_id

Example:

Router(config-vfi)# vpn id 30

Configure the VPN Identifier.

Step 5 

bridge-domain bd_number vlan

Example:

Router(vfi-config)# bridge-domain 40 vlan

Configures the bridge domain.

Step 6 

neighbor ip_address encapsulation mpls

Example:

Router(vfi-config)# neighbor 192.168.1.1 encapsulation mpls

Configures the remote peering router-id and tunnel encapsulation type.

Step 7 

mac static address mac_address [au- to-learn | disable-snooping]

Example:

Router(config-vfi-neighbor)# mac stat- ic address 2222.1111.1000

Configures the unicast and/or multicast static MAC address to the interface. MAC address is in hexadecimal format.

Configuring the static mac address for service instance. The option:

auto-learn is used for unicast static MAC address only. This option is not available for multicast static mac address.

disable-snooping is used for multicast static MAC address. This option disables IGMP snooping on the multicast MAC address.

Step 8 

exit

Example:

Router(config)# exit

Exits the VFI configuration mode.

Step 9 

Interface vlan vlan_Id

Example:

Router(config)# interface vlan 40

Creates an interface VLAN, where the VLAN Id should be same as the bd_number configured in step 5.

Step 10 

xconnect vfi VFI_Id

Example:

Router(config-if)# xconnect vfi smac_vfi

Binds the Ethernet or VLAN port to the L2 VFI.

Step 11 

exit

Example:

Router(config-if)# exit

Exits the interface configuration mode.

Examples

This example shows how to configure static MAC over pseudowire.

Router# enable
Router# configure terminal
Router(config)# interface GigabitEthernet 4/1/0
Router(config)# l2 vfi foo-core manual
Router(config-vfi)# vpn id 100
Router(config-vfi)# bridge-domain 10 vlan
Router(config-vfi)# neighbor 11.0.0.1 encapsulation mpls
Router(config-vfi-neighbor)# mac static address 0002.1122.0010 auto-learn
Router(config-vfi-neighbor)# mac static address 0100.5e00.1111 
Router(config-vfi-neighbor)# mac static address 0002.1122.0011 
Router(config-vfi-neighbor)# mac static address 0100.5e00.1112 disable-snooping
Router(config-vfi-neighbor)# mac static address 0002.1122.0012 auto-learn
Router(config-vfi-neighbor)# mac static address 0100.5e00.1113 disable-snooping
Router(config-vfi-neighbor)# interface vlan 10
Router(config-if)# xconnect vfi foo-core
Router(config-vfi)# exit
Router(config)# exit

Verification

Use the following commands to verify a configuration:

You can use the show bridge-domain domain_Id mac static address command to verify the configuration:

Bridge-Domain ID : 10
Static MAC count : System : 8, bridge-domain : 8
Port Address Action
vfi foo-core neighbor 1.1.1.1 100 0000.0200.1112
vfi foo-core neighbor 1.1.1.1 100 0000.1111.1001 auto-learn
vfi foo-core neighbor 1.1.1.1 100 0100.5e11.1002
vfi foo-core neighbor 1.1.1.1 100 0100.5e11.1003 disable-snooping
Gi2/0/0 ServInst 2 0000.1111.1003
Gi2/0/0 ServInst 2 0000.1111.1004 auto-learn
Po500 ServInst 1 0000.0000.0777 
Po500 ServInst 1 0100.5e00.1111 disable-snooping

You can use the show ethernet service instance id si_Id interface interface mac static address command to verify the configuration:

Router#Router# show ethernet service instance id 1 interface Gi 2/0/0 mac static 
address
Bridge domain ID : 10
Port static MAC count : 2
Port Address Action
Gi2/0/0 ServInst 1 0000.1111.1001
Gi2/0/0 ServInst 1 0000.1111.1002 auto-learn

You can use the show vfi { name vfi_name> | neighbor peer_ip_address vcid id } mac static address command to verify the configuration:

Router#show vfi neighbor 1.1.1.1 vcid 100 mac static address
Bridge domain ID : 10
Port Address Action
vfi foo-core neighbor 1.1.1.1 100 0000.0200.1112
vfi foo-core neighbor 1.1.1.1 100 0000.1111.1001
vfi foo-core neighbor 1.1.1.1 100 0000.1111.1002 auto-learn
vfi foo-core neighbor 1.1.1.1 100 0100.5e11.1002

Troubleshooting

Table 4-27 provides the troubleshooting solutions for the REP over EVC feature

Table 4-27

Problem
Solution

Pseudowire (PW) state changes

Complete these steps:

1. If a PW is down, flush all the static MAC addresses configured within the PW.

2. If the PW is up, re-install all the static MAC addresses configured within the PW.

3. If there is a PW change in egress due to load-balancing or FRR, update all static MAC addresses configured within the PW in the HW MAC table to use the new egress information.

MAC address is not installed or deleted from the MAC address table
Data is not synchronized with the standby supervisor
EFP or PW is disabled

Use the debug mac static [event | error | ha | issu] command to confirm if the MAC address (configured through static mac over EFP/PW feature) is installed or deleted from the mac address table and if the data is synchronized to the standby supervisor. Share the output with TAC for further investigation.


Troubleshooting REP over EVC feature

Configuring Resilient Ethernet Protocol

Resilient Ethernet Protocol (REP) is a Cisco proprietary protocol that provides an alternative to Spanning Tree Protocol (STP) to support L2 resiliency and fast failover with Ethernet networks. REP provides functionality to:

Control network loops

Handle link failures

Improve convergence time

An REP segment is a connected chain of ports configured with a segment ID. Each segment consists of standard (non-edge) segment ports and two user-configured edge ports. REP is supported on Layer 2 trunk interfaces and EVC ports. REP controls a group of ports connected in a segment, ensures that the segment does not create any bridging loops, and responds to link failures within the segment. REP provides a basis for constructing more complex networks and supports VLAN load balancing. REP extends the network resiliency across Cisco IP Next-Generation Network (NGN) Carrier Ethernet Design. REP is designed to provide network and application convergence within 50 to 200 ms. REP is a segment protocol that integrates easily into existing Carrier Ethernet networks. It allows network architects to limit the scope of STP domains. REP can also notify the STP about potential topology changes, allowing interoperability with Spanning Tree.

REP is a distributed and secure protocol and does not rely on a master node controlling the status of the ring. Hence, the failures can be detected locally either through loss of signal (LOS) or loss of neighbor adjacency. Any REP port can initiate a switchover after acquiring the secure key to unblock the alternate port. An REP segment is a chain of ports connected to each other and configured with the same segment ID. Each end of a segment terminates on an edge switch. The port where the segment terminates is called the edge port.

REP Edge No-Neighbor

Effective from Cisco IOS release 15.1.(01)S, a new functionality provides capability to configure the non-rep switch facing ports as edge no-neighbor ports. These ports inherit the properties of edge ports, and overcome the limitation of not being able to converge quickly during a failure.

Figure 4-9 Edge No-Neighbor Ports

In access ring topologies, the neighboring switch might not support REP, as shown in Figure 4-2. In this case, you can configure the non-REP facing ports (E1 and E2) as edge no-neighbor ports. These ports inherit all the properties of edge ports. You can configure these no-neighbor ports as any other edge port and also enable the ports to send STP or REP topology change notices to the aggregation switch. In this case the STP Topology Change Notice (TCN) that is sent is a Multiple Spanning-Tree (MST) STP message.

These sections describes how to configure REP on the Cisco 7600 router:

Configuring REP over Ethernet Virtual Circuit

Configuring Resilient Ethernet Protocol Configurable Timers

Configuring REP over Ethernet Virtual Circuit

The REP over Ethernet Virtual Circuit (EVC) allows you to configure and manage ports at service level. You cannot configure REP on per service instance. An EVC port can have multiple service instances. Each service instance corresponds to a unique Event Flow Processor (EFP). By default, REP is disabled on all ports. Using REP over EVC, you can:

Control data traffic.

Configure VLANs load balancing at service instance level.

The ports on a C7600 platform are classified into three different types: switchports, routed ports, and EVC ports. By default, a port is a routed port. REP is not supported on routed ports. You need to configure a port to a switchport or EVC port to configure REP on it. A port that is configured with one or more service instances is called an EVC port.

This feature allows you to configure an EVC port to participate in a REP segment. REP can selectively block or forward data traffic on particular VLANs. For EVC, the VLAN Id refers to the outer tag of the dot1q encapsulation that is configured on a service instance. REP is supported on a bridge-domain service. If ethernet vlan color-block all command is configured, REP is supported on connect and xconnect services.

For more information on REP, see the Cisco IOS and NX-OS Software Resilient Ethernet Protocol guide at http://www.cisco.com/en/US/docs/ios/lanswitch/configuration/guide/lsw_cfg_rep.html and http://www.cisco.com/en/US/prod/collateral/switches/ps6568/ps6580/prod_white_paper0900aecd806ec6fa.pdf.

Restrictions and Usage Guidelines

When configuring REP over EVC for the Cisco 7600 router, follow these guidelines and restrictions:

REP is not supported on service instances configured with encapsulation, untagged, or default type.

Cisco recommends that you begin by configuring one port and then configure the contiguous ports to minimize the number of segments and the number of blocked ports.

REP can handle only one failure in a segment. If there is more than one failure in a REP segment, traffic is lost.

REP ports must be Layer 2 trunk ports or EVC ports.

You must configure all trunk ports in the segment with the same set of allowed VLANs, or a misconfiguration may occur.

Since REP blocks all VLANs until another REP interface sends a message to unblock it, you might lose connectivity to the port if you enable REP in a Telnet session that accesses the EVC port through the same interface.

You cannot execute REP and STP/MST or REP and Flex Links on the same segment or interface.

If you connect an STP network to the REP segment, be sure that the connection is at the segment edge. An STP connection that is not at the edge causes a bridging loop because STP does not run on REP segments. All STP BPDUs are dropped at REP interfaces.

If REP is enabled on two ports, both the ports must be either regular segment ports or edge ports. REP ports follow these rules:

If only one port is configured in a segment, the port should be an edge port.

If two ports belong to the same segment, both ports must be edge ports or the regular segment ports.

If two ports belong to the same segment and one is configured as an edge port and other as a regular segment port, the edge port is treated as a regular segment port.

There can be only two edge ports in a segment, if there are two edge routers in a segment, each router can have only one edge port. All the other ports on the edge router function as normal ports.

REP interfaces come up in a blocked state and remains in a blocked state until notified that it is safe to unblock.

REP sends all LSL PDUs in untagged frames on the native VLAN. The BPA message(untagged) sent to the Cisco multicast address is sent on the administration VLAN, which is VLAN 1 by default. Only the hardware flood layer (HFL) packets are sent on admin VLAN.

REP ports cannot be configured as:

SPAN destination port

Private VLAN port

Tunnel port

Access port

REP is supported on EtherChannels, but not on an individual port that belongs to an EtherChannel. It is supported on Swichports and EVC port-channels. REP is implemented on Port-channels instead of individual ports.

In case of double VLAN tagged frame, REP is implemented only on the outer VLAN tag.

When an edge no-neighbor is configured on a router, configuring and unconfiguring an edge port is not allowed.

Starting with Cisco IOS Release 15.2(4)S, you can configure a maximum of two REP edge no-neighbor ports on the same segment.

Configuring REP over EVC for the Cisco 7600 Router

This section describes how to configure REP over EVC for the Cisco 7600 router:

Configuring REP over EVC using cross-connect on the Cisco 7600 Router

Configuring REP over EVC using connect for the Cisco 7600 Router

Configuring REP over EVC using bridge-domain for the Cisco 7600 Router

Configuring REP over EVC using cross-connect on the Cisco 7600 Router

This section describes how to configure REP over EVC using cross-connect at global configuration level.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface gigabitEthernet slot/port

4. rep segment segment_id [edge [no-neighbor] [primary]] [preferred]

5. ether vlan color-block all

6. service instance id {Ethernet [service-name}

7. encapsulation dot1q vlan_id

8. rewrite ingress tag {push {dot1q vlan-id | dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | pop {1 | 2} | translate {1-to-1 {dot1q vlan-id | dot1ad vlan-id}| 2-to-1 dot1q vlan-id | dot1ad vlan-id}| 1-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | 2-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id}} [symmetric]

9. xconnect loopback_ip vc_id encapsulation mpls

10. exit

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface gigabitethernet slot/port

Example:

Router(config)# interface gigabitether- net 5/3

Specifies the Gigabit Ethernet interface to configure, where:

slot/port—Specifies the location of the interface.

Step 4 

rep segment segment_id [edge [no-neigh- bor] [primary]] [preferred]

Example:

Router(config-if)# rep segment 3 edge

Configures the REP over EVC. The segment ID range is from 1 to 1024.

Note You must configure two edge ports, including one primary edge port for each segment.

These optional keywords are available.

Enter edge to configure the port as an edge port. Entering edge without the primary keyword configures the port as the secondary edge port. Each segment has only two edge ports.

On an edge port, enter primary to configure the port as the primary edge port, the port on which you can configure VLAN load balancing.

Note Although each segment can have only one primary edge port, if you configure edge ports on two different switches and enter the primary keyword on both switches, the configuration is allowed. However, REP selects only one of these ports as the segment primary edge port. You can identify the primary edge port for a segment by using the show rep topology privileged EXEC command.

On an edge port, use the no-neighbor keyword to configure the segment edge with no external rep neighbor.

Enter preferred to indicate that the port is the preferred alternate port, or the preferred port for VLAN load balancing.

Note Configuring a port as preferred does not guarantee that it becomes the alternate port; it merely gives it a slight edge among equal contenders. The alternate port is usually a previously failed port.

Step 5 

ether vlan color-block all

Example:

Router(config-if)# ether vlan col- or-block all

Configures REP to block xconnect type of service instances.

Step 6 

service instance id Ethernet [ser- vice-name]

Example:

Router(config-if)# service instance 101 ethernet

Creates a service instance (an instance of an EVC) on an interface and sets the device into the config-if-srv submode.

Step 7 

encapsulation dot1q {any | vlan-id[vlan-id[-vlain-id]]} sec- ond-dot1q {any | vlan-id[vlan-id[-vlan-id]]}

Example:

Router(config-if-srv)# encapsulation dot1q 100 second dot1q 200

Configures the encapsulation. Defines the matching criteria to be used in order to map ingress dot1q frames on an interface to the appropriate service instance.

Step 8 

rewrite ingress tag {push {dot1q vlan-id | dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | pop {1 | 2} | translate {1-to-1 {dot1q vlan-id | dot1ad vlan-id}| 2-to-1 dot1q vlan-id | dot1ad vlan-id}| 1-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | 2-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id}} [symmetric]

Example:

Router(config-if-srv)# rewrite ingress tag dot1q single symmetric

Specifies the tag manipulation that is to be performed on the frame ingress to the service instance.

Step 9 

xconnect loopback_id vc_id encapsula-
tion mpls
Example:
Router(config-if-srv)# xconnect 
10.0.0.2 999 encapsulation mpls

Configures forwarding mechanism on a service instance. Ensure that the MPLS connectivity is up.

Step 10 

exit

Example:

Router(config-if-srv)# exit

Exits service instance mode.

Examples

This example shows how to configure REP over EVC using xconnect.

Router# enable
Router# configure terminal
Router(config)# interface GigabitEthernet 5/3
Router(config-if)# rep segment 120 edge
Router(config-if)# ether vlan color-block all
Router(config-if)# service instance 10 ethernet
Router(config-if-srv)# encapsulation dot1q 20
Router(config-if-srv)# rewrite ingress tag pop 1 symmetric
Router(config-if-srv)# xconnect 10.0.0.1 20 encapsulation mpls
Router(cfg-if-ether-vc-xconn)# exit
Router(config-if-srv)# exit
Router(config-if)# exit
Router(config)# exit

Configuring REP over EVC using connect for the Cisco 7600 Router

This section describes how to configure REP over EVC using connect at global configuration level.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface type slot/port

4. ether vlan color-block all

5. service instance id {Ethernet [service-name}

6. encapsulation dot1q vlan_id

7. rewrite ingress tag {push {dot1q vlan-id | dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | pop {1 | 2} | translate {1-to-1 {dot1q vlan-id | dot1ad vlan-id}| 2-to-1 dot1q vlan-id | dot1ad vlan-id}| 1-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | 2-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id}} [symmetric]

8. exit

9. rep segment segment_id [edge [no-neighbor] [primary]] [preferred]

10. exit

11. interface type slot/port

12. ether vlan color-block all

13. service instance id {Ethernet [service-name}

14. encapsulation dot1q vlan_id

15. rewrite ingress tag {push {dot1q vlan-id | dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | pop {1 | 2} | translate {1-to-1 {dot1q vlan-id | dot1ad vlan-id}| 2-to-1 dot1q vlan-id | dot1ad vlan-id}| 1-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | 2-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id}} [symmetric]

16. exit

17. rep segment segment_id [edge [no-neighbor] [primary]] [preferred]

18. exit

19. connect <connect_name> <interface> <service_instance_id> <interface> <service_instance_id>

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface gigabitethernet slot/port

Example:

Router(config)# interface gigabitether- net 2/1

Specifies the Gigabit Ethernet interface to configure, where:

slot/port—Specifies the location of the interface.

Step 4 

ether vlan color-block all

Example:

Router(config-if)# Ether vlan col- or-block all

Configures REP to block connect type of service instances.

Step 5 

service instance id Ethernet [ser- vice-name]

Example:

Router(config-if)# service instance 10 ethernet

Creates a service instance (an instance of an EVC) on an interface and sets the device into the config-if-srv submode.

Step 6 

encapsulation dot1q {any | vlan-id[vlan-id[-vlain-id]]} sec- ond-dot1q {any | vlan-id[vlan-id[-vlan-id]]}

Example:

Router(config-if-srv)# encapsulation dot1q 10

Configures the encapsulation. Defines the matching criteria to be used in order to map ingress dot1q frames on an interface to the appropriate service instance.

Step 7 

rewrite ingress tag {push {dot1q vlan-id | dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | pop {1 | 2} | translate {1-to-1 {dot1q vlan-id | dot1ad vlan-id}| 2-to-1 dot1q vlan-id | dot1ad vlan-id}| 1-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | 2-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id}} [symmetric] tag pop id sym- metric

Example:

Router(config-if-srv)# rewrite ingress tag pop 1 symmetric

Specifies the tag manipulation that is to be performed on the frame ingress to the service instance.

Step 8 

exit

Example:

Router(config-if-srv)# exit

Exits service instance mode.

Step 9 

rep segment segment_id [edge [no-neigh- bor] [primary]] [preferred]

Example:

Router(config-if)# rep segment 2 edge primary

Configures REP over EVC. The segment ID range is from 1 to 1024.

Note You must configure two edge ports, including one primary edge port for each segment.

These optional keywords are available.

Enter edge to configure the port as an edge port. Entering edge without the primary keyword configures the port as the secondary edge port. Each segment has only two edge ports.

On an edge port, enter primary to configure the port as the primary edge port, the port on which you can configure VLAN load balancing.

Note Although each segment can have only one primary edge port, if you configure edge ports on two different switches and enter the primary keyword on both switches, the configuration is allowed. However, REP selects only one of these ports as the segment primary edge port. You can identify the primary edge port for a segment by using the show rep topology privileged EXEC command.

On an edge port, use the no-neighbor keyword to configure the segment edge with no external rep neighbor.

Enter preferred to indicate that the port is the preferred alternate port, or the preferred port for VLAN load balancing.

Configuring a port as preferred does not guarantee that it becomes the alternate port; it merely gives it a slight edge among equal contenders. The alternate port is usually a previously failed port.

Step 10 

exit

Example:

Router(config-if)# exit

Exits interface configuration mode.

Step 11 

interface gigabitethernet slot/port

Example:

Router(config)# interface gigabitether- net 3/1

Specifies the Gigabit Ethernet interface to configure, where:

slot/port—Specifies the location of the interface.

Step 12 

ether vlan color-block all

Example:

Router(config-if)# Ether vlan col- or-block all

Configures REP to block connect type of service instances.

Step 13 

service instance id Ethernet [ser- vice-name]

Example:

Router(config-if)# service instance 102 ethernet

Creates a service instance (an instance of an EVC) on an interface and sets the device into the config-if-srv submode.

Step 14 

encapsulation dot1q {any | vlan-id[vlan-id[-vlain-id]]} sec- ond-dot1q {any | vlan-id[vlan-id[-vlan-id]]}

Example:

Router(config-if-srv)# encapsulation dot1q 100 second dot1q 200

Configures the encapsulation. Defines the matching criteria to be used in order to map ingress dot1q frames on an interface to the appropriate service instance.

Step 15 

rewrite ingress tag {push {dot1q vlan-id | dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | pop {1 | 2} | translate {1-to-1 {dot1q vlan-id | dot1ad vlan-id}| 2-to-1 dot1q vlan-id | dot1ad vlan-id}| 1-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | 2-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id}} [symmetric] tag pop id sym- metric

Example:

Router(config-if-srv)# rewrite ingress tag push dot1q 20

Specifies the tag manipulation that is to be performed on the frame ingress to the service instance.

Step 16 

exit

Example:

Router(config-if-srv)# exit

Exits service instance mode.

Step 17 

rep segment segment_id [edge [no-neigh- bor] [primary]] [preferred]

Example:

Router(config-if)# rep segment 2 edge primary

Configures REP over EVC.

Step 18 

exit

Example:

Router(config-if)# exit

Exits interface configuration mode.

Step 19 

connect <connect_name> <interface>

<service_instance_id> <interface>

<service_instance_id>

Example:

outer(config)#connect test gigabitEth- ernet 2/1 10 gigabitEthernet 3/1 20

Configures local connect between the two service instances of two different interfaces.

Examples

This example shows how to configure REP over EVC using connect.

Router# enable
Router# configure terminal
Router(config)# interface gigabitEthernet 2/1
Router(config-if)# ether vlan color-block all
Router(config-if)# service instance 10 ethernet 
Router(config-if-srv)# encapsulation dot1q 10
Router(config-if-srv)# rewrite ingress tag pop 1 symmetric 
Router(config-if-srv)# exit
Router(config-if)# rep segment 2 edge primary 
Router(config-if)# exit
Router(config)# interface gigabitEthernet 3/1
Router(config-if)# service instance 20 ethernet 
Router(config-if-srv)# encapsulation dot1q 20 
Router(config-if-srv)# rewrite ingress tag pop 1 symmetric 
Router(config-if-srv)# exit
Router(config-if)# rep segment 2 edge
Router(config-if)# exit
Router(config)#connect test gigabitEthernet 2/1 10 gigabitEthernet 3/1 20
Router(config-connection)#end

Configuring REP over EVC using bridge-domain for the Cisco 7600 Router

This section describes how to configure REP over EVC using bridge-domain at service instance level.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface type slot/port

4. service instance id {Ethernet [service-name}

5. encapsulation dot1q vlan_id

6. rewrite ingress tag {push {dot1q vlan-id | dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | pop {1 | 2} | translate {1-to-1 {dot1q vlan-id | dot1ad vlan-id}| 2-to-1 dot1q vlan-id | dot1ad vlan-id}| 1-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | 2-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id}} [symmetric]

7. bridge-domain bd_Id

8. exit

9. rep segment segment_id [edge [no-neighbor] [primary]] [preferred]

10. exit

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface gigabitethernet slot/port

Example:

Router(config)# interface gigabitether- net 4/1

Specifies the Gigabit Ethernet interface to configure, where:

slot/port—Specifies the location of the interface.

Step 4 

service instance id Ethernet [ser- vice-name]

Example:

Router(config-if-srv)# service in- stance 101 ethernet

Creates a service instance (an instance of an EVC) on an interface and sets the device into the config-if-srv submode.

Step 5 

encapsulation dot1q {any | vlan-id[vlan-id[-vlain-id]]} sec- ond-dot1q {any | vlan-id[vlan-id[-vlan-id]]}

Example:

Router(config-if-srv)# encapsulation dot1q 100 second dot1q 200

Configures the encapsulation. Defines the matching criteria to be used in order to map ingress dot1q frames on an interface to the appropriate service instance.

Step 6 

rewrite ingress tag {push {dot1q vlan-id | dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | pop {1 | 2} | translate {1-to-1 {dot1q vlan-id | dot1ad vlan-id}| 2-to-1 dot1q vlan-id | dot1ad vlan-id}| 1-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | 2-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id}} [symmetric]

Example:

Router(config-if-srv)# rewrite ingress tag push dot1q 20

Specifies the tag manipulation that is to be performed on the frame ingress to the service instance.

Step 7 

bridge-domain bd_Id

Example:

Router(config-if-srv)# bridge-domain 10

Configures bridge-domain to add another VLAN tag of type bridge-domain to the incoming packet.

Step 8 

exit

Example:

Router(config-if-srv)# exit

Exits service instance mode.

Step 9 

rep segment segment_id [edge [no-neigh- bor] [primary]] [preferred]

Example:

Router(config-if)# rep segment 2 edge primary

Configures REP over EVC. The segment ID range is from 1 to 1024.

Note You must configure two edge ports, including one primary edge port for each segment.

These optional keywords are available.

Enter edge to configure the port as an edge port. Entering edge without the primary keyword configures the port as the secondary edge port. Each segment has only two edge ports.

On an edge port, enter primary to configure the port as the primary edge port, the port on which you can configure VLAN load balancing.

Note Although each segment can have only one primary edge port, if you configure edge ports on two different switches and enter the primary keyword on both switches, the configuration is allowed. However, REP selects only one of these ports as the segment primary edge port. You can identify the primary edge port for a segment by using the show rep topology privileged EXEC command.

On an edge port, use the no-neighbor keyword to configure the segment edge with no external rep neighbor.

Enter preferred to indicate that the port is the preferred alternate port, or the preferred port for VLAN load balancing.

Configuring a port as preferred does not guarantee that it becomes the alternate port; it merely gives it a slight edge among equal contenders. The alternate port is usually a previously failed port.

Step 10 

exit

Example:

Router(config-if)# end

Exits global configuration mode.

Examples

This example shows how to configure REP over EVC using bridge-domain.

Router# enable
Router# configure terminal 
Router(config)# interface gigabitEthernet 4/1
Router(config-if)# service instance 10 ethernet 
Router(config-if-srv)# encapsulation dot1q 10
Router(config-if-srv)# rewrite ingress tag pop 1 symmetric 
Router(config-if-srv)# bridge-domain 100
Router(config-if-srv)# exit
Router(config-if)# rep segment 2 edge
Router(config-if)# end
This example shows how to configure REP with the edge no-neighbor keyword.
Router# enable
Router# configure terminal 
Router(config)# interface gigabitEthernet 7/1
Router(config-if)# switchport
Router(config-if)# switchport mode trunk
Router(config-if)# rep segment 1 edge no-neighbor primary
Router(config-if)# end

Verification

You can use the show rep topology, show rep topology detail and show interface <> rep commands to verify the REP over EVC configuration. This information is displayed as sample output:

Specific EVCs if an EVC ID is specified.

All the EVCs on an interface if an interface is specified.

The detailed option provides additional information about the EVC. This can be given on RP and LC consoles to determine custom ethertype configured under a physical port.

Example of show rep topology command:

Router#show rep topology
REP Segment 3
BridgeName PortName Edge Role
---------------- ---------- ---- ----
Router Gi4/0/0 Pri Open
REP-ALPHA Gi2/12 Open
REP-ALPHA Fa3/1 Open
REP-BETA Fa1/1 Open
REP-BETA Gi6/1 Open
Router Gi3/4 Sec Alt 
--

Example of show rep topology detail command.

Router#show rep topology segment 3 detail 
REP Segment 3
Router, Gi4/0/0 (Primary Edge)
Open Port, all vlans forwarding
Bridge MAC: 0015.fa66.ff80
Port Number: 0301
Port Priority: 000
Neighbor Number: 1 / [-6]
REP-ALPHA, Gi2/12 (Intermediate)
Open Port, all vlans forwarding
Bridge MAC: 0005.7495.cd00
Port Number: 010C
Port Priority: 000
Neighbor Number: 2 / [-5]
REP-ALPHA, Fa3/1 (Intermediate)
Open Port, all vlans forwarding
Bridge MAC: 0005.7495.cd00
Port Number: 0201
Port Priority: 000
Neighbor Number: 3 / [-4]
REP-BETA, Fa1/1 (Intermediate)
Open Port, all vlans forwarding
Bridge MAC: 0005.7495.c900
Port Number: 001
Port Priority: 000
Neighbor Number: 4 / [-3]
REP-BETA, Gi6/1 (Intermediate)
Open Port, all vlans forwarding
Bridge MAC: 0005.7495.c900
Port Number: 0501
Port Priority: 000
Neighbor Number: 5 / [-2]
Router, Gi3/4 (Secondary Edge)
Alternate Port, some vlans blocked
Bridge MAC: 0015.fa66.ff80
Port Number: 0204
Port Priority: 010
Neighbor Number: 6 / [-1]

Example of show interface <> rep command:

Router#show interface gig4/0/0 rep detail
GigabitEthernet4/0/0 REP enabled
Segment-id: 3 (Primary Edge)
PortID: 03010015FA66FF80
Preferred flag: No
Operational Link Status: TWO_WAY
Current Key: 02040015FA66FF804050
Port Role: Open
Blocked VLAN: <empty>
Admin-vlan: 1
Preempt Delay Timer: disabled
Configured Load-balancing Block Port: none
Configured Load-balancing Block VLAN: none
STCN Propagate to: none
LSL PDU rx: 999, tx: 652
HFL PDU rx: 0, tx: 0
BPA TLV rx: 500, tx: 4
BPA (STCN, LSL) TLV rx: 0, tx: 0
BPA (STCN, HFL) TLV rx: 0, tx: 0
EPA-ELECTION TLV rx: 6, tx: 5
EPA-COMMAND TLV rx: 0, tx: 0
EPA-INFO TLV rx: 135, tx: 136

Show outputs for REP with Edge No-Neighbor keyword

Example of show rep topology command with REP edge no-neighbor keyword:

Router#show rep topology
REP Segment 3
BridgeName       PortName   Edge  Role
---------------- ---------- ----  ----
sw8-ts8-51       Gi0/2      Pri*  Open
sw9-ts11-50      Gi1/0/4          Open
sw9-ts11-50      Gi1/0/2          Open
sw1-ts11-45      Gi0/2            Alt 
sw1-ts11-45      Po1              Open
sw8-ts8-51       Gi0/1      Sec*  Open
--

Example of show rep topology detail command with REP edge no-neighbor keyword:

Router#show rep topoology segment 3 detail 
REP Segment 3
Router, Gi4/0/0 (Primary Edge No-Neighbor)
Open Port, all vlans forwarding
Bridge MAC: 0015.fa66.ff80
Port Number: 0301
Port Priority: 000
Neighbor Number: 1 / [-6]
REP-ALPHA, Gi2/12 (Intermediate)
Open Port, all vlans forwarding
Bridge MAC: 0005.7495.cd00
Port Number: 010C
Port Priority: 000
Neighbor Number: 2 / [-5]
REP-ALPHA, Fa3/1 (Intermediate)
Open Port, all vlans forwarding
Bridge MAC: 0005.7495.cd00
Port Number: 0201
Port Priority: 000
Neighbor Number: 3 / [-4]
REP-BETA, Fa1/1 (Intermediate)
Open Port, all vlans forwarding
Bridge MAC: 0005.7495.c900
Port Number: 001
Port Priority: 000
Neighbor Number: 4 / [-3]
REP-BETA, Gi6/1 (Intermediate)
Open Port, all vlans forwarding
Bridge MAC: 0005.7495.c900
Port Number: 0501
Port Priority: 000
Neighbor Number: 5 / [-2]
Router, Gi3/4 (Secondary Edge)
Alternate Port, some vlans blocked
Bridge MAC: 0015.fa66.ff80
Port Number: 0204
Port Priority: 010

Neighbor Number: 6 / [-1]

Example of show interface <> rep command with REP edge no-neighbor keyword:

Router#show interface gig4/0/0 rep detail
GigabitEthernet4/0/0 REP enabled
Segment-id: 3 (Primary Edge No-Neighbor)
PortID: 03010015FA66FF80
Preferred flag: No
Operational Link Status: TWO_WAY
Current Key: 02040015FA66FF804050
Port Role: Open
Blocked VLAN: <empty>
Admin-vlan: 1
Preempt Delay Timer: disabled
Configured Load-balancing Block Port: none
Configured Load-balancing Block VLAN: none
STCN Propagate to: none
LSL PDU rx: 999, tx: 652
HFL PDU rx: 0, tx: 0
BPA TLV rx: 500, tx: 4
BPA (STCN, LSL) TLV rx: 0, tx: 0
BPA (STCN, HFL) TLV rx: 0, tx: 0
EPA-ELECTION TLV rx: 6, tx: 5
EPA-COMMAND TLV rx: 0, tx: 0
EPA-INFO TLV rx: 135, tx: 136

Configuring Resilient Ethernet Protocol Configurable Timers

The REP Configurable Timer (REP Fast Hellos) feature provides a fast re-convergence in a ring topology with higher timer granularity and quicker failure detection on the remote side. The feature also supports improved convergence of REP segments having nodes with copper based SFPs, where the link detection time varies between 300 ms to 700 ms.

With the REP Link Status Layer (LSL) ageout timer configuration, the failure detection time can be configured between a range of 120 millisecond to 10,000 millisecond, in multiples of 40 ms. The result of this configuration is that, even if the copper pull takes about 700 ms to notify the remote end about the failure, the REP Configurable Timers process will detect it much earlier and takes subsequent action for the failure recovery within 200 ms.

Restrictions and Usage Guidelines

When configuring the REP Configurable Timers for the Cisco 7600 router, follow these guidelines and restrictions:

The LSL Age Out Timer configuration is available on switchports, EVC, L2 Port-channel and Port-channel EVC interfaces.

The SUP 720, RSP 720, RSP 10G supervisors and the ES20, ES40, and LAN line cards support the REP Configurable Timers configuration.

While configuring REP configurable timers, we recommend you shut the port, configure REP and only then use the no shut command. This prevents the REP from flapping and generating large number of internal messages.

If incompatible switches are neighbors, configure the correct LSL Age Out value first. In some scenarios, you might not get the expected convergence range.

In order to inter-operate with switches running old IOS versions, the default LSL Age Out time is set to 5 seconds, default LSL retries is 5, and the hello packet is sent every one second.

Except for the LSL Age Out time, all the other timer values are retained. For example, the EPA (End Port Advertisement) hello timer continues to be 4 seconds, as it is not required to send EPA PDUs at a higher frequency.

While configuring REP configurable timers, we recommend you configure the REP LSL number of retries first and then configure the REP LSL age out timer value.

Effective from Cisco IOS release 15.1(2)S:

The REP Configurable Timers feature is SSO compliant for RSP720, RSP10G (endor) and SUP720 supervisors.

The REP Configurable Timers feature on SSO is not supported with SUP32 supervisor.

The REP LSL Age Out value can be configured as low as 1520 ms (approximately 500 ms * 3) for HA systems as this prevents traffic loss.

The REP Configurable Timers feature is supported only on Cisco 7600 S-chassis.

Configuring REP Configurable Timers for the Cisco 7600 Router

This section describes how to configure the LSL age out timer and the LSL number of retries on a Cisco 7600 router:

Configuring the REP Link Status Layer Retries

Configuring the REP Link Status Layer Age Out Timer

Configuring the REP Link Status Layer Retries

This section describes how to configure REP link status layer number of retries at interface configuration level.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface type slot/port

4. rep segment segment_id [edge [no-neighbor] [primary]] [preferred]

5. rep lsl-retries <no-of-retries>

6. end

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface type slot/port

Example:

Router(config)# interface gigabitether- net 2/5

Specifies the Gigabit Ethernet, Ten Gigabit Ethernet and Port Channel interfaces to configure, where:

slot/port—Specifies the location of the interface.

Step 4 

rep segment segment_id [edge [no-neigh- bor] [primary]] [preferred]

Example:

Router(config-if)# rep segment 2 edge primary

Configures the REP. The segment ID range is from 1 to 1024.

Note You must configure two edge ports, including one primary edge port for each segment.

These optional keywords are available.

Enter edge to configure the port as an edge port. Entering edge without the primary keyword configures the port as the secondary edge port. Each segment has only two edge ports.

On an edge port, enter primary to configure the port as the primary edge port, the port on which you can configure VLAN load balancing.

Note Although each segment can have only one primary edge port, if you configure edge ports on two different switches and enter the primary keyword on both switches, the configuration is allowed. However, REP selects only one of these ports as the segment primary edge port. You can identify the primary edge port for a segment by using the show rep topology privileged EXEC command.

On an edge port, use the no-neighbor keyword to configure the segment edge with no external rep neighbor.

Enter preferred to indicate that the port is the preferred alternate port or the preferred port for VLAN load balancing.

Configuring a port as preferred does not guarantee that it becomes the alternate port; it merely gives it a slight edge among equal contenders. The alternate port is usually a previously failed port.

Step 5 

rep lsl-retries <no-of-retries>

Example:

Router(config-if)# rep lsl-retries 4

Configures the number of retries before the REP link is disabled. The acceptable range of retries is 3-10. The default LSL number of retries is 5.

Step 6 

end

Example:

Router(config-if)# end

Exits configuration mode.

Example

This example shows how to configure REP link status layer number of retries.

Router# enable
Router# configure terminal
Router(config)# interface gigabitethernet 2/5
Router(config-if)# rep segment 2 edge primary
Router(config-if)# rep lsl-retries 4

Router(config-if)# end

Configuring the REP Link Status Layer Age Out Timer

This section describes how to configure the REP Link Status Layer Age Out Timer at interface configuration level.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface type slot/port

4. rep segment segment_id [edge [no-neighbor] [primary]] [preferred]

5. rep lsl-age-timer <lsl-age-timer>

6. end

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface type slot/port

Example:

Router(config)# interface gigabitether- net 5/3

Specifies the Gigabit Ethernet, Ten Gigabit Ethernet and Port Channel interfaces to configure, where:

slot/port—Specifies the location of the interface.

Step 4 

rep segment segment_id [edge [no-neigh- bor] [primary]] [preferred]

Example:

Router(config-if)# rep segment 1 edge primary

Configures the REP. The segment ID range is from 1 to 1024.

Note You must configure two edge ports, including one primary edge port for each segment.

These optional keywords are available.

Enter edge to configure the port as an edge port. Entering edge without the primary keyword configures the port as the secondary edge port. Each segment has only two edge ports.

On an edge port, enter primary to configure the port as the primary edge port, the port on which you can configure VLAN load balancing.

Note Although each segment can have only one primary edge port, if you configure edge ports on two different switches and enter the primary keyword on both switches, the configuration is allowed. However, REP selects only one of these ports as the segment primary edge port. You can identify the primary edge port for a segment by using the show rep topology privileged EXEC command.

On an edge port, use the no-neighbor keyword to configure the segment edge with no external rep neighbor.

Enter preferred to indicate that the port is the preferred alternate port, or the preferred port for VLAN load balancing.

Configuring a port as preferred does not guarantee that it becomes the alternate port; it merely gives it a slight edge among equal contenders. The alternate port is usually a previously failed port.

Step 5 

rep lsl-age-timer <lsl-age-timer>

Example:

Router(config-if)# rep lsl-age-timer 2000

Configures REP link status layer age out timer value. The acceptable range of lsl-age-timer is between 120ms and 10000ms, in multiples of 40ms. The default LSL Age Out time is 5 seconds.

Step 6 

end

Example:

Router(config-if)# end

Exits configuration mode.

Example

This example shows how to configure REP link status layer ageout timer value.

Router# enable
Router# configure terminal
Router(config)# interface GigabitEthernet 5/3
Router(config-if)# rep segment 1 edge primary
Router(config-if)# rep lsl-age-timer 2000

Router(config-if)# end

Verification

Use the show interfaces <interface name> rep detail command to view the configured LSL number of retries and the LSL Age Out timer values.

7600-1#show interfaces GigabitEthernet11/1 rep detail
GigabitEthernet11/1   REP enabled
Segment-id: 10 (Segment)
PortID: 0A010009B6D8F700
Preferred flag: No
Operational Link Status: NO_NEIGHBOR
Current Key: 0A010009B6D8F700EEA1
Port Role: Fail No Ext Neighbor
Blocked VLAN: 1-4094
Admin-vlan: 1
Preempt Delay Timer: disabled
LSL Ageout Timer: 120 ms 
LSL Ageout Retries: 3                                             
Configured Load-balancing Block Port: none
Configured Load-balancing Block VLAN: none
STCN Propagate to: none
LSL PDU rx: 0, tx: 175
HFL PDU rx: 0, tx: 0
BPA TLV rx: 0, tx: 0
BPA (STCN, LSL) TLV rx: 0, tx: 0
BPA (STCN, HFL) TLV rx: 0, tx: 0
EPA-ELECTION TLV rx: 0, tx: 0
EPA-COMMAND TLV rx: 0, tx: 0
EPA-INFO TLV rx: 0, tx: 0

Troubleshooting the REP

Table 4-28 lists the debug commands to troubleshoot the REP issues.

Table 4-28 Debug commands

Command
Purpose

debug rep bpa-event

Provides information about the BPA (Block Port Advertisement) events.

debug rep bpasm

Provides information about the BPA state machine.

debug rep chkpt

Provides information about the checkpoint events.

debug rep database

Provides information about the protocol database.

debug rep em

Provides information about the event manager events.

debug rep epasm

Provides information about the EPA (End Port Advertisement) state machine.

debug rep error

Provides information about the REP error thrown.

debug rep failure-recovery

Provides information about the switchover events.

debug rep lslsm

Provides information about the Link Status Layer state machine.

debug rep prsm

Provides information about the change in the role of the port based on the Port Role State Machine.

debug rep rf

Provides information about the redundancy.

debug rep sso

Provides information about the redundancy SSO events.

debug rep sync

Provides information about the sync events.


and their purpose

Troubleshooting scenarios

Table 4-29 lists the potential problems and solutions associated with configuring REP:

Table 4-29 Troubleshooting REP

Problem
Solution

REP traffic is disrupted.

Check if the VLAN Trunking Protocol (VTP) pruning is configured on an REP segment. Cisco suggests you avoid VTP pruning configuration on an REP segment.

Loops formed during configuration.

Avoid configuring parallel segments where two segments share more than one bridge.

When the link status of two REP enabled interfaces goes down and one of the links is recovered, the port status still remains alternate, leading to traffic disruption.

Use the shut/no shut option on alternate ports and restore all links to form a ring topology.

Error message "seg id: 1 already got 2 ports: Fa0/2 and Fa0/3" is displayed.

Do not configure three interfaces on the same switch for the same REP segment. If you do so, an error message is displayed on the configuration of the third interface.

Error message "Conflict with monitor session" is displayed.

Ensure that you do not configure:

A interface as a SPAN destination port and enable REP on the same port.

REP administrative VLAN as the RSPAN VLAN.


Issues

IEEE 802.1ag-2007 Compliant CFM

A Metro Ethernet network consists of networks from multiple operators supported by one service provider and connects multiple customer sites to form a virtual private network (VPN). Networks provided and managed by multiple independent service providers have restricted access to each other's equipment. Because of the diversity in these multiple-operator networks, failures must be isolated quickly. As a Layer 2 network, Ethernet must be capable of reporting network faults at Layer 2.

IEEE 802.3ah is a point-to-point and per- physical- wire OAM protocol that detects and isolates connectivity failures in the network. IEEE 802.1ag draft 8.1 Metro Ethernet Connectivity Fault Management (CFM) incorporates several OAM facilities that allow you to manage Metro Ethernet networks, including an Ethernet continuity check, end-to-end Ethernet traceroute facility using Linktrace message (LTM), Linktrace reply (LTR), Ethernet ping facility using Loopback Message (LBM), and a Loopback Reply (LBR). These Metro Ethernet CFM protocol elements quickly identify problems in the network.

Ethernet Connectivity Fault Management (CFM) is an end-to-end per-service-instance Ethernet layer operations, administration, and maintenance (OAM) protocol. It includes proactive connectivity monitoring, fault verification, and fault isolation for large Ethernet metropolitan-area networks (MANs) and WANs. Connectivity Fault Management (CFM) is the indispensable capability that service providers require to deploy large-scale, multivendor Metro Ethernet services. This feature upgrades the implementation of CFM to be compliant with the IEEE 802.1ag with the current standard, 802.1ag-2007 and implementation of CFM over L2VFI (Layer 2 Virtual Forwarding Instance Information), cross connect, EVC, and Switchport.

Key CFM mechanisms are:

Maintenance domains (MDs) that break up the responsibilities for the network administration of a given end-to-end service.

Maintenance associations (MAs) that monitor service instances within a specified MD.

Maintenance points, (MPs or MIPs), such as Maintenance end points (MEP's) that transmit and receive CFM protocol messages, and MIPs that catalog information received from MEPs, and respond to Linktrace and Loopback messages.

Protocols (Continuity Check, Loopback, and Linktrace) that are used to manage faults.

For more information on CFM, see Cisco IOS Carrier Ethernet Configuration Guide, Release 12.2SR at http://www.cisco.com/en/US/docs/ios-xml/ios/cether/configuration/12-2sr/ce-cfm-ieee.html.

For more information about the commands used in this section, see Cisco IOS Ethernet Command Reference Guide at http://www.cisco.com/en/US/docs/ios/cether/command/reference/ce_book.html

SSupported Line Cards

Use the ethernet cfm global command to enable the CFM D8.1 feature on the following line cards:

ES20 and ES40:Switchports, routed ports, and EVC BD.

SIP400:Routed ports, and Layer 2 Virtual Forwarding Instance ( L2VFI).

SIP600:Switchports, and routed ports.

67xx: Switchports, and routed ports.

Table 4-30and Table 4-31 display the complete support matrix for the CFM D8.1 feature.


Note The matrix is spread over two tables for better readability.


Table 4-30

Line card
CFM on
Switchport or CFM on Switch + BD for SVI Based EoMPLS for VPLS
(pre-std)
CFM on
Routed Port
(pre-std)
CFM
on
Service Instance with BD
for SVI based EoMPLS
for VPLS
(pre-std)
CFM
on
Switchport
or
CFM on Switch + BD
(Standard)

WS-SUP720-3BXL

Up MEP

Down MEP

Port MEP

Down MEP

Port MEP

Not Applicable

Up MEP

Down MEP

Port MEP

WS-SUP720-3B

Up MEP

Down MEP

Port MEP

Down MEP

Port MEP

Not Applicable

Up MEP

Down MEP

Port MEP

RSP720-3CXL-10GE

Up MEP

Down MEP

Port MEP

Down MEP

Port MEP

Not Applicable

Up MEP

Down MEP

Port MEP

RSP720-3C-10GE

Up MEP

Down MEP

Port MEP

Down MEP

Port MEP

Not Applicable

Up MEP

Down MEP

Port MEP

RSP720-3CXL-GE

Up MEP

Down MEP

Port MEP

Down MEP

Port MEP

Not Applicable

Up MEP

Down MEP

Port MEP

RSP720-3C-GE

Up MEP

Down MEP

Port MEP

Down MEP

Port MEP

Not Applicable

Up MEP

Down MEP

Port MEP

WS-SUP32-GE-3B

Up MEP

Down MEP

Port MEP

Down MEP

Port MEP

Not Applicable

Up MEP

Down MEP

Port MEP

WS-SUP32-10GE-3B

Up MEP

Down MEP

Port MEP

Down MEP

Port MEP

Not Applicable

Up MEP

Down MEP

Port MEP

WS-X6148A

Up MEP

Down MEP

Port MEP

Down MEP

Port MEP

Not Applicable

Up MEP

Down MEP

Port MEP

WS-X6148-FE-SFP

Up MEP

Down MEP

Port MEP

Down MEP

Port MEP

Not Applicable

Up MEP

Down MEP

Port MEP

WS-X6516A-GBIC

Up MEP

Down MEP

Port MEP

Down MEP

Port MEP

Not Applicable

Up MEP

Down MEP

Port MEP

WS-X6524-100FX-MM

Up MEP

Down MEP

Port MEP

Down MEP

Port MEP

Not Applicable

Up MEP

Down MEP

Port MEP

WS-X6548-RJ-21

Up MEP

Down MEP

Port MEP

Down MEP

Port MEP

Not Applicable

Up MEP

Down MEP

Port MEP

WS-X6548-GE-TX

Up MEP

Down MEP

Port MEP

Down MEP

Port MEP

Not Applicable

Up MEP

Down MEP

Port MEP

WS-X6704-10GE

Up MEP

Down MEP

Port MEP

Down MEP

Port MEP

Not Applicable

Up MEP

Down MEP

Port MEP

WS-X6708-10G-3C

Up MEP

Down MEP

Port MEP

Down MEP

Port MEP

Not Applicable

Up MEP

Down MEP

Port MEP

WS-X6708-10G-3CXL

Up MEP

Down MEP

Port MEP

Down MEP

Port MEP

Not Applicable

Up MEP

Down MEP

Port MEP

WS-X6724-SFP

Up MEP

Down MEP

Port MEP

Down MEP

Port MEP

Not Applicable

Up MEP

Down MEP

Port MEP

WS-X6748-GE-TX

Up MEP

Down MEP

Port MEP

Down MEP

Port MEP

Not Applicable

Up MEP

Down MEP

Port MEP

WS-X6748-SFP

Up MEP

Down MEP

Port MEP

Down MEP

Port MEP

Not Applicable

Up MEP

Down MEP

Port MEP

SIP-400 + V2 GE SPAs

or

SIP-400 + WAN SPA

Not Supported

( SIP-400 + WAN SPA

or

SIP-400 + v2 GE SPA as uplink)

No Transparency with CFM Enabled on the box

Not Supported

Not Supported

Not Supported

SIP-400 + V2 FE SPA

or

SIP-400 + WAN SPA

Not Supported

SIP-400 + WAN SPA

or

SIP-400 + V2 GE SPA as uplink

No Transparency with CFM Enabled on the box

Not Supported

Not Supported

Not Supported

SIP-600 + V2 GE

or

v2 10GE SPA

or

WAN SPA

Up MEP

Down MEP

Port MEP

Down MEP

Port MEP

Not Supported

Up MEP

Down MEP

Port MEP

ES20-GE

or

ES20-10GE

Up MEP

Down MEP

Port MEP

Down MEP

Port MEP

Up MEP

Down MEP

Up MEP

Down MEP

Port MEP

ES+ GE /10GE

Up MEP

Down MEP

Port MEP

Down MEP

Port MEP

Up MEP

Down MEP

Up MEP

Down MEP

Port MEP


Supported Matrix1

Table 4-31

Line card
CFM
on
Service Instance + xconnect
(Standard)
CFM
on
Service Instance + BD
for SVI based EoMPLS
for VPLS
(Standard)
CFM
on
L2-VFI
(Standard)
CFM
on
Routed Port
(Standard)

WS-SUP720-3BXL

Not Applicable

Not Applicable

Not Applicable

Down MEP

Port MEP

WS-SUP720-3B

Not Applicable

Not Applicable

Not Applicable

Down MEP

Port MEP

RSP720-3CXL-10GE

Not Applicable

Not Applicable

Not Applicable

Down MEP

Port MEP

RSP720-3C-10GE

Not Applicable

Not Applicable

Not Applicable

Down MEP

Port MEP

RSP720-3CXL-GE

Not Applicable

Not Applicable

Not Applicable

Down MEP

Port MEP

RSP720-3C-GE

Not Applicable

Not Applicable

Not Applicable

Down MEP

Port MEP

WS-SUP32-GE-3B

Not Applicable

Not Applicable

Not Applicable

Down MEP

Port MEP

WS-SUP32-10GE-3B

Not Applicable

Not Applicable

Not Applicable

Down MEP

Port MEP

WS-X6148A

Not Applicable

Not Applicable

Not Applicable

Down MEP

Port MEP

WS-X6148-FE-SFP

Not Applicable

Not Applicable

Not Applicable

Down MEP

Port MEP

WS-X6516A-GBIC

Not Applicable

Not Applicable

Not Applicable

Down MEP

Port MEP

WS-X6524-100FX-MM

Not Applicable

Not Applicable

Not Applicable

Down MEP

Port MEP

WS-X6548-RJ-21

Not Applicable

Not Applicable

Not Applicable

Down MEP

Port MEP

WS-X6548-GE-TX

Not Applicable

Not Applicable

Not Applicable

Down MEP

Port MEP

WS-X6704-10GE

Not Applicable

Not Applicable

Not Applicable

Down MEP

Port MEP

WS-X6708-10G-3C

Not Applicable

Not Applicable

Not Applicable

Down MEP

Port MEP

WS-X6708-10G-3CXL

Not Applicable

Not Applicable

Not Applicable

Down MEP

Port MEP

WS-X6724-SFP

Not Applicable

Not Applicable

Not Applicable

Down MEP

Port MEP

WS-X6748-GE-TX

Not Applicable

Not Applicable

Not Applicable

Down MEP

Port MEP

WS-X6748-SFP

Not Applicable

Not Applicable

Not Applicable

Down MEP

Port MEP

SIP-400 + V2 GE SPAs

or

SIP-400 + WAN SPA

Not Supported

No Transperency

Not Supported

No Transperency

Down MEP

Down MEP

Port MEP

SIP-400 + V2 FE SPA

or

SIP-400 + WAN SPA

Not Supported

Not Supported

No Transperency

Down MEP

Down MEP

Port MEP

SIP-600 + V2 GE

or

V2 10GE SPA

or

WAN SPA

Not Supported

Not Supported

Down MEP

Down MEP

Port MEP

ES20-GE

or

ES20-10GE

Up MEP

Down MEP

Up MEP

Down MEP

Down MEP

Down MEP

Port MEP

ES+ GE /10GE

Up MEP

Down MEP

Up MEP

Down MEP

Down MEP

Down MEP

Port MEP


Supported Matrix 2

Scalable Limits

Table 4-32 maps the supported interfaces with the CFM points and their scalability values.

Table 4-32

Interfaces
CFM Points
Scalability Values

Switchports and EVC Bridge Domain (BD)

Up MEP
Down MEP
MIP
Port MEP

8K MEPs per box (4K MEPs per LC) at 10 sec CC interval or higher CC intervals.
1K MEPs at 1 sec CC interval or higher CC intervals.
100 MEPs at 100 msec CC interval or higher CC intervals.

Routed Ports

Down MEP
Port MEP

1K MEPs at 1 sec CC interval or higher CC intervals.
100 MEPs at 100 msec CC interval or higher CC intervals.
4K MEPs per box at 10 sec CC interval or higher CC intervals.


Scalable Limits

Supported Interfaces

Table 4-33 maps the supported interfaces with the CFM points and their scalability values:

Table 4-33

Interfaces
CFM Points
Scalability Values

Switchports and EVC Bridge Domain (BD)

Up MEP
Down MEP
MIP
Port MEP

8K MEPs per box (4K MEPs per LC) at 10 sec CC interval or higher CC intervals.
1K MEPs at 1 sec CC interval or higher CC intervals.
100 MEPs at 100 msec CC interval or higher CC intervals.

Routed Ports

Down MEP
Port MEP

1K MEPs at 1 sec CC interval or higher CC intervals.
100 MEPs at 100 msec CC interval or higher CC intervals.
4K MEPs per box at 10 sec CC interval or higher CC intervals.


Supported Interfaces

Restrictions and Usage Guidelines

When configuring CFM D8.1, follow these restrictions and usage guidelines:

Hardware EoMPLS is not supported.

Supports interworking between routed ports, switch ports, and EVC BD.

CFM D8.1 QinQ configuration on a subinterface is not supported.

You can ping or traceroute to a MEP where Continuity Check (CC) is disabled. However, you cannot use ping and traceroute for an down MEP on a STP blocked port configured on either a supervisor port or a LAN port.

With lower CC intervals, CC packets are transmitted in bursts. Ensure that you appropriately configure the MLS rate limiters to avoid flapping of remote MEPs.

Ping and traceroute on trunk ports for Port-MEP's and down MEP's configured on native vlan is supported only on ES20 and ES40 line cards.

In 802.3ah E-OAM, the remote-loopback TEST status is not retained across switchovers. The remote loopback works with a longer OAM timeout value that is greater than 10 seconds.

CFM is not supported with a EVC manual load balancing configuration on a EVC bridge-domain and a EVC cross-connect interface.Though configuration is not rejected, the feature may not work as expected.

Migrating CFM D1.0 to D8.1 works with a reduced scale of 2k MEPs on the routed ports. For example, if there is an EVC service configured within a domain in D1, the link fails while migrating to D8.1. To avoid this, ensure that you configure the VLAN and the EVC within the domain in D1, as shown in the next example.

Sample D1 configuration during migration:

Router(config-srv)#

Router(config-if-srv)#

Sample configuration to avoid the migration issue:

Router(config-if-srv)#

Router(config-if)#

Router(config)#

SUMMARY STEPS (COMMON CONFIGURATIONS FOR EVC, SWITCHPORT, AND ROUTED PORTS)

1. enable

2. configure terminal

3. ethernet cfm domain domain-name level level-id

4. service { short-ma-name | number MA-number | vlan-id primary-vlan-id | vpn-id vpn-id } {vlan vlan-id | port | evc evc-name }

5. continuity-check

6. continuity-check {interval CC-interval }

7. end

DETAILED STEPS (COMMON CONFIGURATIONS FOR EVC, SWITCHPORT, AND ROUTED PORTS)

 
Command
Purpose

Step 1 

enable

Example:
Router> enable 

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

ethernet cfm domain domain-name level level-id

Example:

PE1(config)#ethernet cfm domain L4 level 4

Defines a CFM maintenance domain at a particular maintenance Level. It sets the router into config-ecfm configuration mode, where parameters specific to the maintenance domain can be set.

Step 4 

service { short-ma-name | number MA-number | vlan-id prima- ry-vlan-id | vpn-id vpn-id } {vlan vlan-id | port | evc evc-name }

Example:

Router(config-ecfm)#service s41 evc 41 vlan 41

Configures the maintenance association and sets a universally unique ID for a customer service instance (CSI) or the maintenance association number value, primary VLAN ID and VPN ID within a maintenance domain in Ethernet connectivity fault management (CFM) configuration mode.

Step 5 

continuity-check

Example:

Router(config-ecfm-srv)#continu- ity-check

Configures the transmission of continuity check messages (CCMs), in Ethernet connectivity fault management (CFM) service configuration mode.

Step 6 

continuity-check {interval CC-in- terval }

Example:

Router(config-ecfm-srv)#continu- ity-check interval 10s

Configures the per-service parameters and sets the interval at which Continuity Check Messages are transmitted.

The supported interval values are:

100ms 100 ms

10m 10 minutes

10ms 10 ms

10s 10 seconds

1m 1 minute

1s 1 second

3.3ms 3.3 ms

The default is 10seconds.

Step 7 

end

Exits the interface.

SUMMARY STEPS TO CONFIGURE CFM MEP AND MIP ON A EVC

1. enable

2. configure terminal

3. interface

4. service instance {id} ethernet {evc-name}

5. encapsulation {encapsulation-type}

6. bridge-domain {number}

7. cfm mep domain {domain-name} mpid {id}

8. cfm mip level {level}

9. cfm encapsulation

10. end

 
Command
Purpose

Step 1 

enable

Example:
Router> enable 

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface

Example:

Router(config)# interface tengiga- bitethernet 1/0/0

Enters the interface mode.

Step 4 

service instance {id} ethernet {evc-name}

Example:

Router(config-interface)#service in- stance 41 ethernet 41

Configures the service instance and the ethernet virtual connections.

Step 5 

encapsulation {encapsulation-type}

Example:

Router(config-if-srv)#encapsulation dot1q 41

Configures the encapsulation type.

Step 6 

bridge-domain {number}

Example:

Router(config-if)#bridge-domain 41

Configures the bridge domain values.The default domain number is zero; this is the domain number required when communicating to IEEE bridges that do not support this domain extension.

Step 7 

cfm mep domain {domain-name} mpid {id}

Example:

Router(config-if-srv)#cfm mep do- main L4 mpid 4001

Configures the MEP domain and the ID.

Step 8 

cfm mip level {level}

Example:

PE1(config-if-srv)#cfm mip level 4

Automatically creates a MIP in the Ethernet interface and sets the maintenance level number. The acceptable rangeof maintenance levels is zero to seven.

Step 9 

cfm encapsulation

Example:

PE1#(config-if-srv)#cfm encapsula- tion dot1q 100 second-dot1q 200

Configures the CFM encapsulation type.

Step 10 

end

Exits the service instance interface mode.

DETAILED STEPS TO CONFIGURE CFM MEP AND MIP ON A EVC

SUMMARY STEPS TO CONFIGURE CFM MEP AND MIP ON A SWITCH PORT

1. enable

2. configure terminal

3. interface

4. switchport

5. switchport mode {trunk}

6. ethernet cfm mep domain domain-name mpid mpid {vlan vlan-id | port}

or

7. ethernet cfm mip level {0 to 7} {vlan vlan-id }

8. end

 
Command
Purpose

Step 1 

enable

Example:
Router> enable 

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface

Example:

Router(config)# interface tengiga- bitethernet 1/0/0

Enters the interface mode.

Step 4 

switchport

Example:

Router(config-interface)#switchport

Configures the Layer 3 mode into Layer 2 mode for Layer 2 configuration.

Step 5 

switchport mode {trunk}

Example:

Router(config-if)#switchport mode trunk

Configures a trunking VLAN Layer 2 interface.

Step 6 

ethernet cfm mep domain domain-name mpid mpid {vlan vlan-id | port}

Example:

Router(config-if)#ethernet cfm mep domain L4 mpid 1 vlan 41

Sets a port as internal to a maintenance domain, and defines it as a maintenance endpoint. It sets the device into config-if-ecfm-mep configuration mode, where parameters specific to the MEP can bet set.

domain-name: String, maximum length of 43 characters

mpid: 1 to 8191

vlan-id: 1 to 4094

port: a port MEP, untagged and valid only for outward direction to configure MEP with no VLAN association.

or

Step 7 

ethernet cfm mip level {0 to 7} {vlan vlan-id }

Example:

PE1(config-if)#ethernet cfm mip lev- el 4 vlan 10

Sets a port as internal to a maintenance domain, and defines it as a maintenance intermediate point.

Step 8 

end

Exits the service instance interface mode.

DETAILED STEPS TO CONFIGURE CFM MEP AND MIP ON A SWITCHPORT

SUMMARY STEPS TO CONFIGURE CFM MEP ON A ROUTED PORT

1. enable

2. configure terminal

3. interface

4. no ip address

5. no mls qos trust

6. ethernet cfm mep domain domain-name mpid mpid {vlan vlan-id}

7. interface gigabitethernet

8. encapsulation dot1Q vlan-id

9. end

 
Command
Purpose

Step 1 

enable

Example:
Router> enable 

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface

Example:

Router(config)# interface tengiga- bitethernet 1/0/0

Enters the interface mode.

Step 4 

no ip address

Example:

Router(config-interface)# no ip ad- dress

Removes the configured IP address or disables IP processing.

Step 5 

no mls qos trust

Example:

Router(config-if)#no mls qos trust

Configures the multilayer switching (MLS) quality of service (QoS) port trust state and traffic by examining the class of service (CoS) or differentiated services code point (DSCP) value. Use the no form of this command to return a port to its untrusted state.

Step 6 

ethernet cfm mep domain do- main-name mpid mpid {vlan vlan-id }

Example:

Router(config-if)#ethernet cfm mep domain routed mpid 4001 vlan 4001

Sets a port as internal to a maintenance domain, and defines it as a maintenance end point. It sets the device into config-if-ecfm-mep configuration mode, where parameters specific to the MEP can be set.

domain-name: String, maximum length of 43 characters

mpid: 1 to 8191

vlan-id: 1 to 4094

Step 7 

interface gigabitethernet

Example:

Router(config)# interface tengiga- bitethernet 1/0/0.1

Configures the subinterface.

Step 8 

encapsulation dot1Q vlan-id

Example:

PE1(config-if)#encapsulation dot1Q vlan-id 10

Configures the IEEE 802.1Q encapsulation of traffic on a specified subinterface in a virtual LAN (VLAN) on a routed port. The acceptable range of a VLAN is from 1 to 4094.

Step 9 

end

Exits the service instance interface mode.

DETAILED STEPS TO CONFIGURE CFM MEP ON A ROUTED PORT

Verification

Use the following commands to verify operation.

Command
Purpose

Router# show ethernet cfm maintenance-points local

Displays the local maintenance points.

Router# show ethernet cfm maintenance-points remote

Displays the remote maintenance end points.

Router# show ethernet cfm errors

Displays all the CFM Continuity Check error conditions logged on the device.

Router# show ethernet cfm mpdb

Displays the remote maintenance points.


Example

The following example shows a configuration of MEP in a switchport:

ethernet cfm domain L4 level 4
service s41 evc 41 vlan 41
continuity-check
int TenGigabitEthernet2/0/0
switchport 
switchport mode trunk
ethernet cfm mep domain L4 mpid 1 vlan 41

The following example shows a configuration of MIP in a switchport:

ethernet cfm domain L4 level 4
service s41 evc 41 vlan 41
continuity-check
int TenGigabitEthernet2/0/0
switchport 
switchport mode trunk
ethernet cfm mip level 4 vlan 10

The following example shows a configuration of MEP in a EVC bridge domain:

ethernet cfm domain L4 level 4
service s41 evc 41 vlan 41
continuity-check
int TenGigabitEthernet4/0/0
service instance 41 ethernet 41
encapsulation dot1q 41
bridge-domain 41
cfm mep domain L4 mpid 4001

The following example shows a configuration of MIP in a EVC bridge domain:

ethernet cfm domain L4 level 4
service s41 evc 41 vlan 41
continuity-check
int TenGigabitEthernet4/0/0
service instance 41 ethernet 41
encapsulation dot1q 41
bridge-domain 41
cfm cfm mip level 4

The following example shows a configuration of MEP on a routed port:

ethernet cfm domain routed level 5
 service s2 evc 2 vlan 2 direction down
  continuity-check

Router(config-if)#

 no ip address
 no mls qos trust
 ethernet cfm mep domain routed mpid 4001 vlan 4001
interface GigabitEthernet8/0/0.10
 encapsulation dot1Q 10

The following example shows CFM configuration over a EVC with cross connect in the global domain configuration mode:

ethernet cfm domain L6 level 6 
service xconn evc xconn 
continuity-check

The following example shows CFM configuration over a EVC with cross connect in the interface configuration mode:

ethernet cfm domain L6 level 6
 service s100 evc 100
  continuity-check
interface Port-channel10
 no ip address
 service instance 100 ethernet 100
  encapsulation dot1q 200
  xconnect 3.3.3.3 1 encapsulation mpls
  cfm mep domain L6 mpid 602
  cfm mip level 7

CFM over EFP Interface with xconnect

Ethernet Connectivity Fault Management (CFM) is an end-to-end per-service-instance Ethernet layer OAM protocol that includes proactive connectivity monitoring, fault verification, and fault isolation. Currently, Ethernet CFM supports Up facing and Down facing Maintenance Endpoints (MEPs). For information on Ethernet Connectivity Fault Management, see http://www.cisco.com/en/US/docs/ios/12_2sr/12_2sra/feature/guide/srethcfm.html

The CFM over EFP Interface with xconnect feature allows you to:

Forward continuity check messages (CCM) towards the core over cross connect pseudowires.

Receive CFM messages from the core.

Forward CFM messages to the access side (after Continuity Check Database [CCDB] based on maintenance point [MP] filtering rules).

Restrictions and Usage Guidelines

When configuring CFM over EFP Interface with cross connect, follow these restrictions and usage guidelines:

The following line cards are supported:

ES20 line cards

ES+ line cards

Only a single down-facing MEP is allowed on the L2VFI.

As the number of PEs in a VPLS instance scale up, the number of CFM CC messages processed increases. Accordingly, the configuration of the down-facing MEP on L2VFI for large fully meshed PW topologies should be considered for only premium valued networks.

In the design of CFM domains, the maintenance level of an Down-facing MEP on the L2VFI interface must be lower than the level from the AC.

Up MEP, Down MEP, and MIPs are supported.

Configuring CFM over EFP with xconnect for the Cisco 7600 Router

This section describes how to configure REP over EVC for the Cisco 7600 router:

Configuring CFM over EFP Interface with Cross Connect—Basic Configuration

Configuring CFM over EFP Interface with Cross Connect—Single Tag VLAN Cross Connect

Configuring CFM over EFP Interface with Cross Connect—Double Tag VLAN Cross Connect

Configuring CFM over EFP Interface with Cross Connect—Selective QinQ Cross Connect

Configuring CFM over EFP Interface with Cross Connect—Port-Based Cross Connect Tunnel

Configuring CFM over EFP Interface with Cross Connect—Port Channel-Based Cross Connect Tunnel

Configuring CFM over EFP Interface with Cross Connect—Basic Configuration

This section describes how to configure CFM over EFP Interface with cross connect.

SUMMARY STEPS

1. enable

2. configure terminal

3. pseudowire-class [pw-class-name]

4. encapsulation mpls

5. exit

6. interface gigabitethernet slot/port or interface tengigabitethernet slot/port

7. service instance id {Ethernet [service-name}

8. encapsulation dot1q vlan_id

9. xconnect peer-ip-address vc-id {encapsulation {l2tpv3 [manual] | mpls [manual]} | pw-class pw-class-name }[pw-class pw-class-name] [sequencing {transmit | receive | both}]

10. cfm mep domain domain-name [up | down] mpid mpid-value [cos cos-value]

11. exit

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

pseudowire-class [pw-class-name]

Example:

Router(config)# pseudowire-class vlan-xconnect

Specifies the name of a Layer 2 pseudowire class and enter pseudowire class configuration mode.

Step 4 

encapsulation mpls

Example:

Router(config-if)# encapsulation mpls

Specifies that Multiprotocol Label Switching (MPLS) is used as the data encapsulation method for tunneling Layer 2 traffic over the pseudowire.

Step 5 

exit

Example:

Router(config-if-srv)# exit

Exits the pseudowire class configuration mode.

Step 6 

interface gigabitethernet slot/port or interface tengigabitethernet slot/port

Example:

Router(config-if-srv)# interface Gi2/0/2

Specifies the Gigabit Ethernet or the Ten Gigabit Ethernet interface to configure.

Step 7 

service instance id ethernet [ser- vice-name]

Example:

Router(config-if-srv)# service in- stance 101 ethernet

Creates a service instance (an instantiation of an EVC) on an interface and sets the device into the config-if-srv submode.

Step 8 

encapsulation dot1q {any | vlan-id[vlan-id[-vlan-id]]} sec- ond-dot1q {any | vlan-id[vlan-id[-vlan-id]]}

Example:

Router(config-if-srv)# encapsulation dot1q 100 second dot1q 200

Configures the encapsulation. Defines the matching criteria that maps the ingress dot1q, QinQ, or untagged frames on an interface for the appropriate service instance.

Step 9 

xconnect peer-ip-address vc-id {encap-
sulation {l2tpv3 [manual] | mpls [manu-
al]} | pw-class pw-class-name 
}[pw-class pw-class-name] [sequencing 
{transmit | receive | both}]
Example:
Router(config-if-srv)# xconnect 
10.0.3.201 123 pw-class vlan-xconnect

Binds an attachment circuit to a pseudowire, and configures an Any Transport over MPLS (AToM) static pseudowire.

Step 10 

cfm mep domain domain-name [up | down] mpid mpid-value [cos cos-value]

Example:

Router(config-if-srv)# cfm mep down mpid 100 domain Core

Configures a maintenance endpoint (MEP) for a domain.

Step 11 

exit

Example:

Router(config-if-srv)# exit

Exits the interface configuration mode.

Examples

This example shows how to configure CFM over EVC using cross connect.

PE3#conf terminal
Enter configuration commands, one per line.  End with CNTL/Z.
PE3(config)#ethernet cfm domain L6 level 6
PE3(config-ecfm)# service s256 evc 256
PE3(config-ecfm-srv)#  continuity-check
PE3(config-ecfm-srv)#end
PE3(config)#int ten 2/0/0
PE3(config-if)#no ip address
PE3(config-if)# service instance 256 ethernet 256
PE3(config-if-srv)#  encapsulation dot1q 256
PE3(config-if-srv)#  xconnect 1.1.1.1 1 encapsulation mpls
PE3(cfg-if-ether-vc-xconn)#  cfm mep domain L6 mpid 256
PE3(config-if-srv-ecfm-mep)#end
PE3#
PE3(config)#ethernet cfm domain L2 level 2
PE3(config-ecfm)# service s256 evc 256 direction down
PE3(config-ecfm-srv)#  continuity-check
PE3(config-ecfm-srv)#end
PE3#
PE3(config)#int ten 2/0/0
PE3(config-if)#no ip address
PE3(config-if)# service instance 256 ethernet 256
PE3(config-if-srv)#  encapsulation dot1q 256
PE3(config-if-srv)#  xconnect 1.1.1.1 1 encapsulation mpls
PE3(cfg-if-ether-vc-xconn)#  cfm mep domain L6 mpid 256
PE3(config-if-srv-ecfm-mep)#end
PE3#

Configuring CFM over EFP Interface with Cross Connect—Single Tag VLAN Cross Connect

This section describes how to configure CFM over EFP Interface with Single Tag VLAN cross connect.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface type slot/subslot/port or interface tengigabitethernet slot/port

4. service instance id {Ethernet [service-name}

5. encapsulation dot1q {any | vlan-id[vlan-id[vlan-id]} second-dot1q {any |vlan-id[vlan-id[vlan-id]]}

6. rewrite ingress tag {push {dot1q vlan-id | dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | pop {1 | 2} | translate {1-to-1 {dot1q vlan-id | dot1ad vlan-id}| 2-to-1 dot1q vlan-id | dot1ad vlan-id}| 1-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | 2-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id}} [symmetric]

7. xconnect peer-ip-address vc-id {encapsulation {l2tpv3 [manual] | mpls [manual]} | pw-class pw-class-name }[pw-class pw-class-name] [sequencing {transmit | receive | both}]

8. cfm mep domain domain-name [up | down] mpid mpid-value [cos cos-value]

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters the global configuration mode.

Step 3 

interface gigabitethernet slot/sub- slot/port

Example:

Router(config)# interface Gi2/0/2

Specifies the Gigabit Ethernet interface to configure, where:

slot/subslot/port—Specifies the location of the interface.

Step 4 

service instance id Ethernet [ser- vice-name]

Example:

Router(config-if)# service instance 101 ethernet

Creates a service instance (an instantiation of an EVC) on an interface and sets the device into the config-if-srv submode.

Step 5 

encapsulation dot1q {any | vlan-id[vlan-id[-vlan-id]]} sec- ond-dot1q {any | vlan-id[vlan-id[-vlan-id]]}

Example:

Router(config-if-srv)# encapsulation dot1q 100 second dot1q 100

Configures the encapsulation. Defines the matching criteria that maps the ingress dot1q, QinQ, or untagged frames on an interface for the appropriate service instance.

Step 6 

rewrite ingress tag {push {dot1q vlan-id | dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | pop {1 | 2} | translate {1-to-1 {dot1q vlan-id | dot1ad vlan-id}| 2-to-1 dot1q vlan-id | dot1ad vlan-id}| 1-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | 2-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id}} [symmetric]

Example:

Router(config-if-srv)# rewrite dot1q single symmetric

Specifies the tag manipulation that is to be performed on the frame ingress to the service instance.

Step 7 

xconnect peer-ip-address vc-id {encap- sulation {l2tpv3 [manual] | mpls [manu- al]} | pw-class pw-class-name }[pw-class pw-class-name] [sequencing {transmit | receive | both}]

Example:

Router(config)# xconnect 10.0.3.201 123 pw-class vlan-xconnect

Binds an attachment circuit to a pseudowire, and configures an Any Transport over MPLS (AToM) static pseudowire.

Step 8 

cfm mep domain domain-name [up | down] mpid mpid-value [cos cos-value]

Example:

Router# cfm mep up mpid 100 domain Core

Configures a maintenance endpoint (MEP) for a domain.

Examples

This example shows how to configure CFM over EFP Interface with Single Tag VLAN cross connect:

PE3(config)#ethernet cfm domain L2 level 2
PE3(config-ecfm)# service s256 evc 256 direction down
PE3(config-ecfm-srv)#  continuity-check
PE3(config-ecfm-srv)#end
PE3#
PE3(config)#int ten 2/0/0
PE3(config-if)#no ip address
PE3(config-if)# service instance 256 ethernet 256
PE3(config-if-srv)#  encapsulation dot1q 256
PE3(config-if-srv)#  xconnect 1.1.1.1 1 encapsulation mpls
PE3(cfg-if-ether-vc-xconn)#  cfm mep domain L6 mpid 256
PE3(config-if-srv-ecfm-mep)#end
PE3#

Configuring CFM over EFP Interface with Cross Connect—Double Tag VLAN Cross Connect

This section describes how to configure CFM over EFP Interface with Double Tag VLAN cross connect.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface type slot/subslot/port

4. service instance id {Ethernet [service-name}

5. encapsulation dot1q {any | vlan-id[vlan-id[vlan-id]} second-dot1q {any |vlan-id[vlan-id[vlan-id]]}

6. rewrite ingress tag {push {dot1q vlan-id | dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | pop {1 | 2} | translate {1-to-1 {dot1q vlan-id | dot1ad vlan-id}| 2-to-1 dot1q vlan-id | dot1ad vlan-id}| 1-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | 2-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id}} [symmetric]

7. xconnect peer-ip-address vc-id {encapsulation {l2tpv3 [manual] | mpls [manual]} | pw-class pw-class-name }[pw-class pw-class-name] [sequencing {transmit | receive | both}]

8. cfm mep domain domain-name [up | down] mpid mpid-value [cos cos-value]

9. exit

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface gigabitethernet slot/sub- slot/port

Example:

Router(config)# interface Gi2/0/2

Specifies the Gigabit Ethernet interface to configure, where:

slot/subslot/port—Specifies the location of the interface.

Step 4 

service instance id Ethernet [ser- vice-name]

Example:

Router(config-if)# service instance 100 ethernet

Creates a service instance (an instance of an EVC) on an interface and sets the device into the config-if-srv submode.

Step 5 

encapsulation dot1q {any | vlan-id[vlan-id[-vlan-id]]} sec- ond-dot1q {any | vlan-id[vlan-id[-vlan-id]]}

Example:

Router(config-if-srv)# encapsulation dot1q 100 second-dot1q 200

Configures the encapsulation. Defines the matching criteria that maps the ingress dot1q, QinQ, or untagged frames on an interface for the appropriate service instance.

Step 6 

rewrite ingress tag {push {dot1q vlan-id | dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | pop {1 | 2} | translate {1-to-1 {dot1q vlan-id | dot1ad vlan-id}| 2-to-1 dot1q vlan-id | dot1ad vlan-id}| 1-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | 2-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id}} [symmetric]

Example:

Router(config-if-srv)# rewrite dot1q double symmetric

Specifies the tag manipulation that is to be performed on the frame ingress to the service instance.

Step 7 

xconnect peer-ip-address vc-id {encap- sulation {l2tpv3 [manual] | mpls [manu- al]} | pw-class pw-class-name }[pw-class pw-class-name] [sequencing {transmit | receive | both}]

Example:

Router(config)# xconnect 1.1.1.1 100 pw-class vlan-xconnect

Binds an attachment circuit to a pseudowire, and configures an Any Transport over MPLS (AToM) static pseudowire.

Step 8 

cfm mep domain domain-name [up | down] mpid mpid-value [cos cos-value]

Example:

Router# cfm mep down mpid 100 domain Core

Configures a maintenance endpoint (MEP) for a domain.

Examples

This example shows how to configure CFM over EFP Interface with Double Tag VLAN cross connect:

PE3(config)#ethernet cfm domain L2 level 2
PE3(config-ecfm)# service s256 evc 256 direction down
PE3(config-ecfm-srv)#  continuity-check
PE3(config-ecfm-srv)#end
PE3#
PE3(config)#int ten 2/0/0
PE3(config-if)#no ip address
PE3(config-if)# service instance 256 ethernet 256
PE3(config-if-srv)#  encapsulation dot1q 256 second-dot1q 257
PE3(config-if-srv)#  xconnect 1.1.1.1 1 encapsulation mpls
PE3(cfg-if-ether-vc-xconn)#  cfm mep domain L6 mpid 256
PE3(config-if-srv-ecfm-mep)#end
PE3#

Configuring CFM over EFP Interface with Cross Connect—Selective QinQ Cross Connect

This section describes how to configure CFM over EFP Interface with Selective QinQ cross connect.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface type slot/subslot/port

4. exit

5. service instance id {Ethernet [service-name}

6. encapsulation dot1q {any | vlan-id[vlan-id[vlan-id]} second-dot1q {any |vlan-id[vlan-id[vlan-id]]}

7. xconnect peer-ip-address vc-id {encapsulation {l2tpv3 [manual] | mpls [manual]} | pw-class pw-class-name }[pw-class pw-class-name] [sequencing {transmit | receive | both}]

8. cfm mep domain domain-name [up | down] mpid mpid-value [cos cos-value]

9. exit

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface gigabitethernet slot/sub- slot/port

Example:

Router(config)# interface Gi2/0/2

Specifies the Gigabit Ethernet interface to configure, where:

slot/subslot/port—Specifies the location of the interface.

Step 4 

service instance id Ethernet [ser- vice-name]

Example:

Router(config-if)# service instance 101 ethernet

Creates a service instance (an instance of an EVC) on an interface and sets the device into the config-if-srv submode.

Step 5 

encapsulation dot1q {any | vlan-id[vlan-id[-vlan-id]]} sec- ond-dot1q {any | vlan-id[vlan-id[-vlan-id]]}

Example:

Router(config-if-srv)# encapsulation default

Configures the encapsulation. Defines the matching criteria that maps the ingress dot1q, QinQ, or untagged frames on an interface for the appropriate service instance.

Step 6 

xconnect peer-ip-address vc-id {encap- sulation {l2tpv3 [manual] | mpls [manu- al]} | pw-class pw-class-name }[pw-class pw-class-name] [sequencing {transmit | receive | both}]

Example:

Router(config)# xconnect 10.0.3.201 123 pw-class vlan-xconnect

Binds an attachment circuit to a pseudowire, and configures an Any Transport over MPLS (AToM) static pseudowire.

Step 7 

cfm mep domain domain-name [up | down] mpid mpid-value [cos cos-value]

Example:

Router# cfm mep down mpid 100 domain Core

Configures a maintenance endpoint (MEP) for a domain.

Examples

This example shows how to configure CFM over EFP Interface with Selective QinQ cross connect:

PE3(config)#ethernet cfm domain L2 level 2
PE3(config-ecfm)# service s256 evc 256 direction down
PE3(config-ecfm-srv)#  continuity-check
PE3(config-ecfm-srv)#end
PE3#
PE3(config)#int ten 2/0/0
PE3(config-if)#no ip address
PE3(config-if)# service instance 256 ethernet 256
PE3(config-if-srv)#  encapsulation dot1q 256 second-dot1q 257 cos 7
PE3(config-if-srv)#  xconnect 1.1.1.1 1 encapsulation mpls
PE3(cfg-if-ether-vc-xconn)#  cfm mep domain L6 mpid 256
PE3(config-if-srv-ecfm-mep)#end
PE3#

Configuring CFM over EFP Interface with Cross Connect—Port-Based Cross Connect Tunnel

This section describes how to configure CFM over EFP Interface with Port-Based cross connect Tunnel.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface type slot/subslot/port

4. service instance id {Ethernet [service-name}

5. encapsulation dot1q {any | vlan-id[vlan-id[vlan-id]} second-dot1q {any |vlan-id[vlan-id[vlan-id]]}

6. xconnect peer-ip-address vc-id {encapsulation {l2tpv3 [manual] | mpls [manual]} | pw-class pw-class-name }[pw-class pw-class-name] [sequencing {transmit | receive | both}]

7. cfm mep domain domain-name [up | down] mpid mpid-value [cos cos-value]

8. exit

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface gigabitethernet slot/sub- slot/port

Example:

Router(config)# interface Gi2/0/2

Specifies the Gigabit Ethernet interface to configure, where:

slot/subslot/port—Specifies the location of the interface.

Step 4 

service instance id Ethernet [ser- vice-name]

Example:

Router(config-if)# service instance 100 ethernet

Creates a service instance (an instance of an EVC) on an interface and sets the device into the config-if-srv submode.

Step 5 

encapsulation dot1q {any | vlan-id[vlan-id[-vlan-id]]} sec- ond-dot1q {any | vlan-id[vlan-id[-vlan-id]]}

Example:

Router(config-if-srv)# encapsulation dot1q 10-20, 30, 50-60

Configures the encapsulation. Defines the matching criteria that maps the ingress dot1q, QinQ, or untagged frames on an interface for the appropriate service instance.

Step 6 

xconnect peer-ip-address vc-id {encap- sulation {l2tpv3 [manual] | mpls [manu- al]} | pw-class pw-class-name}[pw-class pw-class-name] [sequencing {transmit | receive | both}]

Example:

Router(config)# xconnect 1.1.1.1 100 pw-class vlan-xconnect

Binds an attachment circuit to a pseudowire, and configures an Any Transport over MPLS (AToM) static pseudowire.

Step 7 

cfm mep domain domain-name [up | down] mpid mpid-value [cos cos-value]

Example:

Router# cfm mep up mpid 100 domain Core

Configures a maintenance endpoint (MEP) for a domain.

Examples

This example shows how to configure CFM over EFP Interface with Port-Based cross connect Tunnel:

PE3(config)#ethernet cfm domain L2 level 2
PE3(config-ecfm)# service s256 evc 256 direction down
PE3(config-ecfm-srv)#  continuity-check
PE3(config-ecfm-srv)#end
PE3#
PE3(config)#int ten 2/0/0
PE3(config-if)#no ip address
PE3(config-if)# service instance 256 ethernet 256
PE3(config-if-srv)#  encapsulation dot1q 256
PE3(config-if-srv)#  xconnect 1.1.1.1 1 encapsulation mpls
PE3(cfg-if-ether-vc-xconn)#  cfm mep domain L6 mpid 256
PE3(config-if-srv-ecfm-mep)#end
PE3#

Configuring CFM over EFP Interface with Cross Connect—Port Channel-Based Cross Connect Tunnel

This section describes how to configure CFM over EFP Interface with Port Channel-Based cross connect Tunnel.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface type slot/subslot/port

4. service instance id {Ethernet [service-name}

5. encapsulation dot1q {any | vlan-id[vlan-id[vlan-id]} second-dot1q {any |vlan-id[vlan-id[vlan-id]]}

6. rewrite ingress tag {push {dot1q vlan-id | dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | pop {1 | 2} | translate {1-to-1 {dot1q vlan-id | dot1ad vlan-id}| 2-to-1 dot1q vlan-id | dot1ad vlan-id}| 1-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | 2-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id}} [symmetric]

7. xconnect peer-ip-address vc-id {encapsulation {l2tpv3 [manual] | mpls [manual]} | pw-class pw-class-name }[pw-class pw-class-name] [sequencing {transmit | receive | both}]

8. cfm mep domain domain-name [up | down] mpid mpid-value [cos cos-value]

9. exit

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface gigabitethernet slot/sub- slot/port

Example:

Router(config)# interface Port-channel 1

Specifies the Gigabit Ethernet interface to configure, where:

slot/subslot/port—Specifies the location of the interface.

Step 4 

service instance id Ethernet [ser- vice-name]

Example:

Router(config-if)# service instance 101 ethernet

Creates a service instance (an instance of an EVC) on an interface and sets the device into the config-if-srv submode.

Step 5 

encapsulation dot1q {any | vlan-id[vlan-id[-vlan-id]]} sec- ond-dot1q {any | vlan-id[vlan-id[-vlan-id]]}

Example:

Router(config-if-srv)# encapsulation dot1q 20 second-dot1q 30

Configures the encapsulation. Defines the matching criteria that maps the ingress dot1q, QinQ, or untagged frames on an interface for the appropriate service instance.

Step 6 

rewrite ingress tag {push {dot1q vlan-id | dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | pop {1 | 2} | translate {1-to-1 {dot1q vlan-id | dot1ad vlan-id}| 2-to-1 dot1q vlan-id | dot1ad vlan-id}| 1-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | 2-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id}} [symmetric]

Example:

Router(config-if-srv)# rewrite ingress tag pop 2 symmetric

Specifies the tag manipulation that is to be performed on the frame ingress to the service instance.

Step 7 

xconnect peer-ip-address vc-id {encap- sulation {l2tpv3 [manual] | mpls [manu- al]} | pw-class pw-class-name }[pw-class pw-class-name] [sequencing {transmit | receive | both}]

Example:

Router(config)# xconnect 1.1.1.1 100 pw-class vlan-xconnect

Binds an attachment circuit to a pseudowire, and configures an Any Transport over MPLS (AToM) static pseudowire.

Step 8 

cfm mep domain domain-name [up | down] mpid mpid-value [cos cos-value]

Example:

Router# cfm mep up mpid 100 domain Core

Configures a maintenance endpoint (MEP) for a domain.

Examples

This example shows how to configure CFM over EFP Interface with Port Channel-Based cross connect Tunnel:

PE3(config)#ethernet cfm domain L2 level 2
PE3(config-ecfm)# service s256 evc 256 direction down
PE3(config-ecfm-srv)#  continuity-check
PE3(config-ecfm-srv)#end
PE3#
PE3(config)#int port-20
PE3(config-if)#no ip address 
PE3(config-if)# service instance 256 ethernet 256
PE3(config-if-srv)#  encapsulation dot1q 256
PE3(config-if-srv)#  xconnect 1.1.1.1 1 encapsulation mpls
PE3(cfg-if-ether-vc-xconn)#  cfm mep domain L6 mpid 256
PE3(config-if-srv-ecfm-mep)#end

Verification

Use the following commands to verify a configuration:

Use the show ethernet cfm ma remote commands to verify the CFM over EVC configuration. This command shows the basic configuration information for CFM.

Router-30-PE1#show ethernet cfm ma local
Local MEPs:
--------------------------------------------------------------------------------
MPID Domain Name                                 Lvl   MacAddress     Type  CC  
     Domain Id                                   Dir   Port           Id        
     MA Name                                           SrvcInst                 
     EVC name                                                                   
--------------------------------------------------------------------------------
1    L6                                          6     000a.f393.56d0 XCON  Y
     L6                                          Down    Te2/0/0        N/A  
     bbb                                               1
     bbb                                                                        
3    L5                                          5     0007.8478.4410 XCON  Y
     L5                                          Up    Te2/0/0        N/A  
     bbb                                               1
     bbb                                                                        
Total Local MEPs: 2
Local MIPs:
* = MIP Manually Configured
--------------------------------------------------------------------------------
 Level Port           MacAddress     SrvcInst   Type    Id                      
--------------------------------------------------------------------------------
 7     Te2/0/0        0007.8478.4410 1          XCON    N/A
Total Local MIPs: 1

Use the show ethernet cfm ma remote to verify the MEP configuration:

Router-30-PE1#show ethernet cfm ma remote
--------------------------------------------------------------------------------
MPID  Domain Name                                 MacAddress          IfSt  PtSt
 Lvl  Domain ID                                   Ingress                       
 RDI  MA Name                                     Type Id             SrvcInst  
      EVC Name                                                        Age       
--------------------------------------------------------------------------------
4     L5                                          000a.f393.56d0      Up    Up  
 5    L5                                          Te2/0/0:(2.2.2.2, 1)
 -    bbb                                         XCON N/A            1         
      bbb                                                             9s
2     L6                                          000a.f393.56d0      Up    Up  
 6    L6                                          Te2/0/0:(2.2.2.2, 1)
 -    bbb                                         XCON N/A            1         
      bbb                                                             1s
Total Remote MEPs: 2

Use the show ethernet cfm mpdb command to verify the catalouge of CC with MIP in intermediate routers.

PE2#show ethernet cfm mpdb
* = Can Ping/Traceroute to MEP
--------------------------------------------------------------------------------
MPID  Domain Name                                 MacAddress          Version   
Lvl   Domain ID                                   Ingress                       
Expd  MA Name                                     Type Id             SrvcInst  
      EVC Name                                                        Age       
--------------------------------------------------------------------------------
600 * L6                                          0021.d8ca.d7d0      IEEE-CFM 
6     L6                                          Te2/1:(2.2.2.2, 1)
-     s1                                          XCON N/A            1         
      1                                                               2s
700   L7                                          001f.cab7.fd01      IEEE-CFM 
7     L7                                          Te2/1:(2.2.2.2, 1)
-     s1                                          XCON N/A            1         
      1                                                               3s
Total Remote MEPs: 2

Use the show mpls l2 transport vc 1 detail commaned to show detailed configuration information:

PE1#sh mpls l2 vc 1 deta
Local interface: Te8/0/1 up, line protocol up, Eth VLAN 200 up
  Interworking type is Ethernet
  Destination address: 3.3.3.3, VC ID: 1, VC status: up
    Output interface: Te8/0/0, imposed label stack {21}
    Preferred path: not configured  
    Default path: active
    Next hop: 20.1.1.2
  Create time: 21:13:27, last status change time: 02:55:33
  Signaling protocol: LDP, peer 3.3.3.3:0 up
    Targeted Hello: 2.2.2.2(LDP Id) -> 3.3.3.3, LDP is UP
    Status TLV support (local/remote)   : enabled/supported
      LDP route watch                   : enabled
      Label/status state machine        : established, LruRru
      Last local dataplane   status rcvd: No fault
      Last local SSS circuit status rcvd: No fault
      Last local SSS circuit status sent: No fault
      Last local  LDP TLV    status sent: No fault
      Last remote LDP TLV    status rcvd: No fault
      Last remote LDP ADJ    status rcvd: No fault
    MPLS VC labels: local 21, remote 21 
    Group ID: local 0, remote 0
    MTU: local 1500, remote 1500
    Remote interface description: 
  Sequencing: receive disabled, send disabled
  Control Word: On (configured: autosense)
  VC statistics:
    transit packet totals: receive 37, send 1067452272
    transit byte totals:   receive 4181, send 72586757556
    transit packet drops:  receive 0, seq error 0, send 0

Use show mpls forwarding-table command to verify the cross connect VC:

PE1#show mpls forwarding-table 
Local      Outgoing   Prefix           Bytes Label   Outgoing   Next Hop    
Label      Label      or Tunnel Id     Switched      interface              
17         Pop Label  3.3.3.3/32       23038746624   Te8/0/0    20.1.1.2    
21         No Label   l2ckt(1)         4181          Te8/0/1    point2point 

Use show ethernet cfm error command to view the error report:

PE2#show ethernet cfm error
--------------------------------------------------------------------------------
MPID Domain Id                                   Mac Address     Type   Id  Lvl 
     MAName                                      Reason                 Age     
--------------------------------------------------------------------------------
  -  L3                                          001d.45fe.ca81  BD-V   200  3
     s2                                          Receive AIS            8s
PE2#

Configuring CFM over EFP Interface with xconnect—Port Channel-Based xconnect Tunnel

Use the following commands at the customer facing port:

SUMMARY STEPS

1. enable

2. configure terminal

3. interface type slot/subslot/port

4. service instance id {Ethernet [service-name]}

5. encapsulation untagged | dot1q {any | vlan-id[vlan-id[vlan-id]]} second-dot1q {any |vlan-id[vlan-id[vlan-id]]}

6. rewrite ingress tag {push {dot1q vlan-id | dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | pop {1 | 2} | translate {1-to-1 {dot1q vlan-id | dot1ad vlan-id}| 2-to-1 dot1q vlan-id | dot1ad vlan-id}| 1-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | 2-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id}} [symmetric]

7. xconnect peer-ip-address vc-id {encapsulation {l2tpv3 [manual] | mpls [manual]} | pw-class pw-class-name }[pw-class pw-class-name] [sequencing {transmit | receive | both}]

8. cfm mep domain domain-name mpid mpid-value [cos cos-value]

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface gigabitethernet slot/sub- slot/port

Example:

Router(config)# interface Port-channel 1

Specifies the Gigabit Ethernet interface to configure, where:

slot/subslot/port—Specifies the location of the interface.

Step 4 

service instance id Ethernet [ser- vice-name]

Example:

Router(config-if)# service instance 101 ethernet

Creates a service instance (an instance of an EVC) on an interface and sets the device into the config-if-srv submode.

Step 5 

encapsulation untagged dot1q {any | vlan-id[vlan-id[vlain-id]]} sec- ond-dot1q {any | vlan-id[vlan-id[vlan-id]]}

Example:

Router(config-if-srv)# encapsulation dot1q 20 second-dot1q 30

Configures the encapsulation. Defines the matching criteria that maps the ingress dot1q, QinQ, or untagged frames on an interface for the appropriate service instance.

Step 6 

rewrite ingress tag {push {dot1q vlan-id | dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | pop {1 | 2} | translate {1-to-1 {dot1q vlan-id | dot1ad vlan-id}| 2-to-1 dot1q vlan-id | dot1ad vlan-id}| 1-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | 2-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id}} [symmetric]

Example:

Router(config-if-srv)# rewrite ingress tag pop 2 symmetric

Specifies the tag manipulation that is to be performed on the frame ingress to the service instance.

Step 7 

xconnect peer-ip-address vc-id {encap- sulation {l2tpv3 [manual] | mpls [manu- al]} | pw-class pw-class-name }[pw-class pw-class-name] [sequencing {transmit | receive | both}]

Example:

Router(config)# xconnect 1.1.1.1 100 pw-class vlan-xconnect

Binds an attachment circuit to a pseudowire, and configures an Any Transport over MPLS (AToM) static pseudowire.

Step 8 

cfm mep domain domain-name [up | down] mpid mpid-value [cos cos-value]

Example:

Router# cfm mep up mpid 100 domain Core

Configures a maintenance endpoint (MEP) for a domain.

Examples

This example shows how to configure CFM over EFP Interface with Port Channel-Based xconnect Tunnel:

PE3(config)#ethernet cfm domain L2 level 2
PE3(config-ecfm)# service s256 evc 256 direction down
PE3(config-ecfm-srv)#  continuity-check
PE3(config-ecfm-srv)#end
PE3#
PE3(config)#int port-20
PE3(config-if)#no ip address 
PE3(config-if)# service instance 256 ethernet 256
PE3(config-if-srv)#  encapsulation dot1q 256
PE3(config-if-srv)#  xconnect 1.1.1.1 1 encapsulation mpls
PE3(cfg-if-ether-vc-xconn)#  cfm mep domain L6 mpid 256
PE3(config-if-srv-ecfm-mep)#end

Verification

Use the following commands to verify a configuration:

Use show ethernet cfm ma remote commands to verify the CFM over EFP configuration. This command shows the basic configuration information for CFM.

Router-30-PE1#show ethernet cfm ma local
Local MEPs:
--------------------------------------------------------------------------------
MPID Domain Name                                 Lvl   MacAddress     Type  CC  
     Domain Id                                   Dir   Port           Id        
     MA Name                                           SrvcInst                 
     EVC name                                                                   
--------------------------------------------------------------------------------
1    L6                                          6     000a.f393.56d0 XCON  Y
     L6                                          Down    Te2/0/0        N/A  
     bbb                                               1
     bbb                                                                        
3    L5                                          5     0007.8478.4410 XCON  Y
     L5                                          Up    Te2/0/0        N/A  
     bbb                                               1
     bbb                                                                        
Total Local MEPs: 2
Local MIPs:
* = MIP Manually Configured
--------------------------------------------------------------------------------
 Level Port           MacAddress     SrvcInst   Type    Id                      
--------------------------------------------------------------------------------
 7     Te2/0/0        0007.8478.4410 1          XCON    N/A
Total Local MIPs: 1

Use show ethernet cfm ma remote to verify the MEP configuration:

Router-30-PE1#show ethernet cfm ma remote
--------------------------------------------------------------------------------
MPID  Domain Name                                 MacAddress          IfSt  PtSt
 Lvl  Domain ID                                   Ingress                       
 RDI  MA Name                                     Type Id             SrvcInst  
      EVC Name                                                        Age       
--------------------------------------------------------------------------------
4     L5                                          000a.f393.56d0      Up    Up  
 5    L5                                          Te2/0/0:(2.2.2.2, 1)
 -    bbb                                         XCON N/A            1         
      bbb                                                             9s
2     L6                                          000a.f393.56d0      Up    Up  
 6    L6                                          Te2/0/0:(2.2.2.2, 1)
 -    bbb                                         XCON N/A            1         
      bbb                                                             1s
Total Remote MEPs: 2

Use show ethernet cfm mpdb command to verify the catalogue of CC with MIP in intermediate routers.

PE2#show ethernet cfm mpdb
* = Can Ping/Traceroute to MEP
--------------------------------------------------------------------------------
MPID  Domain Name                                 MacAddress          Version   
Lvl   Domain ID                                   Ingress                       
Expd  MA Name                                     Type Id             SrvcInst  
      EVC Name                                                        Age       
--------------------------------------------------------------------------------
600 * L6                                          0021.d8ca.d7d0      IEEE-CFM 
6     L6                                          Te2/1:(2.2.2.2, 1)
-     s1                                          XCON N/A            1         
      1                                                               2s
700   L7                                          001f.cab7.fd01      IEEE-CFM 
7     L7                                          Te2/1:(2.2.2.2, 1)
-     s1                                          XCON N/A            1         
      1                                                               3s
Total Remote MEPs: 2

Use show mpls l2 transport vc 1 detail command to show detailed configuration information:

PE1#sh mpls l2 vc 1 deta
Local interface: Te8/0/1 up, line protocol up, Eth VLAN 200 up
  Interworking type is Ethernet
  Destination address: 3.3.3.3, VC ID: 1, VC status: up
    Output interface: Te8/0/0, imposed label stack {21}
    Preferred path: not configured  
    Default path: active
    Next hop: 20.1.1.2
  Create time: 21:13:27, last status change time: 02:55:33
  Signaling protocol: LDP, peer 3.3.3.3:0 up
    Targeted Hello: 2.2.2.2(LDP Id) -> 3.3.3.3, LDP is UP
    Status TLV support (local/remote)   : enabled/supported
      LDP route watch                   : enabled
      Label/status state machine        : established, LruRru
      Last local dataplane   status rcvd: No fault
      Last local SSS circuit status rcvd: No fault
      Last local SSS circuit status sent: No fault
      Last local  LDP TLV    status sent: No fault
      Last remote LDP TLV    status rcvd: No fault
      Last remote LDP ADJ    status rcvd: No fault
    MPLS VC labels: local 21, remote 21 
    Group ID: local 0, remote 0
    MTU: local 1500, remote 1500
    Remote interface description: 
  Sequencing: receive disabled, send disabled
  Control Word: On (configured: autosense)
  VC statistics:
    transit packet totals: receive 37, send 1067452272
    transit byte totals:   receive 4181, send 72586757556
    transit packet drops:  receive 0, seq error 0, send 0

Use show mpls forwarding-table command to verify the xconnect VC:

PE1#show mpls forwarding-table 
Local      Outgoing   Prefix           Bytes Label   Outgoing   Next Hop    
Label      Label      or Tunnel Id     Switched      interface              
17         Pop Label  3.3.3.3/32       23038746624   Te8/0/0    20.1.1.2    
21         No Label   l2ckt(1)         4181          Te8/0/1    point2point 

Use show ethernet cfm error command to view the error report:

PE2#show ethernet cfm error
--------------------------------------------------------------------------------
MPID Domain Id                                   Mac Address     Type   Id  Lvl 
     MAName                                      Reason                 Age     
--------------------------------------------------------------------------------
  -  L3                                          001d.45fe.ca81  BD-V   200  3
     s2                                          Receive AIS            8s
PE2#

Troubleshooting CFM Features

Table 4-34 provides troubleshooting solutions for the CFM features.

Table 4-34

Problem
Solution

When you configure CFM, the message "Match registers are not available" is displayed.

Use the show platform mrm info command on the SP console to verify the match registers. Based on the derived output, perform these tasks:

1. Check if the line card supports the CFM feature.

2. Enable CFM across the system to allow co-existence with other protocols.

3. Ensure that no CFM traffic is present in any supervisor or ports.

4. Configure STP mode to Multiple Spanning Tree (MST) and re-enable CFM or disable CFM completely.

For more information on match registers, see Ethernet Connectivity Fault Management at http://www.cisco.com/en/US/docs/ios/12_2sr/12_2sra/feature/guide/srethcfm.html.

CFM uses two match registers to identify the control packet type and each VLAN spanning tree also uses a match register to identify its control packet type. For both protocols to work on the same system, each line card should support three match registers, and at least one supporting only a 44 bit MAC match.

CFM configuration errors

CFM configuration error occurs when when a MEP receives a continuity check with an overlapping MPID. To verify the source of the error, use the command show ethernet cfm errors configuration or show ethernet cfm errors.

CFM ping and traceroute result is "not found"

Complete these steps:

1. Use show run ethernet cfm to view all CFM global configurations.

2. Use show ethernet cfm location main to view local MEPs and their CCM statistics

3. Use show ethernet cfm peer meps command to View CFM CCM received from Peer MEPs.

4. Use trace ethernet cfm command to start a CFM trace.

CFM connectivity is down and issues at the maintenance domain levels

Use the ping ethernet {mac-address | mpid id | multicast} domain domain-name { vlan vlan-id | port | evc evc-name } or traceroute ethernet {mac-address | mpid id } domain domain-name { vlan vlan-id | port | evc evc-name } commands to verify ethernet CFM connectivity. Share the output with TAC for further investigation.

Loop trap error

Use the show ethernet cfm error command to check for Loop Trap errors as shown here:

CE(config-if)#do sh ethernet cfm err
--------------------------------------------------
-----------------------------
Level Vlan MPID Remote MAC     Reason               
Service ID
--------------------------------------------------
-----------------------------
5     711  550  1001.1001.1001 Loop Trap Error      
OUT
PE#sh ethernet cfm err
--------------------------------------------------
-----------------------------
Level Vlan MPID Remote MAC     Reason               
Service ID
--------------------------------------------------
-----------------------------
5     711  550  1001.1001.1001 Loop Trap Error      
OUT 

Module has insufficient match registers

Complete these steps:

1. Verify and confirm if a unsupported line card is inserted into the router.

2. If yes, perform an OIR of the unsupported line card.

CFM is deactivated

Complete these steps:

1. Check if all the line cards have free match reagisters.

2. Check if CFM is activated on supervisor cards. CFM is not supported on supervisor cards that has two match registers. In this scenario, CFM is automatically disabled on the SUP ports and enabled on the remaining line cards.

ethernet cfm logging

In a scale scenario, you configure either the console logging rate-limiting using logging rate-limit or using logging buffered instead of using logging console. The suggested rate-limit is around 30 messages per second.


Troubleshooting Scenarios for CFM features

802.1ah: Configuring the MAC Tunneling Protocol

The MAC Tunneling Protocol (MTP) feature is based on the IEEE 802.1ah standard and provides VLAN and MAC scalability. This feature extends the Cisco QinQ (the IEEE 802.1ad standard) capability to support highly scalable Provider Backbone Architecture (PBA). MTP allows a service provider to interconnect multiple Provider Bridged Networks (PBNs) that support a minimum 10,48,576 (2 to the 20th power) Service VLANS and extend the MAC address scalability.

With this feature, you can scale a Provider Bridged P802.1ad network using an existing Bridged and Virtual Bridged Local Area Network (VLAN) deployment. Although the current Cisco QinQ capability provides VLAN scaling, this feature extends the scaling and interoperability between multiple vendors.

Bridges in a Provider Backbone Bridged Network (PBBN) need to learn the MAC address of each host to make forwarding decisions. MTP resolves this need for MAC address learning by encapsulating both the data packet and MAC addresses (source and destination) into a new Ethernet frame. The header of the new Ethernet frame contains:

Destination Backbone MAC (B-MAC)

Source Backbone MAC (B-MAC)

Backbone VLAN TAG (B-TAG) with 12-bit Backbone VLAN ID (B-VID)

Service Instance TAG (I-TAG) with 24-bit Service Instance ID (I-SID)

The MAC scalability is implemented using the B-MACs. Since the new Ethernet frames are encapsulated with MAC address (host) while traversing the PBBN, a bridge needs to learn the B-MACs only. The MAC addresses of hosts are hidden from the Provider Backbone Bridges (PBB), resulting in the PBBridges to learn only the provider MAC address, irrespective of the number of hosts or the number of host MAC addresses supported. Since the data packets are sent to specific MAC addresses, the 802.1ah cloud is not flooded with unnecessary traffic. A MAC address is a static entry in the MAC address table on the Backbone Core Bridge.

The VLAN scalability is implemented using the I-SID. The MTP achieves VLAN scalability by using a backbone VLAN TAG with a 12-bit B-VID and the Service Instance TAG with a 24-bit Service Instance ID to provide the VLAN scalability necessary to map large number of customers.

Figure 4-10 shows the basic MTP network deployment.

Figure 4-10 MTP Network Deployment

MTP Software Architecture

The encapsulation and decapsulation of MAC addresses is performed on a Backbone Edge Bridge (BEB) at the edge of the PBBN. A BEB can be an I-Bridge (I-BEB), a B-Bridge (B-BEB), or an IB-Bridge (IB-BEB). Currently, MTP is supported only with the IB-BEB functionality.

Figure 4-11 shows the MTP software architecture.

Figure 4-11 MTP Software Architecture

IB Backbone Edge Bridge

An IB-BEB consists of one B-Component and one or more I-Components. The IB-BEB provides the functionality to select the B-MAC and insert I-SIDs based on the supported tags. It also validates the I-SIDs and transmits or receives the frames on the B-VLAN.

The iIEEE 802.1ah draft describes two types of customer-facing interfaces supported by IB-BEB:

S-Tagged Service Interface

Translating S-tagged Interface

Bundling S-tagged interface:

Port-Based (transparent) Service Interface

MTP supports both type of interfaces.

Data Plane Processing

The packets on the ingress EFP are tunneled to the appropriate MAC tunnel using the C-MAC bridge domain. For multiple EFPs using the same I-SID, the switching among EFPs is done using the C-MAC bridge domain. Local switching is performed across all the ports in the bridge domain even if they span multiple tunnel engines.

MTP Configuration

Table 4-35 lists the relationship between the various entities in a Cisco 7600 Series Router for MTP implementation.

Table 4-35 Relationship Between the Various Entities in a Cisco 7600 Series Router

Entity to Entity
Relationship

EFP to C-MAC bridge domain

many to one

C-MAC bridge domain to I-SID

one to one

I-SID to B-MAC bridge domain

many to one


Figure 4-12 show N to N relationship within a Cisco 7600 Series Router:

Figure 4-12 N to N relationship within a Cisco 7600 Series Router

Scalability Information

Table 4-36 lists scalability information for MTP.

Table 4-36 Scalability Information for MTP

Scalability Factor
Scalability Number

Number of EVCs in the system

32000

Number of EVCs per linecard

16000

Number of C-MAC addresses per NPU

32000 per NPU

Number of EVCs per C-BD per NPU

110

Number of B-bridge-domains per chassis

4094

Number of I-SIDs or MAC-Tunnels

16000

Number of MAC entries in a C-MAC table

32000

Number of EVCs in the system

32000

Number of EVCs per linecard

16000


Restrictions and Usage Guidelines

Follow these restrictions and usage guidelines when configuring the MAC Tunneling Protocol on an ES40 line card:

By default, all the BPDUs are dropped.

Port channels with 802.1ah EVCs are not supported.

IGMP Snooping or any multicast protocol support on the C bridge-domain.

MAC address synchronization and MAC address move notification in the C bridge-domain is not supported.

DHCP Snooping with 802.1ah EVCs is not supported.

B-Bridge and I-Bridge models are not supported.

An ISID configured under a MAC-Tunnel cannot be configured on another MAC-Tunnel.

Tunnel-engine configuration is not supported.

Source MAC address configuration for a Tunnel-Engine is not supported.

Configuring the MTP for the Cisco 7600 Router

This section describes how to configure MTP for Cisco 7600 Router.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface gigabitEthernet slot/port or interface tengigabitEthernet slot/port

4. service instance id {Ethernet [service-name]}

5. encapsulation untagged dot1q {any | vlan-id[vlan-id[vlan-id]} second-dot1q {any |vlan-id[vlan-id[vlan-id]]}

6. rewrite ingress tag {push {dot1q vlan-id | dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | pop {1 | 2} | translate {1-to-1 {dot1q vlan-id | dot1ad vlan-id}| 2-to-1 dot1q vlan-id | dot1ad vlan-id}| 1-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | 2-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id}} [symmetric]

7. [no] bridge-domain bridge-id c-mac

8. exit

9. exit

10. ethernet mac-tunnel virtual mac-in-mac tunnel identifier

11. [no] bridge-domain bridge-id

12. service instance id {Ethernet [service-name]}

13. encapsulation dot1ah i-sid i-sid_number

14. [no] bridge-domain bridge-id c-mac

15. exit

16. exit

17. exit

DETAILED STEPS

 
Command
Purpose

Step 1 

enable

Example:
Router# enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface gigabitethernet slot/port

Example:

Router(config)# interface GigabitEther- net 3/1

Specifies the Gigabit Ethernet interface to be configured, where:

slot/port—Specifies the location of the interface

Step 4 

service instance id Ethernet [ser- vice-name]

Example:

Router(config-if)#service instance 20 ethernet

Creates a service instance (an instance of an EVC) on an interface and sets the device into the config-if-srv submode.

Step 5 

encapsulation dot1q {any | vlan-id[vlan-id[-vlain-id]]} sec- ond-dot1q {any | vlan-id[vlan-id[-vlan-id]]}

Example:

Router(config-if-srv)#encapsulation dot1q 40 second-dot1q 42

Configures the encapsulation. Defines the matching criteria to be used in order to map ingress dot1q frames on an interface to the appropriate service instance.

Step 6 

rewrite ingress tag {push {dot1q vlan-id | dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | pop {1 | 2} | translate {1-to-1 {dot1q vlan-id | dot1ad vlan-id}| 2-to-1 dot1q vlan-id | dot1ad vlan-id}| 1-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id} | 2-to-2 {dot1q vlan-id second-dot1q vlan-id | dot1ad vlan-id dot1q vlan-id}} [symmetric]

Example:

Router(config-if-srv)#rewrite ingress tag pop 1 symmetric

Specifies the tag manipulation that is to be performed on the frame ingress to the service instance.

Step 7 

bridge-domain bd_Id c-mac

Example:

Router(config-if-srv)#bridge-domain 21 c-mac

Configuring the bridge domain. Binds the service instance to a bridge domain instance where bd-id is the identifier for the bridge domain instance.

Step 8 

exit

Example:

Router(config-if-srv)#exit

Exits the service instance mode.

Step 9 

exit

Example:

Router(config-if)#exit

Exits the interface mode.

Step 10 

ethernet mac-tunnel virtual mac-in-mac- TunnelIdentifier

Example:

Router(config)#ethernet mac-tunnel vir- tual 22

Configures mac-in-mac tunnel and creates a tunnel identifier for the 802.1ah cloud. Sets the configuration to config-tunnel-min mode.

Step 11 

bridge-domain bd_Id

Example:

Router(config-tunnel-minm)#bridge-do- main 200

Binds the MAC tunnel to the B-MAC bridge domain instance.

Step 12 

service instance id Ethernet [ser- vice-name]

Example:

Router(config-tunnel-minm)#service in 23 ethernet

Defines the service instance to be used with B-VLAN. Sets the configuration mode to config-tunnel-srv mode.

Step 13 

encapsulation dot1ah i-sid i-sid_number

Example:

Router(config-tunnel-srv)#encapsula- tion dot1ah isid 24

Defines the matching criteria to be used to map 802.1ah frames with I-SID id to the appropriate EVC.

Step 14 

bridge-domain bd_Id c-mac

Example:

Router(config-tunnel-srv)#bridge-do- main 21 c-mac

Maps the I-SID used for forwarding the customer packets to a specific EVC on the interface. To ensure proper configuration, the bd-id used in Step 7 must match the bd-id used in this Step.

Step 15 

exit

Example:

Router(config-tunnel-srv)#exit

Exits the mac-tunnel service instance mode.

Step 16 

exit

Example:

Router(config-tunnel-minm)#exit

Exits the mac-tunnel mode.

Step 17 

exit

Example:

Router(config)#exit

Exits the global configuration mode.

Examples

This example shows how to configure MTP for Cisco 7600 Routers:

Router>enable
Router#configure terminal
Router(config)#interface GigabitEthernet 3/1
Router(config-if)#service instance 20 ethernet
Router(config-if-srv)#encapsulation dot1q 40 second-dot1q 42
Router(config-if-srv)#rewrite ingress tag pop 1 symmetric
Router(config-if-srv)#bridge-domain 21 c-mac
Router(config-if-srv)#exit
Router(config-if)#exit
Router(config)#ethernet mac-tunnel virtual 22
Router(config-tunnel-minm)#bridge-domain 200
Router(config-tunnel-minm)#service in 23 ethernet
Router(config-tunnel-srv)#encapsulation dot1ah isid 24
Router(config-tunnel-srv)#bridge-domain 21 c-mac
Router(config-tunnel-srv)#exit
Router(config-tunnel-minm)#exit
Router(config)#exit

Verification

Use the following commands to verify the MTP configuration and view the related information.

You can use the show platform mtp slot slot_num command to verify the MTP configuration and view MTP information for each slot:

Router#sh platform mtp slot 3
SLOT        TUNNELENGINE         VLAN_LIST
 3          MacTunnelEngine3/0     200
 3          MacTunnelEngine3/1
 3          MacTunnelEngine3/2
 3          MacTunnelEngine3/3

You can use show platform mtp c_bd c-vlan-id to view information about a specific C-VLAN:

Router#sh platform mtp c_bd 21
C_BD        B_BD           SLOT       PPE          C_BD_COUNT
 21         200             3          0               1
Router#

You can use show platform mtp b_bd b-vlan-id to view information about a specific B-VLAN:

Router#sh platform mtp b_bd 200
B_BD        SLOT           PPE        B_BD_COUNT
200          3              0             1
Router#

You can use show platform mtp befp b-efp-id to view information about a specific B-EFP:

Router#sh platform mtp befp 23
BEFP       C_BD           B_BD        SLOT           PPE          C_BD_COUNT
23         21             200          3              0              1
Router#

Troubleshooting

Table 4-37 provides troubleshooting solutions for the MAC Tunnelling feature.

Table 4-37 Troubleshooting Scenarios

Problem
Solution

ethernet mac-tunnel virtual 1 ; bridge-domain 4095 command is rejected

Complete these steps:

1. Check the the maximum number of bridge domains you have set.

2. Ensure that you have not exceeded the value of 4094.

Error message displayed when the I-SID (service identifier) is configured

Complete these steps:

1. Check the the maximum number of I-SID you have set.

2. Ensure that you have not exceeded the value of 16777215.

Error message displayed when service instance is configured

Complete these steps:

1. Check the the maximum number of service instance you have configured.

2. Ensure that you have not exceeded the value of 2147483647.

Packet flooding at dot1ah core.

Use mac-tunnel address destination map C-Mac addr B-Mac addr command to map the customer multicast addresses to a default B-DA and correct flooding issues.

RP is disabled

Use the debug bridge domain command to display the configuration,IPC events and errors. Share the output with TAC for further investigation.


802.3ah: Dying Gasp and Remote Loopback Initiation

Faults in Ethernet connectivity that are caused by slowly deteriorating quality are difficult to detect. Ethernet OAM provides a mechanism for an OAM entity to convey these failure conditions to its peer through specific flags in the OAM PDU. The following failure conditions can be communicated:

Link Fault—Loss of signal is detected by the receiver; for instance, the peer's laser malfunctions. A link fault is sent once per second in the information OAM PDU. Link fault applies only when the physical sublayer is capable of independently transmitting and receiving signals.

Dying Gasp—An unrecoverable condition occurs; for example, a power failure. This type of condition is vendor specific. A notification about the condition may be sent immediately and continuously.

Critical Event—An unspecified critical event occurs. This type of event is vendor specific. A critical event may be sent immediately and continuously.

In Remote Loopback mode, an OAM entity can put its remote peer into loopback mode using the loopback control OAM PDU. Loopback mode helps an administrator ensure the quality of links during installation or when troubleshooting. In the loopback mode, every frame received is transmitted back on the same port except for OAM PDUs and pause frames. The periodic exchange of OAM PDUs must continue during the loopback state to maintain the OAM session.


Note Effective with Release 15.2(2)S, Dying Gasp and Remote Loopback Initiation is supported on ES+ linecards.


Restrictions for Dying Gasp and Remote Loopback Initiation

Following restrictions apply for Dying Gasp and Remote Loopback Initiation:

Internet Group Management Protocol (IGMP) packets are not looped back.

If dynamic ARP inspection is enabled, ARP or reverse ARP packets are not looped or dropped.

Control BPDUs like STP, CDP, PAGP, and LACP are not looped back and dropped.

Configuring the Remote Loopback

Complete these steps to enable Ethernet OAM remote loopback on an interface:

SUMMARY STEPS

1. enable

2. configure terminal

3. interface type number

4. ethernet oam remote-loopback {supported | timeout seconds}

5. end

6. ethernet oam remote-loopback start interface type number

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

enable

Example:

Router> enable

Enables privileged EXEC mode.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface type number

Example:

Router# interface gigabitethernet 1/7

Configures an interface.

Step 4 

ethernet oam remote-loopback {supported | timeout seconds}

Example:

Router(config-if)# ethernet oam remote-loopback supported

Enables Ethernet remote loopback on the interface or sets a loopback timeout period.

Enter supported to enable remote loopback.

Enter timeout seconds to set a remote loopback timeout period. The range is from 1 to 10 seconds.

Step 5 

end

Example:

Router(config-if)# end

Exits the interface and configuration mode.

Step 6 

ethernet oam remote-loopback start interface type number

Example:

Router#ethernet oam remote-loopback start interface gigabitEthernet 1/7

Starts the loopback initiation.

Configuring the Dying Gasp

You can configure an error-disable action to occur on an interface if one of the high thresholds is exceeded, if the remote link goes down, if the remote device is rebooted, or if the remote device disables Ethernet OAM on the interface.

Complete these steps to enable Ethernet OAM remote-failure indication actions on an interface:

SUMMARY STEPS

1. enable

2. configure terminal

3. interface type number

4. ethernet oam remote-failure {critical-event | dying-gasp | link-fault} action error-disable-interface

5. end

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

enable

Example:

Router> enable

Enables privileged EXEC mode.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface type number

Example:

Router# interface gigabitethernet 1/7

Configures an interface.

Step 4 

ethernet oam remote-failure {critical-event | dying-gasp | link-fault} action error-disable-interface

Example:

Router(config-if)# ethernet oam remote-failure dying-gasp action error-disable-interface

Configures the Ethernet OAM remote-failure action on the interface. You can disable the interface for one of these conditions:

Select critical-event to shut down the interface when an unspecified critical event has occurred.

Select dying-gasp to shut down the interface when Ethernet OAM is disabled or the interface enters the error-disabled state.

Select link-fault to shut down the interface when the receiver detects a loss of signal.

Step 5 

end

Example:

Router(config-if)# end

Exits the interface mode.

Configuration Examples

This example shows how to configure the remote loopback initiation:

Router> enable
Router# configure terminal
Router#(config) interface gigabitethernet 1/7
Router(config-if)# ethernet oam remote-loopback supported
Router(config-if)# end
Router#ethernet oam remote-loopback start interface gigabitEthernet 1/7

This example shows how to configure the action on remote-failure reception:

Router> enable 
Router# configure terminal
Router#(config) interface gigabitethernet 1/7
Router(config-if)# ethernet oam remote-failure dying-gasp action error-disable-interface 
Router(config-if)# end

Verification

This example shows how to verify the configuration:

Router# show ethernet oam status interface gigabitethernet1/7
GigabitEthernet1/7
General
-------
  Admin state:           enabled
  Mode:                  active
  PDU max rate:          10 packets per second
  PDU min rate:          1 packet per 1 second
  Link timeout:          5 seconds
  High threshold action: no action
  Link fault action:     no action
  Dying gasp action:     error disable interface
  Critical event action: no action
Link Monitoring
---------------
  Status: supported (on)
  Symbol Period Error
    Window:              100 x 1048576 symbols
    Low threshold:       1 error symbol(s)
    High threshold:      none
  Frame Error
    Window:              10 x 100 milliseconds
    Low threshold:       1 error frame(s)
    High threshold:      none
  Frame Period Error
    Window:              1000 x 10000 frames
    Low threshold:       1 error frame(s)
    High threshold:      none
  Frame Seconds Error
    Window:              100 x 100 milliseconds
    Low threshold:       1 error second(s)
    High threshold:      none
  Receive-Frame CRC Error
    Window:              10 x 100 milliseconds
    Low threshold:       10 error frame(s)
    High threshold:      none
  Transmit-Frame CRC Error
    Window:              10 x 100 milliseconds
    Low threshold:       10 error frame(s)
    High threshold:      none

This example shows the summary of the remote loopback configuration and the status of the operation:

P19_C7609-S#show ethernet oam summary
Symbols:          * - Master Loopback State,  # - Slave Loopback State
                  & - Error Block State
Capability codes: L - Link Monitor,  R - Remote Loopback
                  U - Unidirection,  V - Variable Retrieval
  Local                       Remote
Interface       MAC Address    OUI    Mode    Capability
  Gi1/7         -              -      -        -

Support for IEEE 802.1ad

Provider networks handle traffic from a large number of customers. It is important that one customer's traffic is isolated from the other customer's traffic. IEEE 802.1ad implements standard protocols for double tagging of data. The data traffic coming from the customer side are double tagged in the provider network where the inner tag is the customer-tag (C-tag) and the outer tag is the provider-tag (S-tag). The control packets are tunneled by changing the destination MAC address in the provider network.

Cisco 7600 series routers already support VLAN double tagging through a feature called QinQ. 802.1ad is the standardized version of QinQ. It also extends the support for Layer 2 Protocol Tunneling Protocol (L2PT). By offering transparent Layer 2 connectivity, the service provider does not get involved in the customer's Layer 3 network. This makes provisioning and maintenance simple, and reduces the operational cost.

Prerequisites for IEEE 802.1ad

The ethertype should be programmable per port.

Restrictions for IEEE 802.1ad

Follow these restrictions and guidelines when you configure 802.1ad:

The l2protocol forward command is available only on the main interface of switchports and L3 ports. The command is not available on the subinterfaces. All the subinterfaces on a port inherit the behavior from the main interface. The l2protocol forward command is also available on EVC service instance.

The l2protocol peer and l2protocol drop commands are not supported.

The l2protocol forward command on a main interface and on EVCs supports only cdp, dtp, vtp, stp, and dot1x.

You cannot configure Dot1ad if custom ethertype is configured on port.

802.1ad is supported on the following port types:

Port
EVC
Switchport
Layer Interfaces

C-UNI

Ethertype 0x8100

C-VLAN BPDU

Any EVCs

Ethertype 0x8100

C-VLAN BPDU

Trunk or Access

Ethertype 0x8100

C-VLAN BPDU

S-UNI

Ethertype 0x88a8

S-VLAN BPDU (Only Encapsulation default is supported)

Ethertype 0x88a8

S-VLAN BPDU

Access only

Not supported

S-NNI

Ethertype 0x88a8

S-VLAN BPDU

Any EVC

Ethertype 0x88a8

S-VLAN BPDU

Trunk

Ethertype 0x88a8

S-VLAN BPDU

Trunk


Information About IEEE 802.1ad

To configure IEEE 802.1ad support, you should understand the following concepts:

How Provider Bridges Work

Guidelines for Handling BPDU

Interoperability of QinQ and Dot1ad

How Provider Bridges Work

Provider bridges pass the network traffic of many customers, and each customer's traffic flow must be isolated from one another. For the Layer 2 protocols within customer domains to function properly, geographically separated customer sites must appear to be connected through a LAN, and the provider network must be transparent.

The IEEE has reserved 33 Layer 2 MAC addresses for customer devices operating Layer 2 protocols. If a provider bridge uses these standard MAC addresses for its Layer 2 protocols, the customers' and service provider's Layer 2 traffic will be mixed together. Provider bridges solve this traffic-mixing issue by providing Layer 2 protocol data unit (PDU) tunneling for customers using a provider bridge (S-bridge) component and a provider edge bridge (C-bridge) component. Figure 4-13 shows the topology.

Figure 4-13

Layer 2 PDU Tunneling

S-Bridge Component

The S-bridge component is capable of inserting or removing a service provider VLAN (S-VLAN) for all traffic on a particular port. IEEE 802.1ad adds a new tag called a Service tag (S-tag) to all the ingress frames from a customer to the service provider.

The VLAN in the S-tag is used for forwarding the traffic in the service provider network. Different customers use different S-VLANs, which results in each customer's traffic being isolated. In the S-tag, provider bridges use an Ethertype value that is different from the standard 802.1Q Ethertype value, and do not understand the standard Ethertype. This difference makes customer traffic tagged with the standard Ethertype appear as untagged in the provider network so customer traffic is tunneled in the port VLAN of the provider port. The 802.1ad service provider user network interfaces (S-UNIs) and network to network interfaces (NNIs) implement the S-bridge component.

For example, a VLAN tag has a VLAN ID of 1, the C-tag Ethertype value is 8100 0001, the S-tag Ethertype value is 88A8 0001, and the class of service (CoS) is zero.

C-tag S-tag

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

0x8100 | Priority bits | CFI | C-VLAN-ID 0x88A8 | Priority bits | 0 | S-VLAN-ID

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

C-Bridge Component

All the C-VLANs entering on a UNI port in an S-bridge component are provided the same service (marked with the same S-VLAN). Although, C-VLAN components are not supported, a customer may want to tag a particular C-VLAN packet separately to differentiate between services. Provider bridges allow C-VLAN packet tagging with a provider edge bridge, called the C-bridge component of the provider bridge. C-bridge components are C-VLAN aware and can insert or remove a C-VLAN 802.1Q tag. The C-bridge UNI port is capable of identifying the customer 802.1Q tag and inserting or removing an S-tag on the packet on a per service instance or C-VLAN basis. A C-VLAN tagged service instance allows service instance selection and identification by C-VLAN. The 802.1ad customer user network interfaces (C-UNIs) implement the C-component.

MAC Addresses for Layer 2 Protocols

Customers' Layer 2 PDUs received by a provider bridge are not forwarded, so Layer 2 protocols running in customer sites do not know the complete network topology. By using a different set of addresses for the Layer 2 protocols running in provider bridges, IEEE 802.1ad causes customers' Layer 2 PDUs entering the provider bridge to appear as unknown multicast traffic and forwards it on customer ports (on the same S-VLAN). Customers' Layer 2 protocols can then run transparently.

Table 4-38 shows the Layer 2 MAC addresses reserved for the C-VLAN component.

Table 4-38 Reserved Layer 2 MAC Addresses for a C-VLAN Component

Assignment
Value

Bridge Group Address

01-80-c2-00-00-00

IEEE Std 802.3 Full Duplex PAUSE operation

01-80-c2-00-00-01

IEEE Std. 802.3 Slow_Protocols_Multicast address

01-80-c2-00-00-02

IEEE Std. 802.1X PAE address

01-80-c2-00-00-03

Reserved for future standardization - media access method-specific

01-80-c2-00-00-04

Reserved for future standardization - media access method- specific

01-80-c2-00-00-05

Reserved for future standardization

01-80-c2-00-00-06

Reserved for future standardization

01-80-c2-00-00-07

Provider Bridge Group Address

01-80-c2-00-00-08

Reserved for future standardization

01-80-c2-00-00-09

Reserved for future standardization

01-80-c2-00-00-0a

Reserved for future standardization

01-80-c2-00-00-0b

Reserved for future standardization

01-80-c2-00-00-0c

Provider Bridge GVRP Address

01-80-c2-00-00-0d

IEEE Std. 802.1AB Link Layer Discovery Protocol multicast address

01-80-c2-00-00-0e

Reserved for future standardization

01-80-c2-00-00-0f


Table 4-39 shows the Layer 2 MAC addresses reserved for an S-VLAN component. These addresses are a subset of the C-VLAN component addresses, and the C-bridge does not forward the provider's bridge protocol data units (BPDUs) to a customer network.

Table 4-39 Reserved Layer 2 MAC Addresses for an S-VLAN Component

Assignment
Value

IEEE Std 802.3 Full Duplex PAUSE operation

01-80-c2-00-00-01

IEEE Std. 802.3 Slow_Protocols_Multicast address

01-80-c2-00-00-02

IEEE Std. 802.1X PAE address

01-80-c2-00-00-03

Reserved for future standardization - media access method specific

01-80-c2-00-00-04

Reserved for future standardization - media access method specific

01-80-c2-00-00-05

Reserved for future standardization

01-80-c2-00-00-06

Reserved for future standardization

01-80-c2-00-00-07

Provider Bridge Group Address

01-80-c2-00-00-08

Reserved for future standardization

01-80-c2-00-00-09

Reserved for future standardization

01-80-c2-00-00-0a


Guidelines for Handling BPDU

The general BPDU guidelines are listed here:

UNI-C Ports

The guidelines pertaining to UNI-C ports are:

VLAN-aware L2 protocols can be peered, tunneled, or dropped.

Port L2 protocols can either be peered or dropped. They cannot be tunneled.

Table 4-40 shows the Layer 2 PDU destination MAC addresses for customer-facing C-bridge UNI ports, and how frames are processed.

Table 4-40 Layer 2 PDU Destination MAC Addresses for Customer-Facing C-Bridge UNI Ports

Assignment
Protocol
Significance on C-UNI Port
Default Action

01-80-C2-00-00-00

Bridge Group Address (End-to-End BPDUs)

BPDU

Peer

01-80-C2-00-00-01

802.3X Pause Protocol

BPDU

Drop

01-80-C2-00-00-02

Slow Protocol address: 802.3ad LACP, 802.3ah OAM, CDP Pagp, VTP, DTP, UDLD

BPDU

Peer

01-80-C2-00-00-03

802.1X

BPDU

May peer

01-80-C2-00-00-04

Reserved for future media access method

None

Drop

01-80-C2-00-00-05

Reserved for future media access method

None

Drop

01-80-C2-00-00-06

Reserved for future bridge use

None

Drop

01-80-C2-00-00-07

Reserved for future bridge use

None

Drop

01-80-C2-00-00-08

Provider STP (BPDU)

None

Drop

01-80-C2-00-00-09

Reserved for future bridge use

None

Drop

01-80-C2-00-00-0A

Reserved for future bridge use

None

Drop

01-80-C2-00-000-0B

Reserved for future S-bridge purpose

None

Drop

01-80-C2-00-00-0C

Reserved for future S-bridge purpose

None

Drop

01-80-C2-00-00-0D

Provider Bridge GVRP address

None

Drop

01-80-C2-00-00-0E

802.1ab-LLDP

BPDU

May peer

01-80-C2-00-00-0F

Reserved for future C-bridge or Q-bridge use

None

Drop

01-80-C2-00-00-10

All bridge addresses

Read Data

Snoop if implemented. Else, discard

01-80-C2-00-00-20

GMRP

Data/BPDU

May peer

01-80-C2-00-00-21

GVRP

Data/BPDU

May peer

01-80-C2-00-00-22 - 2F

Other GARP addresses

Data/BPDU

May peer

01-00-0C-CC-CC-CC

Cisco's CDP DTP VTP PagP UDLD (End-to-End)

BPDU

Peer

01-00-0C-CC-CC-CD

Cisco's PVST(End-to-End)

BPDU

May peer


UNI-S Ports

The guidelines pertaining to UNI-S ports are:

Packets with C-Bridge addresses (00 - 0F) that are not part of S-Bridge addresses (01 - 0A) are treated as data packet (tunneled).

VLAN-aware L2 protocols cannot be peered because the port is not C-VLAN aware. They can only be tunneled or dropped.

Port L2 protocols can be peered, tunneled, or dropped.

Table 4-41 shows the Layer 2 PDU destination MAC addresses for customer-facing S-bridge UNI ports, and how frames are processed.

Table 4-41 Layer 2 PDU Destination MAC Addresses for Customer-Facing S-Bridge UNI Ports

Assignment
Protocol
Significance on S-UNI Port
Default Action

01-80-C2-00-00-00

Bridge Group Address (BPDUs)

Data

Data

01-80-C2-00-00-01

802.3X Pause Protocol

BPDU

Drop

01-80-C2-00-00-02

Slow Protocol address: 802.3ad LACP, 802.3ah

BPDU

Peer

01-80-C2-00-00-03

802.1X

BPDU

Peer

01-80-C2-00-00-04

Reserved for future media access method

BPDU

Drop

01-80-C2-00-00-05

Reserved for future media access method

BPDU

Drop

01-80-C2-00-00-06

Reserved for future bridge use

BPDU

Drop

01-80-C2-00-00-07

Reserved for future bridge use

BPDU

Drop

01-80-C2-00-00-08

Provider STP (BPDU)

BPDU

Drop (peer on NNI)

01-80-C2-00-00-09

Reserved for future bridge use

BPDU

Drop

01-80-C2-00-00-0A

Reserved for future bridge use

BPDU

Drop

01-80-C2-00-00-0B

Reserved for future bridge use

Data if not implemented

Drop

01-80-C2-00-00-0C

Reserved for future bridge use

Data if not implemented

Treat as data until implemented

01-80-C2-00-00-0D

Reserved for future GVRP address

Data if not implemented

Treat as data until implemented

01-80-C2-00-00-0E

802.1ab-LLDP

BPDU

May peer

01-80-C2-00-00-0F

Reserved for future C-bridge or Q-bridge use

Data

Data

01-80-C2-00-00-10

All bridge addresses

Data

Data

01-80-C2-00-00-20

GMRP

Data

Data

01-80-C2-00-00-21

GVRP

Data

Data

01-80-C2-00-00-22 - 2F

Other GARP addresses

Data

Data

01-00-0C-CC-CC-CC

Cisco's CDP DTP VTP PagP UDLD

Data

Data

01-00-0C-CC-CC-CD

Cisco's PVST

Data

Data


NNI Ports

The Dot1add NNI ports behave in the same way as the customer facing S-bridge ports, with the following exceptions:

On NNI ports, frames received with DA 01-80-C2-00-00-08 contain STP BPDU. The frames are received and transmitted. On S-UNI ports, any such frames that are received are dropped, and none are sent.

On NNI ports, frames received with DA 01-80-C2-00-00-02 include CDP Pagp, VTP, DTP, and UDLD protocols.

7600 Action Table

Table 4-42 lists the actions performed on a packet when the packet is received with a specified destination MAC address.

Table 4-42 7600 Action Table

MAC Address
Protocol
C-UNI Action
S-UNI Action
NNI Action

01-80-C2-00-00-00

Bridge Group Address (BPDUs)

Peer

Data

Data

01-80-C2-00-00-01

802.3X Pause Protocol

Drop

Drop

Drop

01-80-C2-00-00-02

Slow Protocol address: 802.3ad LACP, 802.3ah

Peer

Peer

Peer

01-80-C2-00-00-03

802.1X

May peer

May peer

May peer

01-80-C2-00-00-04

Reserved

Drop

Drop

Drop

01-80-C2-00-00-05

Reserved

Drop

Drop

Drop

01-80-C2-00-00-06

Reserved

Drop

Drop

Drop

01-80-C2-00-00-07

Reserved

Drop

Drop

Drop

01-80-C2-00-00-08

Provider STP (BPDU)

Drop

Drop

Peer

01-80-C2-00-00-09

Reserved for future bridge use

Drop

Drop

Drop

01-80-C2-00-00-0A

Reserved for future bridge use

Drop

Drop

Drop

01-80-C2-00-00-0B

Reserved for future bridge use

Drop

Data

Data

01-80-C2-00-00-0C

Reserved for future bridge use

Drop

Data

Data

01-80-C2-00-00-0D

Reserved for future GVRP address

Drop

Data

Data

01-80-C2-00-00-0E

802.1ab-LLDP

May peer

Data

Data

01-80-C2-00-00-0F

Reserved for future C-bridge or Q-bridge use

Drop

Data

Data

01-80-C2-00-00-10

All bridge addresses

Snoop if implemented. Else drop

Data

Data

01-80-C2-00-00-20

GMRP

May peer

Data

Data

01-80-C2-00-00-21

GVRP

May peer

Data

Data

01-80-C2-00-00-22 - 2F

Other GARP addresses

May peer

Data

Data

01-00-0C-CC-CC-CC

Cisco's CDP DTP VTP PagP UDLD

Peer

Data

Data

01-00-0C-CC-CC-CD

Cisco's PVST

May peer

Data

Data


Interoperability of QinQ and Dot1ad

The interoperability of QinQ and Dot1ad network enables the exchange of data frames between the networks. The 802.1Q network outer tag VLANs are mapped to the provider S-VLANs of the 802.1ad network.

Figure 4-14 illustrates the interoperability of a Dot1ad network and a QinQ network.

Figure 4-14

Interoperability of Dot1ad Network and a QinQ Network

How to Configure IEEE 802.1ad

This section contains the information about following procedures:

Configuring a Switchport

Configuring a Layer 2 Protocol Forward

Configuring a Switchport for Translating QinQ to 802.1ad

Configuring a Switchport (L2PT)

Configuring a Customer-Facing UNI-C Port with EVC

Configuring a Customer-Facing UNI-C Port and Switchport on NNI with EVC

Configuring a Customer-Facing UNI-S Port with EVC

Configuring a Layer 3 Termination

Displaying a Dot1ad Configuration

Configuring a Switchport

A switchport can be configured as a UNI-C port, UNI-S port, or NNI port.

UNI-C Port

A UNI-C port can be configured as either a trunk port or an access port. Perform the following tasks to configure a UNI-C port as an access port for 802.1ad.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface type number

4. ethernet dot1ad {nni | uni {c-port | s-port}}

5. switchport

6. switchport mode {access | trunk}

7. switchport access vlan vlan-id

8. end

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

enable

Example:

Router> enable

Enables privileged EXEC mode.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface type number

Example:

Router# interface gigabitethernet 2/1

Configures an interface.

Step 4 

ethernet dot1ad {nni | uni {c-port | s-port}}

Example:

Router(config-if)# ethernet dot1ad uni c-port

Configures a dot1ad NNI port or UNI port. In this example, it is a UNI-C port.

Step 5 

switchport

Example:

Router(config-if)# switchport

Put the interface into Layer 2 mode.

Step 6 

switchport mode {access | trunk}

Example:

Router(config-if)# switchport mode access

Sets the interface type. In this example, it is Access.

Step 7 

switchport access vlan vlan-id

Example:

Router(config-if)# switchport access 1000

Sets the VLAN when an interface is in access mode. In this example, the VLAN is set to 1000.

Step 8 

end

Example:

Router(config-if)# end

Returns the CLI to privileged EXEC mode.

Perform the following tasks to configure a UNI-C port as a trunk port for 802.1ad.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface type number

4. ethernet dot1ad {nni | uni {c-port | s-port}}

5. switchport

6. switchport mode {access | trunk}

7. switchport trunk allowed vlan vlan-list

8. end

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

enable

Example:

Router> enable

Enables privileged EXEC mode.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface type number

Example:

Router# interface gigabitethernet 2/1

Configures an interface.

Step 4 

ethernet dot1ad {nni | uni {c-port | s-port}}

Example:

Router(config-if)# ethernet dot1ad uni c-port

Configures a dot1ad NNI port or UNI port. In this example, it is a UNI-C port.

Step 5 

switchport

Example:

Router(config-if)# switchport

Put the interface into Layer 2 mode.

Step 6 

switchport mode {access | trunk}

Example:

Router(config-if)# switchport mode trunk

Sets the interface type. In this example, it is Trunk.

Step 7 

switchport trunk allowed vlan vlan-list

Example:

Router(config-if)# switchport trunk allowed vlan 1000, 2000

Sets the list of allowed VLANs that transmit traffic from this interface in tagged format when in trunking mode.

Step 8 

end

Example:

Router(config-if)# end

Returns the CLI to privileged EXEC mode.

UNI-S Port

On a UNI-S port, all the customer VLANs that enter are provided with the same service. The port allows only access configuration. In this mode, the customer's port is configured as a trunk port. Therefore, the traffic entering the UNI-S port is tagged traffic.

Perform the following tasks to configure a UNI-S port as an access port for 802.1ad.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface type number

4. switchport

5. switchport mode {access | trunk}

6. ethernet dot1ad {nni | uni {c-port | s-port}}

7. switchport access vlan vlan-id

8. end

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

enable

Example:

Router> enable

Enables privileged EXEC mode.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface type number

Example:

Router# interface gigabitethernet 2/1

Configures an interface.

Step 4 

switchport

Example:

Router(config-if)# switchport

Put the interface into Layer 2 mode.

Step 5 

switchport mode {access | trunk}

Example:

Router(config-if)# switchport mode access

Sets the interface type. In this example, it is Access.

Step 6 

ethernet dot1ad {nni | uni {c-port | s-port}}

Example:

Router(config-if)# ethernet dot1ad uni s-port

Configures a dot1ad NNI port or UNI port. In this example, it is a UNI-S port.

Step 7 

switchport access vlan vlan-id

Example:

Router(config-if)# switchport access 999

Sets the VLAN when an interface is in access mode. In this example, the VLAN is set to 999.

Step 8 

end

Example:

Router(config-if)# end

Returns the CLI to privileged EXEC mode.

NNI Port

NNI port allows only trunk configuration. On an NNI port, the frames received on all the allowed VLANs are bridged to the respective internal VLANs.

Perform the following tasks to configure an NNI port as a trunk port for 802.1ad.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface type number

4. switchport

5. switchport mode {access | trunk}

6. ethernet dot1ad {nni | uni {c-port | s-port}}

7. switchport trunk allowed vlan vlan-list

8. end

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

enable

Example:

Router> enable

Enables privileged EXEC mode.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface type number

Example:

Router# interface gigabitethernet 2/1

Configures an interface.

Step 4 

switchport

Example:

Router(config-if)# switchport

Put the interface into Layer 2 mode.

Step 5 

switchport mode {access | trunk}

Example:

Router(config-if)# switchport mode trunk

Sets the interface type. In this example, it is Trunk.

Step 6 

ethernet dot1ad {nni | uni {c-port | s-port}}

Example:

Router(config-if)# ethernet dot1ad nni

Configures a dot1ad NNI port or UNI port. In this example, it is an NNI.

Step 7 

switchport trunk allowed vlan vlan-list

Example:

Router(config-if)# switchport trunk allowed vlan 999

Sets the list of allowed VLANs that transmit traffic from this interface in tagged format when in trunking mode.

Step 8 

end

Example:

Router(config-if)# end

Returns the CLI to privileged EXEC mode.

Examples

The following example shows how to configure a UNI-C port as an access port. In this example, all the frames that are received are bridged to one internal VLAN 1000. The transmitted frames do not have the access VLAN Dot1q tag.

Router# configure terminal
Router(config)# interface gig2/1
Router(config-if	# ethernet dot1ad uni c-port
Router(config-if)# switchport
Router(config-if)# switchport mode access 
Router(config-if)# switchport access vlan 1000

The following example shows how to configure a UNI-C port as a trunk port. In this example, all the frames that are received on all allowed VLANs (1000 and 2000) are bridged to the respective internal VLANs. The transmitted frames have the respective internal VLAN Dot1q tag.

Router# configure terminal
outer(config)# interface gig2/1
Router(config-if)# ethernet dot1ad uni c-port
Router(config-if)# switchport
Router(config-if)# switchport mode trunk 

Router(config-if)# switchport access vlan 1000, 2000

The following example shows how to configure a UNI-S port. In this example, all the frames that are received are bridged to one internal VLAN (999). The transmitted frames do not have the access VLAN Dot1q tag.

Router# configure terminal
Router(config)# interface gig2/1
Router(config-if)# switchport
Router(config-if)# switchport mode access 
Router(config-if)# ethernet dot1ad uni s-port
Router(config-if)# switchport access vlan 999

The following example shows how to configure an NNI port. Only trunk configuration is allowed on an NNI port. In this example, all the frames that are received on all the allowed VLANs (999) are bridged to the respective internal VLANs. The transmitted frames have the respective internal VLAN Dot1q tag.

Router# configure terminal
Router(config)# interface gig2/1
Router(config-if)# switchport
Router(config-if)# switchport mode trunk 
Router(config-if)# ethernet dot1ad nni

Router(config-if)# switchport trunk allowed vlan 999

The following example shows how to configure Dot1ad on an SVI:

Router# configure terminal
Router(config)# interface gig2/1
Router(config-if)# ethernet dot1ad nni
Router(config-if)# switchport
Router(config-if)# switchport mode trunk 

Router(config-if)# switchport trunk allowed vlan 999
Router(config)# interface vlan 999
Router(config-if)# ip address 1.2.3.4 255.255.0.0

Configuring a Layer 2 Protocol Forward

Perform the following tasks to configure the Layer 2 protocol forward:

SUMMARY STEPS

1. enable

2. configure terminal

3. interface type number

4. switchport access vlan vlan-id

5. ethernet dot1ad {nni | uni {c-port | s-port}}

6. l2protocol [ forward] [protocol]

7. end

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

enable

Example:

Router> enable

Enables privileged EXEC mode.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface type number

Example:

Router(config)# interface gigabitethernet 3/0

Configures an interface.

Step 4 

switchport access vlan vlan-id

Example:

Router(config)# switchport access vlan 500

Sets the VLAN when an interface is in access mode.

Step 5 

ethernet dot1ad {nni | uni {c-port | s-port}}

Example:

Router(config-if)# ethernet dot1ad uni s-port

Configures a dot1ad NNI port or UNI port. In this example, it is a UNI S-port.

Step 6 

l2 protocol [forward] [protocol]

Example:

Router(config-if)# l2 protocol forward vtp

Processes or forwards the Layer 2 BPDUs. In this example, all the BPDUs are forwarded except VTP PDUs.

Step 7 

end

Example:

Router(config-if)# end

Returns the CLI to privileged EXEC mode.

Examples

The following example shows how to configure a Layer 2 protocol forward:

Router# configure terminal
Router(config)# interface gig3/0
Router(config-if)# switchport access vlan 500
Router(config-if)# ethernet dot1ad uni s-port
Router(config-if)# l2protocol forward vtp

Configuring a Switchport for Translating QinQ to 802.1ad

Translating a QinQ port to 802.1ad involves configuring the port connecting to QinQ port and NNI port.

Perform the following tasks to configure a port connecting to the QinQ port.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface type number

4. switchport mode {access | trunk}

5. switchport trunk allowed vlan vlan-list

6. end

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

enable

Example:

Router> enable

Enables privileged EXEC mode.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface type number

Example:

Router# interface gigabitethernet 1/1

Configures an interface.

Step 4 

switchport mode {access | trunk}

Example:

Router(config-if)# switchport mode trunk

Sets the interface type. In this example, it is Trunk.

Step 5 

switchport trunk allowed vlan vlan-list

Example:

Router(config-if)# switchport trunk allowed vlan 1000

Sets the list of allowed VLANs that transmit traffic from this interface in tagged format when in trunking mode.

Step 6 

end

Example:

Router(config-if)# end

Returns the CLI to privileged EXEC mode.

Perform the following tasks to configure an NNI port.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface type number

4. ethernet dot1ad {nni | uni {c-port | s-port}}

5. switchport

6. switchport mode {access | trunk}

7. switchport trunk allowed vlan vlan-list

8. end

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

enable

Example:

Router> enable

Enables privileged EXEC mode.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface type number

Example:

Router# interface gigabitethernet 4/1

Configures an interface.

Step 4 

ethernet dot1ad {nni | uni {c-port | s-port}}

Example:

Router(config-if)# ethernet dot1ad nni

Configures a dot1ad NNI port or UNI port. In this example, it is an NNI.

Step 5 

switchport

Example:

Router(config-if)# switchport

Put the interface into Layer 2 mode.

Step 6 

switchport mode {access | trunk}

Example:

Router(config-if)# switchport mode trunk

Sets the interface type. In this example, it is Trunk.

Step 7 

switchport trunk allowed vlan vlan-list

Example:

Router(config-if)# switchport trunk allowed vlan 999-1199

Sets the list of allowed VLANs that transmit traffic from this interface in tagged format when in trunking mode.

Step 8 

end

Example:

Router(config-if)# end

Returns the CLI to privileged EXEC mode.

Examples

The following example shows how to translate a QinQ port to 802.1ad. In this example, the peer router to gig1/1 multiplexes various customer VLANs into VLAN 1000.

Router# configure terminal
Router(config)# interface gig1/1
Router(config-if)# switchport mode trunk 

Router(config-if)# switchport trunk allowed vlan 1000

Router# configure terminal
Router(config)# interface gig4/0
Router(config-if)# ethernet dot1ad nni
Router(config-if)# switchport
Router(config-if)# switchport mode trunk 

Router(config-if)# switchport trunk allowed vlan 1000,1199

Configuring a Switchport (L2PT)

Configuring the switchport for L2PT is required to tunnel the STP packets from a customer on the dot1ad network to a customer on the QinQ network.

Perform the following tasks to configure the port connecting to the customer.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface type number

4. switchport

5. ethernet dot1ad {nni | uni {c-port | s-port}}

6. no l2 protocol [peer | forward] [protocol]

7. l2protocol-tunnel [cdp | stp | vtp]

8. switchport mode {access | trunk}

9. end

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

enable

Example:

Router> enable

Enables privileged EXEC mode.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface type number

Example:

Router(config)# interface gigabitethernet 2/1

Configures an interface.

Step 4 

switchport

Example:

Router(config-if)# switchport

Put the interface into Layer 2 mode.

Step 5 

ethernet dot1ad {nni | uni {c-port | s-port}}

Example:

Router(config-if)# ethernet dot1ad uni s-port

Configures a dot1ad NNI port or UNI port. In this example, it is a UNI S-port.

Step 6 

no l2 protocol [peer | forward] [protocol]

Example:

Router(config-if)# no l2 protocol forward

Disables L2 protocol forwarding.

Step 7 

l2protocol-tunnel [cdp | stp | vtp]

Example:

Router(config-if)# l2protocol-tunnel stp

Enables protocol tunneling for STP.

Step 8 

switchport mode {access | trunk}

Example:

Router(config-if)# switchport mode trunk

Sets the interface type. In this example, it is Trunk.

Step 9 

end

Example:

Router(config-if)# end

Returns the CLI to privileged EXEC mode.

Perform the following tasks to configure an NNI port.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface type number

4. switchport

5. ethernet dot1ad {nni | uni {c-port | s-port}}

6. switchport mode {access | trunk}

7. end

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

enable

Example:

Router> enable

Enables privileged EXEC mode.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface type number

Example:

Router(config)# interface gigabitethernet 2/1

Configures an interface.

Step 4 

switchport

Example:

Router(config-if)# switchport

Put the interface into Layer 2 mode.

Step 5 

ethernet dot1ad {nni | uni {c-port | s-port}}

Example:

Router(config-if)# ethernet dot1ad nni

Configures a dot1ad NNI or UNI port. In this example, it is an NNI.

Step 6 

switchport mode {access | trunk}

Example:

Router(config-if)# switchport mode trunk

Sets the interface type. In this example, it is Trunk.

Step 7 

end

Example:

Router(config-if)# end

Returns the CLI to privileged EXEC mode.

Examples

The following example shows how to tunnel the STP packets from a customer on the Dot1ad network to a customer on a QinQ network:

Router# configure terminal
Router(config)# interface gig1/0
Router(config-if)# switchport
Router(config-if)# ethernet dot1ad uni s-port
Router(config-if)# no l2protocol forward
Router(config-if)# l2protocol-tunnel stp 

Router(config-if)# switchport mode access

Router# configure terminal
Router(config)# interface gig4/0
Router(config-if)# switchport
Router(config-if)# ethernet dot1ad nni
Router(config-if)# switchport mode trunk 

Configuring a Customer-Facing UNI-C Port with EVC

Perform the following tasks to configure a UNI-C port.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface type number

4. ethernet dot1ad {nni | uni {c-port | s-port}}

5. service instance id service-type

6. encapsulation dot1q vlan-id second-dot1q {any | vlan-id} [native]

7. bridge-domain vlan-id

8. service instance id service-type

9. encapsulation dot1q vlan-id second-dot1q {any | vlan-id} [native]

10. bridge-domain vlan-id

11. end

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

enable

Example:

Router> enable

Enables privileged EXEC mode.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface type number

Example:

Router(config)# interface gigabitethernet 2/1

Configures an interface.

Step 4 

ethernet dot1ad {nni | uni {c-port | s-port}}

Example:

Router(config-if)# ethernet dot1ad uni c-port

Configures a dot1ad NNI port or UNI port. In this example, it is a UNI C port.

Step 5 

service instance id service-type

Example:

Router(config-if)# service instance 1 ethernet

Configures an Ethernet service instance. In this example, the service instance is 1.

Step 6 

encapsulation dot1q vlan-id second-dot1q {any | vlan-id} [native]

Example:

Router(config-if)# encapsulation dot1q 1-100

Enables IEEE 802.1Q encapsulation of traffic on a specified subinterface in a VLAN.

Step 7 

bridge-domain vlan-id

Example:

Router(config-if)# bridge-domain 1000

Binds a service instance or a MAC tunnel to a bridge domain.

Step 8 

service instance id service-type

Example:

Router(config-if)# service instance 2 ethernet

Configures an Ethernet service instance. In this example, the service instance is 2.

Step 9 

encapsulation dot1q vlan-id second-dot1q {any | vlan-id} [native]

Example:

Router(config-if)# encapsulation dot1q 102-4094

Enables IEEE 802.1Q encapsulation of traffic on a specified subinterface in a VLAN.

Step 10 

bridge-domain vlan-id

Example:

Router(config-if)# bridge-domain 500

Binds a service instance or a MAC tunnel to a bridge domain.

Step 11 

end

Example:

Router(config-if)# end

Returns the CLI to privileged EXEC mode.

Perform the following tasks to configure an NNI port.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface type number

4. ethernet dot1ad {nni | uni {c-port | s-port}}

5. service instance id service-type

6. encapsulation dot1q vlan-id second-dot1q {any | vlan-id} [native]

7. rewrite ingress tag pop 1 symmetric

8. bridge-domain vlan-id

9. service instance id service-type

10. encapsulation dot1q vlan-id second-dot1q {any | vlan-id} [native]

11. rewrite ingress tag pop 1 symmetric

12. bridge-domain vlan-id

13. end

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

enable

Example:

Router> enable

Enables privileged EXEC mode.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface type number

Example:

Router(config)# interface gigabitethernet 2/1

Configures an interface.

Step 4 

ethernet dot1ad {nni | uni {c-port | s-port}}

Example:

Router(config-if)# ethernet dot1ad uni c-port

Configures a dot1ad NNI port or UNI port. In this example, it is a UNI C port.

Step 5 

service instance id service-type

Example:

Router(config-if)# service instance 1 ethernet

Configures an Ethernet service instance. In this example, the service instance is 1.

Step 6 

encapsulation dot1q vlan-id second-dot1q {any | vlan-id} [native]

Example:

Router(config-if)# encapsulation dot1q 1000 second-dot1q 1-100

Enables IEEE 802.1Q encapsulation of traffic on a specified subinterface in a VLAN.

Step 7 

rewrite ingress tag pop 1 symmetric

Example:

Router(config-if)# rewrite ingress tag pop 1 symmetric

Specifies the encapsulation adjustment that is to be performed on the frame ingress to the service instance.

Step 8 

bridge-domain vlan-id

Example:

Router(config-if)# bridge-domain 1000

Binds a service instance or a MAC tunnel to a bridge domain.

Step 9 

service instance id service-type

Example:

Router(config-if)# service instance 2 ethernet

Configures an Ethernet service instance. In this example, the service instance is 2.

Step 10 

encapsulation dot1q vlan-id second-dot1q {any | vlan-id} [native]

Example:

Router(config-if)# encapsulation dot1q 500 second-dot1q 102-4904

Enables IEEE 802.1Q encapsulation of traffic on a specified subinterface in a VLAN.

Step 11 

rewrite ingress tag pop 1 symmetric

Example:

Router(config-if)# rewrite ingress tag pop 1 symmetric

Specifies the encapsulation adjustment that is to be performed on the frame ingress to the service instance.

Step 12 

bridge-domain vlan-id

Example:

Router(config-if)# bridge-domain 500

Binds a service instance or a MAC tunnel to a bridge domain.

Step 13 

end

Example:

Router(config-if)# end

Returns the CLI to privileged EXEC mode.

Examples

The following example shows how to configure a customer-facing UNI port. In this example, a dot1q frame coming on VLAN 50 matches service instance 1, and on the ingress port, the rewrite command pushes the 1000 outer-vlan.

Router# configure terminal
Router(config)# interface gig1/1
Router(config-if)# ethernet dot1ad uni c-port
Router(config-if)# service instance 1 ethernet
Router(config-if)# encapsulation dot1q 1-100

Router(config-if)# bridge-domain 1000
Router(config-if)# service instance 2 ethernet
Router(config-if)# encapsulation dot1q 102-4904
Router(config-if)# bridge-domain 500

Router# configure terminal
Router(config)# interface gig4/1
Router(config-if)# ethernet dot1ad nni
Router(config-if)# service instance 1 ethernet
Router(config-if)# encapsulation dot1q 1000 second dot1q 1-100
Router(config-if)# rewrite ingress tag pop 1 symmetric  
Router(config-if)# bridge-domain 1000 
Router(config-if)# service instance 2ethernet
Router(config-if)# encapsulation dot1q 500 second dot1q 102-4904

Router(config-if)# rewrite ingress tag pop 1 symmetric
Router(config-if)# bridge-domain 500

Configuring a Customer-Facing UNI-C Port and Switchport on NNI with EVC

Perform the following tasks to configure a UNI-C port.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface type number

4. ethernet dot1ad {nni | uni {c-port | s-port}}

5. service instance id service-type

6. encapsulation dot1q vlan-id second-dot1q {any | vlan-id} [native]

7. bridge-domain vlan-id

8. service instance id service-type

9. encapsulation dot1q vlan-id second-dot1q {any | vlan-id} [native]

10. bridge-domain vlan-id

11. end

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

enable

Example:

Router> enable

Enables privileged EXEC mode.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface type number

Example:

Router(config)# interface gigabitethernet 2/1

Configures an interface.

Step 4 

ethernet dot1ad {nni | uni {c-port | s-port}}

Example:

Router(config-if)# ethernet dot1ad uni c-port

Configures a dot1ad NNI port or UNI port. In this example, it is a UNI C port.

Step 5 

service instance id service-type

Example:

Router(config-if)# service instance 1 ethernet

Configures an Ethernet service instance. In this example, the service instance is 1.

Step 6 

encapsulation dot1q vlan-id second-dot1q {any | vlan-id} [native]

Example:

Router(config-if)# encapsulation dot1q 1-100

Enables IEEE 802.1Q encapsulation of traffic on a specified subinterface in a VLAN.

Step 7 

bridge-domain vlan-id

Example:

Router(config-if)# bridge-domain 1000

Binds a service instance or a MAC tunnel to a bridge domain.

Step 8 

service instance id service-type

Example:

Router(config-if)# service instance 2 ethernet

Configures an Ethernet service instance. In this example, the service instance is 2.

Step 9 

encapsulation dot1q vlan-id second-dot1q {any | vlan-id} [native]

Example:

Router(config-if)# encapsulation dot1q 102-4094

Enables IEEE 802.1Q encapsulation of traffic on a specified subinterface in a VLAN.

Step 10 

bridge-domain vlan-id

Example:

Router(config-if)# bridge-domain 500

Binds a service instance or a MAC tunnel to a bridge domain.

Step 11 

end

Example:

Router(config-if)# end

Returns the CLI to privileged EXEC mode.

Perform the following tasks to configure an NNI port.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface type number

4. ethernet dot1ad {nni | uni {c-port | s-port}}

5. switchport

6. switchport mode {access | trunk}

7. switchport trunk allowed vlan vlan-list

8. end

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

enable

Example:

Router> enable

Enables privileged EXEC mode.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface type number

Example:

Router# interface gigabitethernet 4/1

Configures an interface.

Step 4 

ethernet dot1ad {nni | uni {c-port | s-port}}

Example:

Router(config-if)# ethernet dot1ad nni

Configures a dot1ad NNI port or UNI port. In this example, it is an NNI.

Step 5 

switchport

Example:

Router(config-if)# switchport

Put the interface into Layer 2 mode.

Step 6 

switchport mode {access | trunk}

Example:

Router(config-if)# switchport mode trunk

Sets the interface type. In this example, it is Trunk.

Step 7 

switchport trunk allowed vlan vlan-list

Example:

Router(config-if)# switchport trunk allowed vlan 1000-500

Sets the list of allowed VLANs that transmit traffic from this interface in tagged format when in trunking mode.

Step 8 

end

Example:

Router(config-if)# end

Returns the CLI to privileged EXEC mode.

Examples

The following example shows how to configure a customer-facing UNI-C port and switchport on NNI with EVC:

Router# configure terminal
Router(config)# interface gig1/1
Router(config-if)# ethernet dot1ad uni c-port
Router(config-if)# service instance 1 ethernet
Router(config-if)# encapsulation dot1q 1-100

Router(config-if)# bridge-domain 1000
Router(config-if)# service instance 2 ethernet
Router(config-if)# encapsulation dot1q 102-4904
Router(config-if)# bridge-domain 500

Router# configure terminal
Router(config)# interface gig4/0

Router(config-if)# switchport
Router(config-if)# ethernet dot1ad uni
Router(config-if)# switchport mode trunk
Router(config-if)# switchport allowed vlan 1000,500

Configuring a Customer-Facing UNI-S Port with EVC

Perform the following tasks to configure a UNI-S port.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface type number

4. service instance id service-type

5. ethernet dot1ad {nni | uni {c-port | s-port}}

6. encapsulation default

7. bridge-domain vlan-id

8. end

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

enable

Example:

Router> enable

Enables privileged EXEC mode.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface type number

Example:

Router(config)# interface gigabitethernet 2/1

Configures an interface.

Step 4 

service instance id service-type

Example:

Router(config-if)# service instance 1 ethernet

Configures an Ethernet service instance. In this example, the service instance is 1.

Step 5 

ethernet dot1ad {nni | uni {c-port | s-port}}

Example:

Router(config-if)# ethernet dot1ad uni s-port

Configures a dot1ad NNI port or UNI port. In this example, it is a UNI-S port.

Step 6 

encapsulation default

Example:

Router(config-if)# encapsulation default

Configures the default service instance on a port. Anything that does not meet the criteria of other service instances on the same physical interface falls into this service instance.

Step 7 

bridge-domain vlan-id

Example:

Router(config-if)# bridge-domain 1000

Binds a service instance or a MAC tunnel to a bridge domain.

Step 8 

end

Example:

Router(config-if)# end

Returns the CLI to privileged EXEC mode.

Perform the following tasks to configure an NNI port.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface type number

4. service instance id service-type

5. ethernet dot1ad {nni | uni {c-port | s-port}}

6. encapsulation dot1q vlan-id second-dot1q {any | vlan-id} [native]

7. rewrite ingress tag pop 1 symmetric

8. bridge-domain vlan-id

9. end

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

enable

Example:

Router> enable

Enables privileged EXEC mode.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface type number

Example:

Router(config)# interface gigabitethernet 2/1

Configures an interface.

Step 4 

service instance id service-type

Example:

Router(config-if)# service instance 1 ethernet

Configures an Ethernet service instance. In this example, the service instance is 1.

Step 5 

ethernet dot1ad {nni | uni {c-port | s-port}}

Example:

Router(config-if)# ethernet dot1ad uni c-port

Configures a dot1ad NNI or UNI port. In this example, it is a UNI C port.

Step 6 

encapsulation dot1q vlan-id second-dot1q {any | vlan-id} [native]

Example:

Router(config-if)# encapsulation dot1q 1000 second-dot1q 1-100

Enables IEEE 802.1Q encapsulation of traffic on a specified subinterface in a VLAN.

Step 7 

rewrite ingress tag pop 1 symmetric

Example:

Router(config-if)# rewrite ingress tag pop 1 symmetric

Specifies the encapsulation adjustment that is to be performed on the frame ingress to the service instance.

Step 8 

bridge-domain vlan-id

Example:

Router(config-if)# bridge-domain 1000

Binds a service instance or a MAC tunnel to a bridge domain.

Step 9 

end

Example:

Router(config-if)# end

Returns the CLI to privileged EXEC mode.

Examples

The following example shows how to configure an NNI port:

Router# configure terminal
Router(config)# interface gig1/1
Router(config-if)# service instance 1 ethernet
Router(config-if)# ethernet dot1ad nni
Router(config-if)# encapsulation dot1q 1000
Router(config-if)# rewrite ingress tag pop 1 symmetric  
Router(config-if)# bridge-domain 1000

Configuring a Layer 3 Termination

Perform the following tasks to configure a Layer 3 termination.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface type number

4. ethernet dot1ad {nni | uni {c-port | s-port}}

5. interface type number

6. encapsulation dot1q vlan-id second-dot1q {any | vlan-id} [native]

7. ip address ip-address mask

8. end

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

enable

Example:

Router> enable

Enables privileged EXEC mode.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface type number

Example:

Router(config)# interface gigabitethernet 3/0

Configures an interface.

Step 4 

ethernet dot1ad {nni | uni {c-port | s-port}}

Example:

Router(config-if)# ethernet dot1ad nni

Configures a dot1ad NNI or UNI port. In this example, it is an NNI port.

Step 5 

interface type number

Example:

Router(config)# interface gigabitethernet 3/0/.1

Configures an interface.

Step 6 

encapsulation dot1q vlan-id second-dot1q {any | vlan-id} [native]

Example:

Router(config-if)# encapsulation dot1q 10 second-dot1q 10

Enables IEEE 802.1Q encapsulation of traffic on a specified subinterface in a VLAN.

Step 7 

ip address

Example:

Router(config-if)# ip address 1.2.3.4 255.255.0.0

Sets a primary or secondary IP address for an interface.

Step 8 

end

Example:

Router(config-if)# end

Returns the CLI to privileged EXEC mode.

Examples

The following example shows how to configure a Layer 3 termination. Note that Layer 3 is supported only on trunk interfaces.

Router# configure terminal
Router(config)# interface gig3/0
Router(config-if)# ethernet dot1ad nni
Router(config)# interface gig3/0/0.1
Router(config-if)# encapsulation dot1q 10 second dot1q 10

Router(config-if)# ip address 1.2.3.4 255.255.0.0

The following example shows how to configure a Layer 3 termination on an SVI:

Router# configure terminal
Router(config)# interface gig4/1
Router(config-if)# ethernet dot1ad nni
Router(config-if)# service instance 1 ethernet
Router(config-if)# encapsulation dot1q 200 second dot1q 300
Router(config-if)# rewrite ingress tag pop 2 symmetric  
Router(config-if)# bridge-domain 50 
Router(config-if)# service instance 2 ethernet
Router(config-if)# encapsulation dot1q 300 
Router(config-if)# rewrite ingress tag pop 1 symmetric  
Router(config-if)# bridge-domain 60
Router(config)# interface vlan 50

Router(config-if)# ip address 2.3.4.5 255.255.0.0

Router(config)# interface vlan 60

Router(config-if)# ip address 3.4.5.6 255.255.0.0

Displaying a Dot1ad Configuration

You can display a Dot1ad configuration using the show ethernet dot1ad command. This command displays the Dot1ad configuration for all interfaces. To display the configuration on a particular interface, use the show ethernet dot1ad interface command.

The following example shows how to display a Dot1ad configuration on all interfaces:

Router# show ethernet dot1ad
Interface: GigabitEthernet4/0/1
DOT1AD C-Bridge Port
L2protocol pass cdp stp vtp dtp pagp dot1x lacp
Interface: GigabitEthernet4/0/2
DOT1AD C-Bridge Port
L2protocol pass cdp stp vtp dtp pagp dot1x lacp

Troubleshooting Dot1ad

The following section describes how to troubleshoot Dot1ad.


Note The show commands in these examples should be run from a line card console.


How do I verify the Dot1ad configuration on a switchport on an X40G card?

Run the following command to verify the Dot1ad configuration:

XYZ-PE1-dfc1# show platform npc switchport interface gi 1/2
 [GigabitEthernet1/2]
        status [valid, -, applied, enabled]
        src_index [0x1]
        rpcb [0x178BB9C4]
        xlif_id [4097]
        xlif_handle [type:[3] hwidb:[0x20E97F08] if_number:[1121]]
        ft_bits [0x2]
        ing_ctrl_ft_bits [0x2]
        egr_ctrl_ft_bits [0x2]
        port vlan [1]
        mode ingress [NORMAL] egress [NORMAL]
        dot1q_tunnel [No]
        native tagging [No]
        PVLAN isolated or community [No] promiscuous [No]
        ingress vlan-translation [No] BPDU [No]
        egress  vlan-translation [No] BPDU [No]
        dot1ad [Yes] <<<<<<<<<<<<
        ethertype [0x88A8] <<<<<<<<<<<
        Ingress Stat ID: 778698
        Egress Stat ID: 778700
        VLAN List:
        1    
        num of vlans [1]
	    XYZ-PE1-dfc1#

How do I verify the Dot1ad configuration on the ports with EVCs on an X40G card?

Run the following command to verify the Dot1ad configuration:

XYZ-PE1-dfc1# show platform npc xlif interface gi 1/2 efp 1
EFP XLIF(GigabitEthernet1/2, efp1)[np0] = 4136
 Ingress XLIF table fields
 Feature common enable:  0x1
 Feature enable:         0x1
 Feature bits:           0x1
 Control common bits:    0x0
 Control feature bits:   0x0
 Control rewrite opcode: 0x0
 Reserved 1:             0x0
 Match cond              0x1
 Entry valid:            0x1
 Dbus VLAN:              30      
 QoS policy ID:          0       
 ACL ID:                 0       
 Statistics ID:          450976  
 Inner rewrite VLAN:     0       
 Outer rewrite VLAN:     0       
 QoS flow ID:            0       
 Feature data: 00000000 40000000 AAA80000 E0000829
 EFP admin down state  0x0
----- Bridge data ------
 layer2_acl_index:           0x00000000
 evc_feat_data.ip_src_guard     : 0x0
 evc_feat_data.mst_evc          : 0x1
 evc_feat_data.layer2_acl       : 0x0
 EVC - Mac Security:     0x0
 evc_feat_data.sacl       : 0x0
 evc_feat_data.layer2_acl_statid: 0       
 PDT: 0xAAA8
 ipsg_label: 0       
 block_data: 0x0
 block_l2bpdu: 0x0
 split_h: 0x0
 imp_ltl: 0x0829
 EFP dot1ad port type 0x3       <<<<<<<<
 EFP CDP forward 0x1		  <<<<<<<< 	
 EFP DTP forward 0x0
 EFP VTP forward 0x0
 EFP STP forward 0x0
 EFP DOT1X forward 0x0
 Egress XLIF table fields
 Feature common enable:  0x1
 Feature enable:         0x1
 Feature bits:           0x01
 Control common bits:    0x00
 Control feature bits:   0x00
 Control rewrite opcode: 0x00
 Port:                   0x1
 Match cond              0x1
 Entry valid:            0x1
 Dbus VLAN:              30      
 QoS policy ID:          0       
 ACL ID:                 0       
 Statistics ID:          450980  
 Inner rewrite VLAN:     0       
 Outer rewrite VLAN:     0       
 QoS flow ID:            0       
 IP Session en :         0       
 Multicast  en :         0       
 Feature data 0          0x00000000
 Intf etype:             0x00008064
 Post Filter Opcode      0x00000008
 Pre Filter Opcode       0x00000000
 Pre Tag Outer           0x00000000
 Pre Tag Inner           0x00000000
 Post Filter Vlan high   0x00000064
 Post Filter Vlan low    0x00000064
 Post Filter Vlan outer  0x00000000
 EVC - MST:              0x1
 EVC etype               0x8100
 CFM MEP Level           0x00000008
 CFM MIP Level           0x00000008
 CFM disable             0x0
 MIP filtering           0x0
 block_data: 			           0x0
 block_l2bpdu:           0x0
 sacl:                   0x0
 sacl index:             0x0000
 sacl statid:            0x00000
XYZ-PE1-dfc1#  
XYZ-PE1-dfc1#

How do I verify the L2protocol forwarding on a regular L3 switchports?

Run the following command to verify the L2protocol forwarding:

XYZ-PE1-dfc1# show platform npc xlif 0 port_sram 1
........................
 dot1ad port type:      0x0002  <<<<<<<<<
 l2proto cdp fwd:       0x0001  <<<<<<<<<
 l2proto dtp fwd:       0x0000
 l2proto vtp fwd:       0x0000
 l2proto stp fwd:       0x0000
 l2proto dot1x fwd:     0x0000
          ..............................................

How do I verify the Dot1ad configuration on ES20 cards?

For switchports, run the following command:

XYZ-PE1-dfc1# show platform hardware dot1ad l2protocfg port <port-num>

For EVCs, run the following command:

XYZ-PE1-dfc1# show platform soft efp-client interface gi x/0/y efp-id l2protocfg

To display the default values, run the following commands:

XYZ-PE1-dfc1# show platform hardware dot1ad l2protocfg defaults ?
  <0-2>  0=c-uni, 1=s-uni, 2=nni
XYZ-PE1-dfc1# show platform hardware dot1ad l2protocfg defaults 0 ?
  <0-2>  0=L3, 1=BD, 2=XCON
XYZ-PE1-dfc1# show platform hardware dot1ad l2protocfg defaults 0 2  
Raw Data :000FFF77 FFFCFF51
 L2 Proto Configs : 
  Protocol         IEEE       CISCO 
 ------------------------------------
    CDP       :    FRWD       FRWD
    VTP       :    FRWD       FRWD
    DTP       :    FRWD       FRWD
   Others     :    PEER       PEER
 802.1d protocols : 01:80:C2:00:00:XX
 XX | Config    XX | Config    XX | Config    XX | Config 
 -----------    -----------    -----------    -----------
 00 : PEER      01 : DROP      02 : PEER      03 : PEER
 04 : FRWD      05 : FRWD      06 : FRWD      07 : FRWD
 08 : DROP      09 : FRWD      0A : FRWD      0B : FRWD
 0C : FRWD      0D : FRWD      0E : FRWD      0F : FRWD
 All Bridge (0180C2000010)= FRWD
 Group = PEER
 PVST = FRWD

Y.1731 Performance Monitoring

When service providers sell connectivity services to a subscriber, a Service Level Agreement (SLA) is reached between the buyer and seller of the service. The SLA defines the attributes offered by a provider and serves as a legal obligation on the service provider. As the level of performance required by subscribers increases, service providers need to monitor the performance parameters being offered. In order to capture the needs of the service providers, organizations have defined various standards such as IEEE 802.1ag and ITU-T Y.1731 that define the methods and frame formats used to measure performance parameters.

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. As per recommendations, the 7600 platform should be able to send, receive and process PM frames in intervals of 10ms (100 frames per second) with the maximum recommended transmission period being 100ms (10 frames per second) for any given service.

To measure SLA parameters such as frame delay or frame delay variation, a small number of synthetic frames are transmitted along with the service to the end point of the maintenance region, where the Maintenance End Point (MEP) responds to the synthetic frame. For a function such as connectivity fault management, the messages are sent less frequently, while performance monitoring frames are sent more frequently.

Figure 4-15 illustrates Maintenance Entities (ME) and Maintenance End Points (MEP) typically involved in a point-to-point metro ethernet deployment for the Y.1731 standard.

Figure 4-15 A point-to-point metro Ethernet deployment with typical Maintenance Entities and Maintenance Points

Following are the performance monitoring parameters:

Connectivity

Frame Delay and Frame Delay Variation

Frame Loss Ratio and Availability

Connectivity

The first step to performance monitoring is verifying the connectivity. Continuity Check Messages (CCM) are best suited for connectivity verification, but is optimized for fault recovery operation. It is usually not accepted as a component of an SLA due to the timescale difference between SLA and Fault recovery. Hence, Connectivity Fault Management (CFM) and Continuity Check Database (CCDB) are used to verify connectivity. For more information on CFM see IEEE 802.1ag-2007 Compliant CFM.

Frame Delay and Frame Delay Variation

Ethernet frame Delay Measurement (ETH-DM) is used for on-demand ethernet Operations, Administration & Maintenance (OAM) to measure frame delay and frame delay variation.

Ethernet frame delay and frame delay variation are measured by sending periodic frames with ETH-DM information to the peer MEP and receiving frames with ETH-DM information from the peer MEP. During the interval, each MEP measures the frame delay and frame delay variation.

Ethernet frame delay measurement also collects useful information, such as worst and best case delays, average delay, and average delay variation. Ethernet frame delay measurement supports hardware-based timestamping in the ingress direction. It provides a runtime display of delay statistics during a two-way delay measurement. Ethernet frame delay measurement records the last 100 samples collected per remote Maintenance End Point (MEP) or per CFM session.

These are the two methods of delay measurement, as defined by the ITU-T Y.1731 standard:

One-way ETH-DM:
Each MEP transmits frames with one-way ETH-DM information to its peer MEP in a point-to-point ME to facilitate one-way frame delay and/or one-way frame delay variation measurements at the peer MEP. One way frame delay requires clock to be synchronized at both ends while frame delay variation doesn't require clock synchronization. It is measured using a single delay measurement (1DM) or Delay Measurement Message (DMM) and Delay Measurement Reply (DMR) frame combination.

Two-way ETH-DM:
Each MEP transmits frames with ETH-DM request information to its peer MEP and receives frames with ETH-DM reply information from its peer MEP. Two way frame delay and frame delay variation is measured using DMM and DMR frame.

These are the pre-requisites for 1DM measurements:

The clocks of the two concerned end-points must be synchronized accurately and precisely. This is achieved through IEEE 1588-2002.

There is no auto-session create supported on the peer or the receiver. You need to configure an receive-only session.

You must configure all the create sessions on the receiver's datapath. These are passive listener sessions.


Note On a Cisco 7600 router, clock synchronization is achieved using a 2-port gigabit synchronous ethernet SPA. On an ES+ line card, the Real Time Clock (RTC) is synchronized to the 2-port gigabit synchronous ethernet SPA time source using Precision Time Protocol (PTP) as the time source protocol. If the time source selected is PTP, all the Y.1731 PM delay packets should have the 1588V2 timestamps.

For a 7600 router that does not have 2-Port Gigabit Synchronous Ethernet SPA, delay measurement is done by using the timestamps with Network Time Protocol (NTP) as the time source protocol. This is applicable only to One-way delay measurements.
To initiate Time of Day (ToD) synchronization on a line card, use the platform time-source command in global configuration mode.

Frame Loss Ratio and Availability

Ethernet frame Loss Measurement (ETH-LM) is used to collect counter values applicable for ingress and egress service frames where the counters maintain a count of transmitted and received data frames between a pair of MEPs.

ETH-LM transmits frames with ETH-LM information to a peer MEP and similarly receives frames with ETH-LM information from the peer MEP. Each MEP performs frame loss measurements which contribute to unavailable time. A near-end frame loss refers to frame loss associated with ingress data frames. Far-end frame loss refers to frame loss associated with egress data frames. Both near-end and far-end frame loss measurements contribute to near-end severely errored seconds and far end severely errored seconds which together contribute to unavailable time.

These are the two methods of frame loss measurement, defined by the ITU-T Y.1731 standard:

Single-ended ETH-LM: Each MEP transmits frames with the ETH-LM request information to its peer MEP and receives frames with ETH-LM reply information from its peer MEP to carry out loss measurements.

Dual-ended ETH-LM: Each MEP transmits periodic dual-ended frames with ETH-LM information to its peer MEP in a point-to-point ME and facilitates frame loss measurements at the peer MEP. As of now, the Cisco 7600 router does not support Dual-ended ETH-LM.

Supported Interfaces

Y.1731 PM supports these interfaces:

LMM, DMM and 1DM support on EVC BD OFM

LMM, DMM and 1DM support on PC EVC BD OFM

LMM, DMM and 1DM support on EVC Xconnect OFM

LMM, DMM and 1DM support on PC EVC Xconnect OFM

LMM, DMM and 1DM support on EVC Xconnect IFM

LMM, DMM and 1DM support on PC EVC Xconnect IFM

LMM, DMM and 1DM support on Subinterfaces (routed port)

LMM, DMM and 1DM support on PC Subinterfaces (routed port)


Note PM is supported in the EVC and CFM configurations mentioned above, with both Dot1q and QinQ encapsulations available on the EVC.


Restrictions and Usage Guidelines

Follow these restrictions and usage guidelines when you configure Y.1731 PM on an ES+ line card:

If the route processor CPU is busy with other processes and if software forwarding is used, the performance monitoring statistics are not accurate.

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

Y.1731 PM is not SSO compliant. After switchover all sessions data is cleared and IPSLA restart is required.

In case of one way session or two way session, when one way statistics are required, PTP needs to be synchronized between peers and stable. You should delay starting of sessions in such situations.

On Cisco 7600 series router, only ES+Line Card is supported in non-switchport mode. PM is not supported on Port MEPs.

PM is not supported on these interfaces:

mLACP interfaces

EVC BD IFM

Swicthport OFM and IFM

Port MEPs

PM is not supported on VPLS configuration.

PM is not supported on Qinq subinterfaces, as CFM is not supported on these interfaces.

PM does not support SNMP, although CLI and system-logging is supported.

Frame Throughput measurements are not supported.

These are the restrictions for PM support on Port-channel:

Adding or deleting a member link renders the session invalid.

Loss measurement on port-channel interfaces is supported only if all physical interfaces of the port-channel are present on a single NPU. This restriction cannot be applied for delay measurements.

All the member links have to be ES+ ports.

PM is not supported on manual PC EVC Load balancing configuration(UNI LAG).


Note Before you begin the Y.1731 PM configurations, ensure that the cfm configurations are up and working. For more information on cfm configurations, please see section IEEE 802.1ag-2007 Compliant CFM

The command [no] ethernet cfm distribution enable disables the CFM distribution functionality. This is necessary to avoid performance hits due to the distributing CFM functionality. This command is disabled by default.


Configuring One Way Delay Measurement

To configure one way delay measurement, complete these steps:


Note Ensure that you first configure a receiver, schedule it to the pending state, and then configure a sender.


Summary Steps

1. enable

2. configure terminal

On the receiver:

3. ip sla n

4. ethernet y1731 delay receive 1DM domain domain {{vlan | evc} value}cos value {mpid | mac-address} value

5. frame {interval | offset | size} value

6. history {interval} value

7. aggregate {interval} value

8. distribution {delay | delay-variation} {one-way | two-way} value

9. clock sync

10. max-delay value

11. owner value

12. exit

13. ip sla schedule n {life | ageout | recurring | start-time} value start-time start time

On the sender:

14. ip sla n

15. ethernet y1731 delay 1DM domain domain {{vlan | evc} value} {mpid | mac-address} value cos value source {mpid | mac-address} value

16. frame {interval | offset | size} value

17. history {interval} value

18. aggregate {interval} value

19. distribution {delay | delay-variation} {one-way | two-way} value

20. clock sync

21. max-delay value

22. owner value

23. exit

24. ip sla schedule n {life | ageout | recurring | start-time} value start-time start time

25. exit

Detailed Steps

 
Command
Purpose

Step 1 

enable

Example:
Router> enable 

Enables privileged EXEC mode. Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

ip sla n

Example:

Router((config)# ip sla 2

Enables the IP SLA configuration.

Step 4 

ethernet y1731 delay receive 1DM domain domain {{vlan | evc} value} cos value {mpid | mac-address} value

Example:

Router(config-ip-sla)# ethernet y1731 delay receive 1DM domain r3 evc e3 cos 3 mpid 401

Configures one-way delay measurement on the receiver. These are the parameters:

evc - Specifies the ethernet virtual circuit identifier

vlan - Specifies the VLAN.

cos - Specifies the class of service. The values ranges between 0 and 7.

mpid - Specifies the source MP ID.

mac-address - Specifies the source mac-address.

Step 5 

frame {interval | offset | size} value

Example:

Router(config-sla-y1731-delay)# frame interval 100

Configures Y.1731 frame parameters such as:

interval - Specifies the number of intervals.

offset - Specifies the frame offset for calculations. The values ranges between 1 and 10.

size - Specifies the frame size. The values ranges between 64 and 384.

Step 6 

history {interval} value

Example:

Router(config-sla-y1731-delay)# his- tory interval 5

Configures Y.1731 history parameters such as:

interval - Specifies the number of intervals. The number of intervals to store ranges between 1 and 10.

Step 7 

aggregate {interval} value

Example:

Router(config-sla-y1731-delay)# ag- gregate interval 5

Configures Y.1731 aggregation parameters such as:

interval - Specifies the number of intervals. The aggregation period in seconds ranges between <1-65535>.

Step 8 

distribution {delay | delay-variation} {one-way | two-way} value

Example:

Router(config-sla-y1731-delay)#dis- tribution delay-variation one-way 2

Configures Y.1731 distribution parameters such as:

delay - Specifies delay distribution parameters.

delay-variation - Specifies delay-variation distribution parameters.

one-way - Specifies one-way distribution parameters.

two-way - Specifies two-way distribution parameters.

Step 9 

clock sync

Example:

Router(config-sla-y1731-de- lay)#clock sync

Checks whether the clocks are synchronized on the sender and receiver.

Step 10 

max-delay value

Example:

Router(config-sla-y1731-de- lay)#clock sync

Configures the maximum delay in milliseconds. The value ranges from 1 to 65535.

Step 11 

owner value

Example:

Router(config-sla-y1731-delay)#own- er name

Specifies the operation owner.

Step 12 

exit

Example:

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

Exits the Y.1731 submode and enters the global configuration mode.

Step 13 

ip sla schedule n {life | ageout | recurring | start-time} value start-time start time

Example:

Router((config)# ip sla schedule 1 life 100 start-time pending

Schedules the one way delay measurement on receiver.

Life - Specifies a period time to execute in seconds.

Ageout - Specifies a period time to keep the entry when inactive.

Recurring - Specifies a period time to be scheduled automatically every day.

Start-time - Specifies the time to start the entry. The options available are:

after

hh:mm

hh:mm:ss

now

pending

Note On the receiver, the scheduled start time selected should always be pending.

Step 14 

ip sla n

Example:

Router(config)# ip sla 1

Enables the IP SLA configuration.

Step 15 

ethernet y1731 delay 1DM domain domain {{vlan | evc} value}{mpid | mac-address} value cos value source {mpid | mac-address} value

Example:

Router(config-ip-sla)# ethernet y1731 delay 1DM domain r3 evc e3 mpid 500 cos 3 source mpid 400

Configures one way delay measurement on sender.

evc - Specifies the ethernet virtual circuit identifier.

vlan - Specifies the VLAN.

cos - Specifies the class of service. The values ranges between 0 and 7.

mpid - Specifies the destination MP ID. The values ranges between 1 and 8191.

mac-address - Specifies the destination mac-address.

source - Specifies the source MP ID or mac-address.

Step 16 

frame {interval | offset | size} value

Example:

Router(config-sla-y1731-delay)# frame interval 100

Configures Y.1731 frame parameters such as:

interval - Specifies the number of intervals.

offset - Specifies the frame offset to be used for calculations. The values ranges between 1 and 10.

size - Specifies the frame size. The values ranges between 64 and 384.

Step 17 

history {interval} value

Example:

Router(config-sla-y1731-delay)# his- tory interval 5

Configures the Y.1731 history parameters such as:

interval - Specifies the number of intervals. The number of intervals to store ranges between 1 and 10.

Step 18 

aggregate {interval} value

Example:

Router(config-sla-y1731-delay)# ag- gregate interval 5

Configures the Y.1731 aggregation parameters such as:

interval - Specifies the number of intervals. The aggregation period in seconds ranges between 1 and 65535.

Step 19 

distribution {delay | delay-variation} {one-way | two-way} value

Example:

Router(config-sla-y1731-delay)#dis- tribution delay-variation one-way 2

Configures the Y.1731 distribution parameters such as:

delay - Specifies delay distribution parameters.

delay-variation - Specifies delay-variation distribution parameters.

one-way - Specifies one-way distribution parameters.

two-way - Specifies two-way distribution parameters.

Step 20 

clock sync

Example:

Router(config-sla-y1731-de- lay)#clock sync

Checks whether the clocks are synchronized on the sender and receiver.

Step 21 

max-delay value

Example:

Router(config-sla-y1731-de- lay)#clock sync

Configures the maximum delay in milliseconds. The value ranges between 1 and 65535.

Step 22 

owner value

Example:

Router(config-sla-y1731-delay)#own- er name

Specifies the operation owner.

Step 23 

exit

Example:

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

Exits the Y.1731 submode and enters the global configuration mode.

Step 24 

ip sla schedule n {life | ageout | recurring | start-time} value start-time start time

Example:

Router((config)# ip sla schedule 1 life 100 start-time now

Schedules the one way delay measurement on the sender.

Life - Specifies a period time to be executed in seconds.

Ageout - Specifies a period time to retain the entry when inactive.

Recurring - Specifies the probe to be scheduled automatically every day.

Start-time - Specifies the time to start the entry. The options available are:

after

hh:mm

hh:mm:ss

now

pending

Step 25 

exit

Example:

Router((config)# exit

Exits the global configuration mode.

Configuration Example

This example displays the configuration of one way frame delay measurement. Before you begin, configure the receiver, schedule it to pending state, configure the sender and then start the session on it.

Router# enable
Router# configure terminal
On receiver
Router(config)#ip sla 1
Router(config-ip-sla)# ethernet y1731 delay receive 1DM domain r3 evc e3 cos 3 mpid 401
Router(config-sla-y1731-delay)#history interval 5
Router(config-sla-y1731-delay)#aggregate interval 60
Router(config)#exit
Router(config)#ip sla schedule 1 start-time pending
On Sender
Router(config)# ip sla 1
Router(config-ip-sla)# Router(config-ip-sla)# ethernet y1731 delay 1DM domain r3 evc e3 
mpid 500 cos 3 source mpid 400
Router(config-sla-y1731-delay)# history interval 5
Router(config-sla-y1731-delay)# aggregate interval 60
Router(config)#exit
Router(config)#ip sla schedule 1 start-time after 00:00:30
Router# end

Configuring Two-Way Delay Measurement

To configure a Two-Way Delay Measurement, complete these steps:

Summary Steps

1. enable

2. configure terminal

3. ip sla n

4. ethernet y1731 delay DMM domain domain {{vlan | evc} value} {mpid | mac-address} value cos value source {mpid | mac-address} value

5. frame {interval | offset | size} value

6. history {interval} value

7. aggregate {interval} value

8. distribution {delay | delay-variation} {one-way | two-way} value

9. clock sync

10. max-delay value

11. owner value

12. exit

13. ip sla schedule n {life | ageout | recurring | start-time} value start-time start time

14. end

Detailed Steps

 
Command
Purpose

Step 1 

enable

Example:
Router> enable 

Enables privileged EXEC mode. Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

ip sla n

Example:

Router(config)# ip sla 1

Enables the IP SLA configuration.

Step 4 

ethernet y1731 delay DMM domain domain {{vlan | evc} value}{mpid | mac-address} value cos value source {mpid | mac-address} value

Example:

Router(config-ip-sla)# ethernet y1731 delay DMM domain r3 evc e3 mpid 500 cos 3 source mpid 400

Configures a two-way delay measurement on the sender.

evc - Specifies the ethernet virtual circuit identifier

vlan - Specifies the VLAN.

cos - Specifies the class of service. The values ranges between 0 and 7.

mpid - Specifies the destination MP ID. The values ranges between 1 and 8191.

mac-address - Specifies the destination mac-address.

source - Specifies the source MP ID or mac-address.

Step 5 

frame {interval | offset | size} value

Example:

Router(config-sla-y1731-delay)# frame interval 100

Configures Y.1731 frame parameters such as:

interval - Specifies the number of intervals.

offset - Specifies the frame offset to be used for calculations. The values ranges between 1 and 10.

size - Specifies the frame size. The values ranges between 64 and 384.

Step 6 

history {interval} value

Example:

Router(config-sla-y1731-delay)# his- tory interval 5

Configures Y.1731 history parameters such as:

interval - Specifies the number of intervals. The number of intervals ranges between 1 and 10.

Step 7 

aggregate {interval} value

Example:

Router(config-sla-y1731-delay)# ag- gregate interval 5

Configures Y.1731 aggregation parameters such as:

interval - Specifies the number of intervals. The aggregation period in seconds ranges between 1 and 65535.

Step 8 

distribution {delay | delay-variation} {one-way | two-way} value

Example:

Router(config-sla-y1731-delay)#dis- tribution delay-variation one-way 2

Configures Y.1731 distribution parameters such as:

delay - Specifies delay distribution parameters.

delay-variation - Specifies delay-variation distribution parameters.

one-way - Specifies one-way distribution parameters.

two-way - Specifies two-way distribution parameters.

Step 9 

clock sync

Example:

Router(config-sla-y1731-de- lay)#clock sync

Checks whether the clocks are synchronized on the sender and receiver.

Step 10 

max-delay value

Example:

Router(config-sla-y1731-de- lay)#clock sync

Configures the maximum delay in milliseconds. The value ranges between 1 and 65535.

Step 11 

owner value

Example:

Router(config-sla-y1731-delay)#own- er name

Specifies the operation owner.

Step 12 

exit

Example:

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

Exits the Y.1731 submode and enters the global configuration mode.

Step 13 

ip sla schedule n {life | ageout | recurring | start-time} value start-time start time

Example:

Router((config)# ip sla schedule 1 life 100 start-time now

Schedules the two way delay measurement on the sender.

Life - Specifies the period time to execute in seconds.

Ageout - Specifies the period time to keep the entry when inactive.

Recurring - Specifies the probe to be scheduled automatically every day.

Start-time - Specifies the time to start the entry. The options available are:

after

hh:mm

hh:mm:ss

now

pending

Step 14 

exit

Example:

Router((config)# exit

Exits the global configuration mode.

Configuration Example

The following example configures a two way frame delay measurement

Router# enable
Router# configure terminal
Router(config)# ip sla 1
Router(config-ip-sla)# ethernet y1731 delay DMM domain ifm_400 evc e1 mpid 401 cos 4 
source mpid 1
Router(config-sla-y1731-delay)# history interval 5
Router(config-sla-y1731-delay)# aggregate interval 60
Router(config-sla-y1731-delay)#exit
Router(config)#ip sla schedule 1 start-time after 00:00:30
Router(config)#exit

Configuring Single Ended Frame Loss Measurement

To configure single ended frame loss measurement, complete these steps:


Note Before you begin, configure the command monitor loss counter [priority cos range] under the EVC CFM sub-config mode for those interfaces that require loss monitoring.


Summary Steps

1. enable

2. configure terminal

3. ip sla n

4. ethernet y1731 loss LMM domain domain {{vlan | evc} value} {mpid | mac-address} value cos value source {mpid | mac-address} value

5. frame {interval | offset | size} value

6. history {interval} value

7. aggregate {interval} value

8. clock sync

9. max-delay value

10. owner value

11. exit

12. ip sla schedule n {life | ageout | recurring | start-time} value start-time start time

13. end

Detailed Steps

 
Command
Purpose

Step 1 

enable

Example:
Router> enable 

Enables privileged EXEC mode. Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

ip sla n

Example:

Router(config)# ip sla 1

Enables the IP SLA configuration.

Step 4 

ethernet y1731 loss LMM domain domain {{vlan | evc} value}{mpid | mac-address} value cos value source {mpid | mac-address} value

Example:

Router(config-ip-sla)# ethernet y1731 loss LMM domain r3 evc e3 mpid 500 cos 3 source mpid 400

Configures single ended frame loss measurement on the sender.

evc - Specifies the ethernet virtual circuit identifier

vlan - Specifies the VLAN.

cos - Specifies the class of service. The values ranges between 0 and 8. The cos value 8 is for aggregated cos and is used when LMM is configured for routed port sub interface.

mpid - Specifies the destination MP ID. The values ranges between 1 and 8191.

mac-address - Specifies the destination mac-address.

source - Specifies the source MP ID or mac-address.

Step 5 

frame {interval | offset | size} value

Example:

Router(config-sla-y1731-loss)# frame interval 100

Configures the Y.1731 frame parameters such as:

interval - Specifies the number of intervals.

offset - Specifies the frame offset to be used for calculations. The values ranges between 1 and 10.

size - Specifies the frame size. The values ranges between 64 and 384.

Step 6 

history {interval} value

Example:

Router(config-sla-y1731-loss)# his- tory interval 5

Configures Y.1731 history parameters such as:

interval - Specifies the number of intervals. The number of intervals to store ranges between 1 and 10.

Step 7 

aggregate {interval} value

Example:

Router(config-sla-y1731-loss)# ag- gregate interval 5

Configures the Y.1731 aggregation parameters such as:

interval - Specifies the number of intervals. The aggregation period in seconds ranges between 1 and 65535.

Step 8 

clock sync

Example:

Router(config-sla-y1731-loss)#clock sync

Checks whether the clocks are synchronized on the sender and receiver.

Step 9 

max-delay value

Example:

Router(config-sla-y1731-loss)#clock sync

Configures the maximum delay in milliseconds. The value ranges between 1 and 65535.

Step 10 

owner value

Example:

Router(config-sla-y1731-loss)#owner name

Specifies the operation owner.

Step 11 

exit

Example:

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

Exits the Y.1731 submode and enters the global configuration mode.

Step 12 

ip sla schedule n {life | ageout | recurring | start-time} value start-time start time

Example:

Router((config)# ip sla schedule 1 life 100 start-time now

Schedules the single ended frame loss measurement on sender.

Life - Specifies the length of time to execute in seconds.

Ageout - Specifies the length of time to keep the entry when inactive.

Recurring - Specifies automatic scheduling every day.

Start-time - Specifies the time to start the entry. The options available are:

after

hh:mm

hh:mm:ss

now

pending

Step 13 

exit

Example:

Router((config)# exit

Exits the global configuration mode.

Configuration Example

This example displays the configuration of single ended frame loss measurement:

Router# enable
Router# configure terminal
Router(config)# ip sla 1
Router(config-ip-sla)# ethernet y1731 loss LMM domain r3 vlan 200 mpid 10 cos 3 source 
mpid 5
Router(config-sla-y1731-loss)# frame interval 5
Router(config-sla-y1731-loss)# aggregate interval 60
Router(config-sla-y1731-loss)# exit
Router(config)# ip sla schedule 1 life forever start-time now

Router(config)# exit

This example displays the configuration of the command monitor loss counter {priority value} under the EVC CFM sub-config mode:

interface GigabitEthernet3/5
no ip address
service instance 1 ethernet e3
encapsulation dot1q 200
bridge-domain 200
cfm mep domain r3 mpid 5
monitor loss counter priority 0-4
!
end

Note Use the ip sla reaction-configuration [n] react command to configure the reaction configuration.


Verifying the Frame Delay and Frame Loss Measurement Configurations

To verify and monitor the frame delay and frame delay variation measurement configuration, use this command in privileged EXEC mode:

Router# show ip sla statistics n
Delay Statistics for       Operation n
Type of operation: Y1731 Delay Measurement
Latest operation start time: *21:37:08.895 PST Thu Aug 20 2009
Latest operation return code: 
Distribution Statistics:
Interval <n>
  Start time: 
  Elapsed/End time:
  Number of measurements initiated: <x>
  Number of measurements completed: <x>
  Flag: OK
  Delay:
   Max/Avg/Min forward: x/y/z     -> Min is only shown if clocks are in sync    
   Max/Avg/Min backward: x/y/z    -> Only for two-way
   Max/Avg/Min: x/y/z            -> Only for two-way
   Timestamps forward: Max - 21:37:08.895 PST Thu Aug 20 2009/Min - 21:37:08.995 PST Thu 
Aug 20 2009
   Timestamps backward: Max - xxx/Min - yyy
   Timestamps: Max - xxx/Min - yyy
   Bucket Forward:
    Bucket Range: 0-9 ms:
     Total observations: <x> 
    Bucket Range: 10-19 ms:
     Total observations: <x> 
    Bucket Range: 20-29 ms:
     Total observations: <x> 
    Bucket Range: 30-39 ms:
     Total observations: <x> 
   Delay Variance
    Max/Avg/Min forward: x/y/z     -> Min is only shown if clocks are in sync     
    Max/Avg/Min backward: x/y/z    -> Only for two-way
    Max/Avg/Min: x/y/z             -> Only for two-way
    Bucket Forward:
     Bucket Range: 0-9 ms:
      Total observations: <x> 
     Bucket Range: 10-19 ms:
      Total observations: <x> 
     Bucket Range: 20-29 ms:
      Total observations: <x> 
     Bucket Range: 30-39 ms:
      Total observations: <x> 
Operation time to live: Forever

To verify and monitor the frame loss measurement configuration, use this command in privileged EXEC mode:

Router# show ip sla statistics n
Delay Statistics for       Operation n
Type of operation: Y1731 Loss Measurement
Latest operation start time: *21:37:08.895 PST Thu Aug 20 2009
Latest operation return code: 
Distribution Statistics:
Interval <n>
 Loss
  Start time: 
  Elapsed/End time:
  Number of measurements initiated: <x>
  Number of measurements completed: <x>
  Flag: OK
  Forward
    Tx frame count:
    Rx frame count:
    Available indicators:
    Unavailable indicators:
    Max/Avg/Min(FLR %): 3/2/1
    Max/Avg/Min (FLR Numerator:Denominator)forward: xNum:xDen/yNum:yDen/zNum:zDen    
    Timestamps forward: Max - 21:37:08.895 PST Thu Aug 20 2009/Min - 21:37:08.995 PST Thu 
Aug 20 2009
  Backward
    Tx frame count:
    Rx frame count:
    Available indicators:
    Unavailable indicators:
    Max/Avg/Min(FLR %): 3/2/1
    Max/Avg/Min (FLR Numerator:Denominator)backward: xNum:xDen/yNum:yDen/zNum:zDen
    Timestamps forward: Max - 21:37:08.895 PST Thu Aug 20 2009/Min - 21:37:08.995 PST Thu 
Aug 20 2009
Operation time to live: Forever

To display all details of frame delay and frame delay variation measurements, use the show ip sla statistics detail command.

Router# show ip sla statistics detail
IPSLAs Latest Operation Statistics
IPSLA operation id: 3
Delay Statistics for Y1731 Operation 3
Type of operation: Y1731 Delay Measurement
Latest operation start time: *00:00:00.000 PST Mon Jan 1 1900
Latest operation return code: OK
Distribution Statistics:
Interval 1
 Type: Delay
 Start time:  *00:00:00.000 PST Mon Jan 1 1900
 Elapsed/End time:  *00:00:00.000 PST Mon Jan 1 1900
 Number of measurements initiated: 0
 Number of measurements completed: 0
 Flag: OK
Delay:
 Max/Avg/Min TwoWay: 140116936/140116944/140116952
 Timestamps TwoWay: Max - *00:00:00.000 PST Mon Jan 1 1900/Min - *00:00:00.000 PST Mon Jan 
1 1900
 Bucket forward:
  Bucket Range: 0-4999 microsecond
   Total observations: 0
  Bucket Range: 5000-9999 microsecond
   Total observations: 0
  Bucket Range: 10000-14999 microsecond
   Total observations: 0
  Bucket Range: 15000-19999 microsecond
   Total observations: 0
  Bucket Range: 20000-24999 microsecond
   Total observations: 0
  Bucket Range: 25000-29999 microsecond
   Total observations: 0
  Bucket Range: 30000-34999 microsecond
   Total observations: 0
  Bucket Range: 35000-39999 microsecond
   Total observations: 0
  Bucket Range: 40000-44999 microsecond
   Total observations: 0
  Bucket Range: 45000--2 microsecond
   Total observations: 0
 Bucket backward:
  Bucket Range: 0-4999 microsecond
   Total observations: 0
  Bucket Range: 5000-9999 microsecond
   Total observations: 0
  Bucket Range: 10000-14999 microsecond
   Total observations: 0
  Bucket Range: 15000-19999 microsecond
   Total observations: 0
  Bucket Range: 20000-24999 microsecond
   Total observations: 0
  Bucket Range: 25000-29999 microsecond
   Total observations: 0
  Bucket Range: 30000-34999 microsecond
   Total observations: 0
  Bucket Range: 35000-39999 microsecond
   Total observations: 0
  Bucket Range: 40000-44999 microsecond
   Total observations: 0
  Bucket Range: 45000--2 microsecond
   Total observations: 0
 Bucket TwoWay:
  Bucket Range: 0-0 microsecond
   Total observations: 0
  Bucket Range: 1-1 microsecond
   Total observations: 0
  Bucket Range: 2-2 microsecond
   Total observations: 0
  Bucket Range: 3-3 microsecond
   Total observations: 0
  Bucket Range: 4--2 microsecond
   Total observations: 0
Delay Variance:
 Max/Avg backward positive: 140116936/140116944
 Timestamp backward positive: Max - *00:00:00.000 PST Mon Jan 1 1900
 Max/Avg backward negative: 140116936/140116944
 Timestamp backward negative: Max - *00:00:00.000 PST Mon Jan 1 1900
 Max/Avg TwoWay positive: 140116936/140116944
 Timestamp TwoWay positive: Max - *00:00:00.000 PST Mon Jan 1 1900
 Max/Avg TwoWay negative: 140116936/140116944
 Timestamp TwoWay negative: Max - *00:00:00.000 PST Mon Jan 1 1900
 Bucket forward positive:
  Bucket Range: 0-4999 microsecond
   Total observations: 0
  Bucket Range: 5000-9999 microsecond
   Total observations: 0
  Bucket Range: 10000-14999 microsecond
   Total observations: 0
  Bucket Range: 15000-19999 microsecond
   Total observations: 0
  Bucket Range: 20000-24999 microsecond
   Total observations: 0
  Bucket Range: 25000-29999 microsecond
   Total observations: 0
  Bucket Range: 30000-34999 microsecond
   Total observations: 0
  Bucket Range: 35000-39999 microsecond
   Total observations: 0
  Bucket Range: 40000-44999 microsecond
   Total observations: 0
  Bucket Range: 45000--2 microsecond
   Total observations: 0
 Bucket forward negative:
  Bucket Range: 0-4999 microsecond
   Total observations: 0
  Bucket Range: 5000-9999 microsecond
   Total observations: 0
  Bucket Range: 10000-14999 microsecond
   Total observations: 0
  Bucket Range: 15000-19999 microsecond
   Total observations: 0
  Bucket Range: 20000-24999 microsecond
   Total observations: 0
  Bucket Range: 25000-29999 microsecond
   Total observations: 0
  Bucket Range: 30000-34999 microsecond
   Total observations: 0
  Bucket Range: 35000-39999 microsecond
   Total observations: 0
  Bucket Range: 40000-44999 microsecond
   Total observations: 0
  Bucket Range: 45000--2 microsecond
   Total observations: 0
 Bucket backward positive:
  Bucket Range: 0-4999 microsecond
   Total observations: 0
  Bucket Range: 5000-9999 microsecond
   Total observations: 0
  Bucket Range: 10000-14999 microsecond
   Total observations: 0
  Bucket Range: 15000-19999 microsecond
   Total observations: 0
  Bucket Range: 20000-24999 microsecond
   Total observations: 0
  Bucket Range: 25000-29999 microsecond
   Total observations: 0
  Bucket Range: 30000-34999 microsecond
   Total observations: 0
  Bucket Range: 35000-39999 microsecond
   Total observations: 0
  Bucket Range: 40000-44999 microsecond
   Total observations: 0
  Bucket Range: 45000--2 microsecond
   Total observations: 0
 Bucket backward negative:
  Bucket Range: 0-4999 microsecond
   Total observations: 0
  Bucket Range: 5000-9999 microsecond
   Total observations: 0
  Bucket Range: 10000-14999 microsecond
   Total observations: 0
  Bucket Range: 15000-19999 microsecond
   Total observations: 0
  Bucket Range: 20000-24999 microsecond
   Total observations: 0
  Bucket Range: 25000-29999 microsecond
   Total observations: 0
  Bucket Range: 30000-34999 microsecond
   Total observations: 0
  Bucket Range: 35000-39999 microsecond
   Total observations: 0
  Bucket Range: 40000-44999 microsecond
   Total observations: 0
  Bucket Range: 45000--2 microsecond
   Total observations: 0
 Bucket TwoWay positive:
  Bucket Range: 0-4999 microsecond
   Total observations: 0
  Bucket Range: 5000-9999 microsecond
   Total observations: 0
  Bucket Range: 10000-14999 microsecond
   Total observations: 0
  Bucket Range: 15000-19999 microsecond
   Total observations: 0
  Bucket Range: 20000-24999 microsecond
   Total observations: 0
  Bucket Range: 25000-29999 microsecond
   Total observations: 0
  Bucket Range: 30000-34999 microsecond
   Total observations: 0
  Bucket Range: 35000-39999 microsecond
   Total observations: 0
  Bucket Range: 40000-44999 microsecond
   Total observations: 0
  Bucket Range: 45000--2 microsecond
   Total observations: 0

To display the same outputs as the latest statistics detail command, use the show ip sla history interval n command. The number displayed is the number of intervals configured.

Output for Loss Measurement:
Router# show ip sla history 1 interval-statistics 
Loss Statistics for Y1731 Operation 1
Type of operation: Y1731 Loss Measurement
Latest operation start time: *09:46:16.225 UTC Fri Nov 26 2010
Latest operation return code: OK
Distribution Statistics:
Interval 1
 Start time:  *09:46:16.225 UTC Fri Nov 26 2010
 End time:  *09:48:16.221 UTC Fri Nov 26 2010
 Number of measurements initiated: 12006
 Number of measurements completed: 12000
 Flag: OK
Forward
 Number of Observations 11999
 Timestamps forward: 
   Max - *09:47:20.252 UTC Fri Nov 26 2010/   Min - *09:48:16.221 UTC Fri Nov 26 2010
 Tx frame count: 30000
 Rx frame count: 20000
 Available indicators: 11999
 Unavailable indicators: 0
 Max/Avg/Min - (FLR % ): 1:3/2.78%/0:0 
Backward
 Number of Observations 11999
 Timestamps backward: 
   Max - *09:48:16.221 UTC Fri Nov 26 2010/   Min - *09:48:16.221 UTC Fri Nov 26 2010
 Tx frame count: 10000
 Rx frame count: 10000
 Available indicators: 11999
 Unavailable indicators: 0
 Max/Avg/Min - (FLR % ): 0:0/0.0%/0:0 
Output for Delay Measurement:
Router#show ip sla history 10 interval-statistics
Delay Statistics for Y1731 Operation 10
Type of operation: Y1731 Delay Measurement
Latest operation start time: 10:58:30.144 PDT Tue Jan 4 2011
Latest operation return code: Timeout
Distribution Statistics:
Interval 1
 Start time:  10:58:30.144 PDT Tue Jan 4 2011
 End time:  10:59:05.140 PDT Tue Jan 4 2011
 Number of measurements initiated: 33
 Number of measurements completed: 34
 Flag: OK
Delay:
 Number of TwoWay observations: 34
  Max/Avg/Min TwoWay: 113364/100499/100099 (microsec)
 Time of occurrence TwoWay:
   Max - 10:59:05.140 PDT Tue Jan 4 2011
   Min - 10:58:40.076 PDT Tue Jan 4 2011
 Bin TwoWay:
        Bin Range (microsec)            Total observations
                 0 - < 5000                     0
              5000 - < 10000                    0
             10000 - < 15000                    0
             15000 - < 20000                    0
             20000 - < 25000                    0
             25000 - < 30000                    0
             30000 - < 35000                    0
             35000 - < 40000                    0
             40000 - < 45000                    0
             45000 - < 4294967295               34
Delay Variance:
 Number of TwoWay positive observations: 19
  Max/Avg TwoWay positive: 13256/706 (microsec)
 Time of occurrence TwoWay positive:
   Max - 10:59:05.140 PDT Tue Jan 4 2011
 Number of TwoWay negative observations: 14
  Max/Avg TwoWay negative: 86/11 (microsec)
 Time of occurrence TwoWay negative:
   Max - 10:58:40.076 PDT Tue Jan 4 2011
 Bin TwoWay positive:
        Bin Range (microsec)            Total observations
                 0 - < 5000                     18
              5000 - < 10000                    0
             10000 - < 15000                    1
             15000 - < 20000                    0
             20000 - < 25000                    0
             25000 - < 30000                    0
             30000 - < 35000                    0
             35000 - < 40000                    0
             40000 - < 45000                    0
             45000 - < 4294967295               0
 Bin TwoWay negative:
        Bin Range (microsec)            Total observations
                 0 - < 5000                     14
              5000 - < 10000                    0
             10000 - < 15000                    0
             15000 - < 20000                    0
             20000 - < 25000                    0
             25000 - < 30000                    0
             30000 - < 35000                    0
             35000 - < 40000                    0
             40000 - < 45000                    0
             45000 - < 4294967295               0

To display the performance monitoring session summary, use the show ethernet cfm pm session summary command.

Router# show ethernet cfm pm session summary
Number of Configured Session : 1
Number of Active Session: 1
Number of Inactive Session: 0

Troubleshooting

These troubleshooting scenarios apply to the Y.1731 performance monitoring configurations:

Problem
Solution

When the IP SLA sessions do not come up.

Use the debug commands:

debug ethernet cfm pm events [session <session id>]

debug ethernet cfm pm error [session <session id>]

debug ethernet cfm pm diagnostic

debug ethernet cfm pm ipc [session <session id>]

debug ethernet cfm pm packet [session <session id>]


IP and PPPoE Session Support

Intelligent Services Gateway (ISG) is a Cisco IOS software feature provides a structured framework for the edge devices to deliver flexible and scalable services to subscribers. ISG supports IP sessions for subscribers who connect to ISG from routed or Layer 2 access networks. From Cisco IOS Release 12.2(33)SRE onwards, the ISG: Subscriber Aware Ethernet feature provides Intelligent Services Gateway (ISG) functionality in distributed IP and PPPoE sessions on Cisco 7600 series routers that have Ethernet Services Plus (ES+) access-facing line cards.

IP sessions, representing a single IP address, collates the traffic received from a single IP source address, and classifies, identifies and provides services to subscribers. If the IP address is not unique, VRF or interface is used as unique identifiers. IP addressees can overlap only across VRF, and if two interfaces have the same VRF, they cannot have overlapping IP addresses. However, overlapping IP addresses are also supported for MAC based identification.


Note ISG functionality support for IP and PPPoE sessions is deprecated and will be unavailable in a future release.


IP sessions are hosted for the following connected subscriber devices:

Devices that are one hop far from SG are L2-connected sessions.

Devices that are multiple hops from the system where Service Gateway (SG) is not at the extreme L3 edge are routed sessions.

This feature is supported on the following interfaces in a ES+ line card:

Access interfaces

Non-access interfaces (limited to 500 subinterfaces)

This feature supports the following sessions in a ES+ line card:

IP sessions (routed and L2-connected)

DHCP integration with IP sessions

Static IP subnet sessions

Source IP address and MAC address sessions (IP sessions)

PPPoE supported in the PPP Termination and Aggregation (PTA) mode

PPPoEoVLAN supported in the PTA mode

PPPoEoQinQ supported in the PTA mode

PPPoEoDot1Q supported in the PTA mode

IP Address Assignment

DHCP Based IP address assignment: If DHCP is being used to assign IP addresses, and the IP address that is assigned by DHCP is correct for the service domain, ISG does not have to be involved in the assignment of an IP address for the subscriber. If the IP address that is assigned by DHCP is not correct for the service domain, or if the domain changes because of a VRF transfer, ISG can be configured to influence the DHCP IP address assignment.

Static IP address assignment: If the static IP address for a subscriber is configured correctly for the service domain, ISG is not involved in the assignment of an IP address for the subscriber.

IP subnet: For IP subnet sessions, the IP subnet is specified in the user profile.

IP interface: ISG is not involved in the assignment of subscriber IP addresses.

IP Subnet (IP Range) Sessions

A client subnet identifies a IP Subnet session and applies uniform edge processing to packets associated with a particular IP subnet. IP Subnet sessions are hosted for clients directly connected or over multiple hops. The following functionalities are not supported on IP Subnet Sessions, but are supported on IP Sessions:

DHCP session initiation not supported

No Source MAC address session support

No Dynamic VPN selection support

IP Interface Sessions

In an IP Interface session, all the traffic received on a particular physical or logical interface is collated. However, dynamic VRF transfer is not supported in an IP interface session and, VRF transfer can only be used with static VRF configuration. Irrespective of the subscriber logged in, a session is created by default.

PPPoE and IPoE Session Support on Port Channel (1:1 Redundancy)

The 1:1 redundancy on a port channel coupled with Link Aggregation Control Protocol (LACP) dynamically handles the member links in a port channel bundle. A port channel has two members, of which one member is active and the other is in standby or redundant mode. The member ports can be across line cards, but must originate from Ethernet Services Plus (ES+) line card. At any given point of time, one link is on the physical mode.

The following sessions support 1:1 redundancy in a ES+ line card:

IP Subnet sessions

IP Interface sessions

PPPoEoX sessions.


Note Port channel sub-interfaces of type access provide M:N LAG support if the Intelligent Services Gateway (ISG) is not configured. In case the ISG is configured, only the 1:1 active-standby configuration is supported for access type sub-interfaces.


PPPoE and IPoE Session Support on QinQ Subinterfaces with IEEE 802.1AH Customer Ethertype

This feature enables you to implement PPPoE and IPoE session (ISG functions) on QinQ subinterfaces that are configured with custom ethertype. The custom ethertype implemented on the main interface is inherited by all the subinterfaces. To implement this feature, use dot1q tunnel ethertype command on main interface for the respective QinQ subinterfaces.

If the outer VLAN tag on a PPPoE or IPoE session packet matches the custom ethertype VLAN settings on the QinQ subinterface, the packets are accepted otherwise the packets are dropped. You can set the outer VLAN tag to the following values:

0x9100

0x9200

0x8100

0x88a8

The PPPoE or IPoE session does not come up if there is ethertype mismatch between ISG and the client. For example, if the outer VLAN tag on a packet is set to 0x9100 and the interface is configured using custom ethertype to accept only packets with 0x88a8 VLAN tag, the packet will be dropped in the QinQ subinterface.

You can configure QinQ on both the access and non-access sub-interfaces. The following code shows how to define an interface with access sub-interface, create a VLAN QinQ subinterface, and enable PPPoE session:

Router> enable 
Router# configure terminal 
Router(config)# interface gigabitethernet 1/0/0 
Router(config-if)# dot1q tunneling ethertype 0x9100
Router(config-if)# interface gigabitethernet 1/0/0.100 access
Router(config-subif)# encapsulation dot1q 100 second-dot1q 200
Router(config-subif)# ip subscriber interface

Restrictions and Usage Guidelines

Follow these restrictions and usage guidelines when you configure an IP or a PPPoE sessions on an ES+ linecard:

IP Sessions are not supported on ambiguous VLANs.

Radius proxy is not supported for the IP Sessions.

IP and MAC address spoof Prevention is not supported on subinterfaces on a ES+ linecard unlike on a SIP400 line card.

IP sessions are supported on Link Aggregation (Ether-Channel) interfaces. LAG etherchannel interfaces are supported for links on the same and across line cards.

PPPoE sessions are supported on ambiguous VLAN interfaces and VLAN ranges.

There are no drop counters to identify the number of packets dropped due to custom ethertype mismatch.

VLANs, Source MAC Address, and Ports are matched against session ids to extend security for PPPoE sessions.

ES+ low queue cards do not support ISG (IP session and PPPoE session).

Follow these restrictions and usage guidelines when you configure 1:1 redundancy on a ES+ linecard:

Subscriber redundancy is available only on a 1:1 access standby model.

Supports access interfaces in port channels to scale the number of port channel subinterfaces to greater than 4k.

Link Aggregation Control Protocol (LACP) allows dynamic handling of member links in a GEC bundle.

Supports a maximum of 64 GEC bundles with 8 links.

Member links in a single GEC bundle reside across NPs or the linecard.

LAG is supported with members across linecards.

Supports LAG across linecards and membership of the LAG does not change after new sessions are initiated.

Feature supports 32000 access sub-interfaces.

Supports per session load balancing across member links where all the traffic for a session is relayed over a single port.

To reduce the downtime during member link addition or deletion, QOS queues are allocated for all member links belonging to the port channel. Though the ingress and egress traffic could be on different member links, the peer relays all the traffic for a session through a single member link.

LAG supports sessions on non access subinterfaces to support coexistence of multicast streams.

Verification

This section lists the commands to display configuration information.

Use the following commands to configure the PPPoE:

Router-DJ4-dfc9#sh debug
CWAN iEdge LC:
  CWAN iEdge LC session event debug debugging is on
X40G XLIF Client:
  XLIF NP events debugging is on
Router-DJ4-dfc9# sh log
Syslog logging: enabled (0 messages dropped, 4 messages rate-limited, 0 flushes, 0 
overruns, xml disabled, filtering disabled)
No Active Message Discriminator.
No Inactive Message Discriminator.
    Console logging: disabled
    Monitor logging: level debugging, 0 messages logged, xml disabled,
                     filtering disabled
    Buffer logging:  level debugging, 308 messages logged, xml disabled,
                    filtering disabled
    Exception Logging: size (4096 bytes)
    Count and timestamp logging messages: disabled
    Persistent logging: disabled
Log Buffer (1000000 bytes):
Nov 19 16:08:48.247 IST: DFC9: provision_pppoe_routed_ac: switch_info 2CDEC4A4 
seghandle 2CD93474 uid 40 if_number 80
Nov 19 16:08:48.247 IST: DFC9:  type 1 2 0opaque handle = 0x186DAB48
Nov 19 16:08:48.247 IST: DFC9: inserting 186DAB48 105 40 
Nov 19 16:08:48.247 IST: DFC9: cwan_iedge_session_pending_timer started
Nov 19 16:08:48.247 IST: DFC9: no dbus vlan session pending on int 105
Nov 19 16:08:48.251 IST: DFC9:  cwan_iedge_update_dbus_vlan: Session 40 gets hidden 
vlan 1020 through update for Virtual-Access2.1
Nov 19 16:08:50.247 IST: DFC9: cwan_iedge_common_session_notify: cfg_type 2 va_if_num 
105 phy_if_num 80 uid 0action 0
Nov 19 16:08:50.247 IST: DFC9: cwan_iedge_get_session_config: sess_type 2 if_num 105 
pid 0
Nov 19 16:08:50.247 IST: DFC9: cwan_iedge_get_pppoe_config: if_num 80 va_if_num 105 
vlan 1020 sess-id 40 cond_debug off
Nov 19 16:08:50.247 IST: DFC9: x40g_npc_xlif_create Cfn[965F2BC] Creating Xlif: 
GigabitEthernet9/5 Xid[0] Typ[4] Ch[0] Ifn[105] Xreg[0] Xidx[205352] efp[0]
Nov 19 16:08:50.247 IST: DFC9: x40g_npc_xlif_create_internal successfully created 
xlif: GigabitEthernet9/5 Xid[205352] Typ[4] Ch[0] Ifn[105] Xreg[0] Xidx[205352] efp[0]
Nov 19 16:08:50.247 IST: DFC9: x40g_npc_eg_xlif_update_port Cfn[92D1658] Xlif Update 
Port 4 : GigabitEthernet9/5 Xid[205352] Typ[4] Ch[0] Ifn[105] Xreg[0] Xidx[205352] 
efp[0]
Nov 19 16:08:50.247 IST: DFC9: x40g_npc_xlif_update_tag_rewrite Cfn[965F334] Tag(i-0, 
o-2) Dir[2]: GigabitEthernet9/5 Xid[205352] Typ[4] Ch[0] Ifn[105] Xreg[0] Xidx[205352] 
efp[0]
Nov 19 16:08:50.247 IST: DFC9: x40g_npc_xlif_update_dbus_vlan Cfn[965F36C] Updatng 
Dbus Vlan 1020: GigabitEthernet9/5 Xid[205352] Typ[4] Ch[0] Ifn[105] Xreg[0] 
Xidx[205352] efp[0]
Nov 19 16:08:50.247 IST: DFC9: x40g_npc_xlif_update_stats_id Cfn[965D780] Updatng 
StatId 599056 Dir[0]: GigabitEthernet9/5 Xid[205352] Typ[4] Ch[0] Ifn[105] Xreg[0] 
Xidx[205352] efp[0]
Nov 19 16:08:50.247 IST: DFC9: x40g_npc_xlif_update_stats_id Cfn[965D8A8] Updatng 
StatId 599064 Dir[1]: GigabitEthernet9/5 Xid[205352] Typ[4] Ch[0] Ifn[105] Xreg[0] 
Xidx[205352] efp[0]
Nov 19 16:08:50.247 IST: DFC9: x40g_npc_xlif_fwd_feat_enable Cfn[965F3BC] Xlif Fwd 
Feat 0x1 Enable 1 : GigabitEthernet9/5 Xid[205352] Typ[4] Ch[0] Ifn[105] Xreg[0] 
Xidx[205352] efp[0]
Nov 19 16:08:50.247 IST: DFC9: x40g_npc_xlif_enable Cfn[965F3F0] Xlif Enable 1: 
GigabitEthernet9/5 Xid[205352] Typ[4] Ch[0] Ifn[105] Xreg[0] Xidx[205352] efp[0]
Nov 19 16:08:50.247 IST: DFC9: x40g_npc_xlif_update_feat_info Cfn[965F604] Xlif update 
feature Dir[0]: GigabitEthernet9/5 Xid[205352] Typ[4] Ch[0] Ifn[105] Xreg[0] 
Xidx[205352] efp[0]
Nov 19 16:08:50.247 IST: DFC9: x40g_npc_xlif_update_feat_info Cfn[965F700] Xlif update 
feature Dir[1]: GigabitEthernet9/5 Xid[205352] Typ[4] Ch[0] Ifn[105] Xreg[0] 
Xidx[205352] efp[0]
Router-DJ4#sh debug
PPP:
  PPP protocol negotiation debugging is on
PPPoE:
  PPPoE protocol events debugging is on
  PPPoE control packets debugging is on
Router-DJ4#sh log
Syslog logging: enabled (3340 messages dropped, 2 messages rate-limited, 0 flushes, 0 
overruns, xml disabled, filtering disabled)
No Active Message Discriminator.
No Inactive Message Discriminator.
    Console logging: disabled
    Monitor logging: level debugging, 0 messages logged, xml disabled,
                     filtering disabled
    Buffer logging:  level debugging, 5280 messages logged, xml disabled,
                    filtering disabled
    Exception Logging: size (4096 bytes)
    Count and timestamp logging messages: disabled
    Persistent logging: disabled
No active filter modules.
    Trap logging: level informational, 203 message lines logged
Log Buffer (1000000 bytes):
Nov 19 16:08:48.231 IST: PPPoE 0: I PADI  R:bb00.1912.0001 L:ffff.ffff.ffff 2 Gi9/5.1
contiguous pak, size 60
 FF FF FF FF FF FF BB 00 19 12 00 01 81 00 00 02
 88 63 11 09 00 00 00 04 01 01 00 00 00 0A 03 06
 B6 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 06 F8 00 00 9C 88
Nov 19 16:08:48.231 IST:  Service tag: NULL Tag
Nov 19 16:08:48.231 IST: PPPoE 0: O PADO, R:a110.0050.0006 L:bb00.1912.0001 1019 
Gi9/5.1
Nov 19 16:08:48.231 IST:  Service tag: NULL Tag
contiguous pak, size 100
 06 02 00 10 03 FB 28 00 03 80 00 00 44 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 02 04 00 00
 BB 00 19 12 00 01 A1 10 00 50 00 06 81 00 00 02
 88 63 11 07 00 00 00 24 01 01 00 00 01 02 00 08
 52 69 61 7A 2D 44 4A 34 ...
Nov 19 16:08:48.231 IST: PPPoE 0: I PADR  R:bb00.1912.0001 L:000c.31c9.7000 2 Gi9/5.1
contiguous pak, size 60
 00 0C 31 C9 70 00 BB 00 19 12 00 01 81 00 00 02
 88 63 11 19 00 00 00 18 01 01 00 00 01 04 00 10
 E2 DB 75 8D E5 9C 95 C1 83 35 DC 91 B2 14 32 89
 63 63 65 73 73 2D 70 70 6C 63 70 30
Nov 19 16:08:48.231 IST:  Service tag: NULL Tag
Nov 19 16:08:48.231 IST: PPPoE : encap string prepared
Nov 19 16:08:48.231 IST: [40]PPPoE 40: Access IE handle allocated
Nov 19 16:08:48.231 IST: [40]PPPoE 40: AAA get retrieved attrs
Nov 19 16:08:48.231 IST: [40]PPPoE 40: AAA get nas port details
Nov 19 16:08:48.231 IST: [40]PPPoE 40: AAA get dynamic attrs
Nov 19 16:08:48.231 IST: [40]PPPoE 40: AAA unique ID allocated
Nov 19 16:08:48.231 IST: [40]PPPoE 40: No AAA accounting method list 
Nov 19 16:08:48.231 IST: [40]PPPoE 40: Service request sent to SSS
Nov 19 16:08:48.231 IST: [40]PPPoE 40: Created, Service: None R:000c.31c9.7000 
L:bb00.1912.0001 2 Gi9/5.1
Nov 19 16:08:48.231 IST: [40]PPPoE 40: State NAS_PORT_POLICY_INQUIRY    Event SSS MORE 
KEYS
Nov 19 16:08:48.231 IST: PPP: Alloc Context [19C03860]
Nov 19 16:08:48.231 IST: ppp40 PPP: Phase is ESTABLISHING
Nov 19 16:08:48.231 IST: [40]PPPoE 40: data path set to PPP
Nov 19 16:08:48.231 IST: [40]PPPoE 40: Segment (SSS class): PROVISION
Nov 19 16:08:48.231 IST: [40]PPPoE 40: State PROVISION_PPP    Event SSM PROVISIONED
Nov 19 16:08:48.231 IST: [40]PPPoE 40: O PADS  R:bb00.1912.0001 L:000c.31c9.7000 1019 
Gi9/5.1
contiguous pak, size 100
 00 02 00 10 03 FB 28 00 03 80 00 00 44 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 02 04 00 00
 BB 00 19 12 00 01 A1 10 00 50 00 06 81 00 00 02
 88 63 11 65 00 28 00 18 01 01 00 00 01 04 00 10
 E2 DB 75 8D E5 9C 95 C1 ...
Nov 19 16:08:48.231 IST: ppp40 PPP: Using vpn set call direction
Nov 19 16:08:48.231 IST: ppp40 PPP: Treating connection as a callin
Nov 19 16:08:48.231 IST: ppp40 PPP: Session handle[28] Session id[40]
Nov 19 16:08:48.231 IST: ppp40 LCP: Event[OPEN] State[Initial to Starting]
Nov 19 16:08:48.231 IST: ppp40 PPP LCP: Enter passive mode, state[Stopped]
Nov 19 16:08:48.231 IST: ppp40 LCP: I CONFREQ [Stopped] id 0 len 14
Nov 19 16:08:48.231 IST: ppp40 LCP:    MagicNumber 0xA4E30BAF (0x0506A4E30BAF)
Nov 19 16:08:48.231 IST: ppp40 LCP:    MRU 1492 (0x010405D4)
Nov 19 16:08:48.231 IST: ppp40 LCP: O CONFREQ [Stopped] id 1 len 19
Nov 19 16:08:48.231 IST: ppp40 LCP:    MRU 1492 (0x010405D4)
Nov 19 16:08:48.231 IST: ppp40 LCP:    AuthProto CHAP (0x0305C22305)
Nov 19 16:08:48.235 IST: ppp40 LCP:    MagicNumber 0x0F501712 (0x05060F501712)
Nov 19 16:08:48.235 IST: ppp40 LCP: O CONFACK [Stopped] id 0 len 14
Nov 19 16:08:48.235 IST: ppp40 LCP:    MagicNumber 0xA4E30BAF (0x0506A4E30BAF)
Nov 19 16:08:48.235 IST: ppp40 LCP:    MRU 1492 (0x010405D4)
Nov 19 16:08:48.235 IST: ppp40 LCP: Event[Receive ConfReq+] State[Stopped to ACKsent]
Nov 19 16:08:48.235 IST: ppp40 LCP: I CONFACK [ACKsent] id 1 len 19
Nov 19 16:08:48.235 IST: ppp40 LCP:    MRU 1492 (0x010405D4)
Nov 19 16:08:48.235 IST: ppp40 LCP:    AuthProto CHAP (0x0305C22305)
Nov 19 16:08:48.235 IST: ppp40 LCP:    MagicNumber 0x0F501712 (0x05060F501712)
Nov 19 16:08:48.235 IST: ppp40 LCP: Event[Receive ConfAck] State[ACKsent to Open]
Nov 19 16:08:48.243 IST: ppp40 PPP: Phase is AUTHENTICATING, by this end
Nov 19 16:08:48.243 IST: ppp40 CHAP: O CHALLENGE id 1 len 29 from "Router-DJ4"
Nov 19 16:08:48.243 IST: ppp40 LCP: State is Open
Nov 19 16:08:48.243 IST: ppp40 CHAP: I RESPONSE id 1 len 29 from "PPP_USER"
Nov 19 16:08:48.243 IST: ppp40 PPP: Phase is FORWARDING, Attempting Forward
Nov 19 16:08:48.243 IST: ppp40 PPP: Phase is AUTHENTICATING, Unauthenticated User
Nov 19 16:08:48.243 IST: ppp40 IPCP: Authorizing CP
Nov 19 16:08:48.243 IST: ppp40 IPCP: CP stalled on event[Authorize CP]
Nov 19 16:08:48.243 IST: ppp40 IPCP: CP unstall
Nov 19 16:08:48.243 IST: ppp40 PPP: Phase is FORWARDING, Attempting Forward
Nov 19 16:08:48.243 IST: [40]PPPoE 40: State LCP_NEGOTIATION    Event SSS CONNECT 
LOCAL
Nov 19 16:08:48.247 IST: [40]PPPoE 40: Segment (SSS class): UPDATED
Nov 19 16:08:48.247 IST: [40]PPPoE 40: Segment (SSS class): BOUND
Nov 19 16:08:48.247 IST: [40]PPPoE 40: data path set to Virtual Acess
Nov 19 16:08:48.247 IST: [40]PPPoE 40: State LCP_NEGOTIATION    Event SSM UPDATED
Nov 19 16:08:48.247 IST: Vi2.1 PPP: Phase is AUTHENTICATING, Authenticated User
Nov 19 16:08:48.247 IST: Vi2.1 CHAP: O SUCCESS id 1 len 4
Nov 19 16:08:48.247 IST: [40]PPPoE 40: AAA get dynamic attrs
Nov 19 16:08:48.247 IST: Vi2.1 PPP: Phase is UP
Nov 19 16:08:48.247 IST: Vi2.1 IPCP: Protocol configured, start CP. state[Initial]
Nov 19 16:08:48.247 IST: Vi2.1 IPCP: Event[OPEN] State[Initial to Starting]
Nov 19 16:08:48.247 IST: Vi2.1 IPCP: O CONFREQ [Starting] id 1 len 10
Nov 19 16:08:48.247 IST: Vi2.1 IPCP:    Address 100.0.0.1 (0x030664000001)
Nov 19 16:08:48.247 IST: Vi2.1 IPCP: Event[UP] State[Starting to REQsent]
Nov 19 16:08:48.247 IST: Vi2.1 IPCP: I CONFREQ [REQsent] id 0 len 10
Nov 19 16:08:48.247 IST: Vi2.1 IPCP:    Address 0.0.0.0 (0x030600000000)
Nov 19 16:08:48.247 IST: Vi2.1 IPCP AUTHOR: Start.  Her address 0.0.0.0, we want 
0.0.0.0
Nov 19 16:08:48.247 IST: Vi2.1 IPCP AUTHOR: Done.  Her address 0.0.0.0, we want 
0.0.0.0
Nov 19 16:08:48.247 IST: Vi2.1 IPCP: Pool returned 182.0.0.1
Nov 19 16:08:48.247 IST: Vi2.1 IPCP: O CONFNAK [REQsent] id 0 len 10
Nov 19 16:08:48.247 IST: Vi2.1 IPCP:    Address 182.0.0.1 (0x0306B6000001)
Nov 19 16:08:48.247 IST: Vi2.1 IPCP: Event[Receive ConfReq-] State[REQsent to REQsent]
Nov 19 16:08:48.247 IST: Vi2.1 IPCP: I CONFACK [REQsent] id 1 len 10
Nov 19 16:08:48.247 IST: Vi2.1 IPCP:    Address 100.0.0.1 (0x030664000001)
Nov 19 16:08:48.247 IST: Vi2.1 IPCP: Event[Receive ConfAck] State[REQsent to ACKrcvd]
Nov 19 16:08:48.251 IST: [40]PPPoE 40: State PTA_BINDING    Event STATIC BIND RESPONSE
Nov 19 16:08:48.251 IST: [40]PPPoE 40: Connected PTA
Nov 19 16:08:48.251 IST: Vi2.1 IPCP: I CONFREQ [ACKrcvd] id 1 len 10
Nov 19 16:08:48.251 IST: Vi2.1 IPCP:    Address 182.0.0.1 (0x0306B6000001)
Nov 19 16:08:48.251 IST: Vi2.1 IPCP: O CONFACK [ACKrcvd] id 1 len 10
Nov 19 16:08:48.251 IST: Vi2.1 IPCP:    Address 182.0.0.1 (0x0306B6000001)
Nov 19 16:08:48.251 IST: Vi2.1 IPCP: Event[Receive ConfReq+] State[ACKrcvd to Open]
Nov 19 16:08:48.255 IST: Vi2.1 IPCP: Event[DOWN] State[Open to Starting]
Nov 19 16:08:48.255 IST: Vi2.1 IPCP: Event[CLOSE] State[Starting to Initial]
Nov 19 16:08:48.255 IST: Vi2.1 IPCP: Event[OPEN] State[Initial to Starting]
Nov 19 16:08:48.255 IST: Vi2.1 IPCP: O CONFREQ [Starting] id 2 len 10
Nov 19 16:08:48.255 IST: Vi2.1 IPCP:    Address 100.0.0.1 (0x030664000001)
Nov 19 16:08:48.255 IST: Vi2.1 IPCP: Event[UP] State[Starting to REQsent]
Nov 19 16:08:48.255 IST: Vi2.1 IPCP: I CONFREQ [REQsent] id 2 len 10
Nov 19 16:08:48.255 IST: Vi2.1 IPCP:    Address 182.0.0.1 (0x0306B6000001)
Nov 19 16:08:48.255 IST: Vi2.1 IPCP AUTHOR: Start.  Her address 182.0.0.1, we want 
182.0.0.1
Nov 19 16:08:48.255 IST: Vi2.1 IPCP AUTHOR: Reject 182.0.0.1, using 182.0.0.1
Nov 19 16:08:48.255 IST: Vi2.1 IPCP AUTHOR: Done.  Her address 182.0.0.1, we want 
182.0.0.1
Nov 19 16:08:48.255 IST: Vi2.1 IPCP: O CONFACK [REQsent] id 2 len 10
Nov 19 16:08:48.255 IST: Vi2.1 IPCP:    Address 182.0.0.1 (0x0306B6000001)
Nov 19 16:08:48.255 IST: Vi2.1 IPCP: Event[Receive ConfReq+] State[REQsent to ACKsent]
Nov 19 16:08:48.255 IST: Vi2.1 IPCP: I CONFACK [ACKsent] id 2 len 10
Nov 19 16:08:48.255 IST: Vi2.1 IPCP:    Address 100.0.0.1 (0x030664000001)
Nov 19 16:08:48.255 IST: Vi2.1 IPCP: Event[Receive ConfAck] State[ACKsent to Open]
Nov 19 16:08:48.275 IST: Vi2.1 IPCP: State is Open (Indicates that the PPPoE session 
is up)
Nov 19 16:08:48.275 IST: Vi2.1 Added to neighbor route AVL tree: topoid 0, address 
182.0.0.1
Nov 19 16:08:48.275 IST: Vi2.1 IPCP: Install route to 182.0.0.1
Router-DJ4#   
interface GigabitEthernet9/17.1
 encapsulation dot1Q 2000
 ip address 180.0.0.1 255.255.255.0
interface GigabitEthernet9/5.1
 encapsulation dot1Q 2
 ip address 192.0.0.1 255.255.255.0
 pppoe enable group dj4_bba_group1
aaa new-model
aaa authentication login default group radius local
aaa authentication ppp default local
aaa authorization network default local 
aaa authorization subscriber-service default group radius 
aaa session-id common
bba-group pppoe dj4_bba_group1
 virtual-template 1
 sessions per-vc limit 16000
 sessions per-mac limit 16000
 sessions per-vlan limit 8000
interface Loopback1
 ip address 100.0.0.1 255.255.255.255
interface Virtual-Template1
 ip unnumbered Loopback1
 no logging event link-status
 peer default ip address pool PPPPool_1
 no snmp trap link-status
 keepalive 300
 ppp authentication chap

Use the following commands to verify the PPPoE session:

Router-DJ4#sh pppoe summary 
    PTA  : Locally terminated sessions
    FWDED: Forwarded sessions
    TRANS: All other sessions (in transient state)
                                TOTAL     PTA   FWDED   TRANS
TOTAL                               1       1       0       0
GigabitEthernet9/5                  1       1       0       0
Router-DJ4#sh pppoe ses
Router-DJ4#sh pppoe session 
     1 session  in LOCALLY_TERMINATED (PTA) State
     1 session  total
Uniq ID  PPPoE  RemMAC          Port                    VT  VA         State
           SID  LocMAC                                      VA-st      Type
     42     42  bb00.1912.0001  Gi9/5.1                  1  Vi2.1      PTA  
                000c.31c9.7000  VLAN:   2                   UP              
Router-DJ4#sh sss session uid 42 detailed 
Unique Session ID: 42
Identifier: PPP_USER
SIP subscriber access type(s): PPPoE/PPP
Current SIP options: Req Fwding/Req Fwded
Session Up-time: 00:19:04, Last Changed: 00:19:04
Interface: Virtual-Access2.1
Policy information:
  Context 137426FC: Handle 2400002A
  AAA_id 00000038: Flow_handle 0
  Authentication status: authen
  Downloaded User profile, excluding services:
    Framed-Protocol      1 [PPP]
    username             "PPP_USER"
  Downloaded User profile, including services:
    Framed-Protocol      1 [PPP]
    username             "PPP_USER"
  Config history for session (recent to oldest):
    Access-type: PPP Client: SM
     Policy event: Process Config Connecting
      Profile name: apply-config-only, 2 references 
        Framed-Protocol      1 [PPP]
        username             "PPP_USER"
  Rules, actions and conditions executed:
    subscriber rule-map PPPoE-SUB
      condition always event session-start
        1 service local
Configuration sources associated with this session:
Interface: Virtual-Template1, Active Time = 00:19:04
Router-DJ4# sh pppoe session packets 
Total PPPoE sessions 1
SID     Pkts-In         Pkts-Out        Bytes-In        Bytes-Out
42      12              13              184             190       
Router-DJ4#
Router-DJ4#sh cef int gig 9/5.1
GigabitEthernet9/5.1 is up (if_number 80)
  Corresponding hwidb fast_if_number 80
  Corresponding hwidb firstsw->if_number 25
  Internet address is 192.0.0.1/24
  ICMP redirects are always sent
  IP unicast RPF check is disabled
  Output features: MFIB Adjacency, HW Shortcut Installation
  IP policy routing is disabled
  BGP based policy accounting on input is disabled
  BGP based policy accounting on output is disabled
  Hardware idb is GigabitEthernet9/5
  Fast switching type 28, interface type 146
  IP CEF switching enabled
  IP CEF switching turbo vector
  IP Null turbo vector
  IP prefix lookup IPv4 mtrie generic
  Input fast flags 0x40000000, Output fast flags 0x0
  ifindex 24(24)
  Slot 9/0 (9) Slot unit 5 VC -1
  IP MTU 1500

Use the following commands to configure IP session:

aaa new-model
!
aaa session-id common
!
interface GigabitEthernet2/9
 no ip address
 load-interval 30
!
interface GigabitEthernet2/9.1 access
 encapsulation dot1Q 2 second-dot1q 2
 ip address 182.0.0.1 255.255.255.0
 ip subscriber routed
  initiator unclassified ip-address
!
interface GigabitEthernet2/10
 no ip address
 load-interval 30
!
interface GigabitEthernet2/10.1
 encapsulation dot1Q 2000 second-dot1q 2001
 ip address 180.0.0.1 255.255.255.0
!
no ip http server
no ip http secure-server
!         
arp 182.0.0.2 aa00.0000.0001 ARPA
arp 180.0.0.2 0000.0000.0001 ARPA
!

Use the following commands to debug IP session:

ISG_NMB#sh deb
CWAN iEdge RP:
  CWAN iEdge RP debug debugging is on
IP Subscriber:
  all IP subscriber debugs debugging is on
ISG_NMB#    
Nov 19 16:02:46.087 IST: IPSUB_DP: [Gi2/9.1:I:CEF:DFL:21.0.0.1] Packet triggers 
session initiation
Nov 19 16:02:46.087 IST: IPSUB_DP: [Gi2/9.1:I:CEF:DFL:21.0.0.1] Packet classified, 
results = 0x1
Nov 19 16:02:46.087 IST: IPSUB_DP: [uid:0] Insert new entry for mac 0000.1500.0001
Nov 19 16:02:46.087 IST: IPSUB_DP: [uid:0] Processing new in-band session request
Nov 19 16:02:46.087 IST: IPSUB_DP: [uid:0] Delete mac entry 0000.1500.0001
Nov 19 16:02:46.087 IST: IPSUB_DP: [uid:0] In-band session request event for session
Nov 19 16:02:46.087 IST: IPSUB_DP: [uid:0] Added upstream entry into the classifier
Nov 19 16:02:46.087 IST: IPSUB_DP: [uid:0] VRF = DFL, IP = 21.0.0.1, MASK = 
255.255.255.255
Nov 19 16:02:46.087 IST: IPSUB: Try to create a new session
Nov 19 16:02:46.087 IST: IPSUB: IPSUB: Check IP DHCP session recovery: 21.0.0.1 
Gi2/9.1 mac aa00.0000.0001
Nov 19 16:02:46.087 IST: IPSUB: IPSUB: No DHCP binding found
Nov 19 16:02:46.087 IST: IPSUB: [uid:0] IPSUB: Proceed to create the IP inband session
Nov 19 16:02:46.087 IST: IPSUB: [uid:0] Request to create a new session
Nov 19 16:02:46.087 IST: IPSUB: [uid:0] Session start event for session
Nov 19 16:02:46.087 IST: IPSUB: [uid:0] Event session start, state changed from idle 
to requesting
Nov 19 16:02:46.087 IST: IPSUB: HA[uid:32]: Session init-notification on Active
Nov 19 16:02:46.087 IST: IPSUB: HA[uid:32]: Allocated SHDB handle (0xF1000020)
Nov 19 16:02:46.087 IST: IPSUB: HA[uid:32]: Successfully initialized for HA
Nov 19 16:02:46.087 IST: IPSUB: [uid:32] AAA unique ID allocated
Nov 19 16:02:46.087 IST: IPSUB: [uid:32] Added session 21.0.0.1 to L3 session table
Nov 19 16:02:46.087 IST: IPSUB: [uid:32] Added session to session table with access 
session keys
Nov 19 16:02:46.087 IST: IPSUB: [uid:32] IP session(0x63000020) to be associated to 
Gi2/9.1
Nov 19 16:02:46.087 IST: IPSUB: [uid:32] Inserted IP session(0x63000020) to 
sessions-per-interface db with interface Gi2/9.1
Nov 19 16:02:46.087 IST: IPSUB_DP: [uid:0] Sent message to control plane for in-band 
session creation
Nov 19 16:02:46.087 IST: IPSUB_DP: [uid:0] Event inband-session, state changed from 
idle to intiated
Nov 19 16:02:46.091 IST: IPSUB: [uid:32] Recieved Message = connect local
Nov 19 16:02:46.091 IST: IPSUB: [uid:32] Connect Local event for session
Nov 19 16:02:46.091 IST: IPSUB: [uid:32] Event connect local, state changed from 
requesting to waiting
Nov 19 16:02:46.091 IST: IPSUB: [uid:32] Inside processing IPSIP info
Nov 19 16:02:46.091 IST: IPSUB-ROUTE: [uid:32] Checking whether routes to be 
inserted/removed
Nov 19 16:02:46.091 IST: IPSUB-ROUTE: [uid:32] Context not present, creating context
Nov 19 16:02:46.091 IST: IPSUB-ROUTE: [uid:32] Entered the sg subrte context alloc
Nov 19 16:02:46.091 IST: IPSUB-ROUTE: [uid:32] Returning the sg subrte context 
0x1348DD20
Nov 19 16:02:46.091 IST: IPSUB-ROUTE: [uid:32] Added Fib Prefix [DFL]: 
21.0.0.1/255.255.255.255
Nov 19 16:02:46.091 IST: IPSUB-ROUTE: [uid:32] Both IP addresses and VRF are same, no 
need to add route
Nov 19 16:02:46.091 IST: IPSUB: [uid:32] Keys not changed, seg needn't be updated
Nov 19 16:02:46.091 IST: IPSUB: [uid:32] Key list to be created to update SM
Nov 19 16:02:46.091 IST: IPSUB: [uid:32] Created key list to update SM
Nov 19 16:02:46.091 IST: IPSUB: [uid:32] Session Keys Available event for session
Nov 19 16:02:46.091 IST: IPSUB: [uid:32] Event session keys available, state changed 
from waiting to provisioning
Nov 19 16:02:46.091 IST: IPSUB: [uid:32] Access and service keys same, no need to add 
session with service keys
Nov 19 16:02:46.091 IST: IPSUB: [uid:32] Data plane prov successful event for session
Nov 19 16:02:46.091 IST: IPSUB: [uid:32] Event dataplane prov successful, state 
changed from provisioning to connected
Nov 19 16:02:46.091 IST: IPSUB: HA[uid:32]: Session up notification
Nov 19 16:02:46.091 IST: IPSUB: HA[uid:32]: Session ready to sync data (0xF1000020)
Nov 19 16:02:46.091 IST: IPSUB_DP: [uid:0] Setup event for session (session hdl 
3858759691)
Nov 19 16:02:46.091 IST: IPSUB_DP: [uid:32] Added downstream entry into the classifier
Nov 19 16:02:46.091 IST: IPSUB_DP: [uid:32] VRF = DFL, IP = 21.0.0.1, MASK = 
255.255.255.255
Nov 19 16:02:46.091 IST: IPSUB_DP: [uid:32] Session setup successful
Nov 19 16:02:46.091 IST: IPSUB_DP: [uid:32] Event setup-session, state changed from 
intiated to established
Nov 19 16:02:46.091 IST: IPSUB_DP: [uid:32] Activate event for session
Nov 19 16:02:46.091 IST: IPSUB_DP: [uid:32] Event activate-session, state changed from 
established to connected

Use the following commands to verify IP session:

ISG_NMB#sh ip sub
Displaying subscribers in the default service vrf:
Type        Subscriber Identifier    Display UID    Status
---------   ----------------------   ------------   ------
routed      21.0.0.1/32              [32]           up    
ISG_NMB#
ISG_NMB#sh sss sess
Current Subscriber Information: Total sessions 1
Uniq ID Interface    State         Service      Identifier           Up-time
32      IP           unauthen      Local Term   21.0.0.1             00:02:40
ISG_NMB#sh sss sess uid 32
Unique Session ID: 32
Identifier: 21.0.0.1
SIP subscriber access type(s): IP
Current SIP options: Req Fwding/Req Fwded
Session Up-time: 00:02:46, Last Changed: 00:02:46
Policy information:
  Authentication status: unauthen
Configuration sources associated with this session:
Interface: GigabitEthernet2/9.1, Active Time = 00:02:46
ISG_NMB#sh sss sess uid 32 de
ISG_NMB#sh sss sess uid 32 detailed 
Unique Session ID: 32
Identifier: 21.0.0.1
SIP subscriber access type(s): IP
Current SIP options: Req Fwding/Req Fwded
Session Up-time: 00:02:49, Last Changed: 00:02:49
Policy information:
  Context 133B22FC: Handle DF000020
  AAA_id 00000030: Flow_handle 0
  Authentication status: unauthen
Configuration sources associated with this session:
Interface: GigabitEthernet2/9.1, Active Time = 00:02:49
Following details is for a L2-connected DHCP session on Dot1Q interface:-
========================================================================

Use the following commands to configure L2-connected DHCP session:

aaa new-model
!
!
aaa session-id common
!
!
!
clock timezone IST 5
ip source-route
!
!
ip dhcp excluded-address 182.0.0.11 182.0.0.15
no ip dhcp ping packets
!
ip dhcp pool pool_global1
   network 182.0.0.0 255.255.255.240
   lease 0 0 3
   update arp
!
!
!
interface Loopback10
 ip address 182.0.0.11 255.255.255.255
!
!
interface GigabitEthernet2/9
 no ip address
 load-interval 30
!
interface GigabitEthernet2/9.1 access
 encapsulation dot1Q 2
 ip unnumbered Loopback10
 ip subscriber l2-connected
  initiator dhcp class-aware
!
interface GigabitEthernet2/10
 no ip address
 load-interval 30
!
interface GigabitEthernet2/10.1
 encapsulation dot1Q 2000
 ip address 180.0.0.1 255.255.255.0
!
!
no ip http server
no ip http secure-server
ip route 7.0.0.0 255.0.0.0 7.38.0.1
ip route 202.153.0.0 255.255.0.0 7.38.0.1
!
!

Use the following commands to debug L2-connected DHCP session:

ISG_NMB#sh deb
DHCP server packet debugging is on.
DHCP server event debugging is on.
IP Subscriber:
  IP subscriber events debugging is on
  IP subscriber errors debugging is on
  IP subscriber packets debugging is on
ISG_NMB#
Nov 19 15:40:33.595 IST: IPSUB_DP: [Gi2/9.1:I:PROC:aa00.1314.0001] Packet classified, 
results = 0x40
Nov 19 15:40:33.595 IST: IPSUB_DP: [Gi2/9.1:I:PROC:aa00.1314.0001] Rx driver allowing 
IP routing
Nov 19 15:40:33.595 IST: DHCPD: Reload workspace interface GigabitEthernet2/9.1 
tableid 0.
Nov 19 15:40:33.595 IST: DHCPD: tableid for 182.0.0.11 on GigabitEthernet2/9.1 is 0
Nov 19 15:40:33.595 IST: DHCPD: client's VPN is .
Nov 19 15:40:33.595 IST: DHCPD: Sending notification of DISCOVER:
Nov 19 15:40:33.595 IST:   DHCPD: htype 1 chaddr aa00.1314.0001
Nov 19 15:40:33.595 IST:   DHCPD: remote id 020a0000b600000b21010002
Nov 19 15:40:33.595 IST:   DHCPD: interface = GigabitEthernet2/9.1
Nov 19 15:40:33.595 IST:   DHCPD: class id 49786961
Nov 19 15:40:33.595 IST: IPSUB: Create session keys from SSS key list
Nov 19 15:40:33.595 IST: IPSUB: Mac_addr = aa00.1314.0001, Recvd Macaddr = 
aa00.1314.0001
Nov 19 15:40:33.599 IST: IPSUB: Session input interface(0x13348754) = 
GigabitEthernet2/9.1
Nov 19 15:40:33.599 IST: IPSUB: SHDB Handle = 5A00000B
Nov 19 15:40:33.599 IST: IPSUB: Remote_id = 020a0000b600000b21010002
Nov 19 15:40:33.599 IST: IPSUB: Vendor_Class_id = Ixia
Nov 19 15:40:33.599 IST: DHCPD: DHCPDISCOVER received from client 01aa.0013.1400.01 on 
interface GigabitEthernet2/9.1.
Nov 19 15:40:33.599 IST: DHCPD: Sending notification of DISCOVER:
Nov 19 15:40:33.599 IST:   DHCPD: htype 1 chaddr aa00.1314.0001
Nov 19 15:40:33.599 IST:   DHCPD: remote id 020a0000b600000b21010002
Nov 19 15:40:33.599 IST:   DHCPD: interface = GigabitEthernet2/9.1
Nov 19 15:40:33.599 IST:   DHCPD: class id 49786961
Nov 19 15:40:33.599 IST: DHCPD: Saving workspace (ID=0x8900000B)
Nov 19 15:40:33.599 IST: DHCPD: New packet workspace 0x1333D0D8 (ID=0x2700000C)
Nov 19 15:40:33.599 IST: IPSUB: Try to create a new session
Nov 19 15:40:33.599 IST: IPSUB: [uid:0] Request to create a new session
Nov 19 15:40:33.599 IST: IPSUB: [uid:0] Session start event for session
Nov 19 15:40:33.599 IST: IPSUB: [uid:11] AAA unique ID allocated
Nov 19 15:40:33.599 IST: IPSUB: [uid:11] Added session aa00.1314.0001 to L2 session 
table
Nov 19 15:40:33.599 IST: IPSUB: [uid:11] Added session to session table with access 
session keys
Nov 19 15:40:33.599 IST: IPSUB: [uid:11] IP session(0xC500000B) to be associated to 
Gi2/9.1
Nov 19 15:40:33.599 IST: IPSUB: [uid:11] Inserted IP session(0xC500000B) to 
sessions-per-interface db with interface Gi2/9.1
Nov 19 15:40:33.599 IST: DHCPD: Callback for workspace (ID=0x8900000B)
Nov 19 15:40:33.599 IST: DHCPD: No authentication required. Continue
Nov 19 15:40:33.599 IST: DHCPD: Callback: class '' now specified for client 
01aa.0013.1400.01
Nov 19 15:40:33.599 IST: DHCPD: Reprocessing saved workspace (ID=0x8900000B)
Nov 19 15:40:33.599 IST: DHCPD: Reload workspace interface GigabitEthernet2/9.1 
tableid 0.
Nov 19 15:40:33.599 IST: DHCPD: tableid for 182.0.0.11 on GigabitEthernet2/9.1 is 0
Nov 19 15:40:33.599 IST: DHCPD: client's VPN is .
Nov 19 15:40:33.599 IST: DHCPD: Sending notification of DISCOVER:
Nov 19 15:40:33.599 IST:   DHCPD: htype 1 chaddr aa00.1314.0001
Nov 19 15:40:33.599 IST:   DHCPD: remote id 020a0000b600000b21010002
Nov 19 15:40:33.599 IST:   DHCPD: interface = GigabitEthernet2/9.1
Nov 19 15:40:33.599 IST:   DHCPD: class id 49786961
Nov 19 15:40:33.599 IST: DHCPD: DHCPDISCOVER received from client 01aa.0013.1400.01 on 
interface GigabitEthernet2/9.1.
Nov 19 15:40:33.599 IST: DHCPD: Adding binding to radix tree (182.0.0.1)
Nov 19 15:40:33.599 IST: DHCPD: Adding binding to hash tree
Nov 19 15:40:33.599 IST: DHCPD: assigned IP address 182.0.0.1 to client 
01aa.0013.1400.01. (13 1)
Nov 19 15:40:33.599 IST: DHCPD: DHCPOFFER notify setup address 182.0.0.1 mask 
255.255.255.240
Nov 19 15:40:33.599 IST: IPSUB: [uid:11] IP session context 0x133D28C8 available to 
authorize
Nov 19 15:40:33.599 IST: IPSUB-VRFSET: [uid:11] Entered allocate feature info
Nov 19 15:40:33.599 IST: IPSUB-VRFSET: [uid:11] Allocated sg vrfset info 0x13488EE0
Nov 19 15:40:33.599 IST: IPSUB-VRFSET: [uid:11] Freeing the sg vrfset info 0x13488EE0
Nov 19 15:40:33.599 IST: IPSUB: [uid:11] IPSIP Parsing HostIP: 182.0.0.1 SubnetMask= 
255.255.255.255
Nov 19 15:40:33.599 IST: IPSUB: [uid:11] Recieved Message = connect local
Nov 19 15:40:33.599 IST: IPSUB: [uid:11] Connect Local event for session
Nov 19 15:40:33.599 IST: IPSUB: [uid:11] Inside processing IPSIP info
Nov 19 15:40:33.599 IST: IPSUB: [uid:11] Processing IPSIP info: 0x1330208C (APPLY)
Nov 19 15:40:33.599 IST: IPSUB: [uid:11] Got IP address- IP:-182.0.0.1
Nov 19 15:40:33.599 IST: IPSUB: [uid:11] Set IP address- IP:-182.0.0.1
Nov 19 15:40:33.599 IST: IPSUB-VRFSET: [uid:11] Applying SG VRFSET info
Nov 19 15:40:33.599 IST: IPSUB-VRFSET: [uid:11] DHCP Initiated session, no config, 
ignore
Nov 19 15:40:33.599 IST: IPSUB-ROUTE: [uid:11] Checking whether routes to be 
inserted/removed
Nov 19 15:40:33.599 IST: IPSUB-ROUTE: [uid:11] Context not present, creating context
Nov 19 15:40:33.599 IST: IPSUB-ROUTE: [uid:11] Entered the sg subrte context alloc
Nov 19 15:40:33.599 IST: IPSUB-ROUTE: [uid:11] Returning the sg subrte context 
0x1348DD04
Nov 19 15:40:33.599 IST: IPSUB-ROUTE: [uid:11] Installed ARP entry [DFL]: 182.0.0.1
Nov 19 15:40:33.599 IST: IPSUB-ROUTE: [uid:11] Added Fib Prefix [DFL]: 
182.0.0.1/255.255.255.255
Nov 19 15:40:33.599 IST: IPSUB-ROUTE: [uid:11] Route insert not required for DHCP 
hosts with IP unnumbered config on: GigabitEthernet2/9.1 
Nov 19 15:40:33.599 IST: IPSUB-ROUTE: [uid:11] Both IP addresses and VRF are same, no 
need to add route
Nov 19 15:40:33.599 IST: IPSUB: [uid:11] Found that seg to be updated with new session 
keys
Nov 19 15:40:33.599 IST: IPSUB: [uid:11] Key list to be created to update SM
Nov 19 15:40:33.599 IST: IPSUB: [uid:11]   Update IP-Address-VRF key: 182.0.0.1:0
Nov 19 15:40:33.599 IST: IPSUB: [uid:11] Created key list to update SM
Nov 19 15:40:33.599 IST: IPSUB: [uid:11] Found address change to be notified
Nov 19 15:40:33.599 IST: IPSUB: [uid:11] Session Keys Available event for session
Nov 19 15:40:33.603 IST: IPSUB: [uid:11] Added session 182.0.0.1 to L3 session table
Nov 19 15:40:33.603 IST: IPSUB: [uid:11] Added session to session table with service 
session keys
Nov 19 15:40:33.603 IST: IPSUB: [uid:11] Recieved Message = update SIP config
Nov 19 15:40:33.603 IST: IPSUB: [uid:11] Config Update event for session
Nov 19 15:40:33.603 IST: IPSUB: [uid:11] Inside processing IPSIP info
Nov 19 15:40:33.603 IST: IPSUB-ROUTE: [uid:11] Checking whether routes to be 
inserted/removed
Nov 19 15:40:33.603 IST: IPSUB-ROUTE: [uid:11] Ctx present, No config change, Nothing 
to be done
Nov 19 15:40:33.603 IST: IPSUB-ROUTE: [uid:11] Both IP addresses and VRF are same, no 
need to add route
Nov 19 15:40:33.603 IST: IPSUB: [uid:11] Keys not changed, seg needn't be updated
Nov 19 15:40:33.603 IST: IPSUB: [uid:11] Key list to be created to update SM
Nov 19 15:40:33.603 IST: IPSUB: [uid:11] Created key list to update SM
Nov 19 15:40:33.603 IST: IPSUB: [uid:11] Data plane prov successful event for session
Nov 19 15:40:33.603 IST: IPSUB: [uid:11] Notifying about address change: 182.0.0.1
Nov 19 15:40:33.603 IST: DHCPD: Callback for workspace (ID=0x8900000B)
Nov 19 15:40:33.603 IST: DHCPD: Callback: switching path now setup for client 
01aa.0013.1400.01
Nov 19 15:40:33.603 IST: DHCPD: Reprocessing saved workspace (ID=0x8900000B)
Nov 19 15:40:33.603 IST: DHCPD: Sending notification of DISCOVER:
Nov 19 15:40:33.603 IST:   DHCPD: htype 1 chaddr aa00.1314.0001
Nov 19 15:40:33.603 IST:   DHCPD: remote id 020a0000b600000b21010002
Nov 19 15:40:33.603 IST:   DHCPD: interface = GigabitEthernet2/9.1
Nov 19 15:40:33.603 IST:   DHCPD: class id 49786961
Nov 19 15:40:33.603 IST: DHCPD: DHCPDISCOVER received from client 01aa.0013.1400.01 on 
interface GigabitEthernet2/9.1.
Nov 19 15:40:33.603 IST: DHCPD: Found previous server binding
Nov 19 15:40:33.603 IST: DHCPD: Sending DHCPOFFER to client 01aa.0013.1400.01 
(182.0.0.1).
Nov 19 15:40:33.603 IST: DHCPD: ARP entry exists (182.0.0.1, aa00.1314.0001).
Nov 19 15:40:33.603 IST: DHCPD: unicasting BOOTREPLY to client aa00.1314.0001 
(182.0.0.1).
Nov 19 15:40:33.603 IST: DHCPD: unicast BOOTREPLY output i/f override 
GigabitEthernet2/9.1
Nov 19 15:40:33.603 IST: IPSUB_DP: [Gi2/9.1:O:PROC:DFL:182.0.0.1] Packet classified, 
results = 0x0
Nov 19 15:40:33.603 IST: DHCPD: removing ARP entry (182.0.0.1 vrf default).
Nov 19 15:40:33.603 IST: DHCPD: Freeing saved workspace (ID=0x8900000B)
Nov 19 15:40:33.603 IST: IPSUB_DP: [uid:0] Setup event for session (session hdl 0)
Nov 19 15:40:33.603 IST: IPSUB_DP: [uid:0] Insert new entry for mac aa00.1314.0001
Nov 19 15:40:33.603 IST: IPSUB_DP: [uid:11] Added upstream entry into the classifier
Nov 19 15:40:33.603 IST: IPSUB_DP: [uid:11] MAC = aa00.1314.0001
Nov 19 15:40:33.603 IST: IPSUB_DP: [uid:11] Added downstream entry into the classifier
Nov 19 15:40:33.603 IST: IPSUB_DP: [uid:11] VRF = DFL, IP = 182.0.0.1, MASK = 
255.255.255.255
Nov 19 15:40:33.603 IST: IPSUB_DP: [uid:11] Session setup successful
Nov 19 15:40:33.603 IST: IPSUB_DP: [uid:11] Sent update msg to the control plane
Nov 19 15:40:33.603 IST: IPSUB_DP: [uid:11] Activate event for session
Nov 19 15:40:33.603 IST: IPSUB: [uid:11] Data plane prov successful event for session
Nov 19 15:40:33.603 IST: IPSUB_DP: [uid:0] Found mac entry aa00.1314.0001
Nov 19 15:40:33.603 IST: IPSUB_DP: [Gi2/9.1:I:PROC:aa00.1314.0001] Packet classified, 
results = 0x40
Nov 19 15:40:33.603 IST: IPSUB_DP: [Gi2/9.1:I:PROC:aa00.1314.0001] Rx driver allowing 
IP routing
Nov 19 15:40:33.603 IST: DHCPD: input i/f override GigabitEthernet2/9.1 for client
Nov 19 15:40:33.603 IST: DHCPD: Reload workspace interface GigabitEthernet2/9.1 
tableid 0.
Nov 19 15:40:33.603 IST: DHCPD: tableid for 182.0.0.11 on GigabitEthernet2/9.1 is 0
Nov 19 15:40:33.603 IST: DHCPD: client's VPN is .
Nov 19 15:40:33.603 IST: DHCPD: DHCPREQUEST received from client 01aa.0013.1400.01.
Nov 19 15:40:33.603 IST: DHCPD: Sending notification of ASSIGNMENT:
Nov 19 15:40:33.603 IST:  DHCPD: address 182.0.0.1 mask 255.255.255.240
Nov 19 15:40:33.603 IST:   DHCPD: htype 1 chaddr aa00.1314.0001
Nov 19 15:40:33.603 IST:   DHCPD: lease time remaining (secs) = 180
Nov 19 15:40:33.603 IST:   DHCPD: interface = GigabitEthernet2/9.1
Nov 19 15:40:33.603 IST: DHCPD: Sending DHCPACK to client 01aa.0013.1400.01 
(182.0.0.1).
Nov 19 15:40:33.603 IST:  DHCPD: lease time = 180
Nov 19 15:40:33.603 IST: DHCPD: dhcpd_lookup_route: host = 182.0.0.1
Nov 19 15:40:33.603 IST: DHCPD: dhcpd_lookup_route: index = 183
Nov 19 15:40:33.603 IST: DHCPD: dhcpd_create_and_hash_route: host = 182.0.0.1
Nov 19 15:40:33.603 IST: DHCPD: dhcpd_create_and_hash_route index = 183
Nov 19 15:40:33.603 IST: DHCPD: dhcpd_add_route: lease = 180 
Nov 19 15:40:33.607 IST: DHCPD: ARP entry exists (182.0.0.1, aa00.1314.0001).
Nov 19 15:40:33.607 IST: DHCPD: Changing arp entry 182.0.0.1 to secure arp entry
Nov 19 15:40:33.607 IST: DHCPD: Failed to secure arp entry 182.0.0.1
Nov 19 15:40:33.607 IST: DHCPD: unicasting BOOTREPLY to client aa00.1314.0001 
(182.0.0.1).
Nov 19 15:40:33.607 IST: DHCPD: unicast BOOTREPLY output i/f override 
GigabitEthernet2/9.1
Nov 19 15:40:33.607 IST: IPSUB_DP: [Gi2/9.1:O:PROC:DFL:182.0.0.1] Packet classified, 
results = 0x10

Use the following commands to verify L2-connected DHCP session:

ISG_NMB#sh ip dhcp binding 
Bindings from all pools not associated with VRF:
IP address          Client-ID/              Lease expiration        Type
                    Hardware address/
                    User name
182.0.0.1           01aa.0013.1400.01       Nov 19 2009 03:45 PM    Automatic
ISG_NMB#sh sss session 
Current Subscriber Information: Total sessions 1
Uniq ID Interface    State         Service      Identifier           Up-time
11      IP           unauthen      Local Term   aa00.1314.0001       00:00:58
ISG_NMB#sh sss session uid 11
Unique Session ID: 11
Identifier: aa00.1314.0001
SIP subscriber access type(s): IP
Current SIP options: Req Fwding/Req Fwded
Session Up-time: 00:01:04, Last Changed: 00:01:04
Policy information:
  Authentication status: unauthen
Configuration sources associated with this session:
Interface: GigabitEthernet2/9.1, Active Time = 00:01:04
ISG_NMB#sh sss session uid 11 de
Unique Session ID: 11
Identifier: aa00.1314.0001
SIP subscriber access type(s): IP
Current SIP options: Req Fwding/Req Fwded
Session Up-time: 00:01:07, Last Changed: 00:01:07
Policy information:
  Context 133B2154: Handle 9000000B
  AAA_id 00000017: Flow_handle 0
  Authentication status: unauthen
Configuration sources associated with this session:
Interface: GigabitEthernet2/9.1, Active Time = 00:01:07

Troubleshooting

The following troubleshooting scenarios are applicable to the broadband technology area:

Problem
Solution

When a subinterface is configured for IP sessions and the ISG policy map has been configured to perform some actions, the IP session does not come up.

Use the show and debug commands to confirm if the ISG policymap configuration is correct.

A subinterface is configured for IP sessions - initiator DHCP. ISG policymap applied on subinterface is for Transparent Autologon (TAL). The user profile downloaded has the classname pointing to DHCP pool and the session is not initiated.

Check if the DHCP pool referred by the downloaded classname in the user profile is not in the same subnet as the subinterface loopback interface. If yes, correct the subnet value to re-initiate the session.

10 ports on twov2 SPAs are connected to traffic generator on access side. One 10 Gigabyte port (6704 card) is connected to the TGEN on the core side.Traffic for triple play (video, voice and data) is being sent on egress. The line card is heavily oversubscribed - voice : 400 Mbps, Video : 3 Gbps, Data : 5 Gbps. Despite video and voice being classified as priority, video traffic drops while data traffic is stable.

Mark the preceding values in video class of service to 6 or 7.

An IP session is enabled on a subinterface where the DHCP initiator is configured in a routed mode.Traffic in the upstream and downstream directions is enabled. The traffic generator indicates that traffic is not received and is dropped by router and the traffic generator on the access side does not respond to the Address Resolution Protocol (ARP).

Check the adjacencies and use the ARP to locate the problem.

A subinterface is configured for an IP session and an ISG policymap configured with police, default-drop actions is applied. Once the session is enabled, it is automatically disabled within a few seconds.

The ISG policymap actions force the session to authenticate and disconnect after 5 seconds if authentication fails as radius server does not authenticate the session. Use the test aaa command to check if the radius authenticates the sesssions.

IP session is disabled before the specific time

Use the show ip subscriber command with the dangling keyword to display dangling sessions. The seconds argument allows you to specify how long the session has to remain unestablished before it is considered dangling.

Issues with trace subscriber sessions, errors, events, session state changes, and session packets in the ISG IP subsriber sessions.

To enable ISG IP subscriber session debugging, use the debug ip subscriber command in privileged EXEC mode.

If a policy-map is applied on the sub-interface and a QoS session is enabled, the session is initiated, but QoS is not installed on it.

Apply the QoS policy-map either on the session or on the sub-interface, but not on both at the same time.


Problem

Solution

When you set classification and marking on an ISG subscriber session, an error is displayed when the session is initiated.

Check if you have configured the CoS inner and ACL combination. If yes, unconfigure and reconfigure them separately.

Class SSS: (QoS) - install error is displayed.

The error could be a problem with the QoS installation on the session due to:

Invalid QoS policymap

QoS session is already applied on the subinterface.

If both these checks are negative, contact TAC.

Multiple issues with Control Plane Policing installation and rate limiting.

Use the show platform copp rate-limit <arp|dhcp|all> exec-mode command to display the list of interfaces on which a rate limiter is active for the given protocol(s) (either for a single protocol , or for all protocols) along with the count of conformed or exceeded packets for the rate limiter. Remaining observation period is displayed on rate limiter enabled interfaces.

Packets are not limited by rates

Ensure that the interface is enabled and check for these conditions:

Check the class-map and ensure that it has the right protocol and keyword access.

Check the policy-map and ensure that it has the right class-map.

Check if the conform-action is set to transmit to avoid rate-limited packet drops.

Ensure that the service-policy is applied on all the access subinterfaces.

Use the show platform copp rate-limit <protocol-name> command to check if the policers are configured in the protocol and rate value is configured within the policy map.


Per Subscriber Session Call Admission Control (CAC)

In broadband networks, ISG might receive a large number of incoming requests during peak hours. Each session that attempts to establish a connection on the ISG consumes a considerable amount of CPU and memory resources of the ISG. External resources, such as a remote authentication dial in user service (RADIUS) might not be able to handle all the requests that ISG generates. Accepting too many calls might make the router inefficient in its operation, overloading its own CPU, and also RADIUS. Per subscriber session CAC is a function that protects the router and external peripherals from getting overloaded by limiting the number of incoming calls based on CPU and session charges that a router can establish.

The route processor (RP) in the ISG checks CPU utilization and session charges to determine if a call should be accepted or rejected as follows:

CPU utilization—The RP uses the 5-second average system variable that provides a cumulative average of the CPU usage percentage over a period of one minute to determine the average CPU usage percentage allowed on the system and compares that to the current CPU load. The CAC accepts the call only if the current CPU load is below the system variable limit, else rejects the call.

Session charges—The RP compares the existing outstanding session charges to a user-configurable system variable. The CAC accepts the call and adds the session charges only if the session charges are below the system variable limit, else CAC rejects the call.

Restrictions and Guidelines

The restrictions and guidelines for per subscriber session CAC is given as follows:

CAC is supported on PPPoE and IP sessions. For PPPoE sessions, both CPU and session charge based CAC is available. On IP sessions, only CPU based CAC is supported.

DHCP sessions are not supported for CAC.

Implementing CAC

The CAC implementation impacts two queues - the First Sign of Life (FSOL) queue and the FSOL control queue. The default values for the FSOL queue and FSOL control queue are given in Table 4-43.

Whenever the CAC starts, the configured queue values for the actual FSOL and FSOL control queues are saved and the default values in Table 4-43 are installed on the line card. Whenever the CAC is stopped, the configured values (the values that are saved when the CAC is started) are restored. You can use the hw-module slot slot_num rate-limit fsol_rate rate command to configure the queue values. If you execute the command and configure the queue values while CAC is on, the new values overwrite the existing queue values that are saved and when the CAC is stopped, the new values are installed.

The CAC is implemented at the queue level even though the configuration accepts rate limit. The configuration changes are applied on a per network processor (NP) basis.

Table 4-43 Default Values for the FSOL Queues

Queue Name
Queue Depth
Shape Rate in bps
CAC Status

Actual FSOL

100

40000

Off

FSOL control

900

360000

Off

Actual FSOL

100

4000

On

FSOL control

900

36000

On


Configuring Per Subscriber Session CAC

To configure per subscriber session CAC, perform these steps:

Summary Steps

1. enable

2. configure terminal

3. call admission new-model

4. call admission cpu-limit limit

or

5. call admission limit charge

6. call admission type charge lifetime

7. end

Detailed Steps

 
Command
Purpose

Step 1 

enable

Example:
Router> enable 

Enables privileged EXEC mode. Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

call admission new-model

Example:

Router(config)# call admission new-model

Enables the new model of CAC.

Step 4 

call admission cpu-limit limit

Example:

Router(config)# call admission cpu-limit 90

Configures CAC based on CPU utilization.

limit- The maximum CPU threshold at which CAC rejects calls, expressed as a percentage of the CPU load. Valid range is from 0 to 100 percent.

Note Ensure that you do not set the CPU threshold value too low. The recommended value is between 80 to 90 percent.

 

or

Step 5 

call admission limit charge

Example:

Router(config)# call admission lim- it 90

Configures CAC based on the session charge by specifying the maximum value of the total outstanding session charges to start CAC and reject calls.

charge- The the maximum value of the outstanding session charges. Valid values are from 0 to 100,000.

Step 6 

call admission type charge lifetime

Example:

Router(config)# call admission pp- poe 10 1

Specifies the call charge to add per session.

type - Specifies the type of session charge profile.

charge - Specifies the per-session charge. Valid values are from 0 to 1000. The recommended value is 10.

lifetime- Specifies the session lifetime. Valid values are from 1 to 31. The recommended value is 1.

Step 7 

end

Exits the global configuration mode.

Configuration Example

The following example configures a charge of 10 per session and a call admission limit of 50, which allows calls at a rate of 5 calls per second:

Router# enable
Router# configure terminal
Router(config)# call admission new-model
Router(config)# call admission limit 50
Router(config)# call admission pppoe 10 1
Router# end

Verifying and Monitoring Per Subscriber Session CAC

To verify and monitor per subscriber session CAC, use either of these commands in privileged EXEC mode:

Command
Purpose

show call admission statistics

Displays statistical information about CAC operation and whether the new CAC model is enabled or not.

show platform isg fsol-queue-statistics

Displays the number of packets dropped in a line card for a specific queue. This command is available only on ES+ line cards.


Configuring Private Host on Pseudoport on CWAN Cards

The Private Hosts feature allows automatic insertion of router Switched Virtual Interface (SVI) MAC into the Private Hosts configuration. Private Hosts track the Layer 2 port that a server is connected to and limits undesired traffic through the MAC-layer ACLs. Hosts can carry multiple traffic types through the trunk port, remain isolated from each other, and still communicate to a common server. For more information on this feature and on Private Hosts, see Cisco 7600 Series Cisco IOS Software Configuration Guide, 15.0SR at http://www.cisco.com/en/US/docs/routers/7600/ios/15S/configuration/guide/pacl.html

Configuring Unidirectional Link Detection (UDLD) on Ports with EVCs

UDLD (Unidirectional Link Detection) is a Layer 2 protocol that interacts with a Layer 1 protocol to determine the physical status of a link. At Layer 1, physical signaling and fault detection is auto-negotiated. UDLD detects the neighbor link, identifies, and disables the wrongly connected LAN ports. When you enable auto-negotiation and UDLD, Layer 1 and Layer 2 detections prevent physical and logical unidirectional connections, and malfunctioning of other protocols.

A unidirectional link occurs when the neighbor link receives the traffic transmitted by the local device, but the local device does not receive the transmitted traffic from its neighbor. If auto-negotiation is active, and one of the fiber strands in a pair is disconnected, the link is disabled. The logical link is undetermined, and UDLD does not take any action. At Layer 1, if both fibers are normal, UDLD at Layer 2 determines if the fibers are accurately connected, and traffic is relayed bidirectionally between the right neighbors. In this scenario, auto-negotiation operates in Layer 1, and the link status is unchecked.

The UDLD protocol monitors physical configuration of the cables, and detects unidirectional links of devices connected to LAN ports via Ethernet cables. When a unidirectional link is detected, UDLD disables the affected LAN port, and alerts the user.

The Cisco 7600 series router periodically transmits UDLD packets to neighboring devices on LAN ports with UDLD. If the packets are returned within a specific time frame, and there is no acknowledgement, the link is flagged as unidirectional, and the LAN port is disabled.

Restrictions and Usage Guidelines

Follow these restrictions and usage guidelines while configuring UDLD on ports with EVCs:

You can configure UDLD only on a port.

To identify and disable the unidirectional links, devices at both ends must support UDLD.

Service bridge domain should be available on the router.

Any of the supported EVC encapsulation can be configured.

Cisco IOS Release 15.1(1)S supports EVC port-channels.


Note If UDLD is enabled on an EVC port with service type connect or xconnect and encapsulation type default or untagged, the port is disabled.


For more information on UDLD, see the Cisco 7600 Series Cisco IOS Software Configuration Guide, 12.2SR at the following URL:

http://www.cisco.com/en/US/docs/routers/7600/ios/12.2SR/configuration/guide/udld.html

Configuring UDLD Aggressive Mode

As UDLD aggressive mode is disabled by default, you can configure UDLD aggressive mode in point-to-point links between network devices that support UDLD aggressive mode.

When UDLD aggressive mode is enabled:

A port on a bidirectional link with UDLD neighbor relationship does not receive UDLD packets.

UDLD tries to reestablish the connection with the neighbor.

After eight failed retries, the port is disabled.

To prevent spanning tree loops, ensure that you set the non aggressive UDLD value interval to 15 seconds. This disables the unidirectional link before blocking the port transitions in the forwarding state (with default spanning tree parameters).

The benefits of enabling UDLD aggressive mode are:

Port on one side of a link is disabled (both Tx and Rx).

One side of a link is enabled even if the other side of the link fails.

In the above scenario, UDLD aggressive mode disables the port that prevents traffic from being discarded.

If UDLD...
Then the...

Detects a unidirectional link,

interface with its EVCs are disabled.

Is enabled on a port with an EVC bridge-domain, and encapsulation value set to default or untagged,

selected EVC is not shut down, and prevents the port from being disabled.


Enabling UDLD on Ports With EVC Configured

SUMMARY STEPS

1. enable

2. configure terminal

3. {udld | no udld} enable aggressive

4. exit

DETAILED STEPS

 
Command
Purpose

Step 1 

enable
Example:
Router# enable

Enables privileged EXEC mode. Enter your password if prompted.

Step 2 

configure terminal
Example:
Router# configure terminal

Enters global configuration mode.

Step 3 

{udld | no udld} enable aggressive

Example:

Router# udld enable aggressive

Enables the UDLD aggressive mode.

Step 4 

exit

Exits configuration mode.

SUMMARY STEPS

1. interface type/ slot/ port

2. {udld port | no udld port } aggressive

3. show udld type/ slot/ port

4. exit

DETAILED STEPS

 
Command
Purpose

Step 1 

interface type/ slot/ port

Example:
Router(config)# gigethernet 1/0/0 

Selects the LAN port to configure.

Step 2 

{udld port | no udld port } aggressive

Example:

Router(config-if)# udld port aggressive

Router(config-if)# no udld port aggressive

Enables a UDLD on a specific LAN port. Enter the aggressive keyword to enable aggressive mode. On a fiber-optic LAN port, this command overrides the udld enable global configuration command.

Or

Disables a UDLD on a non- fiber-optic LAN port.

Step 3 

show udld type/ slot/ port

Example:

Router# show udld 1/0/0

Verifies the configuration.

Step 4 

exit

Exits the configuration mode.

Disabling Individual UDLD on Ports With EVC Configured

SUMMARY STEPS

1. interface type/ slot/ port

2. {udld port | no udld port } disable

3. show udld type/ slot/ port

4. exit

DETAILED STEPS

 
Command
Purpose

Step 1 

interface type/ slot/ port}

Example:
Router(config)# gigethernet 1/0/0 

Selects the LAN port to configure.

Step 2 

{udld port | no udld port } disable

Example:

Router(config-if)# udld port disable

Router(config-if)# no udld port disable

Disables a UDLD on the LAN port.

Or

Reverts to the udld enable global configuration command setting.


Note This command is supported only on fiber-optic LAN ports.


Step 3 

show udld type/ slot/ port

Example:

Router# show udld 1/0/0

Verifies the configuration.

Step 4 

exit

Exits the configuration mode.

Resetting Disabled UDLD on Ports With EVC Configured

SUMMARY STEPS

1. udld reset

DETAILED STEPS

 
Command
Purpose

Step 1 

udld reset

Example:
Router# udld reset

Resets all the LAN ports disabled by UDLD.

Example

This example displays the global configuration values at router 1:

Router(config)#udld enable

This example displays the ESM20 port at router 1:

Router(config)# inter gi 2/0/1
Router(config-if)# udld port aggressive 
Router(config-if)# service instance 1 ethernet
Router(config-if-srv)# encapsulation dot1q 100 
Router(config-if-srv)# rewrite ingess tag translate 1-to2 dot1q 5 second-dot1q 5 symmetric
Router(config-if-srv)# bridge-domain 100
This example displays the configuration for a port that is part of a port channel: 
Router(config)#interface Port-channel1
Router(config-if)#no ip address
Router(config-if)#service instance 1 ethernet
Router(config-if)#encapsulation untagged
Router(config-if)#bridge-domain 100
Router(config)#interface GigabitEthernet3/0/13
Router(config-if)#ip arp inspection limit none
Router(config-if)#no ip address
Router(config-if)#udld port aggressive
Router(config-if)#no mls qos trust
Router(config-if)#channel-group 1 mode on

Verification

Use the show udld and show udld interface commands to verify the UDLD configuration:

Router(config)show udld gi 3/0/13 
Interface Gi1/3
---Port enable administrative configuration setting: Enabled / in aggressive mode
Port enable operational state: Enabled / in aggressive mode
Current bidirectional state: Bidirectional
Current operational state: Advertisement - Single neighbor detected
Message interval: 15
Time out interval: 5
Entry 1
    ---
    Expiration time: 37
    Cache Device index: 1
    Current neighbor state: Bidirectional
    Device ID: 011932118C0  
    Port ID: Gi1/1  
    Neighbor echo 1 device: 0FF71CA880
    Neighbor echo 1 port: Gi1/3
    Message interval: 15
    Time out interval: 5
    CDP Device name: rish2 

Dynamic Ethernet Service Activation

Dynamic Ethernet Service Activation (DESA) is an integration of Ethernet Virtual Connection (EVC) and Intelligent Service Gateway (ISG) to automate the provisioning of Layer 2 services in carrier ethernet networks. Effective from Cisco IOS release 15.1(2)S, ethernet accounting and dynamic Layer 2 session provisioning functions of the DESA are supported.

Ethernet accounting exposes the ethernet traffic to billing systems through accounting interfaces and policies. Using ethernet accounting, service providers can track the usage of the services, create usage based or prepaid service profiles, and provide a traceable accountability for SLA enforcement.

Dynamic Layer 2 provisioning reduces the operating expenses for service providers by easing the provisioning process and also allows them to play an active role in defining their services. Dynamic Layer 2 provisioning exposes the creation of Layer 2 services to the Authentication Authorization and Accounting (AAA) subsystem to enable centralized service policy initiation and customizes service profiles. After receiving the First Sign of Life (FSOL) frames, the creation and provisioning of Layer 2 customer interfaces is automated after proper authentication and authorization.

Restrictions and Usage Guidelines

Follow these restrictions and guidelines for configuring DESA:

DESA is supported only on ES+ line cards and RSP 720.

Traffic classes are not supported.

Ethernet accounting is limited by the network resources available on the line card.


Note Use the hw-module slot slot_num rate-limit fsol_rate rate command to configure the FSOL rate on ES+ line cards. The default FSOL rate is 40000 bps. Both broadband and EFP FSOLs use the same FSOL queue, hence FSOL rate limiter rate limits the total number of FSOLs it receives from both EFP and broadband.


Configuring Dynamic Ethernet Service Activation Support on C7600

The configuration steps for DESA vary depending on whether you are creating a dynamic ethernet session or static ethernet session.

Configuring DESA for a Dynamic Ethernet Session

Complete these steps to configure DESA for a dynamic ethernet session.

Summary Steps

1. enable

2. configure terminal

3. policy-map type control policy-map-name

4. class type control always event session-start

5. action-number authorize identifier identifier-type [plus identifier-type]

6. interface gigabit ethernet slot/port

or

interface tengigabit ethernet slot/port

7. service instance dynamic id ethernet

8. encapsulation dot1q vlan-id second-dot1q vlan-id-range

9. ethernet subscriber [session {watermark| maximum} limit number]

10. initiator {unclassified vlan}

11. service-policy type control policy-map-name

12. end

Detailed Steps

 
Command
Purpose

Step 1 

enable

Router> enable 

Enables privileged EXEC mode. If prompted, enter your password.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

policy-map type control policy-map-name

Example:

Router(config)# policy-map type control policy1

Creates or modifies a control policy map, which is used to define a control policy.

Step 4 

class type control always event session-start

Example:

Router(config-control-policy-map)#cl ass type control always event session-start

Specifies a control class, which defines the conditions that must be met in order for an associated set of actions to be executed.

Step 5 

action-number authorize identifier identifier-type [plus identifier-type]

Router(config-control-policymap-clas s-control)# 1 authorize identifier stag-type [plus stag-vlan-id]

Inserts the specified identifier into the authorization requests.

Step 6 

interface gigabit ethernet slot/port

or

interface tengigabit ethernet slot/port

Example:

Router(config)# interface gigabit ethernet 4/1

Specifies the gigabit ethernet or tengigabit ethernet interface to configure.

Step 7 

service instance dynamic id ethernet

Example:

Router(config-if-srv)# service in- stance dynamic 1 ethernet

Defines the service instance as an ethernet layer 2 context that is used to detect the FSOL frames.

id - An integer between 1 to 100.

Step 8 

encapsulation dot1q vlan-id second-dot1q vlan-id-range

Router(config-if-srv)# encapsulation dot1q 124 second-dot1q 2001-4000

Defines the matching criteria to map dot1Q ingress frames on an interface to the appropriate service instance.

vlan-id - An integer between 1 to 4094.

Step 9 

ethernet subscriber [session {watermark| maximum} limit number]

Example:

Router(config)# ethernet subscriber session maximum limit 100

Specifies the number of ethernet sessions that can be created under a given ethernet layer2 context.

Step 10 

initiator {unclassified vlan}

Example:

Router(config)# initiator unclassi- fied vlan

Enables an ethernet session initiator under the ethernet layer2 context service instance.

Step 11 

service-policy type control policy-map-name

Example:

Router(config-if-srv)# service-policy type control policy1

Applies the service policy to the control plane.

Step 12 

end

Exits the global configuration mode.

Configuration Steps for a Static Ethernet Session

Complete these steps to configure DESA for a static ethernet session.

Summary Steps

1. enable

2. configure terminal

3. policy-map type control policy-map-name

4. class type control always event session-start

5. action-number service-policy type service name policy-map-name

6. interface gigabit ethernet slot/port

or

interface tengigabit ethernet slot/port

7. no ip address

8. service instance id ethernet

9. encapsulation dot1q vlan-id

10. ethernet subscriber static

11. bridge-domain vlan-id

12. service-policy type control policy-map-name

13. end

Detailed Steps

 
Command
Purpose

Step 1 

enable

Example:
Router# enable 

Enables privileged EXEC mode.If prompted, enter your password.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

policy-map type control policy-map-name

Example:

Router(config)# policy-map type control policy2

Creates or modifies a control policy map, which is used to define a control policy.

Step 4 

class type control always event session-start

Example:

Router(config-control-policy-map)# class type control always event session-start

Specifies a control class, which defines the conditions that must be met in order for an associated set of actions to be executed.

Step 5 

action-number service-policy type service name policy-map-name

Example:

Router(config-control-policymap-clas s-control)# 1 service-policy type service name policy-2

Inserts the specified identifier into the authorization requests.

Step 6 

interface gigabit ethernet slot/port

or

interface tengigabit ethernet slot/port

Router(config)# interface Giga- bitEthernet 2/2

Specifies the gigabit ethernet or tengigabit ethernet interface to configure.

Step 7 

no ip address
Example:

Router(config-if)# no ip address

Assigns an IP address to the ethernet interface.

Step 8 

service instance id ethernet
Example:

Router(config-if)# service instance 2 ethernet

Creates a service instance on the ethernet interface.

Step 9 

encapsulation dot1q vlan-id 
Example:

Router(config-if-srv)# encapsula- tion dot1q 100

Defines the matching criteria to map dot1Q ingress frames on an interface to the appropriate service instance.

vlan-id - An integer in the range 1 to 4094.

Step 10 

ethernet subscriber static
Example:
Router(config-if-srv)# ethernet 
subscriber static

Initiates a static ethernet subscriber session.

Step 11 

bridge-domain vlan-id

Example:

Router(config-if-srv)# bridge-do- main 100

Enables bridge domain across the ethernet interfaces.

Step 12 

service-policy type control policy-map-name

Example:

Router(config-if-srv)# service-policy type control policy2

Applies the service policy to the control plane.

Step 13 

end

Exits the global configuration mode.

Configuration Example

This example shows how to create a service policy and configures DESA for a dynamic ethernet session.

Router# enable
Router# configure terminal
Router(config)# aaa authorization nextwork group default radius
Router(config)# aaa authorization subscriber-service default local group radius
Router(config)# radius-server host 172.29.39.46 key rad123 
Router(config)# policy map type control policy1
Router(config-control-policymap)# control always event session start
Router(config-control-policymap-class-control)# 1 authorize identifier stag-type plus 
stag-vlan-id 
Router(config)# interface GigabitEthernet 1/1
Router(config-if)# service instance dynamic 4 ethernet
Router(config-if-srv)# encapsulation dot1q 100 second-dot1q 2001-4000
Router(config-if-srv)# ethernet subscriber session maximum limit 100
Router(config-if-srv)# initiator unclassified vlan
Router(config-if-srv)# service-policy type control policy1
Router(config-if-srv)# end

This example shows how to configure DESA for a static ethernet session.

Router# enable
Router# configure terminal
Router(config)# policy map type control policy2
Router(config-control-policymap)# control always event session start
Router(config-control-policymap-class-control)# 1 service-policy type service name policy2
Router(config)# interface GigabitEthernet 1/1
Router(config-if)# no ip address
Router(config-if)# service instance 2 ethernet
Router(config-if-srv)# encapsulation dot1q 100 
Router(config-if-srv)# ethernet subscriber static 
Router(config-if-srv)# service-policy type control policy2
Router(config-if-srv)# bridge-domain 100

Router(config-if-srv)# end

Verifying DESA

To verify the DESA feature, use these commands in privileged EXEC mode.

Command
Purpose

show ethernet service instance detail

Displays details about the configured service instances.

show subscriber session

Displays information about subscriber sessions on an Intelligent Services Gateway (ISG).


Troubleshooting DESA

To troubleshoot the DESA feature, use these debug commands.

Command
Purpose

debug ethernet service instance dynamic errors

Displays any error while bringing up the dynamic session.

debug ethernet service instance dynamic events

Displays all the events while bringing up the dynamic session.

debug ethernet service instance dynamic ha errors

Displays any high availability (HA) errors while bringing up the dynamic session.

debug ethernet service instance dynamic ha events

Displays the HA events while bringing up the dynamic session.


Control Plane Protection on Non Access Subinterfaces

A router is segmented into three planes of operation, each with a clearly defined objective. The data plane to forward data packets, the control plane to route the data correctly, and the management plane to manage network elements.

The Cisco 7600 ES+ line card forwards any control plane traffic during data transmission to the route processor (RP). If there is a continuous stream of control packets to the Cisco 7600 router, all the packets are forwarded to the RP in the router. If the packet rate is high, the control packet flow consumes the processing capacity, memory, buffers and other critical system resources, and the RP functionality is impacted. Control Plane Protection (COPP) is a mechanism to control the traffic destined to the RP from non access sub interfaces of the ES+ line card using QoS policies.

COPP is already supported on access sub interfaces and the main interfaces. Effective from Cisco IOS release 15.1(2)S, COPP on non access sub interfaces is also supported on the ES+ line card.

Restrictions and Usage Guidelines

Follow these restrictions and guidelines for configuring COPP on a non access subinterface is given as follows:

Only the protocols ARP, DHCP, Ethernet Operations Administration and Maintenance (EOAM) and PPPoE support COPP.

The total number of interfaces with COPP on an ES+ line card is 16000.

If hardware assisted call admission control (CAC) is configured, COPP takes precedence over the CAC for PPPoE and DHCP control packets including FSOL.

Packets Per Second (PPS) mode of traffic policing is not supported.

Configuring COPP on a Non Access Subinterface

Complete these steps to configure COPP on a non access subinterface.

Summary Steps

1. enable

2. configure terminal

3. class-map match-all class-map-name

4. match protocol protocol-name

5. match subscriber access

6. policy-map policy-map-name

7. class class-name

8. police cir cir-value

9. control-plane user-type access

10. service-policy input policy-map-name

11. interface type number

12. encapsulation dot1q vlan-id

13. ip address ip-address mask

14. ip subscriber l2-connected

15. initiator {dhcp| static | unclassified}

16. end

Detailed Steps

 
Command
Purpose

Step 1 

enable

Example:
Router# enable 

Enables privileged EXEC mode. Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

class-map match-all class-map-name

Example:

Router(config)# class-map match-all cmap

Enables class map configuration mode used to create a traffic class.

Step 4 

match protocol protocol-name

Example:

Router(config-cmap)# match protocol arp

Specifies the match criteria for a class-map.

Step 5 

match subscriber access
Example:

Router(config-cmap)# match subscrib- er access

Enables ISG COPP.

Step 6 

policy-map policy-map-name
Example:

Router(config-cmap)# policy-map pmap

Creates or modifies a control policy map, which is used to define a control policy, and enters the control policy map configuration mode.

Step 7 

class class-name
Example:
Router(config-pmap)# class cmap

Enters class map configuration mode, which is used to associate a service policy with a class.

class-name - Name of a service policy class. The name can contain up to 40 alphanumeric characters.

Step 8 

police cir cir-value

Example:

Router(config-pmap-c)# police cir 30000

Specifies the committed information rate (CIR) value in bits per second.

cir-value - The supported range is 500 to 30000.

Step 9 

control-plane user-type access

Example:

Router(config)# control-plane user-type access

Enters control-plane configuration mode.

Step 10 

service-policy input policy-map-name

Example:

Router(config-cp-user)# service-policy input pmap

Attaches a QoS service policy to the control-plane host subinterface.

Step 11 

interface type number

Example:

Router(config)# interface gigabit ethernet 1/1.1

Specifies an interface and enters the interface configuration mode.

Step 12 

encapsulation dot1q vlan-id

Example:

Router(config-subif)# encapsulation dot1q 400

Defines the matching criteria to map dot1Q ingress frames on an interface to the appropriate service instance.

vlan-id - An integer in the range of 1 to 4094.

Step 13 

ip address ip-address mask

Example:

Router(config-subif)# ip-address 1.1.1.1 255.255.255.0

Specifies an IP address for an interface.

Step 14 

ip subscriber l2-connected

Example:

Router(config-subif)# ip subscriber l2-connected

Specifies the type of IP subscriber to be hosted on the interface and enters the configuration mode.

Step 15 

initiator {dhcp|static|unclassified}

Router(config-subscriber)# initiatior dhcp

Creates IP subscriber sessions upon receipt of the specified packet type.

dhcp - IP session initiated by DHCP

static- Static IP session initiated.

unlcassified - IP session initiated by unclassified traffic

Step 16 

end

Exits the global configuration mode.

Configuration Example

This example shows how to configure COPP on a non access sub interface. In the example, a class map cmap is created to specify the matching criteria. Then a policy map pmap that describes the policing to be applied, is created and the service policy is applied on the control plane user interface.

Router# enable 
Router# configure terminal
Router(config)# class-map match-all cmap

Router(config-cmap)# match protocol dhcp

Router(config-cmap)# match subscriber access

Router(config-cmap)# policy-map pmap

Router(config-pmap)# class cmap

Router(config-pmap-c)# police cir 300000

Router(config)# control-plane user-type access

Router(config-cp-user)# service-policy input pmap

Router(config)# interface gigabit ethernet 1/2.1

Router(config-subif)# encapsulation dot1q 400

Router(config-subif)# ip subscriber l2-connected

Router(config-subscriber)# initiator dhcp

Router(config-subscriber)# end

Verifying COPP on a Non Access Sub Interface

To verify the COPP on a non access subinterface, you can use the following commands in privileged EXEC mode:

Command
Purpose

show platform copp rate-limit protocol-name

Displays the number of conformed and exceeded bytes for each interface on the RP for the specified protocol.

show platform npc copp all

Displays the list of interfaces under each NP for which COPP is initiated in the line card.

show platform npc copp if_num detail

Displays the number of dropped packets and bytes for a given interface. First verify whether COPP is initiated on the interface with show platform npc copp all command and then use this command for the detailed output of a specific interface.


BFD Scale Improvement on ES+ Line Card for 7600

Bidirectional Forwarding Detection (BFD) scale improvement feature provides the functionality to offload a BFD session to an ES+ line card. BFD is a forwarding path failure detection protocol and reduces the overall network convergence time by sending rapid failure detection packets (messages) to the routing protocols for recalculating the routing table. Before Release 15.1(2)S, a BFD session was run as a software component on the Route Processor (RP). Hence, the performance of BFD was restricted to the capabilities of CPU and IOS on the RP on the Cisco 7600 Router. Effective failure detection requires BFD to run at high frequencies (using aggressive timers as low as 50ms), which was not possible because of CPU and IOS restrictions. Effective with Cisco IOS Release 15.1(2) S, apart from running a BFD session on the RP, you can also offload a BFD session to the ES+ line card based on specific conditions listed in the "Restrictions for BFD Scale Improvement" section.


Note Effective with Cisco IOS Release 15.1(3)S2, BFD hardware offload is also supported for IPv6 addresses along with the IPv4 addresses.



Note If you are running IPv4 and IPv6 sessions on an interface, you can selectively enable or disable offloading IPv4 or IPv6 sessions using the platform bfd disable-offload ipv4|ipv6 command.


Offloading a BFD session to an ES+ line card allows you to utilize the hardware resources and capabilities of an ES+ line card, and also distribute the processing load between RP and ES+ line card. It allows you to scale up to 2000 BFD sessions for each Cisco 7600 series router.


Note You can scale up to 2000 sessions per chassis using static and OSPF routing protocol for IPv4 BFD sessions only. For scale number values for IPv6 NFD sessions, see the "Restrictions for BFD Scale Improvement" section section.


BFD Sessions Supported on RSP720 Versions

Table 4-44 lists the number of IPv4 HW BFD sessions supported on various Route Switch Processor 720 (RSP 720) versions.

Table 4-44 IPv4 HW BFD Sessions Supported on Various RSP720 Versions

Sessions
RSP720-3C-GE
RSP720-3CXL-GE
RSP720-3C-10GE
RSP720-3CXL-10GE
 
1 Gb
2 Gb
1 Gb
2 Gb
1 Gb
2 Gb
1 Gb
2 Gb

OSPF BFD session scale number1

1200

2000

1200

2000

1200

2000

1200

2000

Static route BFD session scale number

2000

2000

2000

2000

2000

2000

2000

2000

1 The scale numbers are valid only for the HW BFD sessions on the box and not software BFD session.



Note The number of HW BFD sessions supported for IGPs is same as what the individual IGPs can scale upto.


Table 4-45 lists the number of software BFD sessions supported on the various RSP720 versions.

Table 4-45 Software BFD Sessions Supported on the Various RSP720 Versions

Timer
Supported Scale Number1

50*3ms

128

999*3 ms

512

1 These numbers are valid only for the software BFD session on the box and not hardware BFD session.


Table 4-46 lists the number of sessions supported for each type of line card:

Table 4-46 Sessions Supported on Line Cards

Line Card
Sessions

7600-ES+40G3C

1000

7600-ES+40G3CXL

1000

7600-ES+20G3C

500

7600-ES+20G3CXL

500

7600-ES+4TG3C

1000

7600-ES+4TGCXL

1000

7600-ES+2TG3C

500

7600-ES+2TGCXL

500

76-ES+XT-2TG3C

500

76-ES+XT-2TG3CXL

500

76-ES+XT-4TG3C

1000

76-ES+XT-4TG3CXL

1000

76-ES+T-20G3CXL

500

76-ES+T-2TG3CXL

500

76-ES+T-40G3CXL

1000

76-ES+T-4TG3CXL

1000

76-ES+XC-20G3C

500

76-ES+XC-20G3CXL

500

76-ES+XC-40G3C

1000

76-ES+XC-40G3CXL

1000


SSO Behavior

A BFD session supports Stateful Switchover (SSO) when offloaded to the ES+ line card. For a BFD session running on the RP, the minimum supported transmit (Tx) and receive (Rx) timer value for SSO is 500ms. When a session is offloaded to an ES+ line card, the minimum supported Tx and Rx timer value for SSO is 50ms. Usually, a BFD session offloaded to an ES+ line card is not affected during an SSO. However, these scenarios may be observed:

Session configuration changes from peer during SSO: The line card CPU does not detect the changed bits in the BFD packets during SSO.

Network failure during SSO: This situation is not handled immediately. Once the SSO is over, the BFD changes due to network failure are handled.

Restrictions for BFD Scale Improvement

The following restrictionsapply for BFD scale improvement:

A BFD session is supported on only RSP 720 and Supervisor 720 (SUP720), it is not supported on SUP32.

Only BFD version 1 is supported.

The BFD session can be offloaded only to an ES+ line card interface.

Ensure that the ES+ Line Card interface configured with the BFD session is on global routing table. Effective from Cisco IOS Release 15.1(3)S and 15.1(2)S1, the interface with a BFD session can be on any Virtual Routing and Forwarding (VRF).

Each network processor supports a total of 250 sessions distributed across its ports.

BFD hardware offload is supported for IPv4 sessions with non-echo mode only.

You can configure IPv4 and IPv6 sessions to co-exist on the router as well as the same interface.

Only the single hop BFD hardware offload is supported for both the IPv4 and IPv6 sessions. BFD hardware offload supports either of these combinations for IPv4 and IPv6 sessions:

1000 IPv6 BFD sessions and no IPv4 sessions.

2000 IPv4 BFD sessions and no IPv6 sessions.

500 IPv4 BFD sessions and 500 IPv6 sessions.

BFD offload is supported only for the ethernet interface.

Timer values for Tx and Rx should only be in multiples of 50 and should range between 50 and 950ms for both the local and remote BFD peer router.

If the Failure in MPLS core does not converge before XC BFD timer expires, then the BFD session flaps.

BFD Tx jitter defined in RFC 5880 is not supported.

You cannot swap a BFD session between ES+ line card and IOS by changing the parameters when the BFD session is up and running. To swap a BFD session, you need to unconfigure and reconfigure the BFD session with the changed parameters.

BFD offload is not supported on port-channel or SVI interfaces.

In case of prolonged network instability and BFD session flaps, the session state may get stuck in the DOWN, INIT, or UP state. Unconfigure and reconfigure BFD to resolve this issue.

During line card OIR, the show bfd neighbor detail command may show discrepancy in the statistics counter. The statistics counter provide information about Rx or Tx counts for a particular session.

BFD supports 2000 sessions with OSPF as client on RSP. Example scenarios:

All subinterfaces are configured as point to point.

Four instances of OSPF are running with each instance supporting 500 BFD session.

Configure the symmetric slow timers to less than or equal to five seconds on both the ends to bring up the HW offloaded BFD sessions.

BFD supports a maximum of 10 IPv6 static route sessions on an interface.


Note Effective with Cisco IOS Release 15.1 (3)S, BFD sessions are also supported on SUP720.



Note If the local discriminator (LD) value is less than 8000, it signifies that the session is offloaded to hardware.


Configuring BFD Hardware Offload for 7600

The BFD offload functionality is enabled by default. You can configure BFD hardware offload on the route processor. For more information, see Bidirectional Forwarding Detection.

Troubleshooting BFD Hardware Offload

Table 4-47 provides troubleshooting solutions for the BFD scale improvement issues:

Table 4-47 Troubleshooting BFD Scale Improvement 

Problem
Solution

BFD session repeatedly goes up and down, or fails to come up.

Complete these steps and report the findings to the TAC team:

1. Use the show bfd neighbor detail command to verify whether or not a session is offloaded to IOS or hardware, and identify the local discriminator (LD) value.

2. Use the show bfd summary command to check the total number of sessions in both the up and down state.

3. Use the show platform bfd session | include LD_no command to verify whether or not the Route Processor Platform Dependent (RP PD) table contains the offloaded session.

4. Use the attach linecard_no command to attach to the line card console.

5. Use the show platform npc bfd LD_no command to verify the line card information for the offloaded sessions on the line card.

6. Use the show bfd drops command on the RP to verify the number of session drops. Use the command multiple times to check if the drop counter increments in value.

For further debugging, enable the debug CLIs with the console logging function disableds and use these commands on the RP:

debug platform bfd offload event command to display the events related to the offloaded session.

debug platform bfd offload xdr command to display the XDR (communication mechanism between RP/line card).

debug platform bfd offload error command to display the error messages generated for the offloaded session.

Use these commands on the line card:

debug platform npc bfd event command to display the line card PD events for the offloaded session.

debug platform npc bfd error command to display the line card PD errors for the offloaded session.

debug platform npc bfd xdr command to display the line card PD XDR events for the offloaded session.


Note Contact TAC at this location: http://www.cisco.com/en/US/support/tsd_cisco_worldwide_contacts.html.


Unable to offload an existing session to hardware even though it already existed in the hardware. Usually, hardware offload reconfiguration include these steps:

1. Disable BFD interval using the no bfd interval interval_val min_rx rx_value multiplier multiplier_val command

2. Enable the BFD interval usingn the bfd interval interval_val min_rx rx_value multiplier multiplier_val command

3. Enable the non-echo mode using the no bfd echo command.

The BFD session is offloaded to IOS immediately after reconfiguring the bfd interval and before the no bfd echo command. Hence, the command to enable non-echo mode is not considered while initializing a session on the IOS.

Complete these steps to successfully offload an existing session to ES+ line card for a OSPF router:

1. Use the no bfd interval interval_val min_rx rx_value multiplier multiplier_val command to disable the BFD interval configuration.

2. Use the no network network_id wildcard_mask area area_id command to remove the routing configuration under the routing protocol.

3. Use the bfd interval interval_val min_rx rx_value multiplier multiplier_val command to reconfigure the BFD interval configuration.

4. Use the no bfd echo command to enable the BFD non-echo mode.

5. Use the network network_id wildcard_mask area area_id command to reconfigure the routing configuration under the routing protocol.

Unable to offload a static route BFD session from IOS to ES+ line card.

Complete these steps to offload a static route BFD session from IOS to ES+ line card:

1. Use the no bfd interval interval_val min_rx rx_value multiplier multiplier_val command to remove BFD interval from the interface.

2. Use the no ip route command to remove the static route configuration. For example, use:

router (config)# no ip route static bfd interface-type interface-num-
ber gateway

or

router (config)# no ip route [vrf vrf-name] prefix mask {ip-address | 
interface-type interface-number [ip-address]} [dhcp] [distance] [name 
next-hop-name] [permanent | track number] [tag tag]

3. Use the bfd interval interval_val min_rx rx_value multiplier multiplier_val command to configure the BFD interval on an interface.

4. Use the no bfd echo command to enable the BFD no-echo mode.

5. Use the ip route command to configure the static route configuration. For example, use:

router (config)# ip route static bfd interface-type interface-number 
gateway

or

router (config)# ip route [vrf vrf-name] prefix mask {ip-address | in-
terface-type interface-number [ip-address]} [dhcp] [distance] [name 
next-hop-name] [permanent | track number] [tag tag]