Terminate Transport Tunnels

About this task

Perform this procedure to terminate GRE/nvGRE/VXLAN/IPIP/GTPu packet headers from incoming packets.

Procedure

  1. Create a transport tunnel with the required parameters.
    device (config) # transport-tunnel name
    tunnel-type [ gre | erspan ] [ src-ip ipaddr | mask mask ] [tunnel-id value ]
  2. Create an ingress-group with the required parameters.
    device (config) # ingress-group name
  3. Configure the required traffic-type parameter and mode for the ingress-group.
    • Terminate mode: Decapsulates IPGRE/nvGRE/VXLAN/IPIP/GTPu packet headers.
    • Scope-shift mode: Shifts scope of IPGRE/nvGRE/VXLAN/IPIP/GTPu 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.
    Note

    Note

    The outer SAP ID is not used as only one level of tunnel termination or decapsulation is supported in the NPB application.

  4. Attach the ingress group to the required ingress port/interface.********?????
    device (config-ingress-group)# set ingress-group name
  5. Attach the ingress group to the transport tunnel.
    device(config)# transport-tunnel name 
    device(config-transport-tunnel)# set ingress-group name
  6. 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 ip name
      device (config-route-map-name) # forward-action permit
  7. 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 set the group in route-map.
    device (config) # interface ethernet slot/port 
    device (config-if) # set ingress-group ingress-group-name