aix防火墙对我们来说是非常重要的,你会不会设置呢?下面由小编给你做出详细的aix防火墙设置方法介绍!希望对你有帮助!

aix防火墙设置方法一:

1. 使用smit命令打开图形化窗口进行系统配置

2. 选择以下子项开启或关闭防火墙Communications Applications and Services->Tcp IP->Configure Ip Security(IPv4)->Start/Stop IP Security->Start IP Security

3. 也可以使用以下子项对防火墙进行配置Communications Applications and Services->Tcp IP->Configure Ip Security(IPv4)->Start/Stop IP Security->Advantanced IP Security Configuration

aix防火墙设置方法二:

IPTRACE 可以看见防火墙上的网络通信状况,典型的命令格式如下: iptrace -d OUTSIDE_IP_ADDRESS -b /tmp/trace.out 其中 -d 参数后跟目标地址

-b 代表双向通信 要想看见网络的通信状况或发现故障的原因

做如下几步:

1. 运行 iptrace 命令 iptrace -d OUTSIDE_IP_ADDRESS -b /tmp/trace.out

2. 当故障发生时,杀掉 iptrace 进程。 用 "ps -ef|grep iptrace"命令来获得iptrace 的进程号。 然后用 "kill -9 PROCESS_ID" 命令来停止trace。

相关阅读:

aix网关查看方法

查看当前的默认网关

netstat -rn

会看到有多条的default.

如果用route命令(或smitty route)去删除,下次重启后,又会回来;所以要从ODM里删除。

2.查看ODM信息

# lsattr -El inet0

authm 65536 Authentication Methods True

bootup_option no Use BSD-style Network Configuration True

gateway Gateway True

hostname appserv1 Host Name True

rout6 IPv6 Route True

route net,-hopcount,0,,0,192.111.10.251 Route True

route net,-hopcount,0,,0,192.110.9.63 Route True

route net,-hopcount,0,,0,192.111.11.251 Route True

route net,-hopcount,0,,0,192.110.9.251 Route True

# odmget -q "name=inet0" CuAt

CuAt:

name = "inet0"

attribute = "hostname"

value = "host1"

type = "R"

generic = "DU"

rep = "s"

nls_index = 24

CuAt:

name = "inet0"

attribute = "route"

value = "net,-hopcount,0,,0,192.111.11.251"

type = "R"

generic = "DU"

rep = "s"

nls_index = 0

CuAt:

name = "inet0"

attribute = "route"

value = "net,-hopcount,0,,0,192.111.10.251"

type = "R"

generic = "DU"

rep = "s"

nls_index = 0

CuAt:

name = "inet0"

attribute = "route"

value = "net,-hopcount,0,,0,192.110.9.251"

type = "R"

generic = "DU"

rep = "s"

nls_index = 0

CuAt:

name = "inet0"

attribute = "route"

value = "net,-hopcount,0,,0,192.110.9.63"

type = "R"

generic = "DU"

rep = "s"

nls_index = 0

其中正确的应是192.110.9.63,其它都是多余的。

3.逐条删除没用的默认路由

# chdev -l inet0 -a delroute="net,-hopcount,0,,0,192.111.11.251"

Method error (/usr/lib/methods/chginet):

0514-068 Cause not known.

0821-279 writing to routing socket: The process does not exist.

0821-103 : The command /usr/sbin/route delete -net -hopcount 0 0 192.111.11.251 failed.

###删除其它(略)###

出现上面的报错信息,应该是AIX5.3的“误报”(至少在5300-08-01上是这样,AIX6不会)可以不用理会。

4.确认生效

# lsattr -El inet0

authm 65536 Authentication Methods True

bootup_option no Use BSD-style Network Configuration True

gateway Gateway True

hostname appserv1 Host Name True

rout6 IPv6 Route True

route net,-hopcount,0,,0,192.110.9.63 Route True

# odmget -q "name=inet0" CuAt

CuAt:

name = "inet0"

attribute = "hostname"

value = "appserv1"

type = "R"

generic = "DU"

rep = "s"

nls_index = 24

CuAt:

name = "inet0"

attribute = "route"

value = "net,-hopcount,0,,0,192.110.9.63"

type = "R"

generic = "DU"

rep = "s"

nls_index = 0

# netstat -rn

Routing tables

Destination Gateway Flags Refs Use If Exp Groups

Route Tree for Protocol Family 2 (Internet):

default 192.110.9.63 UG 1 286227 en0 - -

127/8 127.0.0.1 U 9 337 lo0 - -

192.110.9.0 192.110.9.21 UHSb 0 0 en0 - - =>

192.110.9/24 192.110.9.21 U 22 1151844 en0 - -

192.110.9.21 127.0.0.1 UGHS 2 5510 lo0 - -

192.110.9.255 192.110.9.21 UHSb 0 4 en0 - -

Route Tree for Protocol Family 24 (Internet v6):

看了“aix防火墙怎么样设置”文章

aix 查看防火墙状态_aix防火墙怎么样设置相关推荐

  1. aix 查看防火墙状态_AIX防火墙策略

    删除 所有策略 rmfilt -v 4 -n all 1.查看所有deny的策略,注意rule no 和端口地址 1,root@ODS_DB1[/tmp/ibmsupt]# lsfilt |grep ...

  2. linux查看防火墙状态/关闭防火墙

    查看防火墙状态/关闭防火墙 查看防火墙状态 systemctl status firewalld 关闭防火墙 systemctl stop firewalld

  3. 网络安全技术第七章——防火墙技术概述及应用(包过滤防火墙 、代理防火墙、状态检测防火墙、分布式防火墙)

    防火墙技术概述及应用 防火墙技术概述及应用 1.防火墙的概念 2.高效可靠的防火墙应具备的基本特性 3.防火墙的基本功能 4.防火墙的基本原理 5.防火墙的类型 (1)包过滤防火墙 (2)代理防火墙 ...

  4. Linux防火墙状态查看以及端口设置

    目录 查看防火墙状态 开放某个端口 删除某个端口 查看端口号 查看防火墙状态 // 查看防火墙状态 firewall-cmd --state// 查看防火墙服务 systemctl status fi ...

  5. mysql查看防火墙状态命令_Linux设置允许指定端口通过防火墙centos7

    开启防火墙 1.systemctl start firewalld.service(开启防火墙) 2.systemctl stop firewalld.service(关闭防火墙) 3.service ...

  6. linux 7.0查看防火墙状态,centos7查看防火墙状态

    查看防火墙状态 [root@VM_0_3_centos /]# firewall-cmd --state not running [root@VM_0_3_centos /]# sudo system ...

  7. linux 查看防火墙状态_每天五分钟学习Linux系列之 - 系统安全配置

    20年IT从业,二哥的团队使用最多的系统就是Linux,开发,运维的小伙伴们都离不开Linux系统,特别是大数据和人工智能领域更是如此,但由于日常工作忙,小伙伴们没有太多成块的时间系统的学习Linux ...

  8. windows 下查看防火墙状态命令

    开启防火墙: netsh firewall set opmode mode=enable 关闭防火墙: netsh firewall set opmode mode=disable       命令: ...

  9. linux学习之防火墙,查看Linux防火墙状态,开启/关闭Linux防火墙,Linux防火墙开放5236端口

    Firewalld RHEL7是一个集合多款防火墙管理工具并存的系统,Firewalld动态防火墙管理器服务(Dynamic Firewall Manager of Linux systems)是目前 ...

最新文章

  1. 《用于物联网的Arduino项目开发:实用案例解析》—— 3.4 小结
  2. eclipse+maven+jetty环境下修改了文件需要重启才能修改成功
  3. oracle11g imp性能,怎么最快地把本机的oracle11g数据导入xe
  4. DataWorks功能实践速览 — 参数透传
  5. Windows7 登陆失败:未知的用户名或密码错误 网络共享文件夹
  6. 剑指offer之java缓存总结,从单机缓存到分布式缓存架构
  7. Soul 网关源码阅读(二)代码初步运行
  8. ubantu无法连接外网的解决方法
  9. 有点意思!“古董级” 诺基亚功能机跑 Linux
  10. Word2010如何从正文开始设置页码
  11. JAVA获取服务器上的图片信息
  12. SQL vs NoSQL 没有硝烟的战争!
  13. RHEL7.3 DNS配置
  14. 【RPA自动化】selenium教程_元素定位及表格读取
  15. 小猿圈python之python期末考试测试题(二)_小猿圈Python开发面试题(一)
  16. 【NDN基础】Information-Centric Networking: A Natural Design for Social Network Applications 全文翻译
  17. redis.set方法详解
  18. 初识iPhone基带通讯
  19. 公司计算机系统忘记用户密码怎么办,电脑开机密码忘记了怎么办,教您如何解决忘记电脑开机密码...
  20. 【01】从零开始跟我一起制作一个鸿蒙的应用-★注册开发者和准备工具★---优雅草科技伊凡

热门文章

  1. 提前泄露小米10至尊版,博主赔偿100万;传字节跳动实习生删除GB以下所有机器学习模型;​快手宣布7月将取消大小周|极客头条
  2. 和 Apple “较上劲”了?Google 解决 Cookie 隐私问题上拒绝“一刀切”
  3. 华大基因辟谣“基因编辑58个婴儿”;苹果发布头戴式耳机AirPods Max;Debian 10.7发布|极客头条...
  4. Netscape 重构软件倒闭了,但我仍坚定地站重写!
  5. 爱奇艺回应遭做空;百度 App 部分频道停更;React Native 0.62 发布 | 极客头条
  6. 360 回应安全云盘出现交易异常;苹果官网陆续限购 iPhone;GitHub 屏蔽微软工程师的开源项目 | 极客头条...
  7. 阿里工程师手把手教你设计 B 端垂类营销中心!
  8. Go 大败!Google 宣布 Fuchsia 终端开发只支持 C/C++/Dart
  9. 微软全面拥抱 AI!
  10. 关于第五届全国高校新一代信息技术暑假教师培训班的通知