Qtech QSW-3900-48-SFP-DC [122/245] Enable disable bgp

Qtech QSW-3900-48-SFP-DC [122/245] Enable disable bgp
QTECH Software Configuration Manual
9-121
l Configure BGP peer
l Configure BGP timer
l Configure local priority
l Configure AS MED
l Compare MED from different AS neighbors
l Configure BGP route aggregation
l Configure route information of IGP protocol introduced by BGP
l Configure BGP route filtration
l Define distribution list
l Define AS path list
l BGP monitor and maintenance
9.2.1 Enable/disable BGP
Specify local AS number when enabling BGP. After enable it, local router monitors and receives BGP
request from neighbor routers. How to enable BGP request to neighbor router refers to neighbor Command. All
established BGP connection will be cut off when disable it.
Configure it in global configuration mode:
Enable BGP to enter BGP mode
router bgp as-number
Disable BGP
no router bgp as-number
BGP is defaulted to be disabled.
Example:
!Enable BGP
QTECH(config)#router bgp 400
Specify the network route BGP to be notified
Use network command to specify the network route BGP to be notified and also mask.
Configure it in BGP configuration mode.
Configure the network route local BGP to be notified
network ip-address [ mask address-mask ]
Cancel the network route local BGP to be notified
no network ip-address [ mask address-mask ]
network command inserts the route whose destination is ip-address to BGP table and notify this route to
peer. Only the route in IP address before configuration can be insert to local BGP table and notify to peer through
Update Message.
The distributed route by network command is accurate, that is, the prefix and mask should be totally
matched. If the mask is not specified, accurately match it according to natural network interface.
By default, local BGP willnot notify any network route.
Example:
!Notify 192.168.5.0
QTECH(config)#network 192.168.5.0
9.2.2 Configure BGP peer
The two BGP speakers exchanging BGP packet are peers.
Configure it in BGP configuration mode.
9.2.2.1 Configure AS number
When configuring peers to be neighbors, know the AS number first.
If the AS number specified by neighbor remote-as and router bgp commands are the same, it is the internal
neighbor (IBGP), or it is the external (EBGP).
Set up neighborhood andspecified AS number
neighbor neighbor-address remote-as as-number

Содержание

Похожие устройства

Скачать