IP Configuration Command Set
Reviewing IP Traffic and Configuring Routes
Matrix E1 Series (1G58x-09 and 1H582-xx) Configuration Guide
12-33
12.2.5.6 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>Router(config)#
Command Defaults
If
permanent
and
tag
are not specified, the route will be set as non-permanent with
no tag assigned.
Examples
This example shows how to set IP address 10.1.2.3 as the next hop gateway to destination address
10.0.0.0. The route is assigned a tag of 1:
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 a distance metric for this route. Valid
values are
1
to
255.
permanent
(Optional) Specifies a permanent route.
tag value
(Optional) Specifies a tag for this route. Valid values are
1
to
4294967295
.
Matrix>Router(config)#
ip route 10.0.0.0 255.0.0.0 10.1.2.3 1
Содержание 1G58x-09
Страница 1: ...Matrix E1 Series 1G58x 09 and 1H582 xx Configuration Guide Firmware Version 3 07 xx P N 9033755 22 ...
Страница 2: ......
Страница 26: ...Contents xxiv Matrix E1 Series 1G58x 09 and 1H582 xx Configuration Guide ...
Страница 28: ...Figures xxvi Matrix E1 Series 1G58x 09 and 1H582 xx Configuration Guide ...
Страница 36: ...Typographical and Keystroke Conventions xxxiv Matrix E1 Series 1G58x 09 and 1H582 xx Configuration Guide ...
Страница 40: ...Getting Help 1 4 Matrix E1 Series 1G58x 09 and 1H582 xx Configuration Guide ...
Страница 286: ...SNMP Command Set Basic SNMP Trap Configuration 5 64 Matrix E1 Series 1G58x 09 and 1H582 xx Configuration Guide ...