Professional Documents
Culture Documents
HC110113011 IP Static Routes
HC110113011 IP Static Routes
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 2
Objectives
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 3
Application for Static Route
Static Route
Gateway
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 4
Static Route Behavior
RTA RTB
192.168.1.0/24 192.168.2.0/24
.1 .2
10.0.12.0/24
RTA RTB
192.168.1.0/24 192.168.2.0/24
.1 .2
10.0.12.0/24
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 5
Static Route Behavior
RTA
192.168.1.0/24
.1
.2 10.0.123.0/24 .3
192.168.2.0/24 192.168.3.0/24
RTB RTC
RTA RTB
S1/0/0 S1/0/0
192.168.1.0/24 192.168.2.0/24
.1 .2
10.0.12.0/24
RTA RTB
[RTB]display
[RTB]display ip
ip routing-table
routing-table
Route
Route Flags:
Flags: RR -- relay,
relay, DD -- download
download to
to fib
fib
--------------------------------------------------------------
--------------------------------------------------------------
Routing
Routing Tables:
Tables: Public
Public Destinations
Destinations :: 13
13 Routes
Routes :: 14
14
Destination/Mask
Destination/Mask Proto
Proto Pre
Pre Cost
Cost Flags
Flags NextHop
NextHop Interface
Interface
……
……
192.168.1.0/24
192.168.1.0/24 Static
Static 60
60 00 RD
RD 10.0.12.1
10.0.12.1 GigabitEthernet
GigabitEthernet 0/0/0
0/0/0
Static
Static 60
60 00 RD
RD 20.0.12.1
20.0.12.1 GigabitEthernet
GigabitEthernet 0/0/1
0/0/1
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 9
Floating Static Routes
RTA RTB
[RTB]display
[RTB]display ip
ip routing-table
routing-table
Route
Route Flags:
Flags: RR -- relay,
relay, DD -- download
download to
to fib
fib
--------------------------------------------------------------
--------------------------------------------------------------
Routing
Routing Tables:
Tables: Public
Public Destinations
Destinations :: 13
13 Routes
Routes :: 14
14
Destination/Mask
Destination/Mask Proto
Proto Pre
Pre Cost
Cost Flags
Flags NextHop
NextHop Interface
Interface
……
……
192.168.1.0/24
192.168.1.0/24 Static
Static 60
60 00 RD
RD 10.0.12.1
10.0.12.1 GigabitEthernet0/0/0
GigabitEthernet0/0/0
Prior to the failure of the primary route, only the primary static
route will be present within the routing table.
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 11
Floating Static Route Check
[RTB]interface
[RTB]interface GigabitEthernet
GigabitEthernet 0/0/0
0/0/0
[RTB-GigabitEthernet
[RTB-GigabitEthernet 0/0/0]shutdown
0/0/0]shutdown
[RTB]display
[RTB]display ip
ip routing-table
routing-table
Route
Route Flags:
Flags: RR -- relay,
relay, DD -- download
download to
to fib
fib
--------------------------------------------------------------
--------------------------------------------------------------
Routing
Routing Tables:
Tables: Public
Public Destinations
Destinations :: 13
13 Routes
Routes :: 14
14
Destination/Mask
Destination/Mask Proto
Proto Pre
Pre Cost
Cost Flags
Flags NextHop
NextHop Interface
Interface
……
……
192.168.1.0/24
192.168.1.0/24 Static
Static 100
100 00 RD
RD 20.0.12.1
20.0.12.1 GigabitEthernet
GigabitEthernet 0/0/1
0/0/1
RTA RTB
192.168.1.0/24
G0/0/0 G0/0/0
.1 .2 192.168.2.0/24
10.0.12.0/24 192.168.3.0/24
[RTA]display
[RTA]display ip
ip routing-table
routing-table
Route
Route Flags:
Flags: RR -- relay,
relay, DD -- download
download to
to fib
fib
--------------------------------------------------------------
--------------------------------------------------------------
Routing
Routing Tables:
Tables: Public
Public Destinations
Destinations :: 13
13 Routes
Routes :: 14
14
Destination/Mask
Destination/Mask Proto
Proto Pre
Pre Cost
Cost Flags
Flags NextHop
NextHop Interface
Interface
……
……
0.0.0.0/0
0.0.0.0/0 Static
Static 60
60 00 RD
RD 10.0.12.2
10.0.12.2 GigabitEthernet0/0/0
GigabitEthernet0/0/0
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 14
Summary
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 15
Thank you
www.huawei.com