当前位置:首页 » 网络管理 » ip6tables-restore

ip6tables-restore命令

ip6tables-restore命令用来还原ip6tables表。

语法

ip6tables-restore(选项)

选项

-c:指定在还原iptables表时,还原当前的数据包计数器和字节计数器值;
-t:指定要还原的表的名称。

实例

1. 基本用法

$ ip6tables-restore

2. 使用选项

$ ip6tables-restore -c [参数]

3. 结合管道使用

$ [命令] | ip6tables-restore