我們可以在SRX設(shè)備上先使用如下命令,你應(yīng)該可以看到以下輸出的這些信息: root@srx> show security flow status Flow forwarding mode: Inet forwarding mode: flow based Inet6 forwarding mode: drop MPLS forwarding mode: drop ISO forwarding mode: drop Flow trace status Flow tracing status: off Flow session distribution Distribution mode: RR-based
從上面輸出的信息,我們可以知道Inet6默認(rèn)是drop的,如果要啟用inet6的,我們可以使用這個(gè)命令: #set security forwarding-options family inet6 mode flow-based
執(zhí)行完上面的命令后,對(duì)配置進(jìn)行commit一下,設(shè)備會(huì)要求你“重啟”,重啟后,再使用這條命令查看,就可以看到Inet6已經(jīng)啟用了,是基于流模式。
root@srx> show security flow status Flow forwarding mode: Inet forwarding mode: flow based Inet6 forwarding mode: flow based MPLS forwarding mode: drop ISO forwarding mode: drop Flow trace status Flow tracing status: off Flow session distribution Distribution mode: RR-based
PS:如果你的SRX不是流模式而是數(shù)據(jù)包模式,可以使用如下命令進(jìn)行啟用IPv6 set security forwarding-options family inet6 mode packet-based