Project

General

Profile

Actions

Feature #13511

closed

Priority Code Point (PCP) option on interface configuration

Added by Steve Wheeler about 1 year ago. Updated 5 months ago.

Status:
Resolved
Priority:
Normal
Category:
Interfaces
Target version:
Start date:
04/17/2023
Due date:
% Done:

100%

Estimated time:
3.00 h
Release Notes:
Default

Description

In FreeBSD 13 and newer ifconfig includes the ability to set a PCP value on an interface directly. That allows sending priority only tagged traffic (vlan0).

This works fine in pfSense 2.7/22.11 from the CLI:

[22.11-DEVELOPMENT][admin@4100.stevew.lan]/root: ifconfig igc1 pcp 4
[22.11-DEVELOPMENT][admin@4100.stevew.lan]/root: ifconfig igc1 
igc1: flags=8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    description: LAN2
    options=4e120bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWFILTER,RXCSUM_IPV6,TXCSUM_IPV6,NOMAP>
    ether 90:ec:77:1f:8a:62
    pcp 4
    inet6 fe80::92ec:77ff:fe1f:8a62%igc1 prefixlen 64 scopeid 0x2
    inet 10.14.0.1 netmask 0xffffff00 broadcast 10.14.0.255
    media: Ethernet autoselect
    status: no carrier
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

A field should be added in the GUI and config to allow setting it.

Actions #1

Updated by Patch Public 11 months ago

An alternative GUI interface to enable setting the VLAN to zero is, to allow the VLAN to be set to zero in the GUI.
As described in https://redmine.pfsense.org/issues/13610

Note it may also still be valuable to be able to directly set the PCP on an interface independent of it's VLAN tag.

Actions #2

Updated by Jim Pingle 8 months ago

  • Has duplicate Feature #13656: Add UI Elements for Priority Control Point on Interfaces added
Actions #3

Updated by Christian McDonald 6 months ago

  • Assignee set to Christian McDonald
Actions #4

Updated by Christian McDonald 5 months ago

  • % Done changed from 0 to 70
Actions #5

Updated by Christian McDonald 5 months ago

  • Target version deleted (CE-Next)
  • Start date set to 04/17/2023
  • Plus Target Version changed from Plus-Next to 23.05
Actions #6

Updated by Jim Pingle 5 months ago

  • Project changed from pfSense to pfSense Plus
  • Category changed from Interfaces to Interfaces
  • Target version set to 23.05
  • Plus Target Version deleted (23.05)
Actions #7

Updated by Christian McDonald 5 months ago

  • Status changed from New to Pull Request Review
  • % Done changed from 70 to 100
  • Estimated time set to 3.00 h
Actions #9

Updated by Christian McDonald 5 months ago

  • Status changed from Pull Request Review to Feedback
Actions #10

Updated by Jim Pingle 5 months ago

  • Subject changed from Add a PCP field to interface configuration to Priority Code Point (PCP) option on interface configuration

Updating subject for release notes.

Actions #11

Updated by Christian McDonald 5 months ago

  • Status changed from Feedback to Resolved

This seems to work as expected.

Actions

Also available in: Atom PDF