3Com Switch 4800G 24-Port Configuration Manual page 180

Switch 4800g family 24-port, pwr 24-port, 48-port, pwr 48-port, 24-port sfp
Hide thumbs Also See for Switch 4800G 24-Port:
Table of Contents

Advertisement

180
C
21: IP S
HAPTER
OURCE
<SwitchB> system-view
[SwitchB] interface GigabitEthernet1/0/1
[SwitchB-GigabitEthernet1/0/1] user-bind ip-address 192.168.0.1 mac-address 0001-0203-0406
[SwitchB-GigabitEthernet1/0/1] quit
[SwitchB] interface GigabitEthernet1/0/2
[SwitchB-GigabitEthernet1/0/2] user-bind ip-address 192.168.0.2 mac-address 0001-0203-0407
Dynamic Binding
Function Configuration
Example
G
C
UARD
ONFIGURATION
2 Configure Switch B
# Configure the IP addresses of various interfaces (omitted).
# Configure port GigabitEthernet1/0/1 of Switch B to allow only IP packets with
the source MAC address of 00-01-02-03-04-06 and the source IP address of
192.168.0.1 to pass.
# Configure port GigabitEthernet1/0/2 of Switch B to allow only IP packets with
the source MAC address of 00-01-02-03-04-07 and the source IP address of
192.168.0.2 to pass.
3 Verify the configuration
# On Switch A, static binding entries are configured successfully.
<SwitchA> display user-bind
The following user address bindings have been configured:
MAC
0001-0203-0405
0001-0203-0406
------------------2 binding entries queried, 2 listed------------------
# On Switch B, static binding entries are configured successfully.
<SwitchB> display user-bind
The following user address bindings have been configured:
MAC
0001-0203-0406
0001-0203-0407
------------------2 binding entries queried, 2 listed------------------
Network requirements
Switch A connects to Client A and the DHCP Server through GigabitEthernet1/0/1
and GigabitEthernet1/0/2 respectively. DHCP Snooping is enabled on Switch A.
Detailed requirements are as follows:
Client A with the MAC address of 00-01-02-03-04-06 obtains an IP address
through the DHCP Server.
On Switch A, create the DHCP Snooping entry of Client A.
On port GigabitEthernet1/0/1 of Switch A, enable dynamic binding function to
prevent attacks from using forged IP addresses to attack the server.
n
For detailed configuration of DHCP Server, refer to "DHCP Server Configuration"
on page 797.
IP
Vlan
192.168.0.3
N/A
192.168.0.1
N/A
IP
Vlan
192.168.0.1
N/A
192.168.0.2
N/A
Port
GigabitEthernet1/0/2
GigabitEthernet1/0/1
Port
GigabitEthernet1/0/1
GigabitEthernet1/0/2
Status
Static
Static
Status
Static
Static

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents