destination-mac-addr

Configures destination MAC address for encapsulation of outgoing packets.

Syntax

destination-mac-addr mac-addr
no destination-mac-addr mac-addr

Parameters

destination-mac-addr mac-addr
Specifies the MAC address to be configured as destination MAC.

Modes

Encap config mode

Usage Guidelines

Validations for the command are as follows:

Table 1. Error messages
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.

Examples

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