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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

13-3.<br />

Example 13-3. Define the Global Mapping That Identifies the IP Subnets in the Data<br />

Center Assigned to the Servers<br />

Click here to view code image<br />

xTR#<br />

xTR# conf t<br />

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

CNTL/Z.<br />

xTR(config)# ip lisp database-mapping 172.20.0.0/16<br />

10.1.1.1 priority 1 weight 50<br />

xTR(config)# ip lisp database-mapping 172.20.0.0/16<br />

10.1.1.2 priority 1 weight 50<br />

xTR(config)# exit<br />

xTR# copy running-configuration startup-configuration<br />

The mapping configuration enables the aggregate prefix 172.20.0.0/16 to the two<br />

RLOC IP addresses; the RLOC IP addresses identifies the data center xTR LISP<br />

devices. The priority <strong>and</strong> weight are centrally configured <strong>and</strong> managed; this allows the<br />

administrator to influence the inbound traffic to a specific xTR. Example 13-3 has the<br />

priority <strong>and</strong> weights the same for both xTRs that enable load-balancing acr<strong>os</strong>s both the<br />

data center xTRs.<br />

4. Define the map-server (MS) <strong>and</strong> map-resolvers (MR) on the Nexus 7000, as shown in<br />

Example 13-4.<br />

Example 13-4. Define the Map-Servers <strong>and</strong> Map-Resolvers<br />

Click here to view code image<br />

xTR#<br />

xTR# conf t<br />

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

CNTL/Z.<br />

xTR(config)# ip lisp itr map-resolver 10.1.1.7<br />

xTR(config)# ip lisp etr map-server 10.1.1.5 key <strong>cisco</strong><br />

xTR(config)# ip lisp etr map-server 10.1.1.6 key <strong>cisco</strong><br />

xTR(config)# exit<br />

xTR# copy running-configuration startup-configuration<br />

The map-servers are deployed in a redundant fashion; map-servers do not share state<br />

information. Because the map-servers are stateless, the two entries are needed to<br />

define both map-servers in the Layer 3 infrastructure to have each xTR register the

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

Saved successfully!

Ooh no, something went wrong!