> For the complete documentation index, see [llms.txt](https://kerwin.gitbook.io/ruijie/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kerwin.gitbook.io/ruijie/jiao-huan-chan-pin/path2/1.-pei-zhi-zhu-ji-ming.md).

# 1. 配置主机名

## 配置主机名

主机名用于标识交换机和路由器，通常它会作为提示符的一部分显示在命令提示符的前面。

交换机的默认名字一般是“Switch”，路由器的默认名字一般是“Router”。锐捷设备一般把名字默认为“Ruijie”，你可以用命令重新设置设备的名字。
