activate module

Function

The activate module command changes the yang module type.

By default, only the yang module of the huawei-ip type takes effect.

Format

activate module module-name

Parameters

Parameter Description Value
module-name

Specifies the yang module name.

The value is a string of 1 to 127 case-sensitive characters, spaces not supported.

Views

NETCONF user interface view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
netconf debug

Usage Guidelines

Usage Scenario

The activate module command changes the yang module type.

After the yang module is configured, the service needs to obtain the configuration information through the after script and perform related processing (for example, exclusive relationship processing).

Precautions

In VS mode, this command is supported only by the admin VS.

Example

# Set the yang module type to huawei-if-ip and disable the huawei-ip.
<HUAWEI> system-view
[~HUAWEI] netconf
[~HUAWEI-netconf] activate module huawei-ip
[~HUAWEI-netconf] activate module huawei-if-ip
Warning: The huawei-ip will be inactive.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >