No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Command Reference

AR500, AR510, and AR530 V200R007

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Fast Provisioning Configuration Commands

Fast Provisioning Configuration Commands

display fast provisioning record

Function

The display fast provisioning record command displays the automatic learning record of an interface enabled with the fast provisioning function.

Format

display fast provisioning record [ interface interface-type interface-number ]

Parameters

Parameter Description Value
interface interface-type interface-number Specifies the type and number of an interface. -

Views

All views

Default Level

2: Configuration level

Usage Guidelines

None

Example

# Display the automatic learning records of interfaces enabled with the fast provisioning function.

<Huawei> system-view
[Huawei] display fast provisioning record
----------Fast Provisioning Record-----------                                   
Ethernet1/0/0.1                                                                 
    State : successful                                                          
    Vlan : 11                                                                   
    IP : 172.16.0.1         Mask : 8                                            
Fast provisioning num : 1                                                          
---------------------------------------------  
Table 2-6  Description of the display fast provisioning record command output

Item

Description

State

State of a sub-interface. The value can be:
  • successful: The sub-interface has learned and saved the configuration successfully.

  • learning: The sub-interface is learning the configuration automatically.

Vlan/IP/Mask

Configuration information learned by the sub-interface.

Fast provisioning num

Number of sub-interfaces that have successfully learned configurations.

Currently, a maximum of eight sub-interfaces are supported.

display fast provisioning state

Function

The display fast provisioning state command displays the status of the fast provisioning function on interfaces.

Format

display fast provisioning state

Parameters

None

Views

All views

Default Level

2: Configuration level

Usage Guidelines

None

Example

# Display the status of the fast provisioning function on interfaces.

<Huawei> system-view
[Huawei] display fast provisioning state
----------Fast Provisioning State-----------                                    
GigabitEthernet0/0/1                                                            
    GigabitEthernet0/0/1.1                                                      
        State : enable                                                          
    GigabitEthernet0/0/1.2                                                      
        State : disable                                                         
---------------------------------------------  
Table 2-7  Description of the display fast provisioning state command output

Item

Description

State

Whether the fast provisioning function is enabled on a sub-interface.
  • enable: The fast provisioning function is enabled on the sub-interface.

  • disable: The fast provisioning function is disabled on the sub-interface.

  • restart: The fast provisioning function is enabled on the sub-interface after the device restarts.

  • inactive: The fast provisioning function is enabled on the sub-interface, but the physical state of the sub-interface is Down.

fast provisioning enable

Function

The fast provisioning enable command enables the fast provisioning function globally.

The undo fast provisioning enable command disables the fast provisioning function globally.

By default, the fast provisioning function is disabled globally.

Format

fast provisioning enable [ restart ]

undo fast provisioning enable

Parameters

Parameter Description Value
restart Indicates that the fast provisioning function is enabled globally after the device restarts. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Use Scenario

To enable the fast provisioning function, run the fast provisioning enable in the system view.

Precautions

  • 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 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.

  • The configuration takes effect immediately when the fast provisioning enable or undo fast provisioning enable command is used to enable or disable the fast provisioning function.

  • The configuration takes effect after the device restarts when the fast provisioning enable restart command is used to enable the fast provisioning function.

Example

# Enable the fast provisioning function globally.

<Huawei> system-view
[Huawei] fast provisioning enable

fast-provisioning disable (sub-interface view)

Function

The fast-provisioning disable command disables the fast provisioning function on a sub-interface.

The undo fast-provisioning disable command enables the fast provisioning function on a sub-interface.

By default, the fast provisioning function is disabled on a sub-interface. After the fast provisioning function is enabled on an interface, the function is automatically enabled on sub-interfaces of the interface.

Format

fast-provisioning disable

undo fast-provisioning disable

Parameters

None

Views

Ethernet sub-interface view, GE sub-interface view

Default Level

2: Configuration level

Usage Guidelines

Use Scenario

When the fast provisioning function is enabled on an interface using the fast-provisioning enable (interface view) command, all sub-interfaces of the interface have the function enabled. If the fast provisioning function only needs to be enabled on some sub-interfaces, run the fast-provisioning disable command to disable the fast provisioning function on specified sub-interfaces.

Prerequisite

The fast provisioning function has been enabled on the main interface using the fast-provisioning enable (interface view) command.

Example

# Disable the fast provisioning function on the sub-interface GE1/0/0.1.

<Huawei> system-view
[Huawei] fast provisioning enable
[Huawei] interface gigabitEthernet 1/0/0
[Huawei-GigabitEthernet1/0/0] fast-provisioning enable
[Huawei-GigabitEthernet1/0/0] quit
[Huawei] interface gigabitEthernet 1/0/0.1
[Huawei-GigabitEthernet1/0/0.1] fast-provisioning disable

fast-provisioning enable (interface view)

Function

The fast-provisioning enable command enables the fast provisioning function on an interface.

The undo fast-provisioning enable command disables the fast provisioning function on an interface.

By default, the fast provisioning function is disabled on an interface.

Format

fast-provisioning enable

undo fast-provisioning enable

Parameters

None

Views

Ethernet interface view, GE interface view

Default Level

2: Configuration level

Usage Guidelines

Use Scenario

You can run the fast-provisioning enable command to enable the fast provisioning function on an interface. After the fast provisioning function is enabled on an interface, sub-interfaces of the interface can automatically learn and save information such as the VLAN, IP address, and DLCI from the peer device.

Currently, the fast provisioning function is supported by Ethernet sub-interfaces.

Prerequisite

The fast provisioning function has been enabled globally using the fast provisioning enable command.

Precautions

  • 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.

Example

# Enable the fast provisioning function on GE1/0/0.

<Huawei> system-view
[Huawei] fast provisioning enable
[Huawei] interface gigabitEthernet 1/0/0
[Huawei-GigabitEthernet1/0/0] fast-provisioning enable

reset fast-provisioning

Function

The reset fast-provisioning command clears configuration information automatically learned by an interface using the fast provisioning function.

Format

reset fast-provisioning

Parameters

None

Views

Ethernet interface view, GE interface view, Ethernet sub-interface view, GE sub-interface view

Default Level

2: Configuration level

Usage Guidelines

Use Scenario

You can run the reset fast-provisioning command to clear configuration information automatically learned by an interface using the fast provisioning function. Sub-interfaces then can relearn configuration information automatically.

Precautions

  • In the main interface view, run the reset fast-provisioning command to clear all the configuration information learned by sub-interfaces of the main interface.

  • In the sub-interface view, run the reset fast-provisioning command to clear the IP address learned by the sub-interface.

  • 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.

Example

# Reset the status of the fast provisioning function on the sub-interface GE1/0/0.1.

<Huawei> system-view
[Huawei] interface gigabitEthernet 1/0/0.1
[Huawei-GigabitEthernet1/0/0.1] reset fast-provisioning
Translation
Download
Updated: 2019-02-18

Document ID: EDOC1000097293

Views: 36992

Downloads: 101

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next