
1-3
z
To implement dynamic binding in IP source guard, make sure that DHCP snooping or DHCP Relay
is configured and works normally. For DHCP configuration information, refer to
DHCP
Configuration
in the
System Volume
.
z
The dynamic binding function can be configured on Ethernet ports and VLAN interfaces.
z
A port takes only the latest dynamic binding entries configured on it.
Displaying and Maintaining IP Source Guard
To do…
Use the command…
Remarks
Display information about static
binding entries
display user-bind
[
interface interface-type
interface-number
|
ip-address ip-address
|
mac-address mac-address
]
Available in any view
Display information about dynamic
binding entries
display ip check source
[
interface
interface-type interface-number
|
ip-address
ip-address
|
mac-address mac-address
]
Available in any view
IP Source Guard Configuration Examples
Static Binding Entry Configuration Example
Network requirements
As shown in
, Host A and Host B are connected to ports GigabitEthernet 1/0/2 and
GigabitEthernet 1/0/1 of Switch B respectively, Host C is connected to port GigabitEthernet 1/0/2 of
Switch A, and Switch B is connected to port GigabitEthernet 1/0/1 of Switch A.
Configure static binding entries on Switch A and Switch B to meet the following requirements:
z
On port GigabitEthernet 1/0/2 of Switch A, only IP packets from Host C can pass.
z
On port GigabitEthernet 1/0/1 of Switch A, only IP packets from Host A can pass.
z
On port GigabitEthernet 1/0/2 of Switch B, only IP packets from Host A can pass.
z
On port GigabitEthernet 1/0/1 of Switch B, only IP packets from Host B can pass.
Network diagram
Figure 1-1
Network diagram for configuring static binding entries
IP: 192.168.0.3/24
MAC : 00-01-02-03-04-05
IP: 192.168.0.1/24
MAC: 00-01-02-03-04-06
Host A
IP: 192.168.0.2/24
MAC: 00-01-02-03-04-07
Host B
Host C
GE1/0/2
GE1/0/1
GE1/0/2
GE1/0/1
Switch A
Switch B
Содержание S5120-EI Series
Страница 139: ...ii...
Страница 268: ...3 3 SwitchB system view SwitchB interface vlan interface 1 SwitchB Vlan interface1 ip address dhcp alloc...
Страница 328: ...i Table of Contents 1 Dual Stack Configuration 1 1 Dual Stack Overview 1 1 Configuring Dual Stack 1 1...
Страница 578: ...1 21 C...
Страница 739: ...1 12 Enable ARP detection based on 802 1X security entries SwitchB arp detection mode dot1x...
Страница 926: ...2 8...
Страница 942: ...ii Single Device Upgrade 3 4 IRF System Upgrade 3 5...
Страница 985: ...1 1...
Страница 1018: ...1 6...