Configures destination MAC address for encapsulation of outgoing packets.
Encap config mode
Validations for the command are as follows:
Error: Invalid address as Destination MAC address | Valid address must be in colon-separated one-byte hexadecimal format. Example: XX:XX:XX:XX:XX:X . Zero padding may be needed to make one-byte data into 2-digit value. |
Error: Destination MAC address is already configured | Destination MAC address cannot be duplicated in an encapsulation rule. |
Error: Source and Destination MAC addresses cannot be same | Destination and source MAC address cannot be self-referential. |
The following example configures the destination MAC address.
device(config-encap-1)# destination-mac-addr 00:01:02:03:04:05 device(config-encap-1)# Show running: device# show running-configuration encap encap-1 destination-mac-addr 00:01:02:03:04:05