22.05.2017 Views

nx.os.and.cisco.nexus.switching.2nd.edition.1587143046

Nexus Switching 2nd Edition

Nexus Switching 2nd Edition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figure 3-9. Network Topology for OSPF Redistribution<br />

Example 3-56. Defining a Prefix List for the Default Route<br />

Click here to view code image<br />

Congo# config t<br />

Enter configuration comm<strong>and</strong>s, one per line. End with<br />

CNTL/Z.<br />

Congo(config)# ip prefix-list default-only seq 5 permit<br />

0.0.0.0/0 eq 32<br />

Congo(config)#<br />

Next, you define a route map, called default-to-<strong>os</strong>pf, which uses the prefix list named<br />

default-only, to bring in only the 0/0 route, as demonstrated in Example 3-57.<br />

Example 3-57. Defining a Route Map for the Default Route<br />

Click here to view code image<br />

Congo(config)# route-map default-to-OSPF permit 10<br />

Congo(config-route-map)# description Allows static default<br />

route

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!