L2BSA Configuration
This document assumes a working base configuration explaining the L2BSA specific additions only.
AAA Profile Configuration
Each L2BSA service refers to a mandatory AAA configuration profile as explained in detail in the Subscriber Management Configuration Guide. The following example shows the minimum configuration with authentication and accounting disabled.
supervisor@leaf1: cfg> show config access aaa-profile aaa-l2bsa-default { "rtbrick-config:aaa-profile": [ { "profile-name": "aaa-l2bsa-default", "authentication": { "order": "NONE" }, "accounting": { "order": "NONE" } } ] }
Intermediate Agent Configuration
The intermediate agent function must be enabled for each physical interface used by L2BSA services.
supervisor@leaf1: cfg> set access l2bsa intermediate-agent interface ifp-0/1/23 <cr> pppoe-enable Enable/disable the L2BSA intermediate agent for PPPoE Discovery dhcpv4-enable Enable/disable the L2BSA intermediate agent for DHCPv4 dhcpv6-enable Enable/disable the L2BSA intermediate agent for DHCPv6 vlan-mode L2BSA intermediate agent VLAN mode inner-vlan-min Inner VLAN min inner-vlan-max Inner VLAN max
Attribute | Description |
---|---|
pppoe-enable |
This option allows enabling/disabling the intermediate agent function for PPPoE discovery packets. Default: true (enabled) |
dhcpv4-enable |
This option allows enabling/disabling the intermediate agent function for DHCPv4 packets. Default: true (enabled) |
dhcpv6-enable |
This option allows enabling/disabling the intermediate agent function for DHCPv6 packets. Default: true (enabled) |
vlan-mode |
This option enables the intermediate agent function for single, double, or single and double-tagged packets. Default: SINGLE_DOUBLE Values: SINGLE, DOUBLE, SINGLE_DOUBLE |
inner-vlan-min/max |
This option is applicable for double-tagged packets only and allows limiting the intermediate agent function to a given inner VLAN range. Default: all |
The following common example enables the intermediate agent for all packets (PPPoE, DHCPv4 and DHCPv6) for all single-tagged packets and double-tagged packets with inner VLAN between 1 and 3000.
supervisor@leaf1: cfg> show config access l2bsa intermediate-agent { "rtbrick-config:intermediate-agent": { "interface": [ { "interface-name": "ifp-0/1/23", "inner-vlan-min": 1, "inner-vlan-max": 3000, } ] } }