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.

N7K-1-Core1#<br />

Configuring Anycast-RP<br />

An alternative configuration is PIM Anycast-RP in which the same IP address is configured<br />

on multiple devices. This capability enables receivers to follow the unicast routing table to<br />

find the best path to the RP. It is commonly used in large environments where the preference<br />

is to minimize the impact of being an RP on a device <strong>and</strong> provide rudimentary loadbalancing.<br />

In Example 4-9, both N7K-1-Core1 <strong>and</strong> N7K-2-Core have Loopback1 added to<br />

their configuration <strong>and</strong> defined as the PIM Anycast-RP for the network, as shown in Figure<br />

4-5. This additional loopback is added to ease troubleshooting in the network <strong>and</strong> easily<br />

identify anycast traffic.<br />

Example 4-9. Configuring PIM Anycast-RP<br />

Click here to view code image<br />

N7K-1-Core1# show ip pim rp<br />

PIM RP Status Information for VRF "default"<br />

BSR disabled<br />

Auto-RP disabled<br />

BSR RP C<strong>and</strong>idate policy: None<br />

BSR RP policy: None<br />

Auto-RP Announce policy: None<br />

Auto-RP Discovery policy: None<br />

N7K-1-Core1# config<br />

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

CNTL/Z.<br />

N7K-1-Core1(config)# int lo1<br />

N7K-1-Core1(config-if)# Desc Loopback or PIM Anycast-RP<br />

N7K-1-Core1(config-if)# ip address 10.1.0.10/32<br />

% 10.1.0.10/32 overlaps with address configured on<br />

Ethernet4/3<br />

N7K-1-Core1(config-if)# ip router <strong>os</strong>pf 100 area 0<br />

N7K-1-Core1(config-if)# no shut<br />

N7K-1-Core1(config-if)# exit<br />

N7K-1-Core1(config)# ip pim anycast-rp 10.1.0.10 10.1.0.1<br />

N7K-1-Core1(config)# ip pim anycast-rp 10.1.0.10 10.1.0.2<br />

N7K-1-Core1(config)# end<br />

N7K-1-Core1#<br />

N7K-1-Core1# show ip pim rp<br />

PIM RP Status Information for VRF "default"<br />

BSR disabled<br />

Auto-RP disabled

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

Saved successfully!

Ooh no, something went wrong!