beautypg.com

84 router bgp, 85 route-target – Accton Technology ES4626 User Manual

Page 565

background image

565

Above example creates a VRF named DC1 with RD value at 100:10

13.8.3.84 router bgp

Command: router bgp [view ]

no router bgp [view ]

Function:

Enable BGP instance. The “no router bgp [view ]

command deletes BGP instance

Parameter:

: 1-65535 is AS number;

: Character string which is the name and index for multiple BGP

instance

Default:

BGP Not enabled

Command Mode:

Global mode

Usage Guide:

Enable BGP by specified AS, and then enter the config-router state, the

protocol can be configured at this prompt. In case no bgp multiple-instance is configured

while a BGP is enabled, enabling new BGP instance will return with error. If bgp

multiple-instance is configured, you can enable several BGP however the name of the

instance has to be specified with view parameter. The NO form will cancel the

configuration of this BGP instance.

Example:

Switch(config)#router bgp 200

Switch(config-router)#exit

Switch(config)#bgp multiple-instance

Switch(config)#router bgp 200

Switch(config-router)#exit

Switch(config)#router bgp 300 view as300

Switch(config)#no router bgp 300 view as300

Switch(config)#no router bgp 200

13.8.3.85 route-target

Command: route-target {import|export|both} <rt-val>

no route-target {import|export|both} <rt-val>

Function:

Configure the route extended community attributes, so to determine whether

the route be spreader to specific VRF.

Parameter:

is the same as RD form, standing for the extended community

attributes of the routes.

Command Mode:

vrf mode

Usage Guide:

Under VRF mode, the configured RT attributes decides which VRF will

accept the route. There are 3 RT configurations: the import RT stands for the RT value

This manual is related to the following products: