HP 10500 Series Configuration Manual page 289

Security configuration guide
Hide thumbs Also See for 10500 Series:
Table of Contents

Advertisement

Figure 110 Network diagram
Host A
GE1/0/5
Host B
Host C
Configuration procedure
1.
Configure the IP address of GigabitEthernet 1/0/1 on the gateway.
<Gateway> system-view
[Gateway] interface gigabitethernet 1/0/1
[Gateway-GigabitEthernet1/0/1] ip address 10.1.1.100 24
2.
Configure the DHCP server:
# Enable DHCP and configure an address pool.
<Device> system-view
[Device] dhcp enable
[Device] dhcp server ip-pool 1
[Device-dhcp-pool-1] network 10.1.1.0 mask 255.255.255.0
# Add the gateway's IP address to DHCP address pool 1.
[Device-dhcp-pool-1] gateway-list 10.1.1.100
[Device-dhcp-pool-1] quit
# Configure the IP address of GigabitEthernet 1/0/2.
[Device] interface gigabitethernet 1/0/2
[Device-GigabitEthernet1/0/2] ip address 10.1.1.50 24
3.
Configure Switch A:
# Enable DHCP snooping.
<SwitchA> system-view
[SwitchA] dhcp-snooping
# Enable STP.
[SwitchA] stp enable
# Enable MFF in automatic mode.
[SwitchA] vlan 100
[SwitchA-vlan-100] mac-forced-forwarding auto
[SwitchA-vlan-100] quit
# Configure GigabitEthernet 1/0/2 as a network port.
[SwitchA] interface gigabitethernet 1/0/2
[SwitchA-GigabitEthernet1/0/2] mac-forced-forwarding network-port
# Configure GigabitEthernet 1/0/2 as a DHCP snooping trusted port.
Switch A
GE1/0/1
GE1/0/2
GE1/0/8
GE1/0/3
GE1/0/4
GE1/0/6
Switch B
GE1/0/7
Switch C
GE1/0/9
GE1/0/10
279
Gateway
Vlan-int1
10.1.1.100/24
DHCP server
Device
Vlan-int1
10.1.1.50/24

Advertisement

Table of Contents
loading

Table of Contents