Neighbor Description - D-Link DXS-3600-16S Manual

Dxs-3600 series layer 2/3 managed 10gbe switch
Hide thumbs Also See for DXS-3600-16S:
Table of Contents

Advertisement

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
IP-ADDRESS
PEER-GROUP-NAME
MAP-NAME
Default
Command Mode
Command Default Level
Usage Guideline
Example
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
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
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)#

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.
DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide
Specifies the IP address of the BGP peer.
Specifies the name of a Border Gateway Protocol (BGP) peer group. The maximum
length is 16 characters.
(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.
No default route is sent to the neighbor.
Router Configuration Mode.
Address Family Configuration Mode (IPv4 Unicast and VRF).
Level: 8. (EI Mode Only Command)
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.
This example shows how to advertisement the BGP default route to the neighbor
172.16.2.3 unconditionally.
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.
This example shows how to configure BGP neighbor to use the route map, called
'mymap', as the default originate filter.
94

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents