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.

ip dhcp snooping<br />

ip dhcp snooping vlan 5,10,100,500<br />

service dhcp<br />

ip dhcp relay<br />

Egypt(config)#<br />

If the device receives a packet on an untrusted interface <strong>and</strong> the source MAC address <strong>and</strong><br />

the DHCP client hardware address do not match, address verification causes the device to<br />

drop the packet.<br />

Example 5-65 shows how to enable DHCP Snooping MAC Address verification.<br />

Example 5-65. Enabling DHCP Snooping MAC Address Verification<br />

Egypt(config)# ip dhcp snooping verify mac-address<br />

Example 5-66 shows how to configure interface Ethernet 1/1 trusted source of DHCP<br />

messages. The trusted interface is an interface configured to receive only messages from<br />

within the network.<br />

Example 5-66. Configuring Interface Ethernet 1/1 Trusted Source of DHCP Messages<br />

Click here to view code image<br />

Egypt# conf t<br />

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

CNTL/Z.<br />

Egypt(config)# int e1/1<br />

Egypt(config-if)# ip dhcp snooping trust<br />

Egypt(config-if)# exit<br />

Egypt# show running-config dhcp<br />

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

!Time: Thu Oct 1 18:16:13 2009<br />

version 5.2(3a)<br />

feature dhcp<br />

interface Ethernet1/1<br />

ip dhcp snooping trust<br />

ip dhcp snooping<br />

ip dhcp snooping vlan 5,10,100,500<br />

service dhcp<br />

ip dhcp relay

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

Saved successfully!

Ooh no, something went wrong!