Configure IVL and SVL Vlan Learning in DFE

  • 0
  • 1
  • Article
  • Updated 5 years ago
Article ID: 5397 

Products
DFE 

Standards
802.1Q 

Commands
'set vlan constraint'
'clear vlan constraint'
'show vlan constraint'
'show vlan' 

Goals
Change from ivl to svl 

Solution
On the DFE, by default FID = VID, resulting in Independent VLAN Learning (IVL) behavior. For background regarding IVL vs SVL, please refer to 4918

The following discussion applies only to the DFE Diamond and Platinum lines. The DFE Gold line operates as IVL only. 

Applying overrides as necessary; a configuration of several VLANs could use IVL throughout (unique FID for each VLAN), SVL throughout (one FID for the whole DFE System), or any combination thereof. The aggregate IVL/SVL behavior on the System is determined by individual VID/FID associations. 

The three commands primarily under discussion here are: 

 set vlan constraint <vlan_list> <index> [independent | shared]
clear vlan constraint <vlan_list> <index>
show vlan constraint <vlan>

Basic guidelines:
  • 'Independent' learning is assumed for a VLAN unless 'shared' is specified for it.
  • Since there is no point to applying a constraint override unless the intention is to combine VLANs within a FID, specify 'shared' learning within any 'set' command.
  • Specify the same index for VIDs that are to be grouped to share the same FID.
  • The FID which will be assigned to a given group of shared VIDs having the same index is equal to the lowest VID in the group. Thus, the FID assignment can change as VIDs are added to (using the 'set' command) or removed from (using the 'clear' command) the shared group.
  • Configuration changes are immediately applied and saved to NVRAM.
  • The 'show vlan' command displays the resulting VID/FID binding assignments.

Shown here is an example configuration session, to set and then remove VID/FID overrides: 

 DFE(rw)->show vlan constraint
No Learning Constraint data
DFE(rw)->show vlan
VLAN: 1 NAME: DEFAULT VLAN Status: Enabled
VLAN Type: Permanent FID: 1
Creation Time: 1 days 5 hours 17 minutes 29 seconds ago
Egress Ports
ge.2.1;rtr.2.1
Forbidden Egress Ports
None.
Untagged Ports
ge.2.1;rtr.2.1

VLAN: 3 NAME: Status: Enabled
VLAN Type: Permanent FID: 3
. . .

VLAN: 10 NAME: Status: Enabled
VLAN Type: Permanent FID: 10
. . .

VLAN: 11 NAME: Status: Enabled
VLAN Type: Permanent FID: 11
. . .

VLAN: 132 NAME: Status: Enabled
VLAN Type: Permanent FID: 132
. . .

VLAN: 133 NAME: Status: Enabled
VLAN Type: Permanent FID: 133
. . .

DFE(rw)->set vlan constraint 3,11 2 shared
DFE(rw)->set vlan constraint 132-133 5 shared
DFE(rw)->set vlan constraint 10 100 independent
DFE(rw)->show vlan constraint
VLAN ID VLAN SET VLAN SET TYPE
3 2 Shared
10 100 Independent
11 2 Shared
132 5 Shared
133 5 Shared
DFE(rw)->show vlan
VLAN: 1 NAME: DEFAULT VLAN Status: Enabled
VLAN Type: Permanent FID: 1
. . .

VLAN: 3 NAME: Status: Enabled
VLAN Type: Permanent FID: 3
. . .

VLAN: 10 NAME: Status: Enabled
VLAN Type: Permanent FID: 10
. . .

VLAN: 11 NAME: Status: Enabled
VLAN Type: Permanent FID: 3
. . .

VLAN: 132 NAME: Status: Enabled
VLAN Type: Permanent FID: 132
. . .

VLAN: 133 NAME: Status: Enabled
VLAN Type: Permanent FID: 132
. . .

DFE(rw)->clear vlan constraint 3 2
DFE(rw)->show vlan 11
VLAN: 11 NAME: Status: Enabled
VLAN Type: Permanent FID: 11
. . .

DFE(rw)->show vlan constraint
VLAN ID VLAN SET VLAN SET TYPE
10 100 Independent
11 2 Shared
132 5 Shared
133 5 Shared
DFE(rw)->clear vlan constraint 10 100
DFE(rw)->clear vlan constraint 11 2
DFE(rw)->clear vlan constraint 132 5
DFE(rw)->clear vlan constraint 133 5
DFE(rw)->show vlan constraint
No Learning Constraint data
DFE(rw)->show vlan
VLAN: 1 NAME: DEFAULT VLAN Status: Enabled
VLAN Type: Permanent FID: 1
. . .

VLAN: 3 NAME: Status: Enabled
VLAN Type: Permanent FID: 3
. . .

VLAN: 10 NAME: Status: Enabled
VLAN Type: Permanent FID: 10
. . .

VLAN: 11 NAME: Status: Enabled
VLAN Type: Permanent FID: 11
. . .

VLAN: 132 NAME: Status: Enabled
VLAN Type: Permanent FID: 132
. . .

VLAN: 133 NAME: Status: Enabled
VLAN Type: Permanent FID: 133
. . .

DFE(rw)->

For more about these commands, please refer to the appropriate Configuration Guide for your firmware.
Photo of FAQ User

FAQ User, Official Rep

  • 13,620 Points 10k badge 2x thumb

Posted 5 years ago

  • 0
  • 1

There are no replies.

This conversation is no longer open for comments or replies.