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)#
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments