remote hostname

To configure the hostname for the remote machine, use the remote hostname command. To revert to the default settings, use the no form of this command.

remote hostname host-name [ port port-num ] [ vrf { vrf-name | default | management }]

no remote hostname

Syntax Description

host-name
Name of the remote host. The name can be a maximum of 128 characters.
port port-num
(Optional) Configures the TCP port of the remote host. The port number is from 1 to 65355.
vrf
(Optional) Specifies the virtual routing and forwarding (VRF) instance to use.
vrf-name
VRF name. The name is case sensitive and can be a maximum of 32 characters.
default
(Optional) Specifies the default VRF.
management
(Optional) Specifies the management VRF.

Command Default

None

Command Modes

SVS connection configuration mode

Command History

Release
Modification
5.1(3)N1(1)
This command was introduced.

Usage Guidelines

This command does not require a license.

Examples

This example shows how to configure the hostname for a remote machine:

switch# configure terminal
switch(config)# svs connection SVSConn
switch(config-svs-conn)# remote hostname vcMain
switch(config-svs-conn)#
 

This example shows how to remove the hostname configuration for a remote machine:

switch# configure terminal
switch(config)# svs connection SVSConn
switch(config-svs-conn)# no remote hostname
switch(config-svs-conn)#
 

Related Commands

Command
Description
remote ip address
Configures the IPv4 address for a remote machine.
remote port
Configures the TCP port for a remote machine.
remote vrf
Configures the virtual routing and forwarding (VRF) instance for a remote machine.
show svs connections
Displays SVS connection information.
svs connection
Enables an SVS connection.