409
Step Command
Remarks
subinterface.
•
VLAN
interface.
3.
Enable authorized ARP on the
interface.
arp authorized enable
By default, authorized ARP is
disabled.
Configuration example (on a DHCP server)
Network requirements
As shown in
, configure authorized ARP on FortyGigE 1/1/1 of Switch A (a DHCP server)
to ensure user validity.
Figure 124 Network diagram
Configuration procedure
1.
Configure Switch A:
# Specify the IP address for FortyGigE 1/1/1.
<SwitchA> system-view
[SwitchA] interface fortygige 1/1/1
[SwitchA-FortyGigE1/1/1] port link-mode route
[SwitchA-FortyGigE1/1/1] ip address 10.1.1.1 24
[SwitchA-FortyGigE1/1/1] quit
# Configure DHCP.
[SwitchA] dhcp enable
[SwitchA] dhcp server ip-pool 1
[SwitchA-dhcp-pool-1] network 10.1.1.0 mask 255.255.255.0
[SwitchA-dhcp-pool-1] quit
# Enter Layer 3 Ethernet interface view.
[SwitchA] interface fortygige 1/1/1
# Enable authorized ARP.
[SwitchA-FortyGigE1/1/1] arp authorized enable
[SwitchA-FortyGigE1/1/1] quit
2.
Configure Switch B:
<SwitchB> system-view
[SwitchB] interface fortygige 1/1/1
[SwitchB-FortyGigE1/1/1] port link-mode route
[SwitchB-FortyGigE1/1/1] ip address dhcp-alloc
[SwitchB-FortyGigE1/1/1] quit
Verifying the configuration
# Display authorized ARP entry information on Switch A.
[SwitchA] display arp all
Type: S-Static D-Dynamic O-Openflow M-Multiport I-Invalid