TypeScript 接口继承的具体使用
266
2022-10-08
Check Point防火墙导入.csv格式的对象(checking media开不了机)
Step1:将.csv格式的对象上传到管理服务器,本例为/home/admin目录
[Expert@SZ-OFFICE-SMT:0]# pwd/home/admin[Expert@SZ-OFFICE-SMT:0]# ls -ltotal 8-rw-r----- 1 admin root 625 Aug 15 22:18 host.csv-rw-r----- 1 admin root 1036 Aug 15 22:18 network.csv[Expert@SZ-OFFICE-SMT:0]#
Step2:使用cat命令查看network
[Expert@SZ-OFFICE-SMT:0]# cat network.csvName,IPv4 address,Mask,IPv6 address,Mask 6,NAT Properties,Comments,Tags,Modifier,Last ModifiedCP_default_Office_Mode_addresses_pool,172.16.10.0,255.255.255.0,,-1,Hide behind: All,Used as a default for Office Mode. If deleted; it must be specified for each gateway individually (in the VPN Clients page Advanced section),,System,Tue Oct 09 21:49:33 CST 2018,IPv6_Link_Local_Hosts,,,fe80::,64,None,IPv6 link-local addresses,,System,Tue Oct 09 21:46:09 CST 2018,Net_10.10.1.0,10.10.1.0,255.255.255.0,,-1,None,深圳本部外网 ,,admin,Thu Aug 15 16:24:44 CST 2019,Net_10.133.1.0,10.133.1.0,255.255.255.0,,-1,Hide behind: All,深圳本部服务器 ,,admin,Thu Aug 15 16:17:30 CST 2019,Net_10.158.1.0,10.158.1.0,255.255.255.0,,-1,Hide behind: All,深圳本部办公,,admin,Thu Aug 15 16:16:56 CST 2019,Net_10.179.1.0,10.179.1.0,255.255.255.0,,-1,Hide behind: All,深圳本部O2O,,admin,Thu Aug 15 16:19:47 CST 2019,Net_10.201.1.0,10.201.1.0,255.255.255.0,,-1,Hide behind: All,深圳本部VPN,,admin,Thu Aug 15 16:20:10 CST 2019,[Expert@SZ-OFFICE-SMT:0]#
Step3:导入network对象到管理服务器
[Expert@SZ-OFFICE-SMT:0]# mgmt_cli add network --batch network.csvUsername: adminPassword:Line 2: code: "generic_err_invalid_parameter_name"message: "Unrecognized parameter [Comments]"
Line 3: code: "generic_err_invalid_parameter_name"message: "Unrecognized parameter [Comments]"
Line 4: code: "generic_err_invalid_parameter_name"message: "Unrecognized parameter [Comments]"
Line 5: code: "generic_err_invalid_parameter_name"message: "Unrecognized parameter [Comments]"
Line 6: code: "generic_err_invalid_parameter_name"message: "Unrecognized parameter [Comments]"
Line 7: code: "generic_err_invalid_parameter_name"message: "Unrecognized parameter [Comments]"
Line 8: code: "generic_err_invalid_parameter_name"message: "Unrecognized parameter [Comments]"
Executed command failed. Changes are discarded.[Expert@SZ-OFFICE-SMT:0]#
Groups: mgmt_cli add group --batch groups_full_csv.csvAdd objects to groups: mgmt_cli set group --batch group-members_full_csv.csvDynamic Objects: mgmt_cli add dynamic-object --batch dynamic-objects_full_csv.csvAddress Ranges: mgmt_cli add address-range --batch address-ranges_full_csv.csvDomain Objects: mgmt_cli add dns-domain --batch dns-domain.csv
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~