Sets tunnel encapsulation for an egress.
Config mode
Tunnel encap must be configured before binding an encap with an egress.
The following example configures encap en1 to be used by egress_1 for encapsulation and uses the show command to verify the setting.
device# configure terminal device(config)# egress egress_1 device(config-egress)# set encap en1 device(config-egress)# end device# show egress all egress egress_1 set encap en1
The following example unbinds the encap en1 from egress_1.
device# configure terminal device(config)# egress egress_1 device(config-egress)# no set encap en1