首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网络技术 > 网络基础 >

aix剔除ip或者停止ip命令整理

2013-03-12 
aix删除ip或者停止ip命令整理1、直接smit命令smit inetChange / Show a Standard Ethernet InterfaceType o

aix删除ip或者停止ip命令整理

1、直接smit命令

smit inet
                                            Change / Show a Standard Ethernet Interface

Type or select values in entry fields.
Press Enter AFTER making all desired changes.
 
                                                        [Entry Fields]
  Network Interface Name                              en1                                             
  INTERNET ADDRESS (dotted decimal)                  [192.168.128.20]
  Network MASK (hexadecimal or dotted decimal)       [255.255.255.0]
  Current STATE                                       detach                                                                     +
  Use Address Resolution Protocol (ARP)?              yes                                                                        +
  BROADCAST ADDRESS (dotted decimal)                 []
  Interface Specific Network Options
     ('NULL' will unset the option)
    rfc1323                                          []
    tcp_mssdflt                                      []
    tcp_nodelay                                      []
    tcp_recvspace                                    []
    tcp_sendspace                                    []
  Apply change to DATABASE only                       no                                                                         +

2、命令行方式

停用网卡
ifconfig enX down
ifconfig enX detach
删除网卡 
rmdev -dl enX
rmdev -dl etX
rmdev -dl entX
修改hosts文件
vi /etc/hosts
重新安装硬件
cfgmgr -v
让系统自动再配置一次

 

热点排行