3com MSR 20-20 참조 매뉴얼

다운로드
페이지 2742
992
C
HAPTER
 72: BGP C
ONFIGURATION
 C
OMMANDS
<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-address enable
undo peer ip-address enable
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-as as-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.