IP Networking Configuration
Configuration Guide 4 Document #: LTRT-31657
8 Static Routing .................................................................................................... 43
8.1 Configuring Static Routing .................................................................................... 43
8.2 Example of Basic Static Route Configuration ........................................................ 43
8.2.1 Configuration ...........................................................................................................43
8.2.2 Output ......................................................................................................................44
8.3 Example of "Floating” Static Route and Track ...................................................... 45
8.3.1 Configuration ...........................................................................................................45
9 Manipulating the Routing Table ....................................................................... 47
10 Administrative Distance ................................................................................... 49
10.1 Examples of Configuring AD for Various Protocols ............................................... 49
10.2 Example of Changing Default AD for a Dynamic Routing Protocol ....................... 50
10.2.1 Configuration ...........................................................................................................50
10.2.2 Output ......................................................................................................................50
10.3 Example of Configuring Static Route with Custom Metric ..................................... 51
10.3.1 Configuration ...........................................................................................................51
10.3.2 Output ......................................................................................................................51
11 Dynamic IP Routing .......................................................................................... 53
11.1 RIP Routing Protocol ............................................................................................ 53
11.1.1 Configuring RIP .......................................................................................................53
11.1.2 Example of RIP Routing ..........................................................................................55
11.1.2.1 Configuration ............................................................................................55
11.1.2.2 Output and show Commands ...................................................................56
11.2 OSPF Routing Protocol ........................................................................................ 57
11.2.1 Configuring OSPF ....................................................................................................57
11.2.1.1 Router-Configuration Level ......................................................................57
11.2.1.2 Interface-Configuration Level ...................................................................58
11.2.2 Example of OSPF Routing.......................................................................................59
11.2.3 Useful Output and show Commands .......................................................................60
11.3 Border Gateway Protocol (BGP) ........................................................................... 62
11.3.1 Configuring BGP ......................................................................................................62
11.3.1.1 Address-Family Level Configuration (configuration can also be set
without entering the AF mode) ................................................................................62
11.3.1.2 General Configuration ..............................................................................64
11.3.2 Example of Basic BGP WAN Connectivity ..............................................................65
11.3.2.1 Configuration ............................................................................................65
11.3.2.2 Output .......................................................................................................66
11.3.3 Example 2 ................................................................................................................66
11.3.3.1 Configuration ............................................................................................67
11.3.3.2 Output .......................................................................................................68
11.4 Advanced Routing Examples ................................................................................ 69
11.4.1 Multi-WAN with BGP and Static Route ....................................................................69
11.4.1.1 Configuration ............................................................................................69
11.4.1.2 Output and show Commands ...................................................................70
11.4.2 Filtering Dynamic Routing Protocol Routes .............................................................71
11.4.3 Multi-WAN with BGP and IPSec ..............................................................................72
11.4.3.1 MSBR1 Configuration ...............................................................................72
11.4.3.2 Output .......................................................................................................74
12 Policy Based Routing (PBR) ............................................................................ 75
12.1 PBR Configuration ................................................................................................ 75
12.1.1 Example of PBR using Route-Map-Static................................................................75
12.1.1.1 Configuration ............................................................................................76