KEMBAR78
Commands | PDF | Transmission Control Protocol | Internet Protocols
0% found this document useful (0 votes)
22 views12 pages

Commands

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)
22 views12 pages

Commands

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
You are on page 1/ 12

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 192.168.10.20
ping 192.168.10.20 source 192.168.10.17
sh startup-config | b interface Vlan274

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

show ip bgp neighbors 192.168.10.10 routes


show ip bgp neighbors 192.168.10.10
show ip bgp summary
show ip interface tunnel 40
show inter des
show inter statu

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

show ip bgp summary


show ip bgp neigh
ping 192.168.1.1 rep 1500
sho ip bgp nei 172.0.0.0 adver
sh start | b router bgp

show ip pre from tehran karara

GRE tunnel
eoip layer 2 tunnel
185.103.86.1-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 12.0.1.28
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 172.17.2.77, remote AS 43754, external link
BGP version 4, remote router ID 185.120.236.13
BGP state = Established, up for 4w6d
Last read 00:00:11, last write 00:00:44, 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: 172.17.2.77
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 172.17.2.77


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: 172.17.2.78, Local port: 27812
Foreign host: 172.17.2.77, 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 192.168.10.10, remote AS 62263, external link


BGP version 4, remote router ID 0.0.0.0
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 192.168.10.10


Connections established 5; dropped 5
Last reset 05:59:37, 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 192.168.10.14, remote AS 62263, external link


BGP version 4, remote router ID 192.168.10.1
BGP state = Established, up for 06:04:03
Last read 00:00:41, last write 00:00:42, 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: 192.168.10.14
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 192.168.10.14


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: 192.168.10.1, Local port: 26955
Foreign host: 192.168.10.14, 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 192.168.10.20, remote AS 58202, external link


BGP version 4, remote router ID 0.0.0.0
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 192.168.10.20


Connections established 4; dropped 4
Last reset 00:01:42, 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 185.103.86.1, 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
172.17.2.77 4 43754 55128 55086 229 0 0 4w6d 0
192.168.10.10 4 62263 0 0 0 0 0 05:59:45 Idle
192.168.10.14 4 62263 422 407 229 0 0 06:04:11 1
192.168.10.20 4 58202 0 0 0 0 0 00:01:49 Active
AVA-EDGE-RTR#
AVA-EDGE-RTR#show ip bgp neighbors 172.17.2.77
BGP neighbor is 172.17.2.77, remote AS 43754, external link
BGP version 4, remote router ID 185.120.236.13
BGP state = Established, up for 4w6d
Last read 00:00:50, last write 00:00:33, 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: 172.17.2.77
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 172.17.2.77


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: 172.17.2.78, Local port: 27812
Foreign host: 172.17.2.77, 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 185.103.86.1, 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


172.17.2.77 4 43754 55129 55087 229 0 0 4w6d 0
192.168.10.10 4 62263 0 0 0 0 0 06:01:18 Idle
192.168.10.14 4 62263 423 408 229 0 0 06:05:44 1
192.168.10.20 4 58202 0 0 0 0 0 00:03:22 Active
AVA-EDGE-RTR#ping 192.168.10.20

Type escape sequence to abort.


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

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 192.168.10.20, timeout is 2 seconds:
Packet sent with a source address of 192.168.10.17
...
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 192.168.10.17 255.255.255.248 secondary
ip address 172.30.41.20 255.255.255.248
no ip redirects
service-policy output TKA-Policy
!
interface Vlan1717
description INTERNET_ASIATECH
ip address 10.201.53.58 255.255.255.252 secondary
ip address 172.17.2.78 255.255.255.252
no ip redirects
!
interface Vlan1718
description TRANSIT_ASIATECH
ip address 172.17.2.82 255.255.255.252
!
router bgp 64413
bgp log-neighbor-changes
neighbor 172.17.2.77 remote-as 43754
neighbor 172.17.2.77 ebgp-multihop 16
neighbor 192.168.10.10 remote-as 62263
neighbor 192.168.10.14 remote-as 62263
neighbor 192.168.10.14 ebgp-multihop 3
neighbor 192.168.10.14 update-source Loopback62263
neighbor 192.168.10.20 remote-as 58202
!
address-family ipv4
no synchronization
network 185.103.86.0 mask 255.255.255.0

AVA-EDGE-RTR#ping 172.30.41.18

Type escape sequence to abort.


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

Type escape sequence to abort.


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

Type escape sequence to abort.


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

Type escape sequence to abort.


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

Type escape sequence to abort.


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

Type escape sequence to abort.


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

Type escape sequence to abort.


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

Type escape sequence to abort.


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

Type escape sequence to abort.


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

Type escape sequence to abort.


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

Type escape sequence to abort.


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

Type escape sequence to abort.


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

Type escape sequence to abort.


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

Type escape sequence to abort.


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

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 172.30.41.18, 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 192.168.10.20 source 192.168.10.17

Type escape sequence to abort.


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

Type escape sequence to abort.


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

You might also like