982CHAPTER 72: BGP CONFIGURATION COMMANDS

route-policy-name: Name of a routing policy used to filter redistributed routes, a string of 1 to 19 characters.

Description Use the import-routecommand to configure BGP to redistribute routes from a specified routing protocol and advertise redistributed routes.

Use the undo import-routecommand to disable route redistribution from a routing protocol.

By default, BGP does not redistribute routes from other protocols.

The ORIGIN attribute of routes redistributed with the import-routecommand is incomplete.

Examples # In BGP view, redistribute routes from RIP.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp] import-route rip

#In BGP-VPN instance view, redistribute routes from RIP (the VPN has been created).

<Sysname> system-view [Sysname] bgp 100

[Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-vpn1] import-route rip

log-peer-change

Syntax log-peer-change

undo log-peer-change

View BGP view

Parameters None

Description Use the log-peer-changecommand to enable the global BGP logging on peers going up and down.

Use the undo log-peer-changecommand 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

Page 982
Image 982
3Com MSR 30, MSR 50 manual Log-peer-change, Syntax log-peer-change Undo log-peer-change