Optional) Setting The Format Of The Option 82 Field - Huawei Quidway S3700 Series Configuration Manual

Hide thumbs Also See for Quidway S3700 Series:
Table of Contents

Advertisement

Quidway S3700 Series Ethernet Switches
Configuration Guide - Security
----End

3.5.5 (Optional) Setting the Format of the Option 82 Field

You can set the format of the Option 82 field globally or on an interface. If the format of the
Option 82 field is set on an interface, the format of the Option 82 field on the interface takes
effect. If the format of the Option 82 field is not set on an interface, the globally configured
format of the Option 82 field takes effect.
Procedure
l
Issue 01 (2011-07-15)
system-view
The system view is displayed.
2.
Run:
vlan vlan-id
The VLAN view is displayed.
3.
Run:
dhcp option82 insert enable interface { interface-name | interface-type
interface-number } [ to interface-number ]
The Option 82 is appended to DHCP messages.
Or, run:
dhcp option82 rebuild enable interface { interface-name | interface-type
interface-number } [ to interface-number ]
The Option 82 is forcibly appended to DHCP messages.
The prerequisites for the upper commands to take effect are the interfaces are added
to the VLAN in step 2.
– After the dhcp option82 insert enable interface { interface-name | interface-
type interface-number } [ to interface-number ] command is used, the Option 82
is appended to DHCP messages if original DHCP messages do not carry the Option
82 field; If the DHCP message contains an Option 82 field previously, the
S3700 checks whether the Option 82 field contains the Remote-id. If the Option
82 field contains the Remote-id, the S3700 retains the original Option 82 field. If
not, the S3700 inserts the Remote-id to the Option 82 field. By default, the Remote-
id is the MAC address of the S3700.
– After the dhcp option82 rebuild enable interface { interface-name | interface-
type interface-number } [ to interface-number ] command is used, the Option 82
field is appended to DHCP messages if original DHCP messages do not carry the
Option 82 field; the original Option 82 field is removed and a new one is appended
if the original DHCP messages carry the Option 82 field.
Setting the format of the Option 82 field in the system view
1.
Run:
system-view
The system view is displayed.
2.
Run:
dhcp option82 [ circuit-id | remote-id ] format { default | common |
extend | user-defined text }
The format of the Option 82 field is set.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3 DHCP Snooping Configuration
103

Advertisement

Table of Contents
loading

Table of Contents