D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
147
DGS-3627:admin# show bgp route network 2.2.2.0/24
Command: show bgp route network 2.2.2.0/24
BGP routing table entry for 2.2.2.0/24
Paths:(1 available, best #1, table: Default_IP_Routing_Table, not advertised to any
peer.)
Not advertised to any peer.
AS path is: Local
Next hop is: 0.0.0.0 ,from 0.0.0.0 (local router_id is:192.168.1.1)
Origin IGP, metric 100, localpref 0, weight 32768, sourced, best
Community: no_advertise
show bgp neighbors
Purpose This command is used to display BGP and TCP connections with the BGP neighbor or
routing table entries containing a BGP neighbor.
Syntax
show bgp neighbors {<ipaddr> {[ advertised_routes | received_routes | routes|
received_prefix_filter| statistics ]}}
Description To display BGP and TCP connection information for neighbor sessions, or routing table
entries with BGP neighbors. For BGP, this includes detailed neighbor attributes, capability,
path, and prefix information. For TCP, this includes statistics related to BGP neighbor session
establishment and maintenance.
Parameters
neighbors - Detailed information about TCP and BGP neighbor connections.
advertised_routes - Displays the routes advertised to a BGP neighbor.
received_routes - Displays the routes received from this neighbor.
received_prefix_filter - Displays the prefix filter information that is received from a BGP
neighbor.
routes - Displays routes in the routing table learned from the neighbor.
Restrictions None.
Example usage:
To display BGP neighbors: