BGP na ASR i brak pamięci

Problemy związane z routingiem

Moderatorzy: mikrobi, aron, garfield, gangrena, Seba

Wiadomość
Autor
Awatar użytkownika
nell
wannabe
wannabe
Posty: 190
Rejestracja: 10 maja 2009, 12:17

BGP na ASR i brak pamięci

#1

#1 Post autor: nell » 02 lis 2019, 09:15

Cześć. Mam taki problem, nie mogę zestawić sesji BGP z dwoma peerami. Router mi się wywala niby z powodu braku pamięci, ale mam na nim 12GB ram, więc nie bardzo rozumiem o co chodzi.

Kod: Zaznacz cały

*Nov  2 07:44:38.922: %BGP-5-ADJCHANGE: neighbor 130.122.12.11 Up
*Nov  2 07:44:44.004: %BGP-5-ADJCHANGE: neighbor 46.1.138.17 Up
*Nov  2 07:44:45.231: %SSH-4-SSH2_UNEXPECTED_MSG: Unexpected message type has arrived. Terminating the connection from 112.85.42.195
*Nov  2 07:45:02.149: %SYS-2-MALLOCFAIL: Memory allocation of 65484 bytes failed from 0x7FC85DBDD778, alignment 8
Pool: Processor  Free: 636560  Cause: Memory fragmentation
Alternate Pool: None  Free: 0  Cause: No Alternate pool
 -Process= "BGP Router", ipl= 0, pid= 479
-Traceback= 1#622e2bb326a305de0a71c73fcf92cc5c  :7FC85316F000+AA63E9E :7FC85316F000+AA5F69C :7FC85316F000+AA5A2DA :7FC85316F000+AA6E778 :7FC85316F000+108ABFB6 :7FC85316F000+6790AAF :7FC85316F000+690BDBB :7FC85316F000+6907CB3 :7FC85316F000+679F16F :7FC85316F000+67B03D1 :7FC85316F000+679E301
*Nov  2 07:45:02.152: %RADIX-3-ADDMASK: Error adding mask entry, mask for route not entered -Process= "BGP Router", ipl= 0, pid= 479
-Traceback= 1#622e2bb326a305de0a71c73fcf92cc5c  :7FC85316F000+108AC0E5 :7FC85316F000+6790AAF :7FC85316F000+690BDBB :7FC85316F000+6907CB3 :7FC85316F000+679F16F :7FC85316F000+67B03D1 :7FC85316F000+679E301
*Nov  2 07:45:02.156: %BGP-3-NOTIFICATION: sent to neighbor 46.1.138.17 3/1 (update malformed) 0 bytes
*Nov  2 07:45:02.156: %BGP-4-MSGDUMP: unsupported or mal-formatted message received from 46.1.138.17:
FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF 004A 0200 0000 2B40 0101 0040 0216 0205
0000 AF72 0000 89F8 0000 6171 0000 6171 0000 6171 4003 044E 1C28 79E0 0804 2161
89F8 15B0 2008 16B9 D5E8
*Nov  2 07:45:02.156: %BGP-4-BGP_OUT_OF_MEMORY: BGP resetting because of memory exhaustion.
*Nov  2 07:45:04.192: %BGP-5-ADJCHANGE: neighbor 46.1.138.17 Down BGP Notification sent
*Nov  2 07:45:04.192: %BGP_SESSION-5-ADJCHANGE: neighbor 46.1.138.17 IPv4 Unicast topology base removed from session  BGP Notification sent
*Nov  2 07:45:04.192: %BGP-5-ADJCHANGE: neighbor 130.122.12.11 Down No memory
*Nov  2 07:45:04.192: %BGP_SESSION-5-ADJCHANGE: neighbor 130.122.12.11 IPv4 Unicast topology base removed from session  No memory
*Nov  2 07:45:14.422: %BGP-5-ADJCHANGE: neighbor 46.1.138.17 Up
*Nov  2 07:45:16.081: %BGP-5-ADJCHANGE: neighbor 130.122.12.11 Up
*Nov  2 07:45:35.684: %SYS-2-MALLOCFAIL: Memory allocation of 65540 bytes failed from 0x7FC85DBDD778, alignment 8
Pool: Processor  Free: 29888  Cause: Not enough free memory
Alternate Pool: None  Free: 0  Cause: No Alternate pool
 -Process= "BGP Router", ipl= 0, pid= 479
-Traceback= 1#622e2bb326a305de0a71c73fcf92cc5c  :7FC85316F000+AA63E9E :7FC85316F000+AA5F69C :7FC85316F000+AA5A2DA :7FC85316F000+AA6E778 :7FC85316F000+682A3E0 :7FC85316F000+67909B3 :7FC85316F000+690BDBB :7FC85316F000+6907CB3 :7FC85316F000+679F16F :7FC85316F000+67B03D1 :7FC85316F000+679E301
*Nov  2 07:45:35.686: %BGP-3-NOTIFICATION: sent to neighbor 46.1.138.17 3/1 (update malformed) 0 bytes
*Nov  2 07:45:35.686: %BGP-4-MSGDUMP: unsupported or mal-formatted message received from 46.1.138.17:
FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF 00B0 0200 0000 4B40 0101 0040 0216 0205
0000 AF72 0000 0D1C 0000 1935 0000 2466 0000 25AC 4003 044E 1C28 79C0 0824 0D1C
0002 0D1C 0016 0D1C 0056 0D1C 0201 0D1C 029A 0D1C 0824 1935 03E8 1935 0514 1935
0516 13CB E2C0 14CB E2E0 15CB E2F0 16CB E2F8 13CB EC00 15CB EC20 16CB EC28 14D3
6FB0 13D3 7300 11D3 BC80 12D3 EA80 13D3 EAC0 16D3 EAF4 15D3 EAF8 12D3 EB40 12D3
EB80 14D3 EAE0 11D3 F080 10DC 670B DF20
*Nov  2 07:45:35.687: %BGP-4-BGP_OUT_OF_MEMORY: BGP resetting because of memory exhaustion.
*Nov  2 07:45:37.750: %BGP-5-ADJCHANGE: neighbor 46.1.138.17 Down BGP Notification sent
*Nov  2 07:45:37.750: %BGP_SESSION-5-ADJCHANGE: neighbor 46.1.138.17 IPv4 Unicast topology base removed from session  BGP Notification sent
*Nov  2 07:45:37.750: %BGP-5-ADJCHANGE: neighbor 130.122.12.11 Down No memory
*Nov  2 07:45:37.750: %BGP_SESSION-5-ADJCHANGE: neighbor 130.122.12.11 IPv4 Unicast topology base removed from session  No memory
Konfiguracja BGP

Kod: Zaznacz cały

router bgp 301517
 bgp router-id 91.234.44.254
 no bgp transport path-mtu-discovery
 bgp log-neighbor-changes
 neighbor 46.1.138.17 remote-as 44914
 neighbor 46.1.138.17 transport connection-mode active
 neighbor 130.122.12.11 remote-as 5588
 !
 address-family ipv4
  network 91.234.44.254 mask 255.255.255.0
  neighbor 46.1.138.17 activate
  neighbor 46.1.138.17 prefix-list Trans out
  neighbor 130.122.12.11 activate
  neighbor 130.122.12.11 prefix-list Trans out
 exit-address-family
Zauważyłem, że jak wykonam polecenie

Kod: Zaznacz cały

show memory summary
                Head    Total(b)     Used(b)     Free(b)   Lowest(b)  Largest(b)
Processor  7FC7C618C010   1091029632   684435088   406594544       20704    29014316
 lsmpi_io  7FC7C59891A8     6295128     6294304         824         824         412
Critical   7FC7DD4CD998   263470084          92   263469992   263469992   263469992
to mam tylko 1GB Ram dla CPU, czy da się to jakoś zwiększyć ? Bo chyba to jest przyczyną.
bo kiedy podczas ładowania tablic od sąsiadów wykonywałem cyklicznie

Kod: Zaznacz cały

show memory summary
to pamięć się kończyła rzeczywiście....

Kod: Zaznacz cały

ASR1k1(config)#do sh mem summary
                Head    Total(b)     Used(b)     Free(b)   Lowest(b)  Largest(b)
Processor  7FB13205A010   1091029632   765143780   325885852        1448    26579580
 lsmpi_io  7FB1318571A8     6295128     6294304         824         824         412



ASR1k1(config)#do sh mem summary
                Head    Total(b)     Used(b)     Free(b)   Lowest(b)  Largest(b)
Processor  7FB13205A010   1091029632   948081040   142948592        1448    20195884
 lsmpi_io  7FB1318571A8     6295128     6294304         824         824         412



ASR1k1(config)#do sh mem summary
                Head    Total(b)     Used(b)     Free(b)   Lowest(b)  Largest(b)
Processor  7FB13205A010   1091029632   1047791796    43237836        1448    14048724
 lsmpi_io  7FB1318571A8     6295128     6294304         824         824         412

Co mogę zrobić z tym fantem ?

Awatar użytkownika
drake
CCIE
CCIE
Posty: 1511
Rejestracja: 06 maja 2005, 01:32
Lokalizacja: Dortmund, DE
Kontakt:

Re: BGP na ASR i brak pamięci

#2

#2 Post autor: drake » 02 lis 2019, 09:17

TAC Case, bo moze akurat trafiasz w jakis Bug, ktory powoduje zuzycie calej pamieci.

Pozdruffka!
Never stop exploring :)

https://iverion.de

Awatar użytkownika
nell
wannabe
wannabe
Posty: 190
Rejestracja: 10 maja 2009, 12:17

Re: BGP na ASR i brak pamięci

#3

#3 Post autor: nell » 02 lis 2019, 09:34

Tutaj widziałem, że ktoś miał podobny problem, ale nie napisał wprost jak zmienił ustawienie buforów które powodowały problemy,
viewtopic.php?t=24175

lbromirs
CCIE
CCIE
Posty: 4024
Rejestracja: 30 lis 2006, 08:44

Re: BGP na ASR i brak pamięci

#4

#4 Post autor: lbromirs » 02 lis 2019, 17:00

Pokaż na początek 'sh version'. Ile masz fizycznego RAMu na tym ASRze?

Następnie sprawdź, czy nie masz przypadkiem włączonej redundancji w sofcie (jeśli to nie jest ASR 1k z dwoma RSP).

Wykonaj 'sh redundancy' i sprawdź czy masz

Kod: Zaznacz cały

!
redundancy
 mode none
!

Awatar użytkownika
nell
wannabe
wannabe
Posty: 190
Rejestracja: 10 maja 2009, 12:17

Re: BGP na ASR i brak pamięci

#5

#5 Post autor: nell » 11 lis 2019, 17:38

Dzięki za pomoc, ASR ma 12GB RAM, ale wygląda na to, że FIB ASR'a to 1 000 000 prefixów ipv4, więc wyciąłem cześć prefiksów as-path'em

Kod: Zaznacz cały

ip as-path access-list 44 permit ^[0-9]+$
ip as-path access-list 44 permit ^[0-9]+_[0-9]+$
ip as-path access-list 44 permit ^[0-9]+_[0-9]+_[0-9]+$
ip as-path access-list 44 permit ^[0-9]+_[0-9]+_[0-9]+_[0-9]+$
ip as-path access-list 44 permit ^$
lbromis, czy jest tak rzeczywiście, że RAM nie ma znaczenia jeśli przekroczysz 1mln prefiksów ? Zawsze się wysypie ?

lbromirs
CCIE
CCIE
Posty: 4024
Rejestracja: 30 lis 2006, 08:44

Re: BGP na ASR i brak pamięci

#6

#6 Post autor: lbromirs » 11 lis 2019, 22:49

nell pisze:
11 lis 2019, 17:38
Dzięki za pomoc, ASR ma 12GB RAM, ale wygląda na to, że FIB ASR'a to 1 000 000 prefixów ipv4, więc wyciąłem cześć prefiksów as-path'em

Kod: Zaznacz cały

ip as-path access-list 44 permit ^[0-9]+$
ip as-path access-list 44 permit ^[0-9]+_[0-9]+$
ip as-path access-list 44 permit ^[0-9]+_[0-9]+_[0-9]+$
ip as-path access-list 44 permit ^[0-9]+_[0-9]+_[0-9]+_[0-9]+$
ip as-path access-list 44 permit ^$
lbromis, czy jest tak rzeczywiście, że RAM nie ma znaczenia jeśli przekroczysz 1mln prefiksów ? Zawsze się wysypie ?
FIB to FIB, RIB to RIB. RAM trzyma RIB, FIB jest w ESP. Nie odpowiedziałeś czy sprawdziłeś redundancję - przy 12GB włożonych fizycznie (który to RSP/ASR konkretnie?), powinieneś mieć minimum ok. 6GB RAMu przy wyłączonej redundancji. W twoich zrzutach widzę 1GB wolnego RAMu i ok. 680MB zanim zaczniesz robić test. Coś ewidentnie masz skonfigurowane, co zabiera już na starcie RAM, albo... nie masz wcale 12GB.

Komunikaty z logów na początku wskazują na wyczerpanie RAMu, nie ESP/FIBu. Pokaż dla pewności 'sh version' a potem 'show proc mem sorted'.

Awatar użytkownika
nell
wannabe
wannabe
Posty: 190
Rejestracja: 10 maja 2009, 12:17

Re: BGP na ASR i brak pamięci

#7

#7 Post autor: nell » 12 lis 2019, 17:25

to jest sh ver

Kod: Zaznacz cały

Cisco IOS Software, IOS-XE Software (X86_64_LINUX_IOSD-UNIVERSAL-M), Version 15.2(4)S0b, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2012 by Cisco Systems, Inc.
Compiled Thu 23-Aug-12 23:42 by mcpre

IOS XE Version: 03.07.00b.S

Cisco IOS-XE software, Copyright (c) 2005-2012 by cisco Systems, Inc.
All rights reserved.  Certain components of Cisco IOS-XE software are
licensed under the GNU General Public License ("GPL") Version 2.0.  The
software code licensed under GPL Version 2.0 is free software that comes
with ABSOLUTELY NO WARRANTY.  You can redistribute and/or modify such
GPL code under the terms of GPL Version 2.0.  For more details, see the
documentation or "License Notice" file accompanying the IOS-XE software,
or the applicable URL provided on the flyer accompanying the IOS-XE
software.


ROM: IOS-XE ROMMON

ASR1K uptime is 11 minutes
Uptime for this control processor is 12 minutes
System returned to ROM by reload
System image file is "bootflash:/asr1001-universal.03.07.00b.S.152-4.S0b.bin"
Last reload reason: Reload Command


License Level: adventerprise
License Type: Permanent
Next reload license Level: adventerprise

cisco ASR1001 (1RU) processor with 1172709K/6147K bytes of memory.
Processor board ID SSL1511071H
4 Gigabit Ethernet interfaces
32768K bytes of non-volatile configuration memory.
12582912K bytes of physical memory.
7741439K bytes of eUSB flash at bootflash:.

Configuration register is 0x2102

Kod: Zaznacz cały

show processes memory sorted
Processor Pool Total: 1200686624 Used: 1118287720 Free:   82398904
 lsmpi_io Pool Total:    6295128 Used:    6294296 Free:        832
Critical  Pool Total:  263470084 Used:         88 Free:  263469996

 PID TTY  Allocated      Freed    Holding    Getbufs    Retbufs Process
   0   0 1104406544  546129544  541523104          0          0 *Init*
 495   0  940393656  244093104  397020144          0          0 BGP Router
 239   0  441540048  114979008  106925144   62563260       4824 IP RIB Update
 480   0   34427264      51768   34751496          0          0 SBC main process
  69   0    7357032     123592    7311024          0        804 IOSD ipc task
 373   0    3575296       5160    3612000     849828          0 EEM ED Syslog
   0   0  224926088   70555176    2906720   63638119       2412 *Dead*
 143   0    4949896      90992    2827896          0          0 CWAN OIR Handler
   1   0    1535704          0    1565568          0          0 Chunk Manager
 390   0    1325120      25504    1329808          0          0 EEM Server
 121   0  114757200  113554744    1146528          0          0 Exec
 259   0     765752      76224     717520          0          0 CDP Protocol
 361   0     631096          0     672960          0          0 QOS_MODULE_MAIN
   6   0     545168      22264     464840          0          0 RF Slave Main Th
   0   0          0          0     395552          0          0 *MallocLite*
 374   0     346616       5360     382864      72316          0 EEM ED Generic
 355   0     283048        456     312456          0          0 FLEX DSPRM MAIN
 314   0   38591616       6736     304392          0       1608 BGP I/O
 PID TTY  Allocated      Freed    Holding    Getbufs    Retbufs Process
 368   0       2032          0     247896          0          0 http client proc
 253   0       1808          0     247672          0          0 COPS
 481   0     167728        448     221144          0          0 MRIB Process
 391   0     211152     100952     175320          0          0 Call Home proces
 298   0     140232          0     170096          0          0 L2FIB Event Disp
 211   0      65632          0     167496          0          0 st_pw_oam
   7   0      65632          0     167496          0          0 EDDRI_MAIN
 205   0      98872          0     152736          0          0 IPAM Manager
 357   0      46840        456     148248          0          0 STUN_APP
 383   0     108264       2472     144104          0          0 LICENSE AGENT
  40   0     136832          0     134328          0          0 IPC Seat RX Cont
 241   0      91880       1760     131984          0          0 IP Connected Rou
 302   0      98744          0     128608          0          0 AAA HA cleanup
 149   0      98736          0     128600          0          0 ACCT Periodic Pr
  14   0     100904       2312     128456          0          0 ARP Input
 306   0      65576          0     119440          0          0 ATM HA
 177   0      17128        448     118544          0          0 Ethernet CFM
  10   0    1017104   86659832     111080     935214   21375714 Pool Manager
 485   0   12394568   34851136     107440          0          0 BGP Task
 358   0       2032          0     103904          0          0 STUN_TEST
 367   0        456          0     102344          0          0 RPMS_PROC_MAIN
 363   0          0          0     101864          0          0 VoIP AAA
 PID TTY  Allocated      Freed    Holding    Getbufs    Retbufs Process
 489   0        456        456     101864          0          0 SNMP ENGINE
 488   0          0          0     101864          0          0 PDU DISPATCHER
  70   0          0          0     101864          0          0 IOSD chasfs task
 337   0      67928          0      97792          0          0 DHCP SIP
 158   0      66064          0      95928          0          0 IP ARP Retry Age
 246   0      20608       3696      69968          0          0 CEF: IPv4 proces
 276   0      39040        448      68456          0          0 SCTP Main Proces
  21   0      37760          0      67624          0          0 Entity MIB API
 232   0      60792      20208      67576          0          0 CEF background p
 260   0      10504          0      64368          0          0 MFIB Master back
 191   0      10544        448      63960          0          0 RG Protocol Time
 200   0       8544          0      62408          0          0 IMA PROC
  64   0     166208       4352      60944          0          0 Net Background
 399   0      23824       5160      60528          0          0 EEM ED OIR
 405   0      23736       5160      60440          0          0 EEM ED Ipsla
 240   0      25712      24616      59496          0          0 IP Background
 157   0       5320          0      58448          0          0 IP ARP Adjacency
 248   0      22096      28840      56960          0          0 Collection proce
 392   0      15672       1824      55712          0          0 EEM Policy Direc
 393   0       2040        448      55456          0          0 IP SNMP
 490   0       1840        448      55320          0          0 IP SNMPV6
 249   0       3408        832      54672          0          0 ADJ resolve proc
 PID TTY  Allocated      Freed    Holding    Getbufs    Retbufs Process
 316   0        760          0      54624          0          0 MRIB RP Proxy
  65   0       3504       3008      54360          0          0 IDB Work
 365   0        912        456      54320          0          0 MMON PROCESS
 152   0        448          0      54312          0          0 CEF switching ba
 233   0        408          0      54272          0          0 fib_fib_bfd_sb e
 168   0        832        448      54248          0          0 SSM connection m
 283   0        456        456      53984          0          0 Ethernet HA Time
 179   0        448        448      53984          0          0 Ethernet Msec Ti
 372   0          0          0      53896          0          0 Test AAA Client
 330   0        456        456      53880          0          0 EI FSOL PROCESS
 491   0          0          0      53880          0          0 SNMP ConfCopyPro
  49   0          0          0      53864          0          0 License IPC serv
  48   0          0          0      53864          0          0 License IPC stat
 410   0      51224      51224      53864          0          0 Syslog
  52   0        448        448      53864          0          0 Dialer event
 492   0       9888       9888      53864          0          0 SNMP Traps
  66   0        448        448      53864          0          0 Logger
 206   0        448        448      53864          0          0 IPAM Events
 178   0        448        448      53864          0          0 Ethernet Timer C
 155   0        448        448      53864          0          0 ATM OAM Input
 209   0          0          0      53864          0          0 LSP Tunnel FRR
 210   0          0          0      53864          0          0 MPLS Auto-Tunnel
 PID TTY  Allocated      Freed    Holding    Getbufs    Retbufs Process
 156   0        448        448      53864          0          0 ATM OAM TIMER
 387   0        448        448      53864          0          0 ISG MIB jobs Man
 272   0        448        448      53864          0          0 X.25 Background
 203   0        448        448      53864          0          0 IP Static Sessio
 214   0          0          0      53864          0          0 DM Proc
 216   0          0          0      53864          0          0 SSS PM SHIM QOS
 228   0          0          0      53864          0          0 XDR receive
 192   0        448        448      53864          0          0 RG Transport Tim
 277   0          0          0      53864          0          0 VPDN call manage
 238   0          0          0      53864          0          0 Routing Topology
 329   0          0          0      53864          0          0 EI PEI CALLBACK
 252   0    2650360     644280      53864          0          0 TCP Protocols
 175   0        448        448      53864          0          0 Ethernet LMI
 132   0          0          0      53864          0          0 BFD HW EVENT
 159   0          0          0      53864          0          0 IP Input
 285   0          0          0      53864          0          0 Ethernet PM Moni
 188   0        448        448      53864          0          0 RG Faults Timer
 135   0          0          0      53864          0          0 MCP RP autovc pr
 169   0          0          0      53864          0          0 SSS Manager
  19   0          0          0      53864          0          0 Policy Manager
 360   0          0          0      53864          0          0 MPLS Auto Mesh P
 166   0        448        448      53864          0          0 PPP IP Route
 PID TTY  Allocated      Freed    Holding    Getbufs    Retbufs Process
 133   0          0          0      53864          0          0 BFD IPV6 ADDR CH
 108   0          0          0      53864          0          0 Metadata HA
 315   0        456        456      53864          0          0 IP SIP Process
 321   0        448        448      53864          0          0 RG Media Timer
 339   0          0          0      53864          0          0 Path set broker
 251   0          0       4368      53864          0          0 TCP Timer
 109   0          0          0      53864          0          0 FMD HA IPC flow
 320   0          0          0      53864          0          0 RG If-Mgr Timer
 170   0          0          0      53864          0          0 SSS Policy Manag
 322   0        456        456      53864          0          0 MCPRP RG Timer
 336   0        456        456      53864          0          0 IP Inband Sessio
 377   0      14840       5160      51544          0          0 EEM ED Resource
 123   0      14792      53568      51496          0          0 EEM ED ND
 396   0      14544       5160      51248          0          0 EEM ED Interface
 376   0      14384       5160      51088          0          0 EEM ED Routing
 375   0      14320       5160      51024          0          0 EEM ED Track
 400   0      14816       5160      51024          0          0 EEM ED RF
 401   0      14280       5616      50984          0          0 EEM ED SNMP
 394   0      13936       5160      50640          0          0 EEM ED CLI
 403   0      13928       5160      50632          0          0 EEM ED SNMP Noti
 395   0      13864       5160      50568          0          0 EEM ED Counter
 PID TTY  Allocated      Freed    Holding    Getbufs    Retbufs Process
 404   0      13816       5160      50520          0          0 EEM ED Timer
 402   0      13728       5160      50432          0          0 EEM ED SNMP Obje
 398   0      13712       5160      50416          0          0 EEM ED None
 397   0      13712       5160      50416          0          0 EEM ED IOSWD
 408   0      13504       5160      50208          0          0 EEM ED Env
 406   0      13504       5160      50208          0          0 EEM ED Test
 407   0      13504       5160      50208          0          0 EEM ED Config
 409   0      13496       5160      50200          0          0 EM ED GOLD
 115   0      34296      51856      48560          0          0 RF Master Main T
 256   0      20584       5528      44920          0          0 SR CapMan Proces
 258   0       1808          0      43672          0          0 HTTP CORE
  55   0      13448       1152      42320          0          0 client_entity_se
 263   0        896        448      42312          0          0 MVPN mgr Process
 262   0        896        448      42312          0          0 Multicast Offloa
 245   0        408          0      42272          0          0 Tunnel FIB
 117   0        336          0      41944          0          0 BGP Scheduler
 366   0          0          0      41864          0          0 QOS PERUSER
 354   0      23296      23296      41864          0          0 DynCmd Package P
 370   0          0          0      41864          0          0 Licensing MIB pr
  71   0          0          0      41864          0          0 REDUNDANCY FSM
 352   0          0  203124520      41864          0          0 BGP Scanner
 378   0          0          0      41864          0          0 BGP Consistency
 PID TTY  Allocated      Freed    Holding    Getbufs    Retbufs Process
 286   0          0          0      41864          0          0 Ethernet Datapla
  83   0          0          0      41864          0          0 CONSOLE helper p
 389   0          0          0      41864          0          0 BGP Event
 120   0          0          0      41864          0          0 Per-Second Jobs
  25   0        448        448      41864          0          0 ATM AutoVC Perio
 284   0          0          0      41864          0          0 Ethernet PM Proc
 176   0        448        448      41864          0          0 Ethernet OAM Pro
 187   0          0          0      41864          0          0 HQF TUNNEL
 267   0          0          0      41864          0          0 IPv6 RIB Event H
 234   0          0          0      41864          0          0 IP IRDP
 265   0        448        448      41864          0          0 static
 266   0          0          0      41864          0          0 IPv6 RIB Cleanup
 236   0      11792          0      41656          0          0 LSD HA Proc
  42   0      11224        448      40640          0          0 IPC Keep Alive M
  97   0      10096          0      39960          0          0 CHKPT Test clien
 311   0      10096          0      39960          0          0 GLBP HA
 449   0      10096          0      39960          0          0 IPC ISSU Version
 482   0       9080        632      38312          0          0 EEM Helper Threa
 268   0      14448      10816      38160          0          0 PMIPV6 Thread
   9   0       8736        448      38152          0          0 Check heaps
 340   0       7544          0      37408          0          0 LDP HA
 221   0       6440       3192      36304          0          0 VPWS Thread
 PID TTY  Allocated      Freed    Holding    Getbufs    Retbufs Process
 119   0       4944          0      34808          0          0 Per-minute Jobs
 331   0       4392          0      34256          0          0 CEM PROC
 385   0     171600     167224      34240          0          0 SPA ENTITY Proce
  38   0       2336       1680      34048          0          0 IPC Seat Manager
  57   0       3208          0      33072          0          0 CHKPT RG SCTPthr
 116   0       3168          0      33032          0          0 RF Master Status
  56   0       3120          0      32984          0          0 RF SCTPthread
 181   0       3112          0      32976          0          0 MLRIB L2 Msg Thr
 323   0       2488        456      31896          0          0 URL filter proc
 353   0       2400        456      31808          0          0 TPLUS
  75   0       2016        728      31152          0          0 IF-MGR control p
   3   0      13032      12272      30624          0          0 Ether-SPA backgr
 345   0       1488        768      30584          0          0 LFDp Input Proc
 364   0        912        456      30456          0          0 PIM HA
  67   0      54880       3816      30432          0        804 TTY Background
 237   0        408          0      30408          0          0 CEF RP Backgroun
 384   0        408          0      30400          0          0 Online Diag EEM
 255   0        528          0      30392          0          0 Service Routing
 257   0        912        672      30328          0          0 Flow Exporter Ti
 173   0        896        448      30312          0          0 Spanning Tree
 380   0        408          0      30304          0          0 DATA Transfer Pr
 415   0        408          0      30304          0          0 Online Diag CNS
 PID TTY  Allocated      Freed    Holding    Getbufs    Retbufs Process
 224   0        408          0      30272          0          0 XDR background p
 247   0        408          0      30272          0          0 ADJ background
 293   0        408          0      30272          0          0 XDR FOF process
 381   0        408          0      30272          0          0 DATA Collector
 414   0        408          0      30272          0          0 Online Diag CNS
 151   0          0          0      29992          0          0 Call Home Timer
 317   0          0          0      29984          0          0 IPv6 ACL RP Proc
 125   0          0          0      29984          0          0 DSX3MIB ll handl
  20   0        448        448      29976          0          0 DDR Timers
 455   0          0          0      29960          0          0 IPC ISSU Version
 459   0          0          0      29960          0          0 IPC ISSU Version
 420   0          0          0      29960          0          0 IPC ISSU Version
 422   0          0          0      29960          0          0 IPC ISSU Version
 457   0          0          0      29960          0          0 IPC ISSU Version
 297   0        456        456      29944          0          0 BD MACSEC HA CHK
 486   0          0          0      29912          0          0 BGP VA
 417   0          0          0      29912          0          0 IPC ISSU Version
 325   0          0          0      29912          0          0 XC RIB HA Bulk S
 418   0          0          0      29912          0          0 IPC ISSU Version
 288   0          0          0      29896          0          0 IGMPSN MRD
 369   0        296        296      29896          0          0 DiagCard2/-1
 416   0        296        296      29896          0          0 DiagCard3/-1
 PID TTY  Allocated      Freed    Holding    Getbufs    Retbufs Process
 350   0        456        456      29896          0          0 LINE AAA
 440   0          0          0      29872          0          0 IPC ISSU Version
 137   0          0          0      29872          0          0 Inter Chassis Pr
 202   0        448        448      29864          0          0 IP PORTBUNDLE
 215   0          0          0      29864          0          0 RADIUS Proxy
 218   0          0          0      29864          0          0 Prepaid response
 204   0        448        448      29864          0          0 IPAM/ODAP Events
 213   0          0          0      29864          0          0 PM EPD API
 212   0          0          0      29864          0          0 AAA EPD HANDLER
 222   0          0          0      29864          0          0 IP Traceroute
 217   0          0          0      29864          0          0 Timer handler fo
 219   0          0          0      29864          0          0 Timed Policy act
 225   0          0          0      29864          0          0 XDR mcast
 226   0          0          0      29864          0          0 XDR RP Ping Back
 227   0          0          0      29864          0          0 XDR RP Backgroun
 220   0          0          0      29864          0          0 AAA response han
 229   0          0          0      29864          0          0 IPC LC Message H
 201   0          0          0      29864          0          0 IP Lite session
  34   0          0          0      29864          0          0 IPC Zone Manager
 223   0        448        448      29864          0          0 ATIP_UDP_TSK
 195   0          0          0      29864          0          0 SVM HA
 193   0          0          0      29864          0          0 HDLC HA
 PID TTY  Allocated      Freed    Holding    Getbufs    Retbufs Process
 235   0          0          0      29864          0          0 SNMP Timers
 199   0          0          0      29864          0          0 ISG CMD HANDLER
 189   0          0          0      29864          0          0 RG VP
 198   0          0          0      29864          0          0 EAP Test
  32   0          0          0      29864          0          0 IPC Dynamic Cach
 185   0          0          0      29864          0          0 CCM
  31   0          0          0      29864          0          0 ASR1000 appsess
 242   0        448        448      29864          0          0 PPP Compress Inp
 243   0        448        448      29864          0          0 PPP Compress Res
 244   0     133600     160992      29864          0          0 DiagCard1/-1
 197   0          0          0      29864          0          0 EAP Framework
 183   0          0          0      29864          0          0 IGMP Route Msg H
  30   0          0          0      29864          0          0 IPC Mcast Pendin
 182   0          0          0      29864          0          0 Spanning Tree St
 196   0          0          0      29864          0          0 AC Switch
 250   0          0          0      29864          0          0 Socket Timers
  35   0          0          0      29864          0          0 IPC Periodic Tim
 174   0          0          0      29864          0          0 VRRS
  29   0          0          0      29864          0          0 IPC Event Notifi
 190   0        448        448      29864          0          0 RG AR
 172   0          0          0      29864          0          0 SSS Feature Time
 171   0          0          0      29864          0          0 SSS Feature Mana
 --More--
*Nov 12 16:06:54.352: %BGP-5-NBR_RESET: Neighbor 157.25.111.137 passive reset (BGP Notification sent)
*Nov 12 16:06:54.353: %BGP-5-ADJCHANGE: neighbor 157.25.111.137 passive Down AFI/SAFI not PID TTY  Allocated      Freed    Holding    Getbufs    Retbufs Process
 165   0        448        448      29864          0          0 PPP Bind
 164   0        448        448      29864          0          0 PPP SIP
  28   0          0          0      29864          0          0 ifIndex Receive
 207   0        448        448      29864          0          0 OCE punted Pkts
 186   0          0          0      29864          0          0 CCM IPC flow con
 162   0          0          0      29864          0          0 IPv6 ping proces
 161   0        448        448      29864          0          0 PIM register asy
 264   0          0          0      29864          0          0 RARP Input
 160   0          0          0      29864          0          0 ICMP event handl
 184   0          0          0      29864          0          0 IGMP Route Rx Pr
 154   0        448        448      29864          0          0 AAA Dictionary R
 150   0          0          0      29864          0          0 AAA System Acct
  37   0          0          0      29864          0          0 IPC Process leve
 148   0          0          0      29864          0          0 AAA ACCT Proc
 271   0          0          0      29864          0          0 PAD InCall
 163   0        448        448      29864          0          0 MOP Protocols
 273   0          0          0      29864          0          0 X.25 Encaps Mana
 274   0      14296      14296      29864          0          0 QoS stats proces
 275   0        448        448      29864          0          0 RBSCP Background
 146   0          0          0      29864          0          0 RTTYS Process
 145   0          0          0      29864          0          0 ASR1000-RP SPA A
 278   0          0          0      29864          0          0 XC RIB MGR
a bgp dalej się sypie nawet to obcinanie dalekich ASów nie pomaga.

i jeszcze redundancy

Kod: Zaznacz cały

show redundancy
Redundant System Information :
------------------------------
       Available system uptime = 20 minutes
Switchovers system experienced = 0
              Standby failures = 0
        Last switchover reason = none

                 Hardware Mode = Simplex
    Configured Redundancy Mode = Non-redundant
     Operating Redundancy Mode = Non-redundant
              Maintenance Mode = Disabled
                Communications = Down      Reason: Failure

Current Processor Information :
-------------------------------
               Active Location = slot 6
        Current Software state = ACTIVE
       Uptime in current state = 20 minutes
                 Image Version = Cisco IOS Software, IOS-XE Software (X86_64_LINUX_IOSD-UNIVERSAL-M), Version 15.2(4)S0b, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2012 by Cisco Systems, Inc.
Compiled Thu 23-Aug-12 23:42 by mcpre
                          BOOT = flash:asr1001-universal.03.07.00b.S.152-4.S0b.bin,1;
        Configuration register = 0x2102

Peer (slot: 7) information is not available because it is in 'DISABLED' state

lbromirs
CCIE
CCIE
Posty: 4024
Rejestracja: 30 lis 2006, 08:44

Re: BGP na ASR i brak pamięci

#8

#8 Post autor: lbromirs » 12 lis 2019, 19:25

nell pisze:
12 lis 2019, 17:25
to jest sh ver

Kod: Zaznacz cały

Cisco IOS Software, IOS-XE Software (X86_64_LINUX_IOSD-UNIVERSAL-M), Version 15.2(4)S0b, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2012 by Cisco Systems, Inc.
Compiled Thu 23-Aug-12 23:42 by mcpre

...

cisco ASR1001 (1RU) processor with 1172709K/6147K bytes of memory.
Wszystko w temacie. Masz 2GB RAMu fizycznie. Bardzo okrojna lista prefiksów się zmieści, nic więcej.
W dodatku soft jest już dosyć... leciwy.

Awatar użytkownika
nell
wannabe
wannabe
Posty: 190
Rejestracja: 10 maja 2009, 12:17

Re: BGP na ASR i brak pamięci

#9

#9 Post autor: nell » 12 lis 2019, 19:41

hmm no ale jakie 2gb ramu ?

Kod: Zaznacz cały

cisco ASR1001 (1RU) processor with 1172709K/6147K bytes of memory.
Processor board ID SSL1511071H
4 Gigabit Ethernet interfaces
32768K bytes of non-volatile configuration memory.
12582912K bytes of physical memory.
7741439K bytes of eUSB flash at bootflash:.
12 582 912K bytes of physical memory.

lbromirs
CCIE
CCIE
Posty: 4024
Rejestracja: 30 lis 2006, 08:44

Re: BGP na ASR i brak pamięci

#10

#10 Post autor: lbromirs » 12 lis 2019, 20:17

nell pisze:
12 lis 2019, 19:41
hmm no ale jakie 2gb ramu ?

Kod: Zaznacz cały

cisco ASR1001 (1RU) processor with 1172709K/6147K bytes of memory. <- tu masz 1GB dla IOSa.
Processor board ID SSL1511071H
4 Gigabit Ethernet interfaces
32768K bytes of non-volatile configuration memory.
12582912K bytes of physical memory. <- a tu masz jakąś dziwną wartość :)
7741439K bytes of eUSB flash at bootflash:.
12 582 912K bytes of physical memory.
Przejdź sobie przez ten dokument: https://www.cisco.com/c/en/us/support/d ... ct-00.html

Ew. ten: https://www.cisco.com/c/en/us/support/d ... emory.html

Coś Ci zajmuje dużo RAMu *zanim* kontrola trafi do IOS-XE.

ODPOWIEDZ