add any things
This commit is contained in:
4
bird/peers/dn42/ibgp.conf
Normal file
4
bird/peers/dn42/ibgp.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
protocol bgp dn42_ibgp_hk1 from dn42_ibgp {
|
||||
source address 172.20.21.6;
|
||||
neighbor 172.20.21.4 as DN42_ASN;
|
||||
}
|
||||
8
bird/peers/inet/bgp_zxix.conf
Normal file
8
bird/peers/inet/bgp_zxix.conf
Normal file
@@ -0,0 +1,8 @@
|
||||
protocol bgp int_bgp_zxix_rs1 from tpl_bgp_up {
|
||||
neighbor 2406:840:1f:1000::1 as 140961;
|
||||
}
|
||||
|
||||
protocol bgp int_bgp_zxix_140915_v6 from tpl_bgp_up {
|
||||
source address 2406:840:1f:1000:0:15:3376:1;
|
||||
neighbor 2406:840:1f:1000:0:14:915:2 as 140915;
|
||||
}
|
||||
4
bird/peers/inet/bgpexchange_jp.conf
Normal file
4
bird/peers/inet/bgpexchange_jp.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
protocol bgp int_bgp_exchange_jp1 from tpl_bgp_up {
|
||||
source address 2a0e:8f01:1000:9::10b;
|
||||
neighbor 2a0e:8f01:1000:9::1 as 24381;
|
||||
}
|
||||
4
bird/peers/inet/ibgp.conf
Normal file
4
bird/peers/inet/ibgp.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
protocol bgp int_ibgp_hk1 from tpl_ibgp {
|
||||
source address fe80:15:3376:3::2:1;
|
||||
neighbor fe80:15:3376:3::3:1%pccw1 as LOCAL_ASN;
|
||||
}
|
||||
32
bird/peers/ospf/ospf_ipv4.conf
Normal file
32
bird/peers/ospf/ospf_ipv4.conf
Normal file
@@ -0,0 +1,32 @@
|
||||
protocol ospf v3 ospf_ipv4 {
|
||||
ipv4 {
|
||||
table ospf4;
|
||||
import all;
|
||||
export filter {
|
||||
if bgp_large_community !~ [(UNET_ASN, 301,0)] then reject;
|
||||
accept;
|
||||
};
|
||||
import limit 1000 action block;
|
||||
};
|
||||
area 0 {
|
||||
interface "pccw1" {
|
||||
cost 5;
|
||||
password "114514";
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
protocol static route_ospf_export_v4 {
|
||||
route 10.188.3.0/24 reject;
|
||||
ipv4 {
|
||||
table ospf4;
|
||||
import filter {
|
||||
bgp_large_community.add((UNET_ASN,301,0));# 允许导出至OSPF
|
||||
bgp_large_community.add((UNET_ASN,3,0));# 不允许导出到内核
|
||||
accept;
|
||||
};
|
||||
export none;
|
||||
};
|
||||
}
|
||||
33
bird/peers/ospf/ospf_ipv6.conf
Normal file
33
bird/peers/ospf/ospf_ipv6.conf
Normal file
@@ -0,0 +1,33 @@
|
||||
protocol ospf v3 ospf_ipv6 {
|
||||
ipv6 {
|
||||
table ospf6;
|
||||
import all;
|
||||
export filter {
|
||||
if bgp_large_community !~ [(UNET_ASN, 301,0)] then reject;
|
||||
accept;
|
||||
};
|
||||
import limit 1000 action block;
|
||||
};
|
||||
area 0 {
|
||||
interface "pccw1" {
|
||||
cost 5;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
protocol static route_ospf_export_v6 {
|
||||
route 2406:840:e601:1::/64 reject;
|
||||
route 2406:840:e601:3::/64 reject;
|
||||
route 2406:840:e601:4::/63 reject;
|
||||
route 2406:840:e601:2000::/51 reject;
|
||||
|
||||
ipv6 {
|
||||
table ospf6;
|
||||
import filter {
|
||||
bgp_large_community.add((UNET_ASN,301,0));# 允许导出至OSPF
|
||||
bgp_large_community.add((UNET_ASN,3,0));# 不允许导出到内核
|
||||
accept;
|
||||
};
|
||||
export none;
|
||||
};
|
||||
}
|
||||
4
bird/peers/unet/ibgp.conf
Normal file
4
bird/peers/unet/ibgp.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
protocol bgp unet_ibgp_hk1 from unet_ibgp {
|
||||
source address fe80:15:3376:3::2:2;
|
||||
neighbor fe80:15:3376:3::3:2%pccw1 as UNET_ASN;
|
||||
}
|
||||
Reference in New Issue
Block a user