Carrier Ethernet Configuration Guide, Cisco IOS XE Release 3S (ASR 1000)
Trunk EFP Support
Downloads: This chapterpdf (PDF - 1.22MB) The complete bookPDF (PDF - 5.94MB) | The complete bookePub (ePub - 1.28MB) | Feedback

Trunk EFP Support

Trunk EFP Support

This feature provides support for Ethernet Flow Points (EFPs) on trunk ports. A trunk port allows a range of VLANs to be forwarded on a given interface, while still maintaining data-plane segmentation between the VLANs.

Finding Feature Information

Your software release may not support all the features documented in this module. For the latest feature information and caveats, see the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the Feature Information Table at the end of this document.

Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/​go/​cfn. An account on Cisco.com is not required.

Restrictions for Trunk EFP Support

  • The rewrite ingress tag pop 1 symmetric command is the only rewrite command that is supported for trunk EFP configurations. The rewrite ingress tag pop 1 symmetric command must be included in the configuration when the Trunk EFP Support feature is enabled.
  • A bridge-domain number that is part of a trunk EFP configuration cannot be shared by other EFPs under the same port or interface.
  • Trunk EFPs cannot be configured under port channels.
  • All features configured on a trunk EFP (other than encapsulations and bridge-domain assignments) are applied uniformly to all the VLANs and bridge domains. If a feature requires VLAN-specific or bridge-domain-specific configuration values, the feature cannot be applied on the trunk EFP. Those special VLANs or bridge domains need to be removed from the EFP trunk to form individual EFPs.
  • Only one trunk EFP can be configured under one port or interface.

Information About Trunk EFP Support

Benefits of Trunk EFP Support

The Carrier Ethernet infrastructure supports the following types of Ethernet Flow Points (EFPs):
  • Static EFPs that are user-configurable.
  • Dynamic EFPs that are created and maintained during a Cisco Intelligent Services Gateway ( ISG) session.

With this feature, a new EFP type has been added that is intended for use on a trunk port.

A trunk port allows a range of VLANs to be forwarded on a given interface while maintaining data-plane segmentation between the VLANs.

Like a static EFP, this new type of EFP is user-configurable by using the service instance trunk command, the encapsulation command, and the bridge-domain from-encapsulation command when the Trunk EFP Support feature is enabled.

Ethernet Flow Points

An Ethernet Flow Point (EFP) is a forwarding decision point in the provider edge (PE) router, which gives network designers flexibility to make many Layer 2 flow decisions within the interface. Many EFPs can be configured on a single physical port. (The number varies from one device to another.) EFPs are the logical demarcation points of an Ethernet virtual connection (EVC) on an interface. An EVC that uses two or more user network interfaces (UNIs) requires an EFP on the associated ingress and egress interfaces of every device that the EVC passes through.

EFPs can be configured on any Layer 2 traffic port; however, they are usually configured on UNI ports. The following parameters (matching criterion) can be configured on the EFP:

  • Frames of a specific VLAN, a VLAN range, or a list of VLANs (100-150 or 100,103,110)
  • Frames with no tags (untagged).
  • Frames with identical double-tags (VLAN tags) as specified.
  • Frames with identical Class of Service (CoS) values.

A frame passes each configured match criteria until the correct matching point is found. If a frame does not fit any of the matching criteria, it is dropped. Default criteria can be configured to avoid dropping frames.

Note the following points about the kinds of commands that can be used in an EFP:

  • Rewrite commands—In each EFP, VLAN tag management can be specified with the following actions:
    • Pop—1) pops out a tag; 2) pops out two tags.
    • Push—1) pushes in a tag; 2) pushes in two tags.
    • Translate—1 to 1) changes a tag value; 1 to 2) pops one tag and pushes two tags; 2 to 1) pops two tags and pushes one tag; 2 to 2) changes the value for two tags.
  • Forwarding commands—Each EFP specifies the forwarding command for the frames that enter the EFP. Only one forwarding command can be configured per EFP. The forwarding options are as follows:
    • Layer 2 point-to-point forwarding to a pseudowire tunnel.
    • Multipoint bridge-forwarding to a bridge domain entity.
    • Local switch-to-switch forwarding between two different interfaces.
  • Feature commands—In each EFP, the QoS features or parameters can be changed and the ACL can be updated.

Trunk Ports

An Ethernet interface can be configured as a trunk port (interface). A trunk port, also known as a trunk, is a point-to-point link between a networking device and another networking device. Trunks carry the traffic of multiple VLANs over a single link and allow you to extend VLANs across an entire network. A trunk port can have two or more VLANs configured on the interface; it can carry traffic for several VLANs simultaneously.

In order to correctly deliver the traffic on a trunk port with several VLANs, the device uses the IEEE 802.1Q encapsulation or tagging method .

How to Enable Trunk EFP Support

Enabling Trunk EFP Support

To enable Ethernet Flow Point (EFP) support on a trunk port or trunk interface, complete the following steps.

SUMMARY STEPS

    1.    enable

    2.    configure terminal

    3.    interface type number

    4.    service instance trunk id ethernet

    5.    encapsulation dot1q vlan-id [, vlan-id [- vlan-d]]

    6.    rewrite ingress tag pop 1 symmetric

    7.    bridge-domain from-encapsulation

    8.    no shutdown

    9.    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 number


    Example:
    Router(config)# interface gigabitethernet2/0/1
     

    Configures the interface and enters interface configuration mode .

     
    Step 4 service instance trunk id ethernet


    Example:
    Router(config-if)# service instance trunk 1 ethernet
     

    Configures an Ethernet service instance on an interface and enters Ethernet service configuration mode.

     
    Step 5 encapsulation dot1q vlan-id [, vlan-id [- vlan-d]]


    Example:
    Router(config-if-srv)# encapsulation dot1q 1-5, 7, 9-12
     

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

     
    Step 6 rewrite ingress tag pop 1 symmetric


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

    Specifies the encapsulation adjustment to be performed on a frame that is ingressing a service instance.

     
    Step 7 bridge-domain from-encapsulation


    Example:
    Router(config-if-srv)# bridge-domain from-encapsulation
     

    Creates a list of bridge domains for an EFP trunk port using the bridge-domain IDs derived from the encapsulation VLAN numbers.

     
    Step 8 no shutdown


    Example:
    Router(config-if-srv)# no shutdown
     

    Disables shutdown and keeps the interface or port active.

     
    Step 9 end


    Example:
    Router(config-if-srv)# end
     

    Returns to privileged EXEC mode.

     

    Verifying the Trunk EFP Support Configuration

    Use one or more of the commands listed below to verify the Trunk EFP support configuration.

    SUMMARY STEPS

      1.    enable

      2.    show ethernet service instance

      3.    show ethernet service instance interface [interface]

      4.    show bridge-domain

      5.    exit


    DETAILED STEPS
      Step 1   enable


      Example:
      Router> enable

      Enables privileged EXEC mode.

      • Enter your password if prompted.
      Step 2   show ethernet service instance


      Example:
      Router# show ethernet service instance

      Displays information about Ethernet service instances.

      Step 3   show ethernet service instance interface [interface]


      Example:
      Router# show ethernet service instance interface gigabitethernet2/0/1

      Displays interface-only information about Ethernet service instances for all interfaces or for a specified interface.

      Step 4   show bridge-domain


      Example:
      Router# show bridge-domain

      Displays bridge-domain information.

      Step 5   exit


      Example:
      Router# exit

      Exits privileged EXEC mode.


      Configuration Examples for Trunk EFP Support

      Example: Configuring Trunk EFP Support

      In the following example, EFP support has been configured on a trunk interface.

      Router(config)# interface gigabitethernet2/0/1
      Router(config-if)# service instance trunk 1 ethernet
      Router(config-if-srv)# encapsulation dot1q 1 - 5, 7, 9-12  
      Router(config-if-srv)# rewrite ingress tag pop 1 symmetric  
      Router(config-if-srv)# bridge-domain from-encapsulation 
      Router(config-if-srv)# no shutdown
      Router(config-if-srv)# end
      

      Example: Verifying the Trunk EFP Support Configuration

      The following is sample output from the show ethernet service instance command. The output displays trunk as the service instance type and indicates that a bridge domain for VLANs in the range of 12 to 1900 (as specified by the encapsulation parameters) has been created for service instance 4000 on a trunk port (interface).

      Router#show ethernet service instance id 4000 interface gigabitethernet0/0/5 detail 
      
      Service Instance ID: 4000
      Service Instance Type: Trunk
      Associated Interface: GigabitEthernet0/0/5
      Associated EVC: 
      L2protocol drop
      CE-Vlans:                                                                        
      Encapsulation: dot1q 12-1900 vlan protocol type 0x8100
      Rewrite: ingress tag pop 1 symmetric
      Interface Dot1q Tunnel Ethertype: 0x8100
      State: Up
      EFP Statistics:
         Pkts In   Bytes In   Pkts Out  Bytes Out
      168729725 10798985220  160246675 10255787200
      EFP Microblocks:
      ****************
      Microblock type: Bridge-domain
      Bridge-domain: 12-1900
      

      Additional References

      Related Documents

      Related Topic

      Document Title

      Ethernet CFM

      Configuring Ethernet Connectivity Fault Management in a Service Provider Network

      IEEE 802.3ah

      IEEE 802.3ah Ethernet in the First Mile

      ITU-T Y.1731 fault management functions

      Configuring ITU-T Y.1731 Fault Management Functions

      Delivering and filtering syslog messages

      Reliable Delivery and Filtering for Syslog

      Cisco IOS commands: master list of commands with complete command syntax, command mode, command history, defaults, usage guidelines, and examples

      Cisco IOS Master Command List, All Releases

      Cisco IOS Carrier Ethernet commands: complete command syntax, command mode, command history, defaults, usage guidelines, and examples

      Cisco IOS Carrier Ethernet Command Reference

      Standards

      Standard

      Title

      IEEE P802.1ag/D1.0

      Standard for Local and Metropolitan Area Networks - Virtual Bridged Local Area Networks - Amendment 5: Connectivity Fault Management

      IETF VPLS OAM

      L2VPN OAM Requirements and Framework

      ITU-T

      ITU-T Y.1731 OAM Mechanisms for Ethernet-Based Networks

      MIBs

      MIB

      MIBs Link

      • CISCO-ETHER-CFM-MIB
      • CISCO-IEEE-CFM-MIB

      To locate and download MIBs for selected platforms, Cisco software releases, and feature sets, use Cisco MIB Locator found at the following URL:

      http:/​/​www.cisco.com/​go/​mibs

      RFCs

      RFC

      Title

      RFC 3164

      The BSD syslog Protocol

      Technical Assistance

      Description

      Link

      The Cisco Support and Documentation website provides online resources to download documentation, software, and tools. Use these resources to install and configure the software and to troubleshoot and resolve technical issues with Cisco products and technologies. Access to most tools on the Cisco Support and Documentation website requires a Cisco.com user ID and password.

      http:/​/​www.cisco.com/​cisco/​web/​support/​index.html

      Feature Information for Trunk EFP Support

      The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.

      Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/​go/​cfn. An account on Cisco.com is not required.

      Table 1 Feature Information for Trunk EFP Support

      Feature Name

      Releases

      Feature Information

      Trunk EFP Support

      Cisco IOS XE Release 3.5S

      This feature provides support for Ethernet Flow Points (EFPs) on trunk ports (interfaces).

      In Cisco IOS XE Release 3.5S, support was added for the Cisco ASR 903 Router.

      The following commands were introduced or modified: bridge-domain from-encapsulation, encapsulation dot1q (service instance), rewrite ingress tag,service instance ethernet, show bridge-domain, show ethernet service instance, and show ethernet service interface.