BLADE OS™ ISCLI Reference HP GbE2c L2/L3 Ethernet Blade Switch Version 5.1 Advanced Functionality Software

BLADE OS 5.1 ISCLI Reference
BMD00115, August 2009 Chapter 4: Configuration Commands
287
IPv4 Static Route Configuration
Up to 128 IPv4 static routes can be configured.
Table 170 IP Static Route Configuration Commands
Command Syntax and Usage
ip route <IP subnet> <IP netmask> <IP nexthop> [<interface number>]
Adds a static route. You will be prompted to enter a destination IP address, destination subnet
mask, and gateway address. Enter all addresses using dotted decimal notation.
Command mode: Global configuration
no ip route <IP subnet> <IP netmask> [<interface number>]
Removes a static route. The destination address of the route to remove must be specified
using dotted decimal notation.
Command mode: Global configuration
no ip route destination-address <IP address>
Clears all IP static routes with this destination.
Command mode: Global configuration
no ip route gateway <IP address>
Clears all IP static routes that use this gateway.
Command mode: Global configuration
show ip route static
Displays the current IP static routes.
Command mode: All except User EXEC