Cisco Unified Messaging Gateway Command Reference for 8.0 and Later Versions
H Commands (Common)

Table Of Contents

H

hostname

hostname (endpoint)


H


Last Updated: November 17, 2010

hostname

hostname (endpoint)

hostname

To specify the hostname of the current messaging gateway, use the hostname command in Cisco UMG configuration mode. To clear the configuration and revert to the default, use the no form of this command.

hostname name

no hostname name

Syntax Description

name

Hostname for the current configuring Cisco UMG, not including the domain name.


Command Default

Messaging gateway's IP address. The default hostname is none.

Command Modes

Cisco UMG configuration mode (config).

Command History

Cisco UMG Version
Modification

1.0

This command was introduced.


Usage Guidelines

Do not include the domain name when setting the hostname value.

Cisco UMG uses the hostname value in the module prompt.

If you use the no form of this command, the messaging gateway's hostname reverts to its IP address (preceded by "SE", which stands for "service-engine").

Examples

In the following example the hostname of the local messaging gateway with the IP address 10.0.0.0 is changed to umg-1 and then the default hostname is restored:

umg-1# config t
10-0-0-0(config)# hostname umg
umg-1(config)# no hostname
umg-1(config)#end
umg-1# show hosts
Hostname: se-10-0-0-0
Domain:        localdomain
umg-1#

Related Commands

Command
Description

ip domain-name

Specifies the local messaging gateway's domain name and DNS servers.

network local messaging-gateway

Specifies the location ID of the local Cisco UMG.

show hosts

Displays the hostname and domain of the current configuring messaging gateway.

show messaging-gateway

Displays any Cisco UMGs including the peer messaging gateways and the current configuring messaging gateway.


hostname (endpoint)

To specify the hostname of an endpoint you are provisioning manually, use the hostname command in Cisco UMG endpoint configuration mode.

hostname name

Syntax Description

name

Either the hostname for the endpoint (not including the domain name) or the IP address.


Command Modes

Cisco UMG endpoint configuration mode (config-endpoint).

Command History

Cisco UMG Version
Modification

1.0

This command was introduced.


Usage Guidelines

Do not include the domain name when setting the hostname value.

Examples

The following example illustrates manual configuration of an endpoint, including setting its hostname:

umg-1> enable
umg-1# config t
umg-1(config)# endpoint 12345 unity
umg-1(config-endpoint)# prefix 408902
umg-1(config-endpoint)# hostname unity408
umg-1(config-endpoint)# end

Related Commands

Command
Description

broadcast-id

(Optional) Provisions a broadcast VPIM ID to local Cisco Unity Express 3.0 and earlier versions.

domain

Configures the endpoint's domain name.

endpoint

Enters endpoint configuration mode to manually provision endpoints.

prefix

Sets the endpoint's telephone number prefix.

serial-number

Configures a serial number for a Cisco Unity endpoint.