576
redistribute <ROUTES> [route-map <WORD>]
” command cancels this configuration
Parameter: <ROUTES>
: Route source or protocol, including: connected, isis, kernel,
ospf, rip, static, etc.
<WORD>
: Name of route map
Default:
None
Command Mode:
BGP routing mode.
Usage Guide:
Route from other ways will be distributed into the BGP route table with this
command and transmitted to the neighbors
Example:
The static route is introduced into BGP with this configuration and advertised
to the neighbors
Switch(config-router)# redistribute static
14.8.3.80 rd
Command: rd <rd-val>
Function:
Configure the VRF route identification label.
Parameter: <rd-val>
is the route identification label, which normally should be
(
AS
number or IP address
)
: digits, such as: 100:10
Command Mode:
vrf mode
Usage Guide:
Under VRF mode the configured RD is for identifying different VRF each
of which shall have a unique RD; The BGP distinct routes with different VRF with this
identification label. But attention should be paid on that once RD is configured, it will not
be changed. So there is no form command to cancel this configuration and you have to
reconfigure VRF
Example:
Switch(config)#ip vrf DC1
Switch(config-vrf)#rd 100:10
Switch(config-vrf)#
Above example creates a VRF named DC1 with RD value at 100:10
14.8.3.81 router bgp
Command:router bgp <as-id> [view <name>]
no router bgp <as-id> [view <name>]
Function:
Enable BGP instance. The “
no router bgp <as-id> [view <name>]
” command
deletes BGP instance
Parameter:<as-id>
:1-65535 is AS number;
<name>
:Character string which is the name and index for multiple BGP
instance
Default:
BGP Not enabled