Enabling the Fast Provisioning Function
After the fast provisioning function is enabled, automatic learning is triggered only when the peer device sends ping packets.
Context
After the fast provisioning function is disabled globally using the undo fast provisioning enable command, the fast provisioning function configured on interfaces also becomes invalid.
After enabling the fast provisioning function on an interface, create a sub-interface for the interface. Only the sub-interface can automatically learn information such as the VLAN, IP address, and DLCI from the peer device.
After the fast provisioning function is enabled, the device starts a timer since the first time the automatic learning function is triggered. The fast provisioning function is automatically disabled globally and on interfaces 1 hour later. If the device restarts within 1 hour, the fast provisioning function will not be automatically disabled 1 hour later. In this case, the fast provisioning function can only be disabled using the undo fast provisioning enable command.
Procedure
- Run the system-view command to enter the system view.
- Run the fast provisioning enable [ restart ] command to enable the fast provisioning function globally.
By default, the fast provisioning function is disabled globally.
- Enable the fast provisioning function on different sub-interfaces as required.
Configuration on Ethernet interfaces:
Run the interface { ethernet | gigabitethernet } interface-number command to enter the Ethernet interface view.
Run the fast-provisioning enable command to enable the fast provisioning function on the interface.
Run the quit command to return to the system view.
Run the interface { ethernet | gigabitethernet } interface-number.subinterface-number command to create an Ethernet sub-interface and enter the sub-interface view.
Configuration on ADSL interfaces:Run the interface atm interface-number command to enter the ADSL interface view.
Run the fast-provisioning enable command to enable the fast provisioning function on the interface.
Run the quit command to return to the system view.
Run the interface atm interface-number.subinterface-number p2p command to create an ADSL sub-interface and enter the sub-interface view.
Run the pvc pvc-name vpi/vci command to create a PVC with specified VPI/VCI and enter the PVC view.
Run the map ip default command to create an IPoA mapping with a default route for the PVC.
Run the quit command to return to the ADSL sub-interface view.
Configuration on serial interfaces:
Run the interface serial interface-number command to enter the serial interface view.
Run the link-protocol fr [ ietf | nonstandard ] command to configure the FR encapsulation type for the interface.
Run the fast-provisioning enable command to enable the fast provisioning function on the interface.
Run the quit command to return to the system view.
Run the interface serial interface-number.subinterface-number p2p command to create serial sub-interfaces and enter the sub-interface view.
Currently, serial sub-interfaces support the fast provisioning function only when the sub-interface type is P2P.
- (Optional) Run the fast-provisioning disable command to disable the fast provisioning function on sub-interfaces.
Follow-Up Process
Run the ping [ -tos tos-value ] host command on the peer device to trigger automatic learning on the local device.
Automatic learning can only be triggered by using the ping host or ping -tos tos-value host command on the peer device.
Verifying the Configuration
Run the display fast provisioning state command to check the status of the fast provisioning function on the interface.
Run the display fast provisioning record [ interface interface-type interface-number ] command to check the automatic learning record on an interface enabled with the fast provisioning function.