Page 151 / 757 Scroll up to view Page 146 - 150
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:
Page 152 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
148
DGS-3627:admin# show bgp neighbors 10.10.10.2
Command: show bgp neighbors 10.10.10.2
BGP neighbor: 10.10.10.2 (Internal Peer)
-----------------------------------------------
Session State
: Enabled
Session Activity
: Enabled
Remote AS
: 1
Remote Router ID
:192.168.252.252
BGP State
: Established ( UP for 00:24:25)
Hold Time
: 180 Seconds
Keepalive Interval
: 60 Seconds
Advertisement Interval
: 5 Seconds
AS Origination Interval
: 15 seconds
Connect Retry Interval
: 120 seconds
EBGP Multihop
:
2
Weight
: 100
Next Hop Self
: Disabled
Remove Private As
: Disabled
Allowas In
: Enabled (Num: 3)
Graceful Restart
: Disabled
Address Family IPv4 Unicast
IPv4 Unicast
: Advertised and Received
Soft Reconfiguration Inbound
: Enabled
Community Sent to this Neighbor : Both Standard and Extended
Default Originate
: Enabled
Incoming Update Prefix List : prelist1
Incoming Update Filter List : ASlist1
Outgoing Update Distribute List : AccessList1
Route Map for outgoing Routes : routemap1
Unsuppress Route Map
: us_routmp1
Outbound Route Filter (ORF) type (64) Prefix-list:
Send Mode
: Enabled
Receive Mode
: Disable
Prefix Max Count
: 12000
Prefix Warning Threshold
: 75
Prefix Warning Only
: Disabled
DGS-3627:admin#
DGS-3627:admin# show bgp neighbors 172.16.232.178 advertised_routes
Command: show bgp neighbors 172.16.232.178 advertised_routes
BGP local router ID is 172.16.232.181
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
IP Address/Netmask
Gateway
Metric
LocPrf
Weight
Path
-------------------
---------------
-------
------
------
------
*>i10.0.0.0
172.16.232.179
0
100
0
?
*> 10.20.2.0
0.0.0.0
0
32768
i
Total Entries :2
DGS-3627:admin#
Page 153 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
149
DGS-3627:admin# show bgp neighbors 172.16.232.178 received_routes
Command: show bgp neighbors 172.16.232.178 received_routes
BGP local router ID is 172.16.232.181
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
IP Address/Netmask
Gateway
Metric
LocPrf
Weight
Path
-------------------
--------------- -------
------
------
------
*>i10.0.0.0
172.16.232.179
0
100
0
?
*> 10.20.2.0
0.0.0.0
0
32768
i
Total Entries :2
DGS-3627:admin# show bgp neighbors 172.16.232.178 received_prefix_filter
Command: show bgp neighbors 172.16.232.178 received_prefix_filter
Ip prefix-list 172.16.232.181: 1 entries
Seq 5 deny 10.0.0.0/8 le 32
Total Entries :1
DGS-3627:admin#
DGS-3627:admin# show bgp neighbors 192.168.6.102 routes
Command: show bgp neighbors 192.168.6.102 routes
BGP local router ID is 10.0.40.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? – incomplete
IP Address/Netmask
Gateway
Metric
LocPrf
Weight
Path
-------------------
-----------
-------
------
------
--------------
*>
10.10.10.0/24
172.16.10.1
0
0
300
10 i
*>
10.10.20.0/24
172.16.10.1
0
0
300
10 i
*
10.20.10.0/24
172.16.10.1
0
0
300
10 i
*dh 30.10.1.1/24
172.3.3.2
100
50
200
20 i
Total Entries :4
DGS-3627:admin#
show bgp dampened_routes
Purpose
This command is used to display dampened entries in the Border Gateway Protocol (BGP)
routing table.
Syntax
show bgp dampened_routes
Description
The command is used to show dampened routes.
Parameters
dampened_routes
- Displays the dampened routes
Restrictions
None.
Example usage:
To show the BGP dampened route information:
Page 154 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
150
DGS-3627:admin# show bgp dampened_routes
Command: show bgp dampened_routes
BGP local router ID is 172.29.232.182
Status codes: s suppressed, d damped, h history, * valid, > best, i -internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Network
From
Reuse
Path
--------------
-----------------
---------
-------------
*d 10.0.0.0/8
172.16.232.177
00:18:4
100 ?
*d 10.2.0.0/16
172.16.232.177
00:28:5
100 ?
Total Entries: 2
show bgp flap_statistics
Purpose
This command is used to display flap entries in the Border Gateway Protocol’s (BGP) routing
table
Syntax
show bgp flap_statistics
Description
The command is used to show BGP flap routes.
Parameters
None.
Restrictions
None.
Example usage:
To show flap BGP route information:
DGS-3627:admin#
show bgp flap_statistics
Command:show bgp flap_statistics
BGP local router ID is 172.29.232.182
Status codes: s suppressed, d damped, h history, * valid, > best, i –internal
Origin codes: i - IGP, e - EGP, ? – incomplete
Network
From
Flaps
Duration
Reuse
Path
---------------
----------------
-------
--------
--------
------
*d 10.0.0.0/8
172.29.232.177
4
00:13:31
00:18:10
100i
*d 10.2.0.0/16
172.29.232.177
4
00:02:45
00:28:20
100i
Total Entries: 2
show bgp
Purpose
This command is used to display BGP configuration and summary of the BGP status.
Syntax
show bgp {summary}
Description
This command is used to display BGP configuration and summary of the BGP status.
Parameters
None.
Restrictions
None.
Example usage:
To display the BGP setting:
Page 155 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
151
DGS-3627:admin#
show bgp
Command: show bgp
BGP Global State
: Enabled
Version
: 4
BGP Router Identifier
: 172.16.1.1
Synchronization
: Enabled
Enforce First AS
: Enabled
Local AS number
: 100
Scan Time
: 60 Seconds
Hold Time
: 300 Seconds
Keep Alive Time
: 100 Seconds
Dampening
: Enabled
Always Compare MED
: Disabled
Deterministics MED
: Disabled
Med Confed
: Disabled
Default Local Preference
: 200
AS Path Ignore
: Disabled
Compare Router ID
: Enabled
MED Missing as Worst
: Disabled
Compare Confederation Path
: Disabled
Fast External Fallover
: Disabled
Aggregate Next Hop Check
: Disabled
BGP Trap
: None
DGS-3627:admin#
To display the BGP summary:
DGS-3627:admin#
show bgp summary
Command:
show bgp summary
BGP Router Identifier
: 172.16.1.1,
Local AS Number
: 100
Dampening
: Enabled
BGP AS Path Entries
: 10
BGP Community Entries
: 7
Neighbor
Ver
AS
MsgRcvd
MsgSent
Up/Down
State/PfxRcvd
-----------
--- ----
--------
-------- ----------
------------
10.100.1.1
4
200
26
22
00:14:23
23
10.200.1.1
4
300
21
51
00:13:40
0
10.200.1.5
4
300
21
5
00:10:05
Idle
Total Number of Neighbors: 3
DGS-3627:admin#
show bgp reflection
Purpose
This command is used to display the route reflection configuration of BGP.
Syntax
show bgp reflection
Description
This command displays the BGP route reflection configuration.
Parameters
None.
Restrictions
None.
Example usage:
To display the BGP reflection setting:

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top