D-Link DXS-3600-32S CLI Guide - Page 102
neighbor default-originate, neighbor description
View all D-Link DXS-3600-32S manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 102 highlights
DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide 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 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. Default Command Mode Command Default Level Usage Guideline 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. 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)# 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. 94