没啥好看的,咱菜的要死,放这里以保存智商.

log syslog { debug, trace, info, remote, warning, error, auth, fatal, bug };
log stderr all;
router id 58.97.123.123;


protocol kernel {
#        learn;                  # Learn all alien routes from the kernel
#        persist;  # Don't remove routes on bird shutdow

#       scan time 20;           # Scan kernel routing table every 20 seconds
        ipv6 {
        import all;            # Default is import all
        export none;
        };

        # Default is export none
#       kernel table 5;         # Kernel table to synchronize with (default: main)
}

protocol static {
        ipv6;
        route 2404:f4c0:f900:1::/64 via fc99:b0d5:1ed3:10ab:1d24::1;
#    route 2404:f4c0:f900::/44 via 2001:470:d6:25::1;
#       route   2404:f4c0:4:3::1 via 2001:470:d6:25::1;
}

protocol device {

        scan time 10;
#        area 0 {
#                interface "ve0" { stub; };
#                interface "ve1" { hello 5; type ptp; };
#                interface "ve2" { hello 5; type bcast; };
#               interface "br0";
}



protocol bgp HE
{
    local as 139833;
    source address fc99:b0d5:1ed3:10ab:1d24::1;
    neighbor fc99:b0d5:1e1b:b306:630a::1 as 139833;
        ipv6    {
                import all;
                export  filter {
                                if net ~ [2404:f4c0:f900:1::/64] then accept;
                                reject;
                        };
                next hop self;
                };
#    graceful restart on;

#    neighbor fc99:b0d5:1e1b:b306:630a::1 as 139833;

}

protocol direct {
ipv6    {
import all;
        };
interface "br*";


}
最后编辑:2019年12月30日 ©著作权归作者所有

发表评论

正在加载 Emoji
×