More Books
Routing TCP IP Volume II CCIE Professional Development
Routing TCP/IP, Volume II (CCIE Professional Development)
Table of Contents
Copyright
About the Authors
About the Technical Reviewers
Acknowledgments
Introduction
Icons Used in This Book
Command Syntax Conventions
Part I: Exterior Gateway Protocols
Chapter 1. Exterior Gateway Protocol
The Origins of EGP
Operation of EGP
Shortcomings of EGP
Configuring EGP
Troubleshooting EGP
Looking Ahead
Review Questions
Configuration Exercises
Troubleshooting Exercise
End Notes
Chapter 2. Introduction to Border Gateway Protocol 4
Classless Interdomain Routing
Who Needs BGP?
BGP Basics
IBGP and IGP Synchronization
Managing Large-Scale BGP Peering
BGP Message Formats
Looking Ahead
Recommended Reading
Review Questions
End Notes
Chapter 3. Configuring and Troubleshooting Border Gateway Protocol 4
Basic BGP Configuration
Managing BGP Connections
Routing Policies
Large-Scale BGP
Looking Ahead
Recommended Reading
Command Summary
Configuration Exercises
Troubleshooting Exercises
Part II: Advanced IP Routing Issues
Chapter 4. Network Address Translation
Operation of NAT
NAT Issues
Configuring NAT
Troubleshooting NAT
Looking Ahead
Command Summary
Configuration Exercises
Troubleshooting Exercises
End Note
Chapter 5. Introduction to IP Multicast Routing
Requirements for IP Multicast
Multicast Routing Issues
Operation of the Distance Vector Multicast Routing Protocol (DVMRP)
Operation of Multicast OSPF (MOSPF)
Operation of Core-Based Trees (CBT)
Introduction to Protocol Independent Multicast (PIM)
Operation of Protocol Independent Multicast, Dense Mode (PIM-DM)
Operation of Protocol Independent Multicast, Sparse Mode (PIM-SM)
Looking Ahead
Recommended Reading
Command Summary
Review Questions
End Notes
Chapter 6. Configuring and Troubleshooting IP Multicast Routing
Configuring IP Multicast Routing
Troubleshooting IP Multicast Routing
Looking Ahead
Configuration Exercises
Troubleshooting Exercises
Chapter 7. Large-Scale IP Multicast Routing
Multicast Scoping
Case Study: Multicasting Across Non-Multicast Domains
Connecting to DVMRP Networks
Inter-AS Multicasting
Case Study: Configuring MBGP
Case Study: Configuring MSDP
Case Study: MSDP Mesh Groups
Case Study: Anycast RP
Case Study: MSDP Default Peers
Command Summary
Looking Ahead
Review Questions
End Notes
Chapter 8. IP Version 6
Design Goals of IPv6
Current State of IPv6
IPv6 Packet Format
IPv6 Functionality
Transition from IPv4 to IPv6
Looking Ahead
Recommended Reading
Review Questions
Chapter Bibliography
End Notes
Chapter 9. Router Management
Policies and Procedure Definition
Simple Network Management Protocol
RMON
Logging
Syslog
Network Time Protocol
Accounting
Configuration Management
Fault Management
Performance Management
Security Management
Designing Servers to Support Management Processes
Network Robustness
Lab
Recommended Reading
Looking Ahead
Command Summary
Review Questions
Configuration Exercises
Bibliography
End Notes
Part III: Appendixes
Appendix A. The show ip bgp neighbors Display
Appendix B. A Regular-Expression Tutorial
Literals and Metacharacters
Delineation: Matching the Start and End of Lines
Bracketing: Matching a Set of Characters
Negating: Matching Everything Except a Set of Characters
Wildcard: Matching Any Single Character
Alternation: Matching One of a Set of Characters
Optional Characters: Matching a Character That May or May Not Be There
Repetition: Matching a Number of Repeating Characters
Boundaries: Delineating Literals
Putting It All Together: A Complex Example
Recommended Reading
Appendix C. Reserved Multicast Addresses
Internet Multicast Addresses
References
People
Appendix D. Answers to Review Questions
Answers to Chapter 1 Review Questions
Answers to Chapter 2 Review Questions
Answers to Chapter 5 Review Questions
Answers to Chapter 7 Review Questions
Answers to Chapter 8 Review Questions
Answers to Chapter 9 Review Questions
Appendix E. Answers to Configuration Exercises
Answers to Chapter 1 Configuration Exercises
Answers to Chapter 3 Configuration Exercises
Answers to Chapter 4 Configuration Exercises
Answers to Chapter 6 Configuration Exercises
Answers to Chapter 9 Configuration Exercises
Appendix F. Answers to Troubleshooting Exercises
Answer to Chapter 1 Troubleshooting Exercise
Answers to Chapter 3 Troubleshooting Exercises
Answers to Chapter 4 Troubleshooting Exercises
Answers to Chapter 6 Troubleshooting Exercises
Index
index_SYMBOL
index_A
index_B
index_C
index_D
index_E
index_F
index_G
index_H
index_I
index_J
index_K
index_L
index_M
index_N
index_O
index_P
index_Q
index_R
index_S
index_T
index_U
index_V
index_W
 

Case Study: Configuring MSDP

Figure 7-15 again shows the routers from the preceding case study. Here, the four routers are also RPs for their respective autonomous systems, and the illustration shows their RP addresses.

Figure 7-15. MSDP Sessions Are Configured Between the Four RPs

graphics/07fig15.gif

MSDP is enabled quite simply with the command ip msdp peer, specifying the peer's IP address. Example 7-12 shows the MSDP configurations for the four routers in Figure 7-15.

Example 7-12 Configuring MSDP Sessions Between the Four RPs in Figure 7-15


Gorgo


ip msdp peer 192.168.1.2


_______________________________________________________________________





Kong


ip msdp peer 192.168.1.10


_______________________________________________________________________





Rodan


ip msdp peer 192.168.1.1


ip msdp peer 192.168.254.2 connect-source Loopback0


_______________________________________________________________________





Megalon


ip msdp peer 192.168.254.1 connect-source Loopback0


ip msdp peer 192.168.1.9


The peering between Gorgo and Rodan, and between Kong and Megalon, is quite straightforward. Each has only a single link over which to peer, so the session is configured between the two physical interface addresses. Between Rodan and Megalon, however, the peering is between loopback addresses. As with IBGP peering, MSDP sessions between loopback interfaces provide more resiliency. If the link shown between Rodan and Megalon in Figure 7-15 should fail, and if there is another path between the routers (not shown in the illustration), the TCP session can be rerouted. By default, the source address of the TCP packets carrying the MSDP session is the address of the originating physical interface. For peering to an address that is not part of a directly connected subnet, the connect-source option is used to change the default source address.

Example 7-13 displays the status of Megalon's two MSDP sessions using the show ip msdp peer command. Such expected information as the state of the connection, uptime, and messages sent/received appears.

Example 7-13 The show ip msdp peer Command Displays the Status of MSDP Peering Sessions


Megalon#show ip msdp peer


MSDP Peer 192.168.254.1 (?), AS 100


Description:


  Connection status:


    State: Up, Resets: 0, Connection source: Loopback0 (192.168.254.2)


    Uptime(Downtime): 3d22h, Messages sent/received: 5683/5677


    Output messages discarded: 0


    Connection and counters cleared 3d22h    ago


  SA Filtering:


    Input filter: none, route-map: none


    Output filter: none, route-map: none


  SA-Requests:


    Input filter: none


    Sending SA-Requests to peer: disabled


  Peer ttl threshold: 0


  Input queue size: 0, Output queue size: 0


MSDP Peer 192.168.1.9 (?), AS 300


Description:


  Connection status:


    State: Up, Resets: 0, Connection source: none configured


    Uptime(Downtime): 3d22h, Messages sent/received: 5674/5694


    Output messages discarded: 0


    Connection and counters cleared 3d22h    ago


  SA Filtering:


    Input filter: none, route-map: none


    Output filter: none, route-map: none


  SA-Requests:


    Input filter: none


    Sending SA-Requests to peer: disabled


  Peer ttl threshold: 0


  Input queue size: 0, Output queue size: 0


Megalon#


Example 7-13 also shows fields for displaying filters that might have been configured for SA and SA Request messages. You have several options for filtering at an MSDP router to control and scope MSDP activity. You can do the following:

  • Control the local sources that are allowed to register with the RP.

  • Control the SA messages the RP sends to and receives from its MSDP peers.

  • Control the SA Request messages the RP sends to and receives from its peers.

Other options for larger-scale MSDP environments are the addition of descriptions for each peer and configurable TTL values for the MSDP messages. Example 7-14 shows a more elaborate configuration for router Megalon in Figure 7-15.

NOTE

The configuration shown here is for demonstration purposes only. No argument is made as to the practicality of the configuration.


Example 7-14 A More-Complex MSDP Configuration


ip pim rp-address 192.168.254.2


ip msdp peer 192.168.254.1 connect-source Loopback0


ip msdp description 192.168.254.1 Rodan in AS 100


ip msdp sa-filter out 192.168.254.1 list 101


ip msdp filter-sa-request 192.168.254.1 list 1


ip msdp sa-request 192.168.254.1


ip msdp ttl-threshold 192.168.254.1 5


ip msdp peer 192.168.1.9


ip msdp description 192.168.1.9 Kong in AS 300


ip msdp sa-filter in 192.168.1.9 list 101


ip msdp sa-filter out 192.168.1.9 list 103


ip msdp sa-request 192.168.1.9


ip msdp ttl-threshold 192.168.1.9 2


ip msdp cache-sa-state list 101


ip msdp redistribute list 102


!


access-list 1 permit 229.50.0.0 0.0.255.255


access-list 101 permit ip 10.254.0.0 0.0.255.255 224.0.0.0 31.255.255.255


access-list 102 permit ip 192.168.224.0 0.0.0.255 224.0.0.0 31.255.255.255


access-list 103 permit ip 172.16.0.0 0.0.255.255 230.0.0.0 0.255.255.255


access-list 103 permit ip 192.168.224.0 0.0.0.255 224.0.0.0 31.255.255.255


The two statements enabling MSDP to Rodan and Kong, as shown in Example 7-12, remain. But added to the configuration is a text description for each peer, using the ip msdp description command. The description always appears directly after the ip msdp peer command for a specific peer, and it is obviously useful when there are large numbers of MSDP peers.

SA caching is enabled with ip msdp cache-sa-state, and in this configuration, an optional access list is referenced. Access list 101 specifies that Megalon will cache only SA messages for (S, G) pairs whose source address begins with 10.254.0.0/16. The group can be any multicast address (224.0.0.0/3).

An ip msdp sa-request statement is entered for each of the two peers to further reduce join latency. If the router receives a join message for a particular group, it sends an SA Request message to the two neighbors. The assumption here, as previously discussed, is that the two neighbors are configured to cache SA messages.

SA Requests to Rodan (192.168.254.1) are further restricted with the ip msdp filter-sa-request command. This filter references access list 1, which allows only 229.50.0.0/16. The result is that Megalon will request only source information from Rodan for groups whose addresses fall under prefix 229.50.0.0/16.

Next, Megalon is configured to send only SA messages for a subset of the possible sources that might send PIM-SM Register messages to it. The ip msdp redistribute statement references access list 102, which in turn permits source prefixes of 192.168.224.0/24 and group address prefixes of 224.0.0.0/3 (all multicast groups). Any source can still register with the RP, within the limits of the RP's PIM-SM configuration, but only those sources whose first 24 address bits are 192.168.224 are advertised in SA messages.

The forwarding of SA messages to MSDP peers is regulated with the ip msdp sa-filter out command. This filter applies to all SA messages, whether locally originated or received from another MSDP peer, whereas the ip msdp redistribute command applies only to locally originated SA messages. Megalon has two of these statements. For neighbor Rodan (192.168.254.1), only messages from source prefix 10.254.0.0/16 are forwarded, as specified by access list 101. Megalon sends to Kong (192.168.1.9) only SA messages that are permitted by access list 103. This access list permits messages whose source prefix is 172.16.0.0/16 and whose group addresses belong to 230.0.0.0/8, or sources whose prefix is 192.168.224.0/24 originating packets for any multicast group.

You can also filter incoming SA messages with the ip msdp sa-filter in command. Using this command, Megalon accepts SA messages from Kong only if the (S, G) pair is permitted by access list 101. Notice that this is the same constraint that is placed on outgoing SA messages to Rodan.

Finally, the TTL values of the MSDP messages are regulated with the ip msdp ttl-threshold command. The TTL of messages sent to Rodan is set to 5, whereas the TTL of messages sent to Kong is set to 2.

Example 7-15 shows the results of this configuration. Compare this display with the display in Example 7-13, and you can see the descriptions, filters, and TTL thresholds that have changed.

Example 7-15 This Display Reflects the Changes Made to Megalon's MSDP Configuration


Megalon#show ip msdp peer


MSDP Peer 192.168.254.1 (?), AS 100


Description: Rodan in AS 100


  Connection status:


    State: Up, Resets: 0, Connection source: Loopback0 (192.168.254.2)


    Uptime(Downtime): 4d14h, Messages sent/received: 6624/6617


    Output messages discarded: 0


    Connection and counters cleared 4d14h    ago


  SA Filtering:


    Input filter: none, route-map: none


    Output filter: 101, route-map: none


  SA-Requests:


    Input filter: 1


    Sending SA-Requests to peer: enabled


  Peer ttl threshold: 5


  Input queue size: 0, Output queue size: 0


MSDP Peer 192.168.1.9 (?), AS 300


Description: Kong in AS 300


  Connection status:


    State: Up, Resets: 0, Connection source: none configured


    Uptime(Downtime): 4d14h, Messages sent/received: 6614/6634


    Output messages discarded: 0


    Connection and counters cleared 4d14h    ago


  SA Filtering:


    Input filter: 101, route-map: none


    Output filter: 102, route-map: none


  SA-Requests:


    Input filter: none


    Sending SA-Requests to peer: enabled


  Peer ttl threshold: 2


  Input queue size: 0, Output queue size: 0


Megalon#


In addition to access lists, you can link incoming and outgoing SA filters to route maps for even better granularity of control and application of policy. You also can use route maps in conjunction with MSDP redistribution, as well as AS path access lists.