beautypg.com

Dhcp snooping configuration example, Zero touch provisioning – Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual

Page 800

background image

770

Multi-Service IronWare Switching Configuration Guide

53-1003036-02

Zero Touch Provisioning

19

DHCP snooping configuration example

The following example configures VLAN 2 and VLAN 20, and changes the CLI to the global
configuration level to enable DHCP snooping on the two VLANs. The commands are as follows.

Brocade(config)#vlan 2

Brocade(config-vlan-2)#untagged ethe 1/3 to 1/4

Brocade(config-vlan-2)#router-interface ve 2

Brocade(config-vlan-2)#exit

Brocade(config)# ip dhcp-snooping vlan 2

Brocade(config)#vlan 20

Brocade(config-vlan-20)#untagged ethe 1/1 to 1/2

Brocade(config-vlan-20)#router-interface ve 20

Brocade(config-vlan-20)#exit

Brocade(config)#ip dhcp-snooping vlan 20

On VLAN 2, client ports 1/3 and 1/4 are untrusted by default: all client ports are untrusted. Hence,
only DHCP client request packets received on ports 1/3 and 1/4 are forwarded.

On VLAN 20, ports 1/1 and 1/2 are connected to a DHCP server. DHCP server ports are set to
trusted.

Brocade(config)#interface ethernet 1/1

Brocade(config-if-e1000-1/1)#dhcp-snooping-trust

Brocade(config-if-e1000-1/1)#exit

Brocade(config)#interface ethernet 1/2

Brocade(config-if-e1000-1/2)#dhcp-snooping-trust

Brocade(config-if-e1000-1/2)#exit

Hence, DHCP sever reply packets received on ports 1/1 and 1/2 are forwarded, and client IP or
MAC binding information is collected.

The example also sets the DHCP server address for the local relay agent.

Brocade(config)# interface ve 2

Brocade(config-vif-2)#ip address 10.20.20.1/24

Brocade(config-vif-2)#ip helper-address 10.30.30.4

Brocade(config-vif-2)#interface ve 20

Brocade(config-vif-20)#ip address 10.30.30.1/24

Zero Touch Provisioning

Zero Touch Provisioning allows Brocade devices to automatically obtain a dynamically assigned
DHCP address, negotiate address lease renewal, and download flash image and configuration files.

Figure 198

provides information about this feature.