Configuring Suppression of Adding the Peer Host Route to the Local Routing Table of Direct Routes
Context
When one end is configured with an incorrect IP address, the other end automatically adds the incorrect peer host route to the local routing table of direct routes. As a result, the incorrect routing information is advertised across the network. To prevent this problem, configure the suppression of adding the peer host route to the local routing table of direct routes.
Procedure
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The interface view is displayed.
- Run ppp peer hostroute-suppress
The suppression of adding the peer host route to the local routing table of direct routes is enabled.
By default, the local routing table of direct routes contains the peer host route.
- Restart the interface.
- Run the shutdown and undo shutdown commands to restart the interface.
- Run the restart command to restart the interface.