Calix AXOS - E7 Layer 2 DHCP Profile via SMX
Background
You need to adjust the DHCP profile in SMX to prevent customers from getting too many IPs if they plug in a switch to the ONT or plug a gateway in backwards functionally switching home devices in the subscriber VLAN. This page was pulled from the SMX manual on 10-5-21.
Creating a Layer 2 DHCP Profile
This topic describes how to create a Layer 2 DHCP profile, and is organized as follows:
- Overview | Configuration guidelines | Procedures | Parameters
Overview
You can assign a Layer 2 DHCP profile under an L2 VLAN to enable L2 DHCP Snoop for v4.
Configuration guidelines
Procedures
To create a L2 DHCP profile (via SMx)
- From the menu bar, click Profiles.
- In the Quick Links menu, click Common > L2 DHCP Proxy Profile.
- In the DHCP Profile page, click Create.
- In the Create DHCP Profile panel, do the following:
- Reference the table above to provision the parameters.
- Click Submit to save your profile.
To create a L2 DHCP profile (via CLI)
- In the CLI configuration mode, enter the starting point command "l2-dhcp-profile" and enter a unique name for the L2 DHCP profile.
l2-dhcp-profile <name>
- Reference the table below to configure other parameters as required.
Parameters
You can provision the following parameters to create a L2 DHCP profile:
CLI Parameter
SMx Parameter
Description
l2-dhcp-profile <profile-name>
Name
A unique name for the L2 DHCP profile, consisting of a string of up to 48 characters, including letters, numbers, and special characters:
_ (underscore), - (hyphen), . (dot)
id-name
ID Profile
Name of a previously configured ID profile to apply to the L2 DHCP profile.
lease-limit
JSI Recommends set this to 1
Lease Limit
Maximum number of DHCP clients allowed, per interface.
Valid values:
- 0–256; (default =16, 0 = unlimited)
lock
Lock
Prevent lease movement across interfaces.
Valid values:
- ENABLED
- DISABLED (default)
single-lease-overwrite
JSI Recommends setting this to enabled if the lease-limit is set to 1
Single Lease Overwrite
When the lease-limit is 1, allow a new host's lease to replace the current lease on an interface.
Valid values:
- ENABLED
- DISABLED (default)
stag-pcp
Overwrites the priority (PCP) bits in the DHCP packet.