Reviewing IP Traffic and Configuring Routes
Example
This example shows how to display all IP route information. In this case, there are routes directly
connected to VLANs 1 and 2, two static routes connected to VLAN 1 (one indirectly, and one via
another network IP), and one RIP route. Distance/cost is displayed as [x/y]:
Matrix>Router#show ip route
Codes: C –
– OSPF NSSA external type 1, N2 – OSPF NSSA external type 2, E1 – OSPF external
type 1, E2 – OSPF external type 2, * - candidate default, U – per user static route
C
C
S
S
R
ip route
Use this command to add or remove a static IP route.
Syntax
ip route prefix mask {forward-addr | vlan vlan-id} [distance] [permanent] [tag
value]
no ip route prefix mask {forward-addr | vlan vlan-id}
Parameters
prefix
mask
forward‐addr | vlan
vlan‐id
distance
permanent
tag value
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.
Mode
Router command, Global configuration: Matrix>Router(config)#
Usage
The "no" form of this command removes the static IP route.
16-26 IP Configuration
connected, S –
static,
192.168.27.0/24
192.168.32.0/24
2.0.0.0/8
3.0.0.0/8
1.0.0.0/8
Specifies a destination IP address prefix.
Specifies a destination prefix mask.
Specifies a forwarding (gateway) IP address or routing (VLAN)
interface ID.
(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.
(Optional) Specifies a permanent route.
(Optional) Specifies a tag for this route. Valid values are 1 to
4294967295.
R – RIP, O – OSPF, IA – OSPF inter area, N1
[
0/0001] directly connected, vlan 1
[
0/0001] directly connected, vlan 2
[
65/0001] via 192.168.72.1, vlan 1
[
0/0001] directly connected vlan 1
[
70/0002
]
via 192.168.72.22 vlan 1
ip route
Need help?
Do you have a question about the Enterasys Matrix DFE-Gold Series and is the answer not in the manual?
Questions and answers