R2511-HP MSR Router Series Interface Command Reference(V5)

Table Of Contents
40
Default command level
2: System level
Parameters
mac-address: Specifies a MAC address, in the format of H-H-H.
Usage guidelines
When you configure the MAC address of a Layer 3 Ethernet subinterface with the mac-address
command, select a MAC address different from that of the host interface.
HP recommends not configuring a MAC address in the VRRP-reserved MAC address range for a Layer 3
Ethernet subinterface.
You can use the display interface command to display the MAC address of a Layer 3 Ethernet interface
or subinterface.
Examples
# Configure the MAC address of Layer 3 Ethernet interface Ethernet 1/1 as 0001-0001-0001.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] mac-address 1-1-1
mac-address valid-check
Use mac-address valid-check to enable a Layer 3 VE interface to check the destination MAC addresses
of incoming IP packets.
Use undo mac-address valid-check to restore the default.
Syntax
mac-address valid-check enable
undo mac-address valid-check enable
Default
A Layer 3 VE interface does not check the destination MAC addresses of incoming IP packets.
Views
Layer 3 VE interface view
Default command level
2: System level
Parameters
None
Description
If the destination MAC address of an incoming IP packet is a unicast MAC address other than the
MAC address of the interface, the IP packet is dropped.
If the destination MAC address of an incoming IP packet is a broadcast or multicast MAC address,
the destination MAC address of the packet is not checked.
With this feature enabled, some protocol packets that need to be sent to the CPU might fail to be
sent to the corresponding module. Therefore, use this command in only the special network
conditions.