weixin_39932330
weixin_39932330
2020-12-02 02:56

Extracting routes

Hi,

Inside the PA FW you can run the command "show routing route" to know routes in all Virtual Routes (static, ospf,bgp,...). So, I'm trying to extract all this rules from the FIrewall configuration and I'm getting this error: - * ERROR * * Died on user notice or warning!! Error: Use of undefined constant LIBXML_PARSEHUGE - assumed 'LIBXML_PARSEHUGE' on /[MY_OWN_PATH]/pan-configurator-master/lib/device-and-system-classes/class-PANConf.php:122

Any idea about the reason of the error?

Also, I can't find any examples related with routes. And can't figure out how to deal with routes. I guess something like that?

$panc = new PANConf(); $panc->load_from_file ( $origfile );

But I'm not sure how to obtain the Virtual Routers form here (VirtualRouterStore).

该提问来源于开源项目:cpainchaud/pan-configurator

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

8条回答

为你推荐

换一换