Dynamic Ipv4Sg Using Dhcp Snooping Configuration Example - HPE Moonshot 45Gc Security Configuration Manual

Switch module
Table of Contents

Advertisement

[SwitchA-FortyGigE1/1/2] ip source binding ip-address 192.168.0.3 mac-address
0001-0203-0405
[SwitchA-FortyGigE1/1/2] quit
# Enable IPv4SG on FortyGigE 1/1/1.
[SwitchA] interface fortygige 1/1/1
[SwitchA-FortyGigE1/1/1] ip verify source ip-address mac-address
# On FortyGigE 1/1/1, configure a static IPv4SG binding for Host A.
[SwitchA-FortyGigE1/1/1] ip source binding ip-address 192.168.0.1 mac-address
0001-0203-0406
[SwitchA-FortyGigE1/1/1] quit
2.
Configure Switch B:
# Configure an IP address for each interface. (Details not shown.)
# Enable IPv4SG on FortyGigE 1/1/2.
<SwitchB> system-view
[SwitchB] interface fortygige 1/1/2
[SwitchB-FortyGigE1/1/2] ip verify source ip-address mac-address
[SwitchB-FortyGigE1/1/2] quit
# Configure a static IPv4SG binding for Host A.
[SwitchB] ip source binding ip-address 192.168.0.1 mac-address 0001-0203-0406
# Enable IPv4SG on FortyGigE 1/1/1.
[SwitchB] interface fortygige 1/1/1
[SwitchB-FortyGigE1/1/1] ip verify source ip-address mac-address
# On FortyGigE 1/1/1, configure a static IPv4SG binding for Host B.
[SwitchB-FortyGigE1/1/1] ip source binding mac-address 0001-0203-0407
[SwitchB-FortyGigE1/1/1] quit
Verifying the configuration
# Verify that the static IPv4SG bindings are configured successfully on Switch A.
<SwitchA> display ip source binding static
Total entries found: 2
IP Address
192.168.0.1
192.168.0.3
# Verify that the static IPv4SG bindings are configured successfully on Device B.
<SwitchB> display ip source binding static
Total entries found: 2
IP Address
192.168.0.1
N/A
Dynamic IPv4SG using DHCP snooping configuration
example
Network requirements
As shown in
Perform the following tasks:
MAC Address
0001-0203-0405 FGE1/1/2
0001-0203-0406 FGE1/1/1
MAC Address
0001-0203-0406 N/A
0001-0203-0407 FGE1/1/1
Figure
118, the host (the DHCP client) obtains an IP address from the DHCP server.
Interface
Interface
397
VLAN Type
N/A
Static
N/A
Static
VLAN Type
N/A
Static
N/A
Static

Advertisement

Table of Contents
loading

Table of Contents