MACΒΆ

The MAC address can be changed on ethernet interfaces.

To configure the MAC address of the existing interface eth0 in vrf main, do:

vsr running config# / vrf main interface physical eth1 ethernet mac-address 00:01:02:03:04:05

To display an interface MAC address:

vsr> show state / vrf main interface physical eth1 ethernet
ethernet
    mac-address 00:01:02:03:04:05
    auto-negotiate true
    duplex-mode full
    port-speed 10gb
    flow-control-rx false
    flow-control-tx false
    ..

The same configuration can be made using this NETCONF XML configuration:

vsr> show config xml absolute nodefault vrf main interface physical eth1 ethernet
<config xmlns="urn:6wind:vrouter">
  <vrf>
    <name>main</name>
    <interface xmlns="urn:6wind:vrouter/interface">
      <physical>
        <name>eth1</name>
        <ethernet>
          <mac-address>00:01:02:03:04:05</mac-address>
        </ethernet>
      </physical>
    </interface>
  </vrf>
</config>

See also

The command reference for details.