Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Gazer
New Contributor

How to insert DHCP option 82 into Fortiswitch system VLAN?

Version:7.41
Currently, three VLAN segments have been established in the System VLAN and relayed to the DHCP Server and recorded in the log.
Option 82 is enabled, but I want to change the message of option 82

The Option 82 I want to display is intfname vlan hostname mode description
I made the following settings and it works fine on the Switch vlan side.

But it cannot be displayed on the system VLAN, it will become the name VID hostname.


Have the following CLI configured
fortiswitch (global) # show
config system global
set dhcp-circuit-id intfname vlan hostname mode description
set dhcp-snoop-client-req forward-untrusted
set dst enable
set hostname "fortiswitch"
set timezone 04
end


fortiswitch# config switch interface

fortiswitch (interface) # show
config switch interface
edit "port5"
set description "ABCD"
set snmp-index 1
next

 

 

3 REPLIES 3
Anthony_E
Community Manager
Community Manager

Hello Gazer,


Thank you for using the Community Forum. I will seek to get you an answer or help. We will reply to this thread with an update as soon as possible.


Thanks,

Anthony-Fortinet Community Team.
Sheikh
Staff
Staff

Hello @Gazer 

 

As you are using version 7.4.1, so this option should be available as per this guide.

 

This feature requires FortiOS 7.4.0 or later and FortiSwitchOS 7.2.2 or later.

https://docs.fortinet.com/document/fortiswitch/7.4.1/fortilink-guide/61229/including-option-82-data

 

https://docs.fortinet.com/document/fortigate/7.4.0/new-features/843901/support-configuring-dhcp-snoo...

 

regards,

 

Sheikh

**If you come across a resolution, kindly show your appreciation by liking and accepting it, ensuring its accessibility for others**
Gazer
New Contributor

But when I used version 7.25, it still didn't work, so I upgraded to 7.41.

I checked the documentation
The reason seems to be that you can override the option 82 settings for DHCP snooping, but not DHCP relay. correct?

That is, in a DHCP relay environment, the option82 message cannot be overwritten.

Or is there any other way?

 

FortiSwitchOS-7.2.4-Administration_Guide

4445445.jpg

Labels
Top Kudoed Authors