Hostname Command on CISCO Router/Switch

Command

Hostname

Use

Sets the hostname of the router.

Syntax

Router(config)#hostname <WORD>

Example

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

R1(config)#hostname TEST
TEST(config)#hostname R1
R1(config)#

Related Articles

Leave a Reply

avatar