R3166-R3206-HP High-End Firewalls Network Management Command Reference-6PW101

Table Of Contents
316
route-policy route-policy-name: Specifies a routing policy name, a string of 1 to 19 characters. Only the
Guard routes permitted by the routing policy are redistributed.
Description
Use the import-route guard command to enable Guard route redistribution into BGP.
Use the undo import-route guard command to disable Guard route redistribution into BGP.
By default, Guard route redistribution into BGP is disabled.
Guard routes redistributed into the BGP route table with the import-route guard command has an
ORIGIN attribute of incomplete.
Examples
# In BGP view, enable Guard route redistribution.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] import-route guard
log-peer-change
Syntax
log-peer-change
undo log-peer-change
View
BGP view
Default level
2: System level
Parameters
None
Description
Use the log-peer-change command to enable the global BGP logging on peers going up and down.
Use the undo log-peer-change command to disable the function.
By default, the function is enabled.
Examples
# Enable BGP logging on peers going up and down.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] log-peer-change
network (BGP/BGP-VPN instance view)
Syntax
network ip-address [ mask | mask-length ] route-policy route-policy-name
undo network ip-address [ mask | mask-length ]