Ip Route - Enterasys SecureStack C2 Configuration Manual

Stackable switches
Hide thumbs Also See for SecureStack C2:
Table of Contents

Advertisement

ip route

Parameters
destination‐prefix 
destination‐prefix‐ 
mask longer‐
prefixes
connected
 ospf
 rip
static
summary
Defaults
If no parameters are specified, all IP route information will be displayed. 
Mode
Any router mode.
Usage
Routes are managed by the RTM (Route Table Manager), and are contained in the RIB (Route 
Information Base). This database contains all the active static routes,  all the RIP routes,, and up to 
three best routes to each network as determined by OSPF. 
The RTM selects up to three of the best routes to each network and installs these routes in the FIB 
(Forwarding Information Base). 
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]: 
C2(su)->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. The no form of this command removes the 
static IP route.
ip route prefix mask dest-addr [distance]
no ip route prefix mask forward-addr
16-14 IP Configuration
(Optional) Converts the specified address and mask into a prefix and 
displays any routes that match the prefix.
(Optional) Displays connected routes.
(Optional) Displays routes configured for the OSPF routing protocol. For 
details on configuring OSPF, refer to "Configuring OSPF" on page 17‐10.
(Optional) Displays routes configured for the RIP routing protocol. For 
details on configuring RIP, refer to "Configuring RIP" on page 17‐1.
(Optional) Displays static routes.
(Optional) Displays a summary of the IP routing table.
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
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

Advertisement

Table of Contents
loading

Table of Contents