CLI Reference Guide 74 Document #: LTRT-17940
System and VoIP Functionalities
5.3 routing static
This command displays and configures the static routing table.
Syntax:
The syntax of this command includes the following variations:
routing static <index>
set <parameter> <value>
The command syntax format is described below:
Arguments Description
<parameter> <value> Sets the following table parameters:
defaults
description
destination
gateway
interface-name
prefix-length
For a description of these parameters, refer to the User's Manual.
Command Modes
Enable
Examples:
The following example configures a static route for subnet 1.1.0.0/16 default gateway
10.4.0.1 for an interface named MEDIA.
(config-voip)# routing static 3
(static-3)# set interface-name MEDIA
(static-3)# set destination 1.1.0.0
(static-3)# set prefix-length 16
(static-3)# set gateway 10.4.0.1
(static-3)# set interface-name MEDIA