Hostname Command on CISCO Router/Switch

Other Cisco Other Cisco Material Original source

Command

Hostname

Use

Sets the hostname of the router.

Syntax

Router(config)#hostname

Example

In the below example the hostname command is used to change the router name.

Copy

R1(config)#hostname TEST

TEST(config)#hostname R1

R1(config)#
← All Other Cisco articles Home