Configuring Static Routes
A static route is an IP address that you manually configure and that the routing protocol does not learn, such
as open shortest path first (OSPF). Often, static routes are used as backup routes in case other dynamically
learned routes are unreachable.
You can enter as many static IP addresses as necessary.
To configure a static route, use the following command.
• Configure a static IP address.
CONFIGURATION mode
ip route [vrf
vrf-name
]
ip-address mask
{
ip-address
|
interface
[
ip-address
]}
[
distance
] [permanent] [tag
tag-value
] [vrf
vrf-name
]
Use the following required and optional parameters:
•
vrf
vrf-name
: use the VRF option after the
ip route
keyword to configure a static route on that
particular VRF, use the VRF option after the next hop to specify which VRF the next hop belongs to.
This will be used in route leaking cases.
NOTE:
For more information on route leaking, see the
section.
•
ip-address
: enter an address in dotted decimal format (A.B.C.D).
•
mask
: enter a mask in slash prefix-length format (/X).
•
interface
: enter an interface type then the slot/port information.
•
distance
: the range is from 1 to 255. (optional)
•
permanent
: keep the static route in the routing table (if you use the
interface
option) even if you
disable the interface with the route. (optional)
•
tag
tag-value
: the range is from 1 to 4294967295. (optional)
Example of the
show ip route static
Command
To view the configured routes, use the
show ip route static
command.
Dell#show ip route static
Destination Gateway Dist/Metric Last Change
----------- ------- ----------- -----------
S 2.1.2.0/24 Direct, Nu 0 0/0 00:02:30
S 6.1.2.0/24 via 6.1.20.2, Te 5/1 1/0 00:02:30
S 6.1.2.2/32 via 6.1.20.2, Te 5/1 1/0 00:02:30
S 6.1.2.3/32 via 6.1.20.2, Te 5/1 1/0 00:02:30
S 6.1.2.4/32 via 6.1.20.2, Te 5/1 1/0 00:02:30
S 6.1.2.5/32 via 6.1.20.2, Te 5/1 1/0 00:02:30
S 6.1.2.6/32 via 6.1.20.2, Te 5/1 1/0 00:02:30
S 6.1.2.7/32 via 6.1.20.2, Te 5/1 1/0 00:02:30
S 6.1.2.8/32 via 6.1.20.2, Te 5/1 1/0 00:02:30
S 6.1.2.9/32 via 6.1.20.2, Te 5/1 1/0 00:02:30
S 6.1.2.10/32 via 6.1.20.2, Te 5/1 1/0 00:02:30
S 6.1.2.11/32 via 6.1.20.2, Te 5/1 1/0 00:02:30
S 6.1.2.12/32 via 6.1.20.2, Te 5/1 1/0 00:02:30
S 6.1.2.13/32 via 6.1.20.2, Te 5/1 1/0 00:02:30
S 6.1.2.14/32 via 6.1.20.2, Te 5/1 1/0 00:02:30
S 6.1.2.15/32 via 6.1.20.2, Te 5/1 1/0 00:02:30
S 6.1.2.16/32 via 6.1.20.2, Te 5/1 1/0 00:02:30
IPv4 Routing
500
Содержание S4048T
Страница 1: ...Dell Configuration Guide for the S4048T ON System 9 10 0 1 ...
Страница 98: ... saveenv 7 Reload the system uBoot mode reset Management 98 ...
Страница 113: ...Total CFM Pkts 10303 CCM Pkts 0 LBM Pkts 0 LTM Pkts 3 LBR Pkts 0 LTR Pkts 0 802 1ag 113 ...
Страница 411: ...mode transit no disable Force10 Resilient Ring Protocol FRRP 411 ...
Страница 590: ...Figure 67 Inspecting the LAG Configuration Link Aggregation Control Protocol LACP 590 ...
Страница 591: ...Figure 68 Inspecting Configuration of LAG 10 on ALPHA Link Aggregation Control Protocol LACP 591 ...
Страница 594: ...Figure 70 Inspecting a LAG Port on BRAVO Using the show interface Command Link Aggregation Control Protocol LACP 594 ...
Страница 595: ...Figure 71 Inspecting LAG 10 Using the show interfaces port channel Command Link Aggregation Control Protocol LACP 595 ...
Страница 646: ...Figure 87 Configuring Interfaces for MSDP Multicast Source Discovery Protocol MSDP 646 ...
Страница 647: ...Figure 88 Configuring OSPF and BGP for MSDP Multicast Source Discovery Protocol MSDP 647 ...
Страница 648: ...Figure 89 Configuring PIM in Multiple Routing Domains Multicast Source Discovery Protocol MSDP 648 ...
Страница 653: ...Figure 91 MSDP Default Peer Scenario 2 Multicast Source Discovery Protocol MSDP 653 ...
Страница 654: ...Figure 92 MSDP Default Peer Scenario 3 Multicast Source Discovery Protocol MSDP 654 ...
Страница 955: ...Figure 119 Single and Double Tag First byte TPID Match Service Provider Bridging 955 ...
Страница 1179: ...Figure 147 Create Hypervisor Figure 148 Edit Hypervisor Figure 149 Create Transport Connector Virtual Extensible LAN VXLAN 1179 ...