< Home

callhome

Function

The callhome command creates a callhome template and enters the callhome template view.

The undo callhome command deletes a callhome template.

By default, there is no callhome template on a switch.

Format

callhome callhome-name

undo callhome callhome-name

Parameters

Parameter Description Value

callhome-name

Specifies the name of a callhome template.

The value is a string of 1 to 31 case-sensitive characters excluding spaces. If the string is enclosed in double quotation marks ("), the string can contain spaces.

Views

NETCONF view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

If iMaster NCE-Campus needs to configure and manage a switch in NETCONF over SSH Callhome mode, you must run the callhome command to create a callhome template so that the switch can proactively set up a NETCONF connection with iMaster NCE-Campus.

Follow-up Procedure

Run the ip address command in the callhome template view to configure the IPv4 address and port number for the NMS.

Precautions

Only one callhome template can be created on a switch. Before creating a new callhome template, delete the existing one by running the undo callhome callhome-name command. After the command is run, communication between the switch and NMS is interrupted.

Example

# Create the callhome template Huawei and display the callhome template view.

<HUAWEI> system-view
[HUAWEI] netconf
[HUAWEI-netconf] callhome Huawei
[HUAWEI-netconf-callhome-Huawei]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >