From 0a21905786d31e759416dd335d87726f9ed46ffa Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 20 Sep 2020 13:40:51 +0200 Subject: vif-s: ifconfig: T2903: use explicit VLAN protocol over raw numbers In the past we had to provide the ethertype value used for the VLAN protocol (0x88A8 -> 802.1ad or 0x8100 -> 802.1q). This should be changed to a more user friendly CLI node (protocol over ethertype) and 802.1ad over it's raw value 0x88A8. There is no need in presenting RAW information from the ethernet header to the user. Also iproute2 calls it protocol which makes way more sense over the "raw" value. --- interface-definitions/include/vif-s.xml.i | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'interface-definitions') diff --git a/interface-definitions/include/vif-s.xml.i b/interface-definitions/include/vif-s.xml.i index a6d7c81ce..cd0afe742 100644 --- a/interface-definitions/include/vif-s.xml.i +++ b/interface-definitions/include/vif-s.xml.i @@ -13,25 +13,26 @@ #include #include #include - + - Set Ethertype + Protocol used for service VLAN (default: 802.1ad) - 0x88A8 0x8100 + 802.1ad 802.1q - 0x88A8 - 802.1ad + 802.1ad + Provider Bridging (IEEE 802.1ad, Q-inQ), ethertype 0x88a8 - 0x8100 - 802.1q + 802.1q + VLAN-tagged frame (IEEE 802.1q), ethertype 0x8100 - (0x88A8|0x8100) + (802.1q|802.1ad) - Ethertype must be 0x88A8 or 0x8100 + Ethertype must be 802.1ad or 802.1q + 802.1ad -- cgit v1.2.3