sip-server (IP address pool view)

Function

The sip-server command configures the IP address or name of a SIP server.

The undo sip-server command deletes the configuration.

By default, no IP address or name is configured for a SIP server.

Format

sip-server { { ip-address ip-address1 [ ip-address ip-address2 ] } | { list server-name1 [ list server-name2 ] } }

undo sip-server

Parameters

Parameter Description Value
ip-address ip-address1

Specifies the IP address of a SIP server.

The value is in dotted decimal notation.

ip-address ip-address2

Specifies the IP address of a SIP server.

The value is in dotted decimal notation.

list server-name1

Specifies the name of the SIP server.

The value is a string of characters ranging from 1 to 63.

list server-name2

Specifies the name of the SIP server.

The value is a string of characters ranging from 1 to 63.

Views

IP address pool view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
dhcp write

Usage Guidelines

Usage Scenario

The establishment of multimedia sessions between DHCP clients requires a SIP server to complete user locating, authentication, and authorization. To allow a DHCP client to access the SIP server, run the sip-server command on the DHCP server to configure the SIP server address of an address pool. After that, the DHCP server notifies the DHCP client of the SIP server address through Option 120 during address assignment.

Prerequisites

A SIP server already exists.

Precautions

A maximum of two SIP servers can be configured in an address pool.

Example

# Set the IP address of the SIP server to 10.2.3.4 in an address pool named huawei.
<HUAWEI> system-view
[~HUAWEI] ip pool huawei server
[~HUAWEI-ip-pool-huawei] sip-server ip-address 10.2.3.4
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >