Grep 过滤命令在CLI中的使用
2012-08-22 10:54:18 来源: 评论:0 点击:
描述:
FortiOS 4.0MR2 CLI中新增grep 过滤功能
配置:
该grep命令应用于FortiOS标准命令过滤,语法如下:
FGT# show <subcommand> | grep <expression>
FGT# diagnose <subcommand> | grep <expression>
Example :
config system interface edit "port1" set vdom "root" set ip 192.168.183.104 255.255.254.0 set allowaccess ping ssh http telnet set type physical next edit "port2" set vdom "root" set ip 172.31.225.104 255.255.254.0 set allowaccess ping https ssh http telnet set type physical next |
FGT # show sys interface | grep 192
set ip 192.168.183.104 255.255.254.0 |
FGT # show system interface | grep https
set allowaccess ping https ssh http telnet |
相关热词搜索:
上一篇:设置FortiGate DHCP地址保留
下一篇:关于系统已经达到最大连接数的优化
分享到:
收藏

评论排行
- ·VMware部署FortiGate VM和VMX详解(66)
- ·FortiClient Windows系统安装包(21)
- ·SSL VPN Client For Windows(SSL ...(10)
- ·FortiClient Mac系统安装包(4)
- ·FortiClient 安卓安装包(3)
- ·FortiOS 5.6系统演示(2)
- ·飞塔防火墙配置手册5.0(2)
- ·给拨号VPN的用户分配固定IP地址(2)
- ·Fortinet无线网络接入配置步骤 4.2(2)
- ·FortiGate FortiOS最佳版本建议书(1)
- ·FortiWLC控制器系统恢复操作介绍(1)
- ·FortiClient 安卓系统安装包(1)
- ·设置FortiGate 双网关(1)
- ·FortiGate产品实施中文一本通7.0(1)
- ·SSL VPN Client for Linux(SSL VP...(1)
- ·如何配置FortiGate双出口(1)
- ·FortiConvertor配置转换工具(1)
- ·FortiGate 4.2 中文管理员使用手册(1)
- ·设置FortiGate DHCP地址保留(1)
- ·Fortinet技术服务和支持体系(1)