Creates or deletes a new transport tunnel in which various other configurations related to transport tunnel termination can be done.
Tunnel name must start with an alphabet or an underscore followed by an arbitrary sequence of alphabets, numeric characters, underscores, hyphens, or dots.
Config mode
This command is available only to users with admin role.
The following reserved keywords cannot be used as name identifiers: all, ingress-group, egress, egress-group, match, list, access-list, route-map, and listener-policy.
The transport tunnel name cannot be same as the ingress group that will be associated with this transport tunnel.
If the [no] form of the command is run without the configuration, the command is ignored and no error is reported.
Message | Reason |
---|---|
Error: transport-tunnel name identifier must start with an alphabetic character or an underscore. | Name identifier must start with an alphabetic character or an underscore. |
Error: transport-tunnel name identifier must be an arbitrary sequence of alphabets, numerals, underscores, hyphens or dots. | Name identifier must start with an alphabetic character or an underscore followed by an arbitrary sequence of alphabetic or numeric characters, underscores, hyphens, or dots. Name cannot exceed 64 characters. |
Error: transport-tunnel name identifier must not be reserved keyword like all,egress… etc | Reserved keyword cannot be used as name. |
Error: An ingress group with a route map attached should be a member of at least one interface or lag or transport tunnel. | Attached route map is not a member of at least one interface or lag or transport tunnel. Either remove the route map from ingress group or attach the ingress group to another interface or lag or transport tunnel before removing it from this tunnel. |
Error: keypath:/transport-tunnels/transport-tunnel[name=”<invalidname>”/name contains one or more unsupported character('@', '$', '#', '[', ']') for key:name | Invalid characters used in name. |
The following example configures transport tunnel.
device(config)# transport-tunnel tt1 device(config-tranport-tunnel)# Show running: device# show running-config transport-tunnel tt1 transport-tunnel tt1