The ip route command configures the UNR route delivered by DHCP.
The undo ip route command deletes the UNR route delivered by DHCP.
ip route ip-address { mask | mask-length } interface-type interface-number dhcp [ preference ]
undo ip route ip-address { mask | mask-length } interface-type interface-number dhcp [ preference ]
| Parameter | Description | Value |
|---|---|---|
| ip-address | Specifies the IP address. | - |
| mask | Specifies the sub network mask. | - |
| mask-length | Specifies the length of the sub network mask. | - |
| interface-type interface-number | Specifies the interface by interface type and interface number. | - |
| preference | Specifies the preference of the route. | The value is an integer ranging from 1 to 255. |