Terminate Non-Transport Tunnels

About this task

Perform this procedure to terminate non-transport tunnels.

Procedure

  1. Create an ingress-group with the required parameters.
    device(config) # ingress-group name
    device (config-ingress-group)#
  2. Attach the ingress group to the required ingress port/interface.
    device(config)# interface ethernet 1/12
    device(config-if-eth-0/12)# set ingress-group name
  3. Configure the required ingress-group traffic-type parameters for traffic classification:
    • To configure the traffic-type and mode, go to step 4.
    • To configure the traffic-type with the IP address to be matched, go to step 5.
    • To configure the VXLAN outermost header with the IP address in double encapsulation traffic, go to step 6.
  4. Configure the required traffic-type parameter and mode for the ingress-group.
    • Terminate mode: Decapsulates the configured packet headers.
    • Scope-shift mode: Shifts scope of the configured packets to inner headers.
    device(config-ingress-group)# traffic-type {gre | gtpu | ipip | nvgre | vxlan} mode [decap | new-scope]
    • The outer (sap-id) and inner (inner-sap-id) tunnel SAP IDs are generated for tunnel levels one and two.
    • If the mode to decapsulate or terminate packet headers is not specified, packets are classified based on configured traffic type and tunnel ID parameters.
  5. Configure the traffic-type with the IP address to be matched for traffic classification.
    # traffic-type { gre | ipip | gtpu | vxlan | nvgre } ip [ src-ip src-mask dst-ip dst-mask ]
  6. Configure the VXLAN outermost header with the IP address in double encapsulation traffic.
    # traffic-type vxlan outer ip src-ip src-mask dst-ip dst-mask
    To configure packet mirroring for VXLAN frames, go to step 7. Otherwise, proceed to step 8.
  7. Optional: Configure packet mirroring for VXLAN frames.
    1. Enable mirror configuration.
      device(config)# mirror mirr_1
      device(config-mirror)#
    2. Configure the mirror destination port in slot/port format.
      device(config-mirror)# set interface ethernet NAME
  8. Configure L3-ACL to forward the traffic.
    1. Set ACL in the route-map.
    2. Bind route-map to the ingress-group.
      device(config)# ip access-list name
      device(config)# route-map name sequence_number
      device(config-route-map) # match {mac | ip | ipv6} name
      device(config-route-map-name) # forward-action permit
  9. Configure the required ports, interfaces, or port-channel:
    • List of egress ports/interfaces in egress-group and associated group in route-map.
    • Egress interface in route-map.
    • Port-channel in egress-group and associated group in route-map.
    device(config) # interface ethernet slot/port 
    device(config-if) # set ingress-group name