- Table of Contents
-
- 07-Layer 3 - IP Routing Command Reference
- 00-Preface
- 01-Basic IP Routing Commands
- 02-Static Routing Commands
- 03-RIP Commands
- 04-OSPF Commands
- 05-IS-IS Commands
- 06-BGP Commands
- 07-Policy-Based Routing Commands
- 08-Guard Route Commands
- 09-IPv6 Static Routing Commands
- 10-RIPng Commands
- 11-OSPFv3 Commands
- 12-IPv6 IS-IS Commands
- 13-IPv6 BGP Commands
- 14-IPv6 Policy-Based Routing Commands
- 15-Routing Policy Commands
- Related Documents
-
Title | Size | Download |
---|---|---|
08-Guard Route Commands | 44.54 KB |
ip route-guard
Syntax
ip route-guard ip-address mask
undo ip route-guard ip-address mask
View
System view
Default level
2: System level
Parameters
ip-address: Destination IP address, in dotted decimal notation.
mask: Mask of the IP address, in dotted decimal notation.
Description
Use the ip route-guard command to configure a Guard route.
Use the undo ip route-guard command to remove a Guard route.
By default, no Guard route is configured.
Examples
# Configure a Guard route with a destination address of 11.11.11.11.
<Sysname> system-view
[Sysname] ip route-guard 11.11.11.11 255.255.255.255