Specifications
IP Configuration Command Set
Reviewing IP Traffic and Configuring Routes
11-42 Matrix DFE-Gold Series Configuration Guide
11.2.6.5 ip route
Use this command to add or remove a static IP route.
ip route prefix mask {forward-addr | vlan vlan-id} [distance] [permanent] [tag
value]
Syntax Description
Command Syntax of the “no” Form
The “no” form of this command removes the static IP route:
no ip route prefix mask {forward-addr | vlan vlan-id}
Command Type
Router command.
Command Mode
Global configuration: Matrix>Router1(config)#
Command Defaults
• If distance is not specified, the default value of 1 will be applied.
• If permanent and tag are not specified, the route will be set as non-permanent
with no tag assigned.
prefix Specifies a destination IP address prefix.
mask Specifies a destination prefix mask.
forward-addr |
vlan vlan-id
Specifies a forwarding (gateway) IP address or routing
(VLAN) interface ID.
distance (Optional) Specifies an administrative distance metric for
this route. Valid values are 1 (default) to 255. Routes with
lower values receive higher preference in route selection.
permanent (Optional) Specifies a permanent route.
tag value (Optional) Specifies a tag for this route. Valid values are 1
to 4294967295.