< Home

ip verify source-address

Function

The ip verify source-address command enables an interface to check the validity of source IP addresses of the received packets received or to discard packets of illegal addresses.

The undo ip verify source-address command disables checking the source IP address of received packets.

Format

ip verify source-address

undo ip verify source-address

Parameters

None

Views

Ethernet interface view, Ethernet sub-interface view, VLANIF interface view, Tunnel interface view, Loopback interface view, Dialer interface view, Eth-trunk interface view, Eth-trunk sub-interface view, Virtual-Template interface view

Default Level

2: Configuration level

Usage Guidelines

The virtual system does not support this command.

By default, disable checking the validity of the source address of the received packets.

Example

# Enable the GigabitEthernet 0/0/1 interface to check the validity of source addresses of the received packets.

<sysname> system-view
[sysname] interface GigabitEthernet 0/0/1
[sysname-GigabitEthernet0/0/1] ip verify source-address
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >