source-mac-addr
Configures the source MAC address for
encapsulation of outgoing packets.
Syntax
no source-mac-addr
mac-addr
Parameters
- mac-addr
- Specifies the source MAC address.
Usage Guidelines
Validations for the command are as follows:
- A
valid MAC address must be provided.
- One MAC address per encapsulation is
allowed. The configured MAC address must be removed before
you configure a new MAC address.
- If the same command is run more
than once, the second and subsequent instances are ignored
and no error is reported.
- If the no form of the command is run
without the configuration, the command is ignored and no
error is reported.
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