Brocade Network OS Command Reference v4.1.0 User Manual

Page 939

Advertising
background image

Network OS Command Reference

901

53-1003115-01

show ip route

2

Destination

Gateway

Port

Cost

Type Uptime

1

1.1.1.0/24

DIRECT

Te 2/1

0/0

D

1m57s

2

1.1.2.0/24

DIRECT

Te 2/2

0/0

D

0m6s

3

100.1.1.0/24

1.1.1.2

Te 2/1

1/1

S

1m32s

4

100.1.2.0/24

1.1.1.2

Te 2/1

1/1

S

1m16s

5

100.1.3.0/24

1.1.1.2

Te 2/1

1/1

S

1m13s

6

100.2.1.0/24

DIRECT

Te 2/1

1/1

S

0m57s

7

100.3.1.0/24

1.1.1.2

Te 2/1

1/1

S

0m5s

100.3.1.0/24

1.1.2.2

Te 2/2

1/1

S

0m5s

switch# show ip route connected

Type Codes - B:BGP D:Connected I:ISIS O:OSPF R:RIP S:Static; Cost - Dist/Metric

BGP

Codes - i:iBGP e:eBGP

ISIS Codes - L1:Level-1 L2:Level-2

OSPF Codes - i:Inter Area 1:External Type 1 2:External Type 2 s:Sham Link

Destination

Gateway

Port

Cost

Type Uptime

1

1.1.1.0/24

DIRECT

Te 2/1

0/0

D

4m33s

2

1.1.2.0/24

DIRECT

Te 2/2

0/0

D

2m42s

sw0(config)# do show ip route summary

IP Routing Table - 7 entries:

2 connected, 5 static, 0 RIP, 0 OSPF, 0 BGP, 0 ISIS

Number of prefixes:

/24: 7

Nexthop Table Entry - 4 entries

sw0(config)# do show ip route static

Type Codes - B:BGP D:Connected I:ISIS O:OSPF R:RIP S:Static; Cost - Dist/Metric

BGP

Codes - i:iBGP e:eBGP

ISIS Codes - L1:Level-1 L2:Level-2

OSPF Codes - i:Inter Area 1:External Type 1 2:External Type 2 s:Sham Link

Destination

Gateway

Port

Cost

Type Uptime

1

100.1.1.0/24

1.1.1.2

Te 2/1

1/1

S

4m27s

2

100.1.2.0/24

1.1.1.2

Te 2/1

1/1

S

4m11s

3

100.1.3.0/24

1.1.1.2

Te 2/1

1/1

S

4m8s

4

100.2.1.0/24

DIRECT

Te 2/1

1/1

S

3m52s

5

100.3.1.0/24

1.1.1.2

Te 2/1

1/1

S

3m0s

100.3.1.0/24

1.1.2.2

Te 2/2

1/1

S

3m0s

switch# show ip route nexthop

Total number of IP nexthop entries: 4; Forwarding Use: 4

NextHopIp

Port

RefCount

ID

Age

1

1.1.1.2

Te 2/1

3/3

2147549184 277

2

0.0.0.0

Te 2/2

1/1

2147484008 191

3

0.0.0.0

Te 2/1

2/2

2147484009 302

4

1.1.1.2

Te 2/1

1/1

2147549185 190

1.1.2.2

Te 2/2

switch# show ip route nexthop 2147549184

NextHopIp

Port

RefCount

ID

Age

1

1.1.1.2

Te 2/1

3/3

2147549184 288

switch# show ip route nexthop 2147549184 ref-routes

Type Codes - B:BGP D:Connected I:ISIS O:OSPF R:RIP S:Static; Cost - Dist/Metric

BGP

Codes - i:iBGP e:eBGP

ISIS Codes - L1:Level-1 L2:Level-2

OSPF Codes - i:Inter Area 1:External Type 1 2:External Type 2 s:Sham Link

Destination

Gateway

Port

Cost

Type Uptime

1

100.1.1.0/24

1.1.1.2

Te 2/1

1/1

S

5m10s

2

100.1.2.0/24

1.1.1.2

Te 2/1

1/1

S

4m54s

3

100.1.3.0/24

1.1.1.2

Te 2/1

1

switch# show ip route 100.1.1.1

Advertising