The isis peer-ip-ignore command configures IS-IS not to check the IP address of Hello packets received by an interface.
The undo isis peer-ip-ignore command restores the default setting.
By default, IS-IS checks the IP address of received Hello packets.
By default, IS-IS checks the IP address carried in the Hello packet. The neighbor relationship can be set up only when the local interface address and the interface address carried in the received packets belong to the same network segment. When the two interface IP addresses are not in the same network segment, if the isis peer-ip-ignore command is used, the check on the peer IP address is ignored, and the two IS-IS interfaces can set up normal neighbor relationship. Routes of this two network segments exist in the routing table, but cannot ping through each other.
PrecautionsThis command is valid for P2P interfaces, NBMA interfaces and the interface with the network type configured to P2P by using the isis circuit-type p2p command. The command takes effect only when the command is used on the two ends of the link.
For the broadcast interface, you can run the isis peer-ip-ignore command only after you run the isis circuit-type p2p command. The isis circuit-type p2p command is valid only for the broadcast interface.
For the P2P and NBMA interfaces, you can run the isis peer-ip-ignore command without running the isis circuit-type p2p command.
# Configure VLANIF100 not to check the IP address of the Hello packets sent by the peer.
<HUAWEI> system-view [HUAWEI] isis [HUAWEI-isis-1] network-entity 01.0000.0000.0001.00 [HUAWEI-isis-1] quit [HUAWEI] interface vlanif 100 [HUAWEI-Vlanif100] isis enable 1 [HUAWEI-Vlanif100] isis circuit-type p2p [HUAWEI-Vlanif100] isis peer-ip-ignore
# Configure GE0/0/1 not to check the IP address of the Hello packets sent by the peer.
<HUAWEI> system-view [HUAWEI] isis [HUAWEI-isis-1] network-entity 01.0000.0000.0001.00 [HUAWEI-isis-1] quit [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] undo portswitch [HUAWEI-GigabitEthernet0/0/1] isis enable 1 [HUAWEI-GigabitEthernet0/0/1] isis circuit-type p2p [HUAWEI-GigabitEthernet0/0/1] isis peer-ip-ignore