Skip to main content

Cisco – BGP monitoring session (export full routing table w/no import)

Cisco 22 June 2022

Export the full routing table without receiving any prefixes

!
route-map MONITOR_IN_V4 deny 100
!
route-map MONITOR_IN_V6 deny 100
!
!
route-map MONITOR_OUT_V4 permit 100
!
route-map MONITOR_OUT_V6 permit 100
!
router bgp 202032
!
template peer-policy MONITOR_V4_POLICY
  route-map MONITOR_IN_V4 in
  route-map MONITOR_OUT_V4 out
 exit-peer-policy
 !
 template peer-policy MONITOR_V6_POLICY
  route-map MONITOR_IN_V6 in
  route-map MONITOR_OUT_V6 out
 exit-peer-policy
 !
 template peer-session MONITOR_V4_SESSION
  description MONITOR_V4_SESSION
  ebgp-multihop 255
  update-source GigabitEthernet0/2
  version 4
  disable-connected-check
 exit-peer-session
 !        
 template peer-session MONITOR_V6_SESSION
  description MONITOR_V6_SESSION
  ebgp-multihop 255
  update-source GigabitEthernet0/2
  version 4
  disable-connected-check
 exit-peer-session
 !        
neighbor 2A00:1620:C0:4E:146:48:78:13 remote-as 65517
neighbor 2A00:1620:C0:4E:146:48:78:13 inherit peer-session MONITOR_V6_SESSION
neighbor 2A00:1620:C0:4E:146:48:78:13 description Progetto Isolario
neighbor 146.48.78.13 remote-as 65517
neighbor 146.48.78.13 inherit peer-session MONITOR_V4_SESSION
neighbor 146.48.78.13 description Progetto Isolario
address-family ipv4
neighbor 146.48.78.13 activate
neighbor 146.48.78.13 inherit peer-policy MONITOR_V4_POLICY
exit-address-family
address-family ipv6
neighbor 2A00:1620:C0:4E:146:48:78:13 activate
neighbor 2A00:1620:C0:4E:146:48:78:13 inherit peer-policy MONITOR_V6_POLICY
exit-address-family

0 0 votes
Article Rating
Subscribe
Notify of

0 Comments
Oldest
Newest Most Voted
Goline It Services Logo

News

  • GOLINE is pleased to announce that it has achieved ESET Gold Partner status for 2027. The recognition follows the successful completion of ESET’s partner certification requirements and confirms GOLINE’s continued investment in cybersecurity expertise and professional development. ESET’s partner programme is designed to support companies working with its cybersecurity solutions through dedicated technical and sales resources, training and other partner services. For GOLINE, the achievement further strengthens its collaboration with ESET and its ability to integrate ESET security technologies into the cybersecurity solutions and services it provides to businesses. ESET solutions are already part of GOLINE’s cybersecurity portfolio, alongside technologies...
  • GOLINE SA is excited to announce a new partnership with NetApp, a global leader in cloud data services and storage solutions. This collaboration aims to help organizations modernize their IT infrastructure, streamline data management, and enhance performance across cloud and hybrid environments. Modern Data Solutions for Businesses Through this partnership, GOLINE integrates advanced data management solutions, enabling businesses to securely store, manage, and access critical information across cloud, on-premises, or hybrid setups. Clients can benefit from: Flexible and scalable storage solutions to meet growing data needs Simplified management of cloud and on-premises environments Enterprise-grade security for sensitive and mission-critical data...
  • GOLINE SA is proud to announce a new strategic partnership with Omnissa, a global leader in digital workspace platforms and Horizon Cloud Service solutions. This collaboration marks a significant step forward in helping organizations embrace secure, flexible, and high-performance work environments. Why Choose Omnissa for Your Business? The platform enables virtual desktops, applications, and unified endpoint management. Organizations can deploy scalable workspaces across cloud, hybrid, or on-premises setups. Key benefits include: Easy access to desktops and apps on any device Centralized management for Windows, macOS, iOS, Android, and ChromeOS Strong security with access controls and multi-factor authentication Automated scaling to...
  • Hosting Services
  • +41 (0)91 260 76 50
0
Would love your thoughts, please comment.x
()
x
| Reply