免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1360 | 回复: 0
打印 上一主题 下一主题

IBM Total Storage SAN Switch 安装及用户手册2 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-06-01 15:13 |只看该作者 |倒序浏览
三.设置IP 地址
ipAddrShow – 显示交换机的IP设置
sw2:admin> ipAddrShow
Ethernet IP Address: 10.77.77.77
Ethernet Subnetmask: 255.255.255.0
Fibre Channel IP Address: none
Fibre Channel Subnetmask: none
Gateway Address: 0.0.0.0

ipAddrSet – 为交换机设置IP地址
sw2:admin> ipAddrSet
Ethernet IP Address [10.77.77.77]: 192.168.30.107
Ethernet Subnetmask [0.0.0.0]: 255.255.255.0
Fibre Channel IP Address [none]:
Fibre Channel Subnetmask [none]:
Gateway Address [172.17.1.1]:
Set IP address now? [y = set now, n = next reboot]: y

此外,ifmodeshow可以用于检查交换机以太网络端口工作模式;
Fab_E1_1:admin> ifmodeshow "eth0"
Link mode: negotiated 100baseTx-FD, link ok
ifmodeset可以用于设置交换机以太网络端口工作模式
步骤如下:
ifmodeset "eth0"
Are you sure you really want to do this? (yes, y, no, n): [no] yes
Proceed with caution.
Auto-negotiate (yes, y, no, n): [no] yes
Advertise 100 Mbps / Full Duplex (yes, y, no, n): [yes] yes
Advertise 100 Mbps / Half Duplex (yes, y, no, n): [yes] no
Advertise 10 Mbps / Full Duplex (yes, y, no, n): [yes] no
Advertise 10 Mbps / Half Duplex (yes, y, no, n): [yes] no
Committing configuration...done.

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/17749/showart_121558.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP