HP MSR2000/3000/4000 Router Series Layer 3 - IP Routing Configuration Guide
Table Of Contents
- Title Page
- Contents
- IP routing basics
- Routing table
- Dynamic routing protocols
- Route preference
- Load sharing
- Route backup
- Route recursion
- Route redistribution
- Extension attribute redistribution
- Configuring the maximum lifetime for routes and labels in the RIB
- Configuring the maximum lifetime for routes in the FIB
- Displaying and maintaining a routing table
- Configuring static routing
- Configuring a static route
- Configuring BFD for static routes
- Configuring static route FRR
- Displaying and maintaining static routes
- Static route configuration examples
- Configuring a default route
- Configuring RIP
- Overview
- RIP configuration task list
- Configuring basic RIP
- Configuring RIP route control
- Tuning and optimizing RIP networks
- Configuration prerequisites
- Configuring RIP timers
- Configuring split horizon and poison reverse
- Configuring the maximum number of ECMP routes
- Enabling zero field check on incoming RIPv1 messages
- Enabling source IP address check on incoming RIP updates
- Configuring RIPv2 message authentication
- Specifying a RIP neighbor
- Configuring RIP network management
- Configuring the RIP packet sending rate
- Setting the maximum length of RIP packets
- Configuring RIP GR
- Configuring BFD for RIP
- Configuring RIP FRR
- Displaying and maintaining RIP
- RIP configuration examples
- Configuring basic RIP
- Configuring RIP route redistribution
- Configuring an additional metric for a RIP interface
- Configuring RIP to advertise a summary route
- Configuring BFD for RIP (single-hop echo detection for a directly connected neighbor)
- Configure BFD for RIP (single-hop echo detection for a specific destination)
- Configuring BFD for RIP (bidirectional control detection)
- Configuring RIP FRR
- Configuring OSPF
- Overview
- OSPF configuration task list
- Enabling OSPF
- Configuring OSPF areas
- Configuring OSPF network types
- Configuring OSPF route control
- Configuration prerequisites
- Configuring OSPF route summarization
- Configuring received OSPF route filtering
- Configuring Type-3 LSA filtering
- Configuring an OSPF cost for an interface
- Configuring the maximum number of ECMP routes
- Configuring OSPF preference
- Configuring OSPF route redistribution
- Advertising a host route
- Tuning and optimizing OSPF networks
- Configuration prerequisites
- Configuring OSPF timers
- Specifying LSA transmission delay
- Specifying SPF calculation interval
- Specifying the LSA arrival interval
- Specifying the LSA generation interval
- Disabling interfaces from receiving and sending OSPF packets
- Configuring stub routers
- Configuring OSPF authentication
- Adding the interface MTU into DD packets
- Configuring a DSCP value for OSPF packets
- Configuring the maximum number of external LSAs in LSDB
- Configuring OSPF exit overflow interval
- Enabling compatibility with RFC 1583
- Logging neighbor state changes
- Configuring OSPF network management
- Configuring the LSU transmit rate
- Enabling OSPF ISPF
- Configuring prefix suppression
- Configuring prefix prioritization
- Configuring OSPF PIC
- Configuring OSPF GR
- Configuring BFD for OSPF
- Configuring OSPF FRR
- Displaying and maintaining OSPF
- OSPF configuration examples
- Basic OSPF configuration example
- OSPF route redistribution configuration example
- OSPF summary route advertisement configuration example
- OSPF stub area configuration example
- OSPF NSSA area configuration example
- OSPF DR election configuration example
- OSPF virtual link configuration example
- OSPF GR configuration example
- BFD for OSPF configuration example
- OSPF FRR configuration example
- Troubleshooting OSPF configuration
- Configuring IS-IS
- Overview
- IS-IS configuration task list
- Configuring basic IS-IS
- Configuring IS-IS route control
- Tuning and optimizing IS-IS networks
- Configuration prerequisites
- Specifying the interval for sending IS-IS hello packets
- Specifying the IS-IS hello multiplier
- Specifying the interval for sending IS-IS CSNP packets
- Configuring a DIS priority for an interface
- Disabling source address check for hello packets on a PPP interface
- Disabling an interface from sending/receiving IS-IS packets
- Enabling an interface to send small hello packets
- Configuring LSP parameters
- Controlling SPF calculation interval
- Configuring convergence priorities for specific routes
- Setting the LSDB overload bit
- Configuring system ID to host name mappings
- Enabling the logging of neighbor state changes
- Enabling IS-IS ISPF
- Configuring IS-IS network management
- Enhancing IS-IS network security
- Configuring IS-IS GR
- Configuring BFD for IS-IS
- Configuring IS-IS FRR
- Displaying and maintaining IS-IS
- IS-IS configuration examples
- Configuring BGP
- Overview
- BGP configuration task list
- Configuring basic BGP
- Generating BGP routes
- Controlling route distribution and reception
- Controlling BGP path selection
- Specifying a preferred value for routes received
- Configuring preferences for BGP routes
- Configuring the default local preference
- Configuring the MED attribute
- Configuring the NEXT_HOP attribute
- Configuring the AS_PATH attribute
- Permitting local AS number to appear in routes from a peer or peer group
- Disabling BGP from considering AS_PATH during best route selection
- Advertising a fake AS number to a peer or peer group
- Configuring AS number substitution
- Removing private AS numbers from updates sent to an EBGP peer or peer group
- Ignoring the first AS number of EBGP route updates
- Tuning and optimizing BGP networks
- Configuring the keepalive interval and hold time
- Configuring the interval for sending updates for the same route
- Enabling BGP to establish an EBGP session over multiple hops
- Enabling immediate reestablishment of direct EBGP connections upon link failure
- Enabling 4-byte AS number suppression
- Enabling MD5 authentication for BGP peers
- Configuring BGP load balancing
- Configuring IPsec for IPv6 BGP
- Disabling BGP to establish a session to a peer or peer group
- Configuring BGP soft-reset
- Protecting an EBGP peer when memory usage reaches level 2 threshold
- Configuring a large-scale BGP network
- Configuring BGP GR
- Enabling SNMP notifications for BGP
- Enabling logging of session state changes
- Configuring BFD for BGP
- Configuring 6PE
- Displaying and maintaining BGP
- IPv4 BGP configuration examples
- Basic BGP configuration example
- BGP and IGP route redistribution configuration example
- BGP route summarization configuration example
- BGP load balancing configuration example
- BGP community configuration example
- BGP route reflector configuration example
- BGP confederation configuration example
- BGP path selection configuration example
- BGP GR configuration example
- BFD for BGP configuration example
- IPv6 BGP configuration examples
- Troubleshooting BGP
- Configuring PBR
- Configuring IPv6 static routing
- Configuring an IPv6 static route
- Configuring BFD for IPv6 static routes
- Displaying and maintaining IPv6 static routes
- IPv6 static routing configuration examples
- Configuring an IPv6 default route
- Configuring RIPng
- Configuring OSPFv3
- OSPFv3 overview
- OSPFv3 configuration task list
- Enabling OSPFv3
- Configuring OSPFv3 area parameters
- Configuring OSPFv3 network types
- Configuring OSPFv3 route control
- Configuration prerequisites
- Configuring OSPFv3 route summarization
- Configuring OSPFv3 received route filtering
- Configuring Inter-Area-Prefix LSA filtering
- Configuring an OSPFv3 cost for an interface
- Configuring the maximum number of OSPFv3 ECMP routes
- Configuring a preference for OSPFv3
- Configuring OSPFv3 route redistribution
- Tuning and optimizing OSPFv3 networks
- Configuration prerequisites
- Configuring OSPFv3 timers
- Specifying LSA transmission delay
- Specifying SPF calculation interval
- Specifying the LSA generation interval
- Configuring a DR priority for an interface
- Ignoring MTU check for DD packets
- Disabling interfaces from receiving and sending OSPFv3 packets
- Enabling the logging of neighbor state changes
- Configuring OSPFv3 GR
- Configuring BFD for OSPFv3
- Applying an IPsec profile
- Displaying and maintaining OSPFv3
- OSPFv3 configuration examples
- Configuring IPv6 IS-IS
- Configuring IPv6 PBR
- Introduction to IPv6 PBR
- IPv6 PBR configuration task list
- Configuring an IPv6 policy
- Configuring IPv6 PBR
- Displaying and maintaining IPv6 PBR
- IPv6 PBR configuration examples
- Configuring routing policies
- Support and other resources
- Index

384
apply clause
IPv6 PBR supports the following types of apply clauses, as shown in Table 9. You can specify multiple
apply clauses for a node, but some of them might not be executed. The apply clauses that determine the
packet forwarding paths are apply access-vpn vpn-instance, apply next-hop, apply output-interface,
apply default-next-hop, and apply default-output-interface in a descending priority order.
Table 9 Priorities and meanings of apply clauses
Clause Meanin
g
Priorit
y
apply precedence Sets an IP precedence. This clause is always executed.
apply loadshare { next-hop |
output-interface |
default-next-hop |
default-output-interface }
Enables load sharing
among multiple next
hops, output interfaces,
default next hops, and
default output interfaces.
Multiple next hops, output interfaces, default
next hops, or default output interfaces operate in
either primary/backup or load sharing mode:
• Primary/backup mode—The first configured
next hop or output interface is used. When
the primary next hop or output interface fails,
the first configured backup next hop or output
interface takes over.
• Load sharing mode—Multiple next hops or
output interfaces load share traffic on a per
packet basis in turn according to the
configuration order.
By default, the primary/backup mode applies.
apply access-vpn vpn-instance Sets VPN instances.
If a packet matches a forwarding entry of a
specified VPN instance, it is forwarded in the
VPN instance.
apply next-hop and apply
output-interface
Sets the next hop and sets
the output interface.
Only the apply next-hop clause is executed
when both are configured.
apply default-next-hop and
apply default-output-interface
Sets the default next hop
and sets the default output
interface.
Only the apply default-next-hop clause is
executed when both are configured.
They take effect only when no next hop or output
interface is set or the next hop and output
interface are invalid, and the IPv6 packet does
not match any route in the routing table.
apply continue
Matches packets against
the next node upon
failure on the current
node.
The apply continue clause applies when the
apply access-vpn vpn-instance, apply next-hop,
apply output-interface, apply default-next-hop,
and apply default-output-interface clauses are
not configured or become invalid. For example,
the specified next hop is unreachable, the
specified output interface is down, or the
packets cannot be forwarded in the specified
VPN instance.