Chapter 5
Setup and Configuration
Parameter
Type commit and press Enter to save the changes, or type revert and press Enter to abort.
4.
Section 5.23.6
Managing Gateways for Static Routes
The following sections describe how to configure and manage gateways for static routes:
•
Section 5.23.6.1, "Configuring Gateways for IPv6 Static Routes"
•
Section 5.23.6.2, "Viewing a List of Gateways for IPv4 Static Routes"
•
Section 5.23.6.3, "Adding a Gateway for an IPv4 Static Route"
•
Section 5.23.6.4, "Deleting a Gateway for an IPv4 Static Route"
Section 5.23.6.1
Configuring Gateways for IPv6 Static Routes
To configure a gateway address for an IPv6 static route, do the following:
1.
Make sure the CLI is in Configuration mode.
2.
Navigate to routing » ipv6 » route » {subnet} » via, where subnet is the subnet (network/prefix) of the static
route.
3.
Configure the following parameter(s) as required:
Parameter
gw { gw }
distance { distance }
Type commit and press Enter to save the changes, or type revert and press Enter to abort.
4.
Section 5.23.6.2
Viewing a List of Gateways for IPv4 Static Routes
To view a list of gateway addresses assigned to an IPv4 static route, type:
show running-config routing ipv4 route subnet via
Where:
• subnet is the subnet (network/prefix) of the static route
If gateway addresses have been configured, a table or list similar to the following example appears:
ruggedcom# show running-config routing ipv4 route 0.0.0.0/0 via
routing ipv4 route 0.0.0.0/0
406
Description
The distance for this static route's blackhole. Default is 1.
Description
Synopsis: A string 6 to 40 characters long
The gateway for the static route.
Synopsis: An integer between 1 and 255
The distance for the static route.
Managing Gateways for Static Routes
RUGGEDCOM ROX II
CLI User Guide