Configures the source MAC address for encapsulation of outgoing packets.
Encap config mode
Validations for the command are as follows:
Error: Invalid address as Source MAC address | MAC address format should be XX:XX:XX:XX:XX:XX |
Error: Source MAC address is already configured | Single destination MAC address per encapsulation is allowed |
Error: Source and Destination MAC addresses cannot be same | Source and destination addresses but be different MAC addresses. |
Error: invalid format | MAC address format should be XX:XX:XX:XX:XX:XX |
The following example configures the source MAC address.
device(config-encap)# source-MAC-addr 00:01:02:03:04:05 device(config-encap)# Show running: device# show running-configuration encap encap-1 destination-mac-addr 00:01:02:03:04:05