Configuring Option 82 handling

Option 82, or ‟Relay Information Option” is a field in DHCP messages used to identify the subscriber. The Option 82 field can already be filled in when a DHCP message is received at the router, or it can be empty. If the field is empty, the router shoulMAC learning must be enabled in the VPLS service, for DHCP snooping.d add identifying information (circuit ID, remote ID or both). If the field is not empty, the router can decide to replace it.

The following is a sample partial BSA configuration with Option 82 adding on a VPLS service. Note that snooping must be enabled explicitly on a SAP.

Example: Partial BSA configuration — adding Option 82 to a VPLS

*A:7210SAS>config>service# 
----------------------------------------------

vpls 2 customer 1 create
            shutdown 
            stp
                shutdown
            exit
sap 1/1/12:100 create 
                dhcp                    //Configuration example to add option 82
                    option
                        action replace
                        circuit-id
                        no remote-id
                    exit
                    no shutdown
                exit
            exit
            no shutdown
        exit
----------------------------------------------

*A:7210SAS>config>service# 

The following example displays a partial BSA configuration to remove the Option 82 on a VPLS.

Example: Partial BSA configuration — removing Option 82 from a VPLS

vpls 2 customer 1 create      
            stp
                shutdown
            exit
            sap 1/1/14:100 create      //Configuration example to remove option 82
                dhcp
                    snoop
                    no shutdown
                exit
            exit