DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide
113
Parameters
7-64 redistribute
This command is used to redistribute routing information from other routing protocols to BGP. Use the no form of this
command to disable this function.
redistribute {local | static | rip | ospf {all | internal | external | type_1 | type_2 | inter+e1 | inter+e2}} [metric
NUMBER
| route-map
MAP-NAME
]
no redistribute {local | static | rip | ospf} [metric | route-map]
Parameters
NETWORK-ADDRESS
Specifies the network address and the sub-network mask that BGP will advertise.
For example, the format of NETWORK-ADDRESS can be 10.9.18.2/8
route-map
MAP-NAME
(Optional) Specifies the name of a configured route map. The route map should be
examined to filter the networks to be advertised. If not specified, all networks are
advertised.
Default
None.
Command Mode
Router Configuration Mode.
Address Family Configuration Mode (IPv4 Unicast and VRF).
Command Default Level
Level: 8. (
EI Mode Only Command
)
Usage Guideline
BGP networks can be learned from connected routes, from dynamic routing, and
from static route sources.
Use this command to specify a network as local to this autonomous system and
adds it to the BGP routing table. For exterior protocols the network command
controls which networks are advertised. Interior protocols use the network command
to determine where to send updates.
The BGP will advertise a network entry if the router has the route information for this
entry if synchronize state is enabled.
You can verify your settings by entering the
show ip bgp network
command in the
Privileged Mode.
Example
This example shows how to set up network 10.108.0.0 to be included in the BGP
updates.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#router bgp 100
DXS-3600-32S(config-router)#network 10.108.0.0/16
DXS-3600-32S(config-router)#
Example
This example shows how to set up network 133.10.25.0/24 to be included in the
BGP updates and use route-map mymap1 to set the weight of routes to 2000.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#route-map mymap1 permit 1
DXS-3600-32S(config-route-map)#set weight 2000
DXS-3600-32S(config-route-map)#exit
DXS-3600-32S(config)#router bgp 100
DXS-3600-32S(config-router)#network 133.10.25.0/24 route-map mymap1
DXS-3600-32S(config-router)#
local
Specifies to redistribute local routes to BGP.
static
Specifies to redistribute static routes to BGP.
rip
Specifies to redistribute RIP routes to BGP.
Summary of Contents for DXS-3600-16S
Page 1: ...CLI Reference Guide Product Model DXS 3600 Series Layer 2 3 Managed 10GbE Switch Release 1 10 ...
Page 232: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 224 ...
Page 301: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 293 ...
Page 349: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 341 ...
Page 494: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 486 ...
Page 564: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 556 ...
Page 649: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 641 ...