DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide
94
7-40 neighbor default-originate
This command is used to allow a BGP speaker (the local router) to send the default route 0.0.0.0 to a neighbor for use
as a default route. To send no route as a default, use the no form of this command.
neighbor {
IP-ADDRESS
|
PEER-GROUP-NAME
} default-originate [route-map
MAP-NAME
]
no neighbor {
IP-ADDRESS
|
PEER-GROUP-NAME
} default-originate
Parameters
7-41 neighbor description
This command is used to associate a description with a neighbor or a peer group. Use the no form of this command to
remove the description.
IP-ADDRESS
Specifies the IP address of the BGP peer.
PEER-GROUP-NAME
Specifies the name of a Border Gateway Protocol (BGP) peer group. The maximum
length is 16 characters.
MAP-NAME
(Optional) Specifies the name of the route map. The length is up to 16 characters.
The route map allows route 0.0.0.0 to be injected conditionally.
Default
No default route is sent to the neighbor.
Command Mode
Router Configuration Mode.
Address Family Configuration Mode (IPv4 Unicast and VRF).
Command Default Level
Level: 8. (
EI Mode Only Command
)
Usage Guideline
This command allows a BGP speaker (the local router) to send the default route
0.0.0.0/0 to a specified neighbor to use as its default route. If route map is specified,
the default route will be injected if the route map contains a match IP address
statement.
Use the
show ip bgp neighbors
or
show ip bgp peer-group
command to verify
your settings.
Example
This example shows how to advertisement the BGP default route to the neighbor
172.16.2.3 unconditionally.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#router bgp 10
DXS-3600-32S(config-router)#neighbor 172.16.2.3 remote-as 20
DXS-3600-32S(config-router)#neighbor 172.16.2.3 default-originate
DXS-3600-32S(config-router)#
Example
This example shows how to send an advertisement BGP default route to neighbor
172.16.22.32 and set the weight to 2000. Create a route-map name, called ‘mymap’
and set the entry.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#route-map mymap permit 1
DXS-3600-32S(config-route-map)#set weight 2000
DXS-3600-32S(config-route-map)#
Example
This example shows how to configure BGP neighbor to use the route map, called
‘mymap’, as the default originate filter.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#router bgp 1
DXS-3600-32S(config-router)#neighbor 172.16.22.32 remote-as 2
DXS-3600-32S(config-router)#neighbor 172.16.22.32 default-originate route-map mymap
DXS-3600-32S(config-router)#
Содержание DXS-3600-16S
Страница 1: ...CLI Reference Guide Product Model DXS 3600 Series Layer 2 3 Managed 10GbE Switch Release 1 10 ...
Страница 232: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 224 ...
Страница 301: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 293 ...
Страница 349: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 341 ...
Страница 494: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 486 ...
Страница 564: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 556 ...
Страница 649: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 641 ...