![](/style/images/good.png)
![](/style/images/bad.png)
二层管理型交换机如何设置IP
source link: https://blog.51cto.com/u_12310671/5514294
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
二层管理型交换机如何设置IP
原创![二层管理型交换机如何设置IP_show ip interface](https://s2.51cto.com/images/202207/74f3bea934c9e4cf4bf288444869cea5800d46.jpg?x-oss-process=image/watermark,size_14,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_30,g_se,x_10,y_10,shadow_20,type_ZmFuZ3poZW5naGVpdGk=,x-oss-process=image/resize,m_fixed,w_1184)
IP配置命令有:
show ip interface brief
ip address
功能介绍
ip配置模块可添加修改或查看交换机的接口ip信息;
show ip interface
命令描述
查看端口的ip配置,可show网络接口查看到ip信息,也可以show 对应vlan查看ip信息
参数
缺省
命令模式
示例
switch#show ip interfacebrief
switch#show interfacevlan 1
ip address
命令描述
ip address <address> <netmask>
如果希望修改交换机管理ip,可以通过此命令。
自动获取IP信息 | |
<address> | Vlan端口的ip地址 |
<netmask> |
缺省
VLAN 1端口
命令模式
vlan接口模式
示例
修改交换机管理IP
switch (config)# interface vlan1
switch (config-if-vlan)# ip address 192.168.1.1 255.255.255.0
switch# copy running-config startup-config
//修改IP后,保存配置
- 赞
- 收藏
- 评论
- 分享
- 举报
上一篇:AC控制器配置分流规则
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK