992CHAPTER 72: BGP CONFIGURATION COMMANDS

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp] peer test ebgp-max-hop

#In BGP-VPN instance view, allow establishing the EBGP connection with the peer group test that is on an indirectly connected network (the VPN has been created).

<Sysname> system-view [Sysname] bgp 100

[Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-vpn1] peer test ebgp-max-hop

peer enable (BGP view)

Syntax peer ip-addressenable

undo peer ip-addressenable

View BGP view

Parameters ip-address: IP address of a peer.

Description Use the peer enable command to enable the specified peer.

Use the undo peer enable command to disable the specified peer.

By default, the BGP peer is enabled.

If a peer is disabled, the router will not exchange routing information with the peer.

Examples # Disable peer 18.10.0.9.

<Sysname> system-view [Sysname] bgp 100

[Sysname-bgp] peer 18.10.0.9 group group1

[Sysname-bgp] undo peer 18.10.0.9 enable

peer fake-as (BGP/BGP-VPN instance view)

Syntax peer { group-name ip-address } fake-asas-number undo peer { group-name ip-address } fake-as

View BGP view/BGP-VPN instance view

Parameters group-name: Name of a peer group, a string of 1 to 47 characters.

ip-address: IP address of a peer.

as-number: Local autonomous system number, in the range 1 to 65535.

Page 992
Image 992
3Com MSR 30, MSR 50 manual Peer enable BGP view, Peer fake-as BGP/BGP-VPN instance view