Routing Configuration Guide, Cisco IOS XE Everest 16.5.1A (Catalyst 3850 Switches)
Total Page:16
File Type:pdf, Size:1020Kb
Routing Configuration Guide, Cisco IOS XE Everest 16.5.1a (Catalyst 3850 Switches) First Published: 2017-05-31 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0883 © 2017 Cisco Systems, Inc. All rights reserved. CONTENTS CHAPTER 1 Configuring Bidirectional Forwarding Detection 1 Bidirectional Forwarding Detection 1 Finding Feature Information 1 Prerequisites for Bidirectional Forwarding Detection 1 Restrictions for Bidirectional Forwarding Detection 2 Information About Bidirectional Forwarding Detection 2 BFD Operation 2 Benefits of Using BFD for Failure Detection 5 How to Configure Bidirectional Forwarding Detection 5 Configuring BFD Session Parameters on the Interface 5 Configuring BFD Support for Dynamic Routing Protocols 7 Configuring BFD Support for Static Routing 17 Configuring BFD Echo Mode 19 Creating and Configuring BFD Templates 20 Monitoring and Troubleshooting BFD 21 Feature Information for Bidirectional Forwarding Detection 22 CHAPTER 2 Configuring MSDP 23 Finding Feature Information 23 Information About Configuring MSDP 23 MSDP Overview 24 MSDP Operation 24 MSDP Benefits 25 How to Configure MSDP 26 Default MSDP Configuration 26 Configuring a Default MSDP Peer 26 Routing Configuration Guide, Cisco IOS XE Everest 16.5.1a (Catalyst 3850 Switches) iii Contents Caching Source-Active State 28 Controlling Source Information that Your Switch Originates 29 Redistributing Sources 30 Filtering Source-Active Request Messages 32 Controlling Source Information that Your Switch Forwards 34 Using a Filter 34 Using TTL to Limit the Multicast Data Sent in SA Messages 36 Controlling Source Information that Your Switch Receives 37 Configuring an MSDP Mesh Group 39 Shutting Down an MSDP Peer 40 Including a Bordering PIM Dense-Mode Region in MSDP 41 Configuring an Originating Address other than the RP Address 43 Monitoring and Maintaining MSDP 44 Configuration Examples for Configuring MSDP 45 Configuring a Default MSDP Peer: Example 45 Caching Source-Active State: Example 46 Controlling Source Information that Your Switch Originates: Example 46 Controlling Source Information that Your Switch Forwards: Example 46 Controlling Source Information that Your Switch Receives: Example 46 Feature Information for Multicast Source Discovery Protocol 46 CHAPTER 3 Configuring IP Unicast Routing 47 Finding Feature Information 48 Information About Configuring IP Unicast Routing 48 Information About IP Routing 48 Types of Routing 49 IP Routing and Switch Stacks 50 Classless Routing 51 Address Resolution 52 Proxy ARP 53 ICMP Router Discovery Protocol 53 UDP Broadcast Packets and Protocols 54 Broadcast Packet Handling 54 IP Broadcast Flooding 54 Routing Configuration Guide, Cisco IOS XE Everest 16.5.1a (Catalyst 3850 Switches) iv Contents How to Configure IP Routing 55 How to Configure IP Addressing 56 Default IP Addressing Configuration 56 Assigning IP Addresses to Network Interfaces 58 Using Subnet Zero 59 Disabling Classless Routing 60 Configuring Address Resolution Methods 61 Defining a Static ARP Cache 61 Setting ARP Encapsulation 63 Enabling Proxy ARP 64 Routing Assistance When IP Routing is Disabled 65 Proxy ARP 65 Default Gateway 65 ICMP Router Discovery Protocol (IRDP) 66 Configuring Broadcast Packet Handling 68 Enabling Directed Broadcast-to-Physical Broadcast Translation 69 Forwarding UDP Broadcast Packets and Protocols 70 Establishing an IP Broadcast Address 72 Flooding IP Broadcasts 73 Monitoring and Maintaining IP Addressing 74 How to Configure IP Unicast Routing 75 Enabling IP Unicast Routing 75 Example of Enabling IP Routing 76 What to Do Next 76 Information About RIP 77 Summary Addresses and Split Horizon 77 How to Configure RIP 78 Default RIP Configuration 78 Configuring Basic RIP Parameters 78 Configuring RIP Authentication 81 Configuring Summary Addresses and Split Horizon 82 Configuring Split Horizon 84 Configuration Example for Summary Addresses and Split Horizon 85 Information About OSPF 86 Routing Configuration Guide, Cisco IOS XE Everest 16.5.1a (Catalyst 3850 Switches) v Contents OSPF Nonstop Forwarding 86 OSPF NSF Awareness 87 OSPF NSF Capability 87 OSPF Area Parameters 87 Other OSPF Parameters 88 LSA Group Pacing 89 Loopback Interfaces 89 How to Configure OSPF 89 Default OSPF Configuration 89 Configuring Basic OSPF Parameters 91 Configuring OSPF Interfaces 92 Configuring OSPF Area Parameters 95 Configuring Other OSPF Parameters 96 Changing LSA Group Pacing 98 Configuring a Loopback Interface 99 Monitoring OSPF 100 Configuration Examples for OSPF 101 Example: Configuring Basic OSPF Parameters 101 Information About EIGRP 101 EIGRP Features 102 EIGRP Components 102 EIGRP Nonstop Forwarding 103 EIGRP NSF Awareness 103 EIGRP NSF Capability 103 EIGRP Stub Routing 104 How to Configure EIGRP 105 Default EIGRP Configuration 105 Configuring Basic EIGRP Parameters 107 Configuring EIGRP Interfaces 109 Configuring EIGRP Route Authentication 110 Monitoring and Maintaining EIGRP 112 Information About BGP 112 BGP Network Topology 113 Nonstop Forwarding Awareness 114 Routing Configuration Guide, Cisco IOS XE Everest 16.5.1a (Catalyst 3850 Switches) vi Contents Information About BGP Routing 114 Routing Policy Changes 115 BGP Decision Attributes 115 Route Maps 117 BGP Filtering 117 Prefix List for BGP Filtering 117 BGP Community Filtering 117 BGP Neighbors and Peer Groups 118 Aggregate Routes 118 Routing Domain Confederations 118 BGP Route Reflectors 119 Route Dampening 119 More BGP Information 119 How to Configure BGP 120 Default BGP Configuration 120 Enabling BGP Routing 123 Managing Routing Policy Changes 125 Configuring BGP Decision Attributes 126 Configuring BGP Filtering with Route Maps 128 Configuring BGP Filtering by Neighbor 129 Configuring BGP Filtering by Access Lists and Neighbors 130 Configuring Prefix Lists for BGP Filtering 131 Configuring BGP Community Filtering 133 Configuring BGP Neighbors and Peer Groups 134 Configuring Aggregate Addresses in a Routing Table 137 Configuring Routing Domain Confederations 138 Configuring BGP Route Reflectors 139 Configuring Route Dampening 141 Monitoring and Maintaining BGP 142 Configuration Examples for BGP 143 Example: Configuring BGP on Routers 143 Information About ISO CLNS Routing 144 Connectionless Routing 144 Information About IS-IS Routing 145 Routing Configuration Guide, Cisco IOS XE Everest 16.5.1a (Catalyst 3850 Switches) vii Contents Nonstop Forwarding Awareness 146 IS-IS Global Parameters 146 IS-IS Interface Parameters 146 How to Configure ISO CLNS Routing 147 Default IS-IS Configuration 147 Enabling IS-IS Routing 149 Configuring IS-IS Global Parameters 151 Configuring IS-IS Interface Parameters 155 Monitoring and Maintaining ISO IGRP and IS-IS 157 Configuration Examples for ISO CLNS Routing 159 Example: Configuring IS-IS Routing 159 Information About Multi-VRF CE 159 Understanding Multi-VRF CE 160 Network Topology 160 Packet-Forwarding Process 161 Network Components 161 VRF-Aware Services 162 How to Configure Multi-VRF CE 162 Default Multi-VRF CE Configuration 162 Multi-VRF CE Configuration Guidelines 163 Configuring VRFs 163 Configuring VRF-Aware Services 165 Configuring VRF-Aware Services for ARP 165 Configuring VRF-Aware Services for Ping 166 Configuring VRF-Aware Services for SNMP 166 Configuring VRF-Aware Servcies for uRPF 167 Configuring VRF-Aware RADIUS 168 Configuring VRF-Aware Services for Syslog 168 Configuring VRF-Aware Services for Traceroute 169 Configuring VRF-Aware Services for FTP and TFTP 170 Configuring Multicast VRFs 171 Configuring a VPN Routing Session 173 Configuring BGP PE to CE Routing Sessions 174 Monitoring Multi-VRF CE 175 Routing Configuration Guide, Cisco IOS XE Everest 16.5.1a (Catalyst 3850 Switches) viii Contents Configuration Examples for Multi-VRF CE 176 Multi-VRF CE Configuration Example 176 Configuring Unicast Reverse Path Forwarding 179 Protocol-Independent Features 180 Distributed Cisco Express Forwarding 180 Information About Cisco Express Forwarding 180 How to Configure Cisco Express Forwarding 180 Load-Balancing Scheme for Cisco Express Forwarding Traffic 182 Restrictions for Cisco Express Forwarding Load-Balancing 182 Cisco Express Forwarding Load-Balancing Overview 182 Per-Destination Load Balancing 182 Load-Balancing Algorithms for Cisco Express Forwarding Traffic 183 How to Configure a Load-Balancing for Cisco Express Forwarding Traffic 183 Configuration Examples for Cisco Express Forwarding Traffic Load-Balancing 185 Number of Equal-Cost Routing Paths 185 Information About Equal-Cost Routing Paths 185 How to Configure Equal-Cost Routing Paths 186 Static Unicast Routes 186 Information About Static Unicast Routes 186 Configuring Static Unicast Routes 187 Default Routes and Networks 188 Information About Default Routes and Networks 188 How to Configure Default Routes and Networks 189 Route Maps to Redistribute Routing Information 190 Information About Route Maps 190 How to Configure a Route Map 190 How to Control Route Distribution 194 Policy-Based Routing 196 Information About Policy-Based Routing 196 How to Configure PBR 197 Filtering Routing Information 200 Setting Passive Interfaces 200 Controlling Advertising and Processing in Routing Updates 201 Filtering Sources of Routing Information 202 Routing Configuration Guide, Cisco IOS XE Everest 16.5.1a (Catalyst 3850 Switches) ix Contents Managing Authentication Keys 203 Prerequisites 203 How to Configure Authentication Keys 204 Monitoring and Maintaining the IP Network