Class – Brocade Mobility RFS7000-GR Controller CLI Reference Guide (Supporting software release 4.1.0.0-040GR and later) User Manual

Page 419

Advertising
background image

Brocade Mobility RFS7000-GR CLI Reference Guide

405

53-1001945-01

DHCP Config Commands

17

class

DHCP Config Commands

Use this command to associate a DHCP class with a pool. This command is used in Step 4 in the
usage guidelines provided below.

The CLI prompt moves to a sub-instance

(config-dhcp-class)

.

The configuration mode changes

from

(config-dhcp)# class

to

(config-dhcp-class)

. Refer to config-dhcp-class on page 406 for

(config-dhcp-class)

command summary.

Syntax

class (class nameWORD)

Parameters

Usage Guidelines

Follow the steps mentioned below to create a DHCP User Class:

1. Create a DHCP class named

RFS7000DHCPclass

. The switch supports a maximum of 32 DHCP

classes.

RFS7000(config)#ip dhcp class RFS7000DHCPclass

RFS7000(config-dhcpclass)#

2. Create a USER class named

MC800

. The privilege mode changes to

(config-dhcpclass)

. The

switch supports a maximum of 8 Users classes per DHCP class.

RFS7000(config-dhcpclass)#option user-class MC800

RFS7000(config-dhcpclass)#

3. Create a Pool named

WID

, using

(config)#

mode.

RFS7000(config)#ip dhcp pool WID

RFS7000(config-dhcp)#

4. Associate the DHCP class, created in Step 1, with the pool created in Step 3. The switch

supports association of only 8 CDHCP classes with a pool.

RFS7000(config-dhcp)#class RFS7000DHCPclass

RFS7000(config-dhcp-class)#

5. The switch moves to a new mode

(config-dhcp-class)

. Use this mode to add address

range to be used for the DHCP class, associated with the pool.

RFS7000(config-dhcp-class)#address range 11.22.33.44

Example

RFS7000(config-dhcp)#class RFS7000DHCPclass

class (class nameWORD)

Associates a class with a pool and enters DHCP pool class configuration mode.

Advertising