R2511-HP MSR Router Series Layer 3 - IP Routing Command Reference(V5)
317
<Sysname> system-view
[Sysname] policy-based-route aa permit node 11
[Sysname-pbr-aa-11] apply output-interface serial 2/0 track 1
apply output-interface ip-address next-hop
Use apply output-interface ip-address next-hop dhcpc to specify the output interface and next hop. The
next hop is the gateway address learned through DHCP.
Use undo apply output-interface to remove the configuration.
Syntax
apply output-interface interface-type interface-number ip-address next-hop dhcpc
undo apply output-interface
Views
Policy node view
Default command level
2: System level
Parameters
interface-type interface-number: Specifies an output interface by its type and number.
ip-address next-hop dhcpc: Specifies the gateway address learned through DHCP as the next hop.
Examples
# Specify the management subinterface Ethernet 1/1.1 as the output interface. (Because Ethernet 1/1.1
obtains its IP address through DHCP and the next hop address is unknown, you need to specify the
gateway address learned through DHCP as the next hop address.)
<Sysname> system-view
[Sysname] policy-based-route management permit node 1
[Sysname-pbr-management-1] apply output-interface ethernet 1/1.1 ip-address next-hop
dhcpc
display ip policy-based-route
Use display ip policy-based-route to display information about local PBR and interface PBR.
Syntax
display ip policy-based-route [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.










