File: bgp_xconnects.map.example

package info (click to toggle)
pmacct 1.7.6-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 11,548 kB
  • sloc: ansic: 106,538; sh: 4,876; cpp: 4,340; python: 3,631; makefile: 502
file content (25 lines) | stat: -rw-r--r-- 868 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
!
! bgp_daemon_xconnect_map: BGP sessions xconnect map
!
! File syntax is key-based. Read full syntax rules in 'pretag.map.example' in
! this same directory.
!
! list of currently supported keys follow:
!
! 'bgp_dst'             SET: IPv4/IPv6 address and port of the BGP collector
!			to cross-connect incoming (bgp_src) BGP session to.
! 'bgp_src'		MATCH: compared against the IPv4/IPv6 address (not BGP
!			Router ID) of an incoming BGP session from a BGP peer.
!
! Examples:
!
! Cross-connect the incoming BGP session from 192.168.0.1 to 10.0.0.1:17901
! and the session from 192.168.0.2 to 10.0.0.1:17902.
!
bgp_dst=10.0.0.1:17901	bgp_src=192.168.0.1
bgp_dst=10.0.0.1:17902	bgp_src=192.168.0.2
!
! Cross-connect incoming BGP sessions from IP addresses belonging to the
! 192.168.10.0/24 subnet to 10.0.0.1:17910.
! 
bgp_dst=10.0.0.1:17910	bgp_src=192.168.10.0/24