0% found this document useful (0 votes)
34 views12 pages

BGP Configuration and Status Overview

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views12 pages

BGP Configuration and Status Overview

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

12.0.1.

28

-------------------------
sho mac add-table

----------------------------------
bras commands

#show users
#show int virtual-access ....
#show int virtual-access 220 | i rate

---------------------------------

show ip bgp summary


ping [Link]
ping [Link] source [Link]
sh startup-config | b interface Vlan274

-----------------------

show ip bgp neighbors [Link] routes


show ip bgp neighbors [Link]
show ip bgp summary
show ip interface tunnel 40
show inter des
show inter statu

-----------------------------------------

show ip bgp summary


show ip bgp neigh
ping [Link] rep 1500
sho ip bgp nei [Link] adver
sh start | b router bgp

show ip pre from tehran karara

GRE tunnel
eoip layer 2 tunnel
[Link]-2-3-4

-------------------------------------

display vdsl line operation all

display mac-address port 0/1/0


en
display mac-address all
display mac-address vlan 1

-----------------------------
telnet [Link]
rviews
rviews

-----------------------------------------
er Access Verification

Username: avanoc
Password:

AVA-EDGE-RTR#sho
AVA-EDGE-RTR#show ip
AVA-EDGE-RTR#show ipbg
AVA-EDGE-RTR#show ip bg
AVA-EDGE-RTR#show ip bgp nei
AVA-EDGE-RTR#show ip bgp neighbors
BGP neighbor is [Link], remote AS 43754, external link
BGP version 4, remote router ID [Link]
BGP state = Established, up for 4w6d
Last read [Link], last write [Link], hold time is 180, keepalive interval is
60 seconds
Neighbor sessions:
1 active, is not multisession capable
Neighbor capabilities:
Route refresh: advertised and received(new)
Address family IPv4 Unicast: advertised and received
Multisession Capability: advertised
Message statistics:
InQ depth is 0
OutQ depth is 0

Sent Rcvd
Opens: 1 1
Notifications: 0 0
Updates: 51 38
Keepalives: 55033 55089
Route Refresh: 0 0
Total: 55085 55128
Default minimum time between advertisement runs is 30 seconds

For address family: IPv4 Unicast


Session: [Link]
BGP table version 229, neighbor version 229/0
Output queue size : 0
Index 1, Offset 0, Mask 0x2
1 update-group member
Community attribute sent to this neighbor
Incoming update prefix filter list is AsiaTech-in
Outgoing update prefix filter list is AsiaTech-Out
Sent Rcvd
Prefix activity: ---- ----
Prefixes Current: 3 0
Prefixes Total: 122 0
Implicit Withdraw: 16 0
Explicit Withdraw: 103 0
Used as bestpath: n/a 0
Used as multipath: n/a 0

Outbound Inbound
Local Policy Denied Prefixes: -------- -------
prefix-list 8 0
Total: 8 0
Number of NLRIs in the update sent: max 13, min 0

Address tracking is enabled, the RIB does have a route to [Link]


Connections established 1; dropped 0
Last reset never
External BGP neighbor may be up to 16 hops away.
Transport(tcp) path-mtu-discovery is enabled
Graceful-Restart is disabled
Connection state is ESTAB, I/O status: 1, unread input bytes: 0
Connection is ECN Disabled
Mininum incoming TTL 0, Outgoing TTL 16
Local host: [Link], Local port: 27812
Foreign host: [Link], Foreign port: 179
Connection tableid (VRF): 0

Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes)

Event Timers (current time is 0xB2F8F540):


Timer Starts Wakeups Next
Retrans 55092 12 0x0
TimeWait 0 0 0x0
AckHold 55090 54193 0x0
SendWnd 0 0 0x0
KeepAlive 0 0 0x0
GiveUp 0 0 0x0
PmtuAger 9872132 9872131 0xB2F8F58B
DeadWait 0 0 0x0
Linger 0 0 0x0

iss: 4127822385 snduna: 4128870886 sndnxt: 4128870886 sndwnd: 15455


irs: 245405475 rcvnxt: 246453453 rcvwnd: 14940 delrcvwnd: 1444

SRTT: 300 ms, RTTO: 303 ms, RTV: 3 ms, KRTT: 0 ms


minRTT: 0 ms, maxRTT: 300 ms, ACK hold: 200 ms
Status Flags: none
Option Flags: higher precendence, nagle, path mtu capable

Datagrams (max data segment is 1460 bytes):


Rcvd: 109996 (out of order: 0), with data: 55092, total data bytes: 1047977
Sent: 109989 (retransmit: 12 fastretransmit: 0),with data: 55079, total data bytes:
1048500

BGP neighbor is [Link], remote AS 62263, external link


BGP version 4, remote router ID [Link]
BGP state = Idle
Neighbor sessions:
0 active, is multisession capable
Default minimum time between advertisement runs is 30 seconds

For address family: IPv4 Unicast


BGP table version 229, neighbor version 0/0
Output queue size : 0
Index 2, Offset 0, Mask 0x4
2 update-group member
Inbound soft reconfiguration allowed
Incoming update prefix filter list is From-HOOSHERTEBAT
Outgoing update prefix filter list is Default-Route
Sent Rcvd
Prefix activity: ---- ----
Prefixes Current: 0 0
Prefixes Total: 0 0
Implicit Withdraw: 0 0
Explicit Withdraw: 0 0
Used as bestpath: n/a 0
Used as multipath: n/a 0

Outbound Inbound
Local Policy Denied Prefixes: -------- -------
Total: 0 0
Number of NLRIs in the update sent: max 0, min 0

Address tracking is enabled, the RIB does have a route to [Link]


Connections established 5; dropped 5
Last reset [Link], due to Interface flap of session 1
External BGP neighbor not directly connected.
Transport(tcp) path-mtu-discovery is enabled
Graceful-Restart is disabled
No active TCP connection

BGP neighbor is [Link], remote AS 62263, external link


BGP version 4, remote router ID [Link]
BGP state = Established, up for [Link]
Last read [Link], last write [Link], hold time is 180, keepalive interval is
60 seconds
Neighbor sessions:
1 active, is not multisession capable
Neighbor capabilities:
Route refresh: advertised and received(new)
Address family IPv4 Unicast: advertised and received
Multisession Capability: advertised
Message statistics:
InQ depth is 0
OutQ depth is 0

Sent Rcvd
Opens: 1 1
Notifications: 0 0
Updates: 7 1
Keepalives: 398 419
Route Refresh: 0 0
Total: 406 421
Default minimum time between advertisement runs is 30 seconds

For address family: IPv4 Unicast


Session: [Link]
BGP table version 229, neighbor version 229/0
Output queue size : 0
Index 3, Offset 0, Mask 0x8
3 update-group member
Sent Rcvd
Prefix activity: ---- ----
Prefixes Current: 2 1 (Consumes 52 bytes)
Prefixes Total: 29 1
Implicit Withdraw: 0 0
Explicit Withdraw: 27 0
Used as bestpath: n/a 1
Used as multipath: n/a 0

Outbound Inbound
Local Policy Denied Prefixes: -------- -------
Bestpath from this peer: 1 n/a
Total: 1 0
Number of NLRIs in the update sent: max 13, min 0

Address tracking is enabled, the RIB does have a route to [Link]


Connections established 1; dropped 0
Last reset never
External BGP neighbor may be up to 3 hops away.
Transport(tcp) path-mtu-discovery is enabled
Graceful-Restart is disabled
Connection state is ESTAB, I/O status: 1, unread input bytes: 0
Connection is ECN Disabled
Mininum incoming TTL 0, Outgoing TTL 3
Local host: [Link], Local port: 26955
Foreign host: [Link], Foreign port: 179
Connection tableid (VRF): 0

Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes)

Event Timers (current time is 0xB2F8FE40):


Timer Starts Wakeups Next
Retrans 404 0 0x0
TimeWait 0 0 0x0
AckHold 421 412 0x0
SendWnd 0 0 0x0
KeepAlive 0 0 0x0
GiveUp 0 0 0x0
PmtuAger 1 1 0x0
DeadWait 0 0 0x0
Linger 0 0 0x0

iss: 2341072036 snduna: 2341080119 sndnxt: 2341080119 sndwnd: 15008


irs: 786094710 rcvnxt: 786102762 rcvwnd: 15548 delrcvwnd: 836

SRTT: 300 ms, RTTO: 303 ms, RTV: 3 ms, KRTT: 0 ms


minRTT: 0 ms, maxRTT: 300 ms, ACK hold: 200 ms
Status Flags: none
Option Flags: higher precendence, nagle, path mtu capable

Datagrams (max data segment is 1436 bytes):


Rcvd: 824 (out of order: 0), with data: 421, total data bytes: 8051
Sent: 823 (retransmit: 0 fastretransmit: 0),with data: 404, total data bytes: 8082

BGP neighbor is [Link], remote AS 58202, external link


BGP version 4, remote router ID [Link]
BGP state = Active
Neighbor sessions:
0 active, is multisession capable
Message statistics, flags active, state Active:
InQ depth is 0
OutQ depth is 0

Sent Rcvd
Opens: 0 0
Notifications: 0 0
Updates: 0 0
Keepalives: 0 0
Route Refresh: 0 0
Total: 0 0
Default minimum time between advertisement runs is 30 seconds

For address family: IPv4 Unicast


BGP table version 229, neighbor version 0/0
Output queue size : 0
Index 2, Offset 0, Mask 0x4
2 update-group member
Inbound soft reconfiguration allowed
Incoming update prefix filter list is From-TehranKrara
Outgoing update prefix filter list is Default-Route
Sent Rcvd
Prefix activity: ---- ----
Prefixes Current: 0 0
Prefixes Total: 0 0
Implicit Withdraw: 0 0
Explicit Withdraw: 0 0
Used as bestpath: n/a 0
Used as multipath: n/a 0

Outbound Inbound
Local Policy Denied Prefixes: -------- -------
Total: 0 0
Number of NLRIs in the update sent: max 2, min 0

Address tracking is enabled, the RIB does have a route to [Link]


Connections established 4; dropped 4
Last reset [Link], due to Active open failed
Transport(tcp) path-mtu-discovery is enabled
Graceful-Restart is disabled
No active TCP connection

AVA-EDGE-RTR#show ip bgp su
AVA-EDGE-RTR#show ip bgp summary
BGP router identifier [Link], local AS number 64413
BGP table version is 229, main routing table version 229
3 network entries using 363 bytes of memory
3 path entries using 156 bytes of memory
3/2 BGP path/bestpath attribute entries using 228 bytes of memory
1 BGP AS-PATH entries using 24 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 771 total bytes of memory
BGP activity 114/111 prefixes, 128/125 paths, scan interval 60 secs
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
[Link] 4 43754 55128 55086 229 0 0 4w6d 0
[Link] 4 62263 0 0 0 0 0 [Link] Idle
[Link] 4 62263 422 407 229 0 0 [Link] 1
[Link] 4 58202 0 0 0 0 0 [Link] Active
AVA-EDGE-RTR#
AVA-EDGE-RTR#show ip bgp neighbors [Link]
BGP neighbor is [Link], remote AS 43754, external link
BGP version 4, remote router ID [Link]
BGP state = Established, up for 4w6d
Last read [Link], last write [Link], hold time is 180, keepalive interval is
60 seconds
Neighbor sessions:
1 active, is not multisession capable
Neighbor capabilities:
Route refresh: advertised and received(new)
Address family IPv4 Unicast: advertised and received
Multisession Capability: advertised
Message statistics:
InQ depth is 0
OutQ depth is 0

Sent Rcvd
Opens: 1 1
Notifications: 0 0
Updates: 51 38
Keepalives: 55034 55089
Route Refresh: 0 0
Total: 55086 55128
Default minimum time between advertisement runs is 30 seconds

For address family: IPv4 Unicast


Session: [Link]
BGP table version 229, neighbor version 229/0
Output queue size : 0
Index 1, Offset 0, Mask 0x2
1 update-group member
Community attribute sent to this neighbor
Incoming update prefix filter list is AsiaTech-in
Outgoing update prefix filter list is AsiaTech-Out
Sent Rcvd
Prefix activity: ---- ----
Prefixes Current: 3 0
Prefixes Total: 122 0
Implicit Withdraw: 16 0
Explicit Withdraw: 103 0
Used as bestpath: n/a 0
Used as multipath: n/a 0

Outbound Inbound
Local Policy Denied Prefixes: -------- -------
prefix-list 8 0
Total: 8 0
Number of NLRIs in the update sent: max 13, min 0

Address tracking is enabled, the RIB does have a route to [Link]


Connections established 1; dropped 0
Last reset never
External BGP neighbor may be up to 16 hops away.
Transport(tcp) path-mtu-discovery is enabled
Graceful-Restart is disabled
Connection state is ESTAB, I/O status: 1, unread input bytes: 0
Connection is ECN Disabled
Mininum incoming TTL 0, Outgoing TTL 16
Local host: [Link], Local port: 27812
Foreign host: [Link], Foreign port: 179
Connection tableid (VRF): 0

Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes)

Event Timers (current time is 0xB2F99558):


Timer Starts Wakeups Next
Retrans 55093 12 0x0
TimeWait 0 0 0x0
AckHold 55090 54193 0x0
SendWnd 0 0 0x0
KeepAlive 0 0 0x0
GiveUp 0 0 0x0
PmtuAger 9872267 9872266 0xB2F995DB
DeadWait 0 0 0x0
Linger 0 0 0x0

iss: 4127822385 snduna: 4128870905 sndnxt: 4128870905 sndwnd: 15436


irs: 245405475 rcvnxt: 246453453 rcvwnd: 14940 delrcvwnd: 1444

SRTT: 300 ms, RTTO: 303 ms, RTV: 3 ms, KRTT: 0 ms


minRTT: 0 ms, maxRTT: 300 ms, ACK hold: 200 ms
Status Flags: none
Option Flags: higher precendence, nagle, path mtu capable

Datagrams (max data segment is 1460 bytes):


Rcvd: 109997 (out of order: 0), with data: 55092, total data bytes: 1047977
Sent: 109990 (retransmit: 12 fastretransmit: 0),with data: 55080, total data bytes:
1048519
AVA-EDGE-RTR#show ip bg
AVA-EDGE-RTR#show ip bgp summ
AVA-EDGE-RTR#show ip bgp summary
BGP router identifier [Link], local AS number 64413
BGP table version is 229, main routing table version 229
3 network entries using 363 bytes of memory
3 path entries using 156 bytes of memory
3/2 BGP path/bestpath attribute entries using 228 bytes of memory
1 BGP AS-PATH entries using 24 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 771 total bytes of memory
BGP activity 114/111 prefixes, 128/125 paths, scan interval 60 secs

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd


[Link] 4 43754 55129 55087 229 0 0 4w6d 0
[Link] 4 62263 0 0 0 0 0 [Link] Idle
[Link] 4 62263 423 408 229 0 0 [Link] 1
[Link] 4 58202 0 0 0 0 0 [Link] Active
AVA-EDGE-RTR#ping [Link]

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
AVA-EDGE-RTR#ping [Link] sou
AVA-EDGE-RTR#ping [Link] source [Link]

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
Packet sent with a source address of [Link]
...
Success rate is 0 percent (0/3)
AVA-EDGE-RTR#sh star
AVA-EDGE-RTR#sh startup-config int
AVA-EDGE-RTR#sh startup-config | i 274
vlan 274
interface Vlan274
AVA-EDGE-RTR#sh startup-config | b 274
vlan 274
name Tehran-Karara
!
vlan 1717
name Asiatech-Internet
!
vlan 1718
name TRANSIT
!
!
!
class-map match-all Alibaba-Motahari-class
match access-group name Alibaba-Motahari-IPs
class-map match-all Mapfa-Class
match access-group name Mapfa-IPs
class-map match-all TKA-Class
match access-group name TKA-IPs
class-map match-all HOOSHERtEBAT-Class
match access-group name HOOSHErtebat-IPS
!
policy-map Mapfa-Policy
class Mapfa-Class
police cir 47185500 bc 62500
conform-action transmit
exceed-action drop
policy-map TKA-Policy
class TKA-Class
police cir 190000000 bc 95000
conform-action transmit

AVA-EDGE-RTR#sh startup-config | b interface vlan274


AVA-EDGE-RTR#sh startup-config | b interface vlan 274
AVA-EDGE-RTR#sh startup-config | b interface Vlan274
interface Vlan274
ip address [Link] [Link] secondary
ip address [Link] [Link]
no ip redirects
service-policy output TKA-Policy
!
interface Vlan1717
description INTERNET_ASIATECH
ip address [Link] [Link] secondary
ip address [Link] [Link]
no ip redirects
!
interface Vlan1718
description TRANSIT_ASIATECH
ip address [Link] [Link]
!
router bgp 64413
bgp log-neighbor-changes
neighbor [Link] remote-as 43754
neighbor [Link] ebgp-multihop 16
neighbor [Link] remote-as 62263
neighbor [Link] remote-as 62263
neighbor [Link] ebgp-multihop 3
neighbor [Link] update-source Loopback62263
neighbor [Link] remote-as 58202
!
address-family ipv4
no synchronization
network [Link] mask [Link]

AVA-EDGE-RTR#ping [Link]

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/12/52 ms
AVA-EDGE-RTR#ping [Link]

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/22/96 ms
AVA-EDGE-RTR#ping [Link]

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/22/104 ms
AVA-EDGE-RTR#ping [Link]

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/21/92 ms
AVA-EDGE-RTR#ping [Link] source [Link]

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
Packet sent with a source address of [Link]
.....
Success rate is 0 percent (0/5)
AVA-EDGE-RTR#ping [Link] source [Link]

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
Packet sent with a source address of [Link]
.....
Success rate is 0 percent (0/5)
AVA-EDGE-RTR#ping [Link] source [Link]
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
Packet sent with a source address of [Link]
.....
Success rate is 0 percent (0/5)
AVA-EDGE-RTR#ping [Link] source [Link]

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
Packet sent with a source address of [Link]
.....
Success rate is 0 percent (0/5)
AVA-EDGE-RTR#ping [Link] source [Link]

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
Packet sent with a source address of [Link]
.....
Success rate is 0 percent (0/5)
AVA-EDGE-RTR#ping [Link] source [Link]

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
Packet sent with a source address of [Link]
.....
Success rate is 0 percent (0/5)
AVA-EDGE-RTR#ping [Link] source [Link]

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
Packet sent with a source address of [Link]
.....
Success rate is 0 percent (0/5)
AVA-EDGE-RTR#ping [Link] source [Link]

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
Packet sent with a source address of [Link]
.....
Success rate is 0 percent (0/5)
AVA-EDGE-RTR#ping [Link]

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/5/16 ms
AVA-EDGE-RTR#ping [Link] source [Link]

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
Packet sent with a source address of [Link]
.....
Success rate is 0 percent (0/5)
AVA-EDGE-RTR#ping [Link] source [Link]

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
Packet sent with a source address of [Link]
.....
Success rate is 0 percent (0/5)
AVA-EDGE-RTR#ping [Link]

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/17/76 ms
AVA-EDGE-RTR#
AVA-EDGE-RTR#ping [Link] source [Link]

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
Packet sent with a source address of [Link]
.....
Success rate is 0 percent (0/5)
AVA-EDGE-RTR#ping [Link] source [Link]

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
Packet sent with a source address of [Link]
.....
Success rate is 0 percent (0/5)

You might also like