Palo Alto Networks introduced the Advanced Routing Engine (ARE) in PAN-OS 10.2, marking a significant evolution from the traditional routing capabilities. The ARE is designed to provide a more scalable, high-performance, and flexible routing solution. Crucially, it aligns with industry-standard Command Line Interface (CLI) syntax and configuration methodologies, which simplifies operations for network engineers familiar with other routing platforms and reduces the learning curve. This enhancement allows for the creation of profile-based filtering lists and conditional route maps that are reusable across different logical routers and even virtual systems.
The core change in ARE is the shift from
Virtual Routers (VRs)
to
Logical Routers (LRs)
. While conceptually similar in that they both represent a routing domain, LRs within ARE offer enhanced functionalities and a more granular approach to routing configuration.
Figure 1: Conceptual Shift from Legacy to Advanced Routing Engine.
The Advanced Routing Engine offers several compelling advantages over the legacy virtual router system, making it a superior choice for modern network infrastructures demanding flexibility and rich features.
Important: Enabling ARE requires a system reboot. It is highly recommended to back up the current configuration before proceeding. PAN-OS provides a migration script to assist in converting existing virtual router configurations to logical routers, highlighting any potential issues.
Logical Routers are the cornerstone of the ARE, serving as distinct routing instances within the firewall. Each LR maintains its own set of interfaces, routing tables, and routing protocol instances. This separation allows for versatile network designs, such as supporting multiple tenants or segregating different traffic paths with unique routing policies.
Configuration:
Network > Logical Routers
Inter-Logical Router (Inter-LR) routing can be achieved, often using iBGP between loopback interfaces defined in different LRs. This requires static routes of type "next-lr" pointing to the loopback of the other LR.
Routing profiles are a significant enhancement in ARE, centralizing common configurations for routing protocols. Instead of repeatedly defining settings like timers, authentication, or filters for each BGP neighbor or OSPF area, you create a profile and apply it where needed. This promotes consistency and simplifies management.
Types of profiles include:
Configuration:
Network > Routing Profiles
ARE provides a comprehensive suite of tools for route filtering, essential for policy enforcement and optimizing routing tables.
Configuration:
Network > Routing > Routing Profiles > Filters
(for Prefix Lists, AS Path Lists, Community Lists, Route Maps, Access Lists)
Figure 2: Route Map Filtering Process.
BFD is a low-overhead, short-duration protocol designed to quickly detect failures in the path between two adjacent routers. ARE supports BFD, which can be enabled for dynamic routing protocols like BGP and OSPF. This allows for much faster convergence times compared to relying solely on routing protocol hello timers or hold timers.
Configuration: Typically enabled within the specific routing protocol configuration (e.g., BGP peer or OSPF interface settings).
PAN-OS provides a migration script to help transition configurations from the legacy routing engine to ARE. This script attempts to convert existing virtual routers, BGP, OSPF, and other routing settings into the new ARE structure (logical routers, profiles, etc.).
Key steps and considerations:
Device > Setup > Management
, edit General Settings, and check "Advanced Routing".
Effective troubleshooting of ARE involves using a combination of GUI observations and CLI commands. The CLI commands for ARE are generally prefixed with
show advanced-routing
or
debug advanced-routing
.
These commands are crucial for verifying configuration, checking operational status, and viewing routing tables.
show advanced-routing logical-router
routing-table [summary | detail |
]
: Displays the Routing Information Base (RIB) for a specific logical router.
show advanced-routing logical-router default routing-table detail 192.168.1.0/24
show advanced-routing fib [afi
] [ecmp
]
: Displays the Forwarding Information Base (FIB), which is the actual table used for forwarding packets.
show advanced-routing route
: Displays the advanced routing table entries.
show advanced-routing bgp summary
: Displays a summary of BGP peer states.
show advanced-routing bgp peer
: Shows detailed information about a specific BGP peer.
show advanced-routing bgp peer
received-routes
: Shows routes received from a BGP peer before inbound policies are applied.
show advanced-routing bgp peer
advertised-routes
: Shows routes advertised to a BGP peer after outbound policies are applied.
show advanced-routing bgp rib-in
: Displays BGP routes in the input RIB.
show advanced-routing bgp rib-out
: Displays BGP routes in the output RIB.
show advanced-routing ospf neighbor [logical-router
]
: Displays OSPF neighbor status.
show advanced-routing ospf interface [logical-router
] [
]
: Shows OSPF interface details.
show advanced-routing ospf database [logical-router
]
: Displays the OSPF Link State Database (LSDB).
show advanced-routing ospf route [logical-router
]
: Displays OSPF learned routes.
show advanced-routing rip neighbor [logical-router
]
: Displays RIP neighbor information.
show advanced-routing rip database [logical-router
]
: Shows routes in the RIP database.
show advanced-routing multicast [summary | route | interface | rpf]
show ip igmp sources json
: Note: There was a bug (PAN-256780) regarding inconsistent formatting of this command's output, which implies its existence for troubleshooting.
show advanced-routing bfd session [summary | detail]
: Displays BFD session status.
For legacy routing commands, you might see
show routing ...
(e.g.,
show routing fib
), but for ARE, always prefer
show advanced-routing ...
.
Debug commands provide verbose output for troubleshooting protocol behavior and issues. Use them cautiously in production environments as they can generate significant output and impact performance.
Warning: Extensive debugging can impact CPU performance. Use debug commands targetedly and disable them once troubleshooting is complete.
debug advanced-routing
: This is the primary command to enable debugging for various aspects of a routing protocol.
debug advanced-routing bgp all logical-router default peer
debug advanced-routing ospf all logical-router default interface
debug advanced-routing rib all logical-router
: Enables debugging for RIB updates.
debug advanced-routing redistribute all logical-router
: Enables debugging for route redistribution processes.
debug advanced-routing bfd all
: Enables debugging for BFD.
mp-log advanced-routing.log
file or can be viewed in real-time in the CLI session depending on terminal settings.
clear debug advanced-routing all
: Disables all active advanced routing debugs.
While some general debug commands like
debug routing pcap ospf|bgp|rip on|off
existed for legacy routing, the ARE-specific commands provide more granular control.
show advanced-routing ospf neighbor
,
show advanced-routing bgp summary
).
show advanced-routing ospf database
,
show advanced-routing bgp rib-in
).
For the Palo Alto Networks Certified Network Security Engineer (PCNSE) exam, a solid understanding of ARE is crucial, especially as it's the current routing framework. Key areas to focus on include:
show advanced-routing ...
commands for BGP, OSPF, RIB, and FIB. Understanding how to interpret their output to diagnose common routing problems (e.g., OSPF routes not learned, BGP routes not populating).
Questions on the PCNSE exam might present scenarios requiring you to choose the correct configuration steps, interpret CLI output, or identify the appropriate troubleshooting command for a given routing issue.
The Advanced Routing Engine in PAN-OS represents a major step forward, equipping Palo Alto Networks firewalls with a more robust, scalable, and industry-aligned routing subsystem. For network engineers, and particularly for PCNSE candidates, mastering ARE's concepts, configuration, and troubleshooting is essential for leveraging the full potential of these next-generation firewalls in complex network environments.