152 lines
3.7 KiB
Plaintext
152 lines
3.7 KiB
Plaintext
#https://paste.tritan.gg/f7dRUCZSxV7iBeUBI1fs
|
|
#Correspondence: JWynegar: So question. If I sent you, my path vector config that I kind of built for like generic using your templates, would you critique it?
|
|
asn: 402547
|
|
hostname: JWJR-NY-RR1
|
|
router-id: 172.82.22.171
|
|
rpki-enable: true
|
|
|
|
bgpq-args: -S ARIN,RIPE,APNIC,AFRINIC,LACNIC,RADB
|
|
merge-paths: true
|
|
source4: 10.128.73.16
|
|
prefixes:
|
|
- 153.76.4.0/24
|
|
- 23.158.228.0/24
|
|
- 2602:f3ae::/40
|
|
- 2a0f:b240:80::/44
|
|
local-communities:
|
|
- "402547:30:1"
|
|
- "402547:50:402547"
|
|
kernel:
|
|
export: false
|
|
learn: false
|
|
scan-time: 5
|
|
templates:
|
|
Internal:
|
|
allow-local-as: true
|
|
announce-all: true
|
|
add-path-rx: true
|
|
add-path-tx: true
|
|
next-hop-self: false
|
|
enforce-first-as: false
|
|
enforce-peer-nexthop: false
|
|
filter-rpki: false
|
|
filter-irr: false
|
|
filter-bogon-asns: false
|
|
filter-bogon-routes: false
|
|
filter-prefix-length: false
|
|
receive-limit-violation: warn
|
|
import-limit-violation: warn
|
|
export-limit-violation: warn
|
|
RR_Client:
|
|
allow-local-as: true
|
|
announce-all: true
|
|
add-path-rx: true
|
|
add-path-tx: true
|
|
next-hop-self: true # True POP Side / false RR side (Move to peer config)
|
|
enforce-first-as: false
|
|
enforce-peer-nexthop: false
|
|
filter-rpki: false
|
|
filter-irr: false
|
|
filter-bogon-asns: false
|
|
filter-bogon-routes: false
|
|
filter-prefix-length: false
|
|
receive-limit-violation: warn
|
|
import-limit-violation: warn
|
|
export-limit-violation: warn
|
|
Customer_Full:
|
|
role: customer
|
|
announce-all: true
|
|
enforce-first-as: true
|
|
enforce-peer-nexthop: true
|
|
filter-rpki: true
|
|
filter-irr: true
|
|
filter-bogon-asns: true
|
|
filter-bogon-routes: true
|
|
filter-prefix-length: true
|
|
add-on-import:
|
|
- "402547:30:2"
|
|
Customer_Default:
|
|
role: customer
|
|
announce-default: true
|
|
enforce-first-as: true
|
|
enforce-peer-nexthop: true
|
|
filter-rpki: true
|
|
filter-irr: true
|
|
filter-bogon-asns: true
|
|
filter-bogon-routes: true
|
|
filter-prefix-length: true
|
|
add-on-import:
|
|
- "402547:30:2"
|
|
Peer:
|
|
role: peer
|
|
enforce-first-as: true
|
|
enforce-peer-nexthop: true
|
|
filter-rpki: true
|
|
filter-irr: true
|
|
filter-bogon-asns: true
|
|
filter-bogon-routes: true
|
|
filter-prefix-length: true
|
|
receive-limit-violation: warn
|
|
import-limit-violation: warn
|
|
export-limit-violation: warn
|
|
add-on-import:
|
|
- "402547:30:3"
|
|
announce:
|
|
- "402547:30:1"
|
|
- "402547:30:2"
|
|
Route_Server:
|
|
role: rs_client
|
|
enforce-first-as: false
|
|
enforce-peer-nexthop: false
|
|
filter-rpki: true
|
|
filter-irr: true
|
|
filter-bogon-asns: true
|
|
filter-bogon-routes: true
|
|
filter-prefix-length: true
|
|
remove-all-communities: 402547
|
|
add-on-import:
|
|
- "402547:30:5"
|
|
announce:
|
|
- "402547:30:1"
|
|
- "402547:30:2"
|
|
Transit:
|
|
role: provider
|
|
enforce-first-as: true
|
|
enforce-peer-nexthop: true
|
|
filter-rpki: true
|
|
filter-irr: false
|
|
filter-bogon-asns: true
|
|
filter-bogon-routes: true
|
|
filter-prefix-length: true
|
|
receive-limit-violation: warn
|
|
import-limit-violation: warn
|
|
export-limit-violation: warn
|
|
add-on-import:
|
|
- "402547:30:4"
|
|
announce:
|
|
- "402547:30:1"
|
|
- "402547:30:2"
|
|
peers:
|
|
JWJR-US-KC-RTR-1:
|
|
asn: 402547
|
|
template: RR_Client
|
|
listen4: 10.128.73.16
|
|
neighbors:
|
|
- 10.128.72.179
|
|
JWJR-US-AB-RTR-1:
|
|
asn: 402547
|
|
template: RR_Client
|
|
listen4: 10.128.73.16
|
|
neighbors:
|
|
- 10.128.72.104
|
|
JWJR-SDWAN-Morristown:
|
|
asn: 402547
|
|
template: Internal
|
|
neighbors:
|
|
- 10.128.73.164
|
|
JWJR-US-AB-RTR-2:
|
|
asn: 402547
|
|
template: RR_Client
|
|
listen4: 10.128.73.16
|
|
neighbors:
|
|
- 10.128.73.225 |