Ip Check Source Ip-Address - H3C s3100 series Command Manual

Hide thumbs Also See for s3100 series:
Table of Contents

Advertisement

Type IP Address
==== =============== =============== =========
S
192.168.0.25
S
192.168.0.58
S
192.168.0.101
S
192.168.0.122
S
192.168.0.144
---
5 static binding item(s) found

ip check source ip-address

Syntax
ip check source ip-address [ mac-address ]
undo ip check source ip-address [ mac-address ]
View
Ethernet port view
Parameters
mac-address: Enables IP filtering based on the source MAC address of the packets.
Description
Use the ip check source ip-address command to enable the filtering of the IP packets received
through the current port based on the source IP address of the packets.
Use the undo ip check source ip-address command to disable the filtering of the IP packets received
through the current port based on the source IP address of the packets.
Use the ip check source ip-address mac-address command to enable the filtering of the IP packets
received through the current port based on the source IP address and source MAC address of the
packets.
Use the undo ip check source ip-address mac-address command to disable the filtering of the IP
packets received through the current port based on the source IP address and source MAC address of
the packets.
By default, the filtering of the IP packets received through a port based on the source IP address or
source MAC address of the packets is disabled.
Note that among S3100 series switches, only S3100-EI series switches support the two commands.
Examples
# Enable the filtering of the IP packets received through port Ethernet 1/0/11 based on the source IP
address of the packets.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet 1/0/11
[Sysname-Ethernet1/0/11] ip check source ip-address
MAC Address
Remaining
lease
0015-e20f-0101
infinite
0001-e201-4f01
infinite
000f-0101-0204
infinite
000f-e20f-21a3
infinite
0015-e943-712f
infinite
---
2-13
VLAN Interface
==== =================
1
Ethernet1/0/2
1
Ethernet1/0/3
1
Ethernet1/0/2
1
Ethernet1/0/3
1
Ethernet1/0/2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents