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.

Congo(config-if)# ip <strong>os</strong>pf passive-interface <strong>os</strong>pf 100<br />

Congo(config-if)# end<br />

Example 3-40 demonstrates how to configure an OSPF passive interface with an<br />

alphanumeric process ID.<br />

Example 3-40. OSPF Passive Interface with an Alphanumeric Process ID<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)# int vlan 100<br />

Congo(config-if)# ip <strong>os</strong>pf passive-interface<br />

Congo(config-if)# show ip <strong>os</strong>pf int vlan 100<br />

Vlan100 is up, line protocol is up<br />

IP address 10.10.100.2/24, Process ID DataCenter1 VRF<br />

default, area 0.0.0.51<br />

Enabled by interface configuration<br />

State DR, Network type BROADCAST, c<strong>os</strong>t 40<br />

Index 2, Passive interface<br />

Congo(config-if)# show run int vlan 100<br />

!Comm<strong>and</strong>: show running-config interface Vlan100<br />

!Time: Tue Sep 29 23:35:42 2009<br />

version 4.2(2a)<br />

interface Vlan100<br />

no shutdown<br />

description Server Subnet1<br />

ip address 10.10.100.2/24<br />

ip <strong>os</strong>pf passive-interface<br />

ip router <strong>os</strong>pf DataCenter1 area 0.0.0.51<br />

NX-OS version 5.2(1) brings support for default passive interfaces, as outlined in Example<br />

3-41. This sets all interfaces to passive by default, <strong>and</strong> enables you to manually configure a<br />

specific interface to listen to hell<strong>os</strong> <strong>and</strong> form neighbor adjacencies. This is accomplished<br />

via the no ip <strong>os</strong>pf passive-interface comm<strong>and</strong> under the interface subconfiguration.<br />

Example 3-41. OSPF Default Passive Interface Configuration<br />

Click here to view code image<br />

Congo# config t<br />

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

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

Saved successfully!

Ooh no, something went wrong!