Support hardware vendor matching in dynamic port policies 7.0.4
When you define the dynamic port policy rules for a dynamic port policy, you can now specify that a rule matches a specific hardware vendor before the switch controller changes the portʼs properties.
To create a dynamic port policy rule that matches a specific hardware vendor in the GUI:
-
On the Dynamic Port Policies page, select the dynamic port policy that you want to add dynamic port policy rules to.
-
Click Edit.
-
Click Create New.
-
In the Name field, enter a name for the dynamic port policy rule.
-
Make certain that the status is set to Enabled.
-
In the Description field, enter a description of the dynamic port policy rule.
-
Enable Hardware vendor and enter the name of the hardware vendor to match in the Hardware vendor field.
-
If you want to assign an LLDP profile to the device that matches the specified criteria, enable LLDP profile and select the LLDP profile.
-
If you want to assign a QoS policy to the device that matches the specified criteria, enable QoS policy and select the QoS policy.
-
If you want to assign an 802.1x policy to the device that matches the specified criteria, enable 802.1X policy and select the 802.1x policy.
-
If you want to assign a VLAN policy to the device that matches the specified criteria, enable VLAN policy and select the VLAN policy.
-
Click OK.
To create a dynamic port policy rule that matches a specific hardware vendor in the CLI:
config switch-controller dynamic-port-policy
edit <dynamic_port_policy_name>
set description <string>
set fortilink <FortiLink_interface_name>
config policy
edit <policy_name>
set description <string>
set status {enable | disable}
set hw-vendor <hardware_vendor>
set lldp-profile <LLDP_profile_name>
set qos-policy <QoS_policy_name>
set 802-1x <802.1x_policy_name>
set vlan-policy <VLAN_policy_name>
set bounce-port-link {disable | enable}
next
end
next
end
For example:
config switch-controller dynamic-port-policy
edit DPP1
set description "Policy for VMware devices"
set fortilink "flink"
config policy
edit policy1
set description "Rule applies only to VMware devices"
set status enable
set hw-vendor "VMware"
set lldp-profile "LLDPprofile1"
set bounce-port-link enable
next
end
next
end