Configuring DHCP Relay Introduction
7-19
Software Reference for SwitchBlade x3100 Series Switches (Network Management)
2
create dhcprelay Ral agent remoteid
IFDESCRIPTION
Creates a DHCP Relay instance named “Ral”
whose remote ID is set to the Interface
Description.
Add snooping VLAN to the DHCP Relay instance
3
add dhcprelay Ral vlan 3200 Associates the snooping VLAN with the DHCP
Relay instance
Set operating mode of DHCP Relay instance to SNOOP
4
set dhcprelay Ral mode snoop Puts the DHCP Relay instance in Snoop mode
Review settings for new DHCP Relay instance
5
show dhcprelay Ral
--DHCP Agent Settings for instance: Ral
---------------------------------------------------------------------
Mode CID Format Shelf ID Remote ID Servers VLAN Vid list
----- ----------- ----------------- -------------- -------- ------------
SNOOP AUTO EC:CD:6D:03:10:CB IFDESCRIPTION None 3200
Interface Information
----------------------
(output omitted)
Add interfaces to the snooping VLAN
6
add vlan 3200 interface 0.21 frame
untagged
add vlan 3200 interface 0.20 frame
untagged
Adds customer interface 0.21 to the snooping
VLAN
Adds network interface 0.20 to the snooping
VLAN
Configure the network interface
7
set interface 0.20 ge direction network Sets interface 0.20 to the Network direction
View snooping information on interfaces
TABLE 7-3 Configuration Procedure for DHCP Relay Snooping
Step Command Description/Notes