Name

hostname — global

Synopsis

hostname name-string
no hostname

Configures

The hostname of the router

Default

Factory-assigned “Router”

Description

This command sets the hostname of the router.

Get Cisco IOS in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.