メイン コンテンツに進む
  • すばやく簡単にご注文が可能
  • 注文内容の表示、配送状況をトラック
  • 会員限定の特典や割引のご利用
  • 製品リストの作成とアクセスが可能
  • 「Company Administration(会社情報の管理)」では、お使いのDell EMCのサイトや製品、製品レベルでのコンタクト先に関する情報を管理できます。

Dell EMC SmartFabric OS10 User Guide Release 10.5.0

PDF

show ip bgp neighbors

Displays information that BGP neighbors exchange.

Syntax
show ip bgp [vrf vrf-name] neighbors [ip-address] [advertised-routes | dampened-routes | flap-statistics | denied-routes | routes]
Parameters
  • vrf vrf-name — Enter vrf and then the name of the VRF to view information that is exchanged between BGP neighbors corresponding to that VRF
  • ip-address — Enter the IPv4 of IPv6 address of a specific neighbor
  • denied-routes — Displays the list of routes that are denied by policy
  • advertised-routes—Displays the routes that are advertised to a neighbor
  • dampened-routes—Displays the suppressed routes that are received from a neighbor
  • flap-statistics—Displays the flap statistics of routes that are received from a neighbor
  • received-routes—Displays the routes that are received from a neighbor.
  • routes—Displays routes learned from a neighbor
Default
Not configured
Command Mode
EXEC
Usage Information
  • BGP neighbor — Displays the BGP neighbor address and its AS number. The last phrase in the line indicates whether the link between the BGP router and its neighbor is an external or internal one. If they are located in the same AS, the link is internal; otherwise the link is external.
  • BGP version — Displays the BGP version, always version 4, and the remote router ID.
  • BGP state — Displays the BGP state of the neighbor and the amount of time in hours:minutes: seconds it has been in that state.
  • Last read — Displays the information in the last read:
    • Last read is the time in hours:minutes:seconds that the router read a message from its neighbor.
    • Hold time is the number of seconds configured between messages from its neighbor.
    • Keepalive interval is the number of seconds between keepalive messages to help ensure that the TCP session is still alive.
  • Received messages — Displays the number of BGP messages received, the number of notifications or error messages, and the number of messages waiting in a queue for processing.
  • Sent messages — Displays the number of BGP messages sent, the number of notifications or error messages, and the number of messages waiting in a queue for processing.
  • Description — Displays the descriptive name that is configured for the BGP neighbor. This field is displayed only when the description is configured.
  • Local host — Displays the peering address of the local router and the TCP port number.
  • Foreign host — Displays the peering address of the neighbor and the TCP port number.

Although the status codes for routes that are received from a BGP neighbor may not display in the show ip bgp neighbors ip-address received-routes output, they display correctly in the show ip bgp output.

Example
OS10# show ip bgp neighbors
BGP neighbor is 2.2.2.2, remote AS 200, local AS 100 external link
Member of peer-group ebgppg for session parameters

BGP version 4, remote router ID 2.2.2.2
BGP state ESTABLISHED, in this state for 00:00:39
Last read 00:14:47 seconds
Hold time is 180, keepalive interval is 60 seconds
Configured hold time is 180, keepalive interval is 60 seconds
Fall-over disabled

Received 4 messages
1 opens, 0 notifications, 0 updates
1 keepalives, 2 route refresh requests
Sent 6 messages
2 opens, 0 notifications, 2 updates
1 keepalives, 1 route refresh requests
Minimum time between advertisement runs is 30 seconds
Minimum time before advertisements start is 0 seconds

Capabilities received from neighbor for IPv4 Unicast:
MULTIPROTO_EXT(1)
MULTIPROTO_EXT(1)
ROUTE_REFRESH(2)
CISCO_ROUTE_REFRESH(128)
4_OCTET_AS(65)
Capabilities advertised to neighbor for IPv4 Unicast:
MULTIPROTO_EXT(1)
MULTIPROTO_EXT(1)
ROUTE_REFRESH(2)
CISCO_ROUTE_REFRESH(128)
4_OCTET_AS(65)
Prefixes accepted 0, Prefixes advertised 2
Connections established 1; dropped 1
Closed by neighbor sent 00:00:54 ago
For address family: IPv4 Unicast
Default originate configured
Allow local AS number 4 times in AS-PATH attribute
Route map for incoming advertisements is filter_pg_ipv4_routes_in
Route map for outgoing advertisements is filter_ipv4_routes_out
Prefixes ignored due to:
Martian address 0, Our own AS in AS-PATH 0
Invalid Nexthop 0, Invalid AS-PATH length 0
Wellknown community 0, Locally originated 0

Local host: 2.2.2.1, Local port: 179
Foreign host: 2.2.2.2, Foreign port: 36656
Example advertised-routes
OS10# show ip bgp ipv6 unicast neighbors 192:168:1::2 advertised-routes 
BGP local router ID is 100.1.1.1
Status codes: s suppressed, S stale, d dampened, h history, * valid, > best
Origin codes: i - IGP, e - EGP, ? - incomplete
Network          Next Hop       Metric    LocPrf    Weight  Path           
*>55::/64        192:168:1::1   0         0         0       100i              
*>55:0:0:1::/64  192:168:1::1   0         0         0       100i              
*>55:0:0:2::/64  192:168:1::1   0         0         0       100i              
*>55:0:0:3::/64  192:168:1::1   0         0         0       100i              
*>55:0:0:4::/64  192:168:1::1   0         0         0       100i              
*>55:0:0:5::/64  192:168:1::1   0         0         0       100i              
*>55:0:0:6::/64  192:168:1::1   0         0         0       100i              
*>55:0:0:7::/64  192:168:1::1   0         0         0       100i              
*>55:0:0:8::/64  192:168:1::1   0         0         0       100i              
*>55:0:0:9::/64  192:168:1::1   0         0         0       100i              
*>172:16:1::/64  192:168:1::1   0         0         0       100?              
Total number of prefixes: 11
OS10#
Example received-routes
OS10# show ip bgp ipv6 unicast neighbors 172:16:1::2 received-routes 
BGP local router ID is 100.1.1.1
Status codes: D denied
Origin codes: i - IGP, e - EGP, ? - incomplete
   Network        Next Hop       Metric    LocPrf    Path           
D  55::/64        172:16:1::2    0         0         i              
   55:0:0:1::/64  172:16:1::2    0         0         i              
   55:0:0:2::/64  172:16:1::2    0         0         i              
D  55:0:0:3::/64  172:16:1::2    0         0         i              
D  55:0:0:4::/64  172:16:1::2    0         0         i              
D  55:0:0:5::/64  172:16:1::2    0         0         i              
D  55:0:0:6::/64  172:16:1::2    0         0         i              
   55:0:0:7::/64  172:16:1::2    0         0         i              
D  55:0:0:8::/64  172:16:1::2    0         0         i              
D  55:0:0:9::/64  172:16:1::2    0         0         i              
Total number of prefixes: 10
OS10# 
Example denied-routes
OS10# show ip bgp ipv6 unicast neighbors 172:16:1::2 denied-routes 
BGP local router ID is 100.1.1.1
Status codes: D denied
Origin codes: i - IGP, e - EGP, ? - incomplete
   Network        Next Hop     Metric   LocPrf  Path           
D  55::/64        172:16:1::2  0        0       100 200 300 400i
D  55:0:0:1::/64  172:16:1::2  0        0       100 200 300 400i
D  55:0:0:2::/64  172:16:1::2  0        0       100 200 300 400i
Total number of prefixes: 3
OS10#
Example routes
OS10# show ip bgp ipv6 unicast neighbors 172:16:1::2 routes 
BGP local router ID is 100.1.1.1
Status codes: s suppressed, S stale, d dampened, h history, * valid, > best
Origin codes: i - IGP, e - EGP, ? - incomplete
Network             Next Hop       Metric    LocPrf   Weight  Path
*>55::/64           172:16:1::2    44        55       0       i   
*>55:0:0:1::/64     172:16:1::2    44        55       0       i   
*>55:0:0:2::/64     172:16:1::2    44        55       0       i   
*>55:0:0:3::/64     172:16:1::2    44        55       0       i   
*>55:0:0:4::/64     172:16:1::2    44        55       0       i   
*>55:0:0:5::/64     172:16:1::2    44        55       0       i   
*>55:0:0:6::/64     172:16:1::2    44        55       0       i   
*>55:0:0:7::/64     172:16:1::2    44        55       0       i   
*>55:0:0:8::/64     172:16:1::2    44        55       0       i   
*>55:0:0:9::/64     172:16:1::2    44        55       0       i   
Total number of prefixes: 10
OS10#
Supported Releases
10.3.0E or later

このコンテンツを評価する

正確
有益
分かりやすい
この記事は役に立ちましたか?
0/3000 characters
  1~5個の星の数で評価してください。
  1~5個の星の数で評価してください。
  1~5個の星の数で評価してください。
  この記事は役に立ちましたか?
  コメントでは、以下の特殊文字は利用できません: <>()\