Example (With
Weighted
ECMP
Disabled)
Dell(conf)#ip route 1.1.1.0/24 6.6.6.2 weight 100
Dell(conf)#ip route 1.1.1.0/24 6.6.6.2 weight 200
Dell(conf)#do show ip route
Codes: C - connected, S - static, R - RIP,
B - BGP, IN - internal BGP, EX - external BGP,LO -
Locally Originated,
O - OSPF, IA - OSPF inter area, N1 - OSPF NSSA external
type 1,
N2 - OSPF NSSA external type 2, E1 - OSPF external type
1,
E2 - OSPF external type 2, i - IS-IS, L1 - IS-IS
level-1,
L2 - IS-IS level-2, IA - IS-IS inter area, * -
candidate default,
> - non-active route, + - summary route
Gateway of last resort is not set
Destination
Gateway
Dist/Metric Last Change
-----------
-------
----------- -----------
S 1.1.1.0/24 4.4.4.2, via Te
1/4
1/0 00:00:01
6.6.6.2, via Te 1/16
C 4.4.4.0/24 Direct, Te
1/4
0/0 00:01:32
C 6.6.6.0/24 Direct, Te
1/16
0/0 00:01:25
Dell(conf)#do show ip route 1.1.1.0/24
Routing entry for 1.1.1.0/24
Known via "static", distance 1, metric 0
Last update 00:05:01 ago
Routing Descriptor Blocks:
* 4.4.4.2, via TenGigabitEthernet 1/4
* 6.6.6.2, via TenGigabitEthernet 1/16
Dell(conf)#
show ip route list
Display IP routes in an IP prefix list.
S4820T
Syntax
show ip route vrf vrf-name list prefix-list
Parameters
prefix-list Enter the name of a configured prefix list.
vrf vrf-name Enter the keyword vrf followed by the name of the VRF to
display IP routes in an IP prefix list corresponding to that VRF.
IPv4 Routing
965