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.

group ranges:<br />

239.100.0.0/16<br />

RP: 255.255.255.254, (0), uptime: 0.059510, expires:<br />

never,<br />

priority: 0, RP-source: (local), group-map: blackholerp,<br />

group ranges:<br />

239.100.112.1/32 239.100.110.1/32<br />

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

Configuring PIM Join <strong>and</strong> Prune Policies<br />

NX-OS enables the network administrator to specify-interface level PIM join <strong>and</strong> prune<br />

policies that provide a means to controlling traffic in a granular method. By either permitting<br />

or denying PIM join <strong>and</strong> prune messages, the network administrator can develop a specific<br />

topology <strong>and</strong> pathing through a network for multicast. In Example 4-22, a simple policy is<br />

applied to Ethernet 4/7 on N7K-1-Core1 to filter PIM join <strong>and</strong> prune messages for<br />

239.100.10.1/32 <strong>and</strong> permit all others.<br />

Example 4-22. Configuring PIM Join <strong>and</strong> Prune Policies<br />

Click here to view code image<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)# route-map pim-policy deny 10<br />

N7K-1-Core1(config-route-map)# match ip multicast group<br />

239.100.10.1/32<br />

N7K-1-Core1(config-route-map)# route-map pim-policy permit<br />

20<br />

N7K-1-Core1(config-route-map)# match ip multicast group<br />

224.0.0.0/4<br />

N7K-1-Core1(config-route-map)# int e4/7<br />

N7K-1-Core1(config-if)# ip pim jp-policy pim-policy in<br />

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

N7K-1-Core1# show ip pim interface e4/7<br />

PIM Interface Status for VRF "default"<br />

Ethernet4/7, Interface status: protocol-up/link-up/adminup<br />

IP address: 10.1.0.29, IP subnet: 10.1.0.28/30<br />

PIM DR: 10.1.0.30, DR's priority: 1<br />

PIM neighbor count: 1<br />

PIM hello interval: 30 secs, next hello sent in:<br />

00:00:18<br />

PIM neighbor holdtime: 105 secs

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

Saved successfully!

Ooh no, something went wrong!