IP Configuration
IPv4 Management and Interfaces
Cisco Small Business 300 Series Managed Switch Administration Guide 260
16

IPv4 Routes
When the device is in Layer 3 system mode, this page enables configuring and
viewing IPv4 static routes on the device. When routing traffic, the next hop is
decided on according to the longest prefix match (LPM algorithm). A destination
IPv4 address may match multiple routes in the IPv4 Static Route Table. The device
uses the matched route with the highest subnet mask, that is, the longest prefix
match.
To define an IP static route:
STEP 1 Click IP Configuration > IPv4 Management and Interfaces > IPv4 Routes.
STEP 2 Click Add.
STEP 3 Enter values for the following fields:
Destination IP Prefix—Enter the destination IP address prefix.
Mask—Select and enter information for one of the following:
-Network Mask—The IP route prefix for the destination IP.
-Prefix Length—The IP route prefix for the destination IP.
Route Type—Select the route type.
-

Reject

—Rejects the route and stops routing to the destination network
via all gateways. This ensures that if a frame arrives with the destination
IP of this route, it is dropped.
-

Remote

—Indicates that the route is a remote path.
Next Hop Router IP Address—Enter the next hop IP address or IP alias on
the route.
NOTE You cannot configure a static route through a directly-connected IP
subnet where the device gets its IP address from a DHCP server.
Metric—Enter the administrative distance to the next hop. The range is 1–
255.
STEP 4 Click Apply. The IP Static route is saved to the Running Configuration file.