# Configuring static routes

Use the following procedure to configure static routes for the switch.

## Prerequisites

- Enable IP routing globally.

- Enable IP routing, and then configure an IP address on the VLANs to use for routing.

## Procedure steps

1. From the navigation tree, double-click IP Routing.

2. In the IP Routing tree, double-click IP.

3. In the work area, select the Static Routes tab.

4. In the toolbar, click Insert.

5. Configure the parameters as required.

6. Click Insert.

## Variable definitions

The following table describes the fields of the Static Routes tab.

Field | Description
--- | ---
Dest | Specifies the destination IP address of the route. 0.0.0.0 is the default route.
Mask | Specifies the destination mask of the route.
NextHop | Specifies the IP address of the next hop of this route.
Metric | Represents the cost of the static route. The switch uses this value to choose the best route, the route with the smallest cost, to a certain destination. The range is 1 to 65535.
IfIndex | Specifies the interface on which the static route is configured.
Enable | Specifies whether the route is administratively enabled (true) or disabled (false).
Status | Specifies the operational status of the route (inactive or active).