source-mac-addr

Configures the source MAC address for encapsulation of outgoing packets.

Syntax

source-mac-addr mac-addr
no source-mac-addr mac-addr

Parameters

mac-addr
Specifies the source MAC address.

Modes

Encap config mode

Usage Guidelines

Validations for the command are as follows:

Examples

The following example configures the source MAC address.

device(config-encap)# source-MAC-addr 00:01:02:03:04:05 

device# show running-configuration 
encap encap-1 
destination-mac-addr 00:01:02:03:04:05