info per 7204 vxr

Tutto quello che ha a che fare con le infrastrutture (non le configurazioni)

Moderatore: Federico.Lagni

Rispondi
drzeta
n00b
Messaggi: 16
Iscritto il: ven 02 lug , 2010 2:59 pm

Vorrei farei n modo che l'ios del 7204 mi mostri a video i messaggi di stato quanto le interfacce cambiano da stato UP a stato DOWN.
Normalemente tale funzione è sempre presente negli ios, ma su questo 7204 no, come si può abilitare?
Tra l'altro se attivo il debug non mi visualizza nulla a video...

Altra cosina, ho questo scenario:

Router 877 -{ ATM }- 7204

--------
7204

Codice: Seleziona tutto

Current configuration : 1386 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service pt-vty-logging
!
hostname Router
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$Jm5f$RgaUrs127p1CjF1kbDpRJ1
!
no aaa new-model
!
!
ip cef
!
!
!
!         
!
!
!
!
!
!
!
!
!
!
username admin 0 admin
username massimo 0 massimo
!
!
!
!
!
interface GigabitEthernet0/1
 ip address 172.22.32.1 255.255.255.0
 duplex auto
 speed auto
 media-type rj45
 no negotiation auto
!
interface GigabitEthernet0/2
 no ip address
 duplex auto
 speed auto
 media-type rj45
 no negotiation auto
!
interface GigabitEthernet0/3
description serviceinterface
 ip address 10.55.40.1 255.255.0.0
 duplex auto
 speed auto
 media-type rj45
 no negotiation auto
!
interface ATM2/0
 no ip address
 atm clock INTERNAL
 no atm ilmi-keepalive
 atm ilmi-pvc-discovery subinterface
!
interface ATM2/0.1 multipoint
 pvc provaping 10/101 
  encapsulation aal5mux ppp Virtual-Template2
 !
!
interface Virtual-Template2
 ip address 172.22.40.1 255.255.255.0
 peer default ip address pool range
 ppp authentication chap
 no clns route-cache
!
ip local pool 172.22.40.10 172.22.40.25
ip forward-protocol nd
!
ip http server
!
!
logging trap debugging
!
!
!
!
control-plane
!         
!
!
!
!
!
gatekeeper
 shutdown
!
!
line con 0
 stopbits 1
line aux 0
 stopbits 1
line vty 0 4
 login local
!
!
end
--------
877

Current configuration : 1535 bytes
!
version 12.4
no service pad
service tcp-keepalives-in
service tcp-keepalives-out
service timestamps debug datetime localtime show-timezone
service timestamps log datetime msec localtime show-timezone
service password-encryption
service sequence-numbers
!
hostname cisco877
!
boot-start-marker
boot-end-marker
!
security authentication failure rate 10 log
security passwords min-length 6
no logging on
!
no aaa new-model
!
resource policy
!
ip cef
!
!
!
!
no ip domain lookup
!
!
!
!
!
!
bridge irb
!
!
!
interface ATM0
no ip address
no ip mroute-cache
no atm ilmi-keepalive
pvc prova 8/35
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
dsl operating-mode auto
hold-queue 224 in
!
interface FastEthernet0
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface Vlan1
no ip address
ip virtual-reassembly
bridge-group 1
!
interface Dialer0
ip address negotiated
encapsulation ppp
dialer pool 1
dialer-group 1
ppp authentication chap callin
ppp chap hostname massimo
ppp chap password 0 massimo
bridge-group 1
!
interface BVI1
ip address 172.22.10.254 255.255.255.0
!
ip route 0.0.0.0 0.0.0.0 Dialer0
!
!
no ip http server
no ip http secure-server
!
dialer-list 1 protocol ip permit
dialer-list 2 protocol ip permit
!
!
!
!
control-plane
!
bridge 1 protocol ieee
bridge 1 route ip
!
line con 0
no modem enable
line aux 0
line vty 0 4
login
!
scheduler max-task-time 5000
!
webvpn context Default_context
ssl authenticate verify all
!
no inservice
!
end

----------------------------------------
Ecco il debug dell'877
ATM events debugging is on
cisco877#
ATM0: vcd = 1, safe_start called from periodic
ATM0: vcd = 1, safe_start called from periodic
ATM0: vcd = 1, safe_start called from periodic
ATM0: vcd = 1, safe_start called from periodic
ATM0: vcd = 1, safe_start called from periodic
ATM0: vcd = 1, safe_start called from periodic
ATM0: vcd = 1, safe_start called from periodic
ATM0: vcd = 1, safe_start called from periodic
ATM0: atmsar_atm_get_stats,vcinfo = 0x0
atmsar_vc_tx_start(82E3B27C).
ATM0:atmsar_dequeue_pak, dequeued a pak = 0x8389ED4C
atmsar_transmit_pak_wrapper: deq(8389ED4C). vcd: 1.atmsar_transmit_pak_wrapper :
encap = Data
ATM0: vcd = 1, safe_start called from periodic
ATM0: vcd = 1, safe_start called from periodic
ATM0:atmsar_dequeue_pak, dequeued a pak = 0x82CBD3A4
atmsar_transmit_pak_wrapper: deq(82CBD3A4). vcd: 1.atmsar_transmit_pak_wrapper :
encap = Data
ATM0: vcd = 1, safe_start called from periodic
ATM0: vcd = 1, safe_start called from periodic
ATM0: vcd = 1, safe_start called from periodic
ATM0: vcd = 1, safe_start called from periodic
ATM0: vcd = 1, safe_start called from periodic
ATM0: vcd = 1, safe_start called from periodic
ATM0: vcd = 1, safe_start called from periodic
ATM0: vcd = 1, safe_start called from periodic
ATM0: vcd = 1, safe_start called from periodic
atmsar_vc_tx_start(82E3B27C).
ATM0:atmsar_dequeue_pak, dequeued a pak = 0x8389ED4C
atmsar_transmit_pak_wrapper: deq(8389ED4C). vcd: 1.atmsar_transmit_pak_wrapper :
encap = Data
ATM0: vcd = 1, safe_start called from periodic
ATM0:atmsar_dequeue_pak, dequeued a pak = 0x82CBD3A4
atmsar_transmit_pak_wrapper: deq(82CBD3A4). vcd: 1.atmsar_transmit_pak_wrapper :
encap = Data
ATM0: vcd = 1, safe_start called from periodic
ATM0: vcd = 1, safe_start called from periodic
ATM0: vcd = 1, safe_start called from periodic
ATM0: vcd = 1, safe_start called from periodic
ATM0: vcd = 1, safe_start called from periodic
ATM0: vcd = 1, safe_start called from periodic
ATM0: vcd = 1, safe_start called from periodic
ATM0: vcd = 1, safe_start called from periodic
ATM0: vcd = 1, safe_start called from periodic
cisco877#debug ppp negotiation
PPP protocol negotiation debugging is on
cisco877#
Vi2 PPP: Outbound ieee-st packet dropped
Vi2 PPP: Outbound ieee-st packet dropped
Vi2 PPP: Outbound cdp packet dropped
Vi2 PPP: Outbound ieee-st packet dropped
Vi2 PPP: Outbound ieee-st packet dropped
Vi2 PPP: Outbound ieee-st packet dropped
Vi2 PPP: Outbound ieee-st packet dropped
Vi2 PPP: Outbound ieee-st packet dropped
Vi2 PPP: Outbound ieee-st packet dropped
Vi2 PPP: Outbound ieee-st packet dropped
Vi2 PPP: Outbound ieee-st packet dropped
Vi2 PPP: Outbound ieee-st packet dropped
Vi2 PPP: Outbound ieee-st packet dropped
Vi2 PPP: Outbound ieee-st packet dropped
Vi2 PPP: Outbound ieee-st packet dropped
Vi2 PPP: Outbound ieee-st packet dropped
Vi2 PPP: Outbound ieee-st packet dropped
-----------
il debug del 7204 non so come visualizzarlo


Qualche idea?
grazie a tutti[/b]
Gianremo.Smisek
Messianic Network master
Messaggi: 1159
Iscritto il: dom 11 mar , 2007 2:23 pm
Località: Termoli

ti conviene usare il comando "terminal monitor" (dopo aver dato il debug) in modo da vedere tutti i messaggi del sistema. Suddetto comando viene annullato una volta quittati dalla CLI e deve essere ridato nella sessione successiva. Molto comodo perche' non spreca risorse sparando il buffer dei log nella CLI quando non c'e' nessuna sessione attiva!


ciao
drzeta
n00b
Messaggi: 16
Iscritto il: ven 02 lug , 2010 2:59 pm

in realtà non avevo i log perchè ero connesso in gigabit invece che da seriale,..... :oops: sorry

ho scoperto anche che supero la fase di autenticazione del ppp ma poi buio
drzeta
n00b
Messaggi: 16
Iscritto il: ven 02 lug , 2010 2:59 pm

ecco il log della parte di negoziazione ppp del 877:

%LINK-3-UPDOWN: Interface ATM0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface ATM0, changed state to up
Vi2 PPP: Phase is DOWN, Setup
%DIALER-6-BIND: Interface Vi2 bound to profile Di0
%LINK-3-UPDOWN: Interface Virtual-Access2, changed state to up
Vi2 PPP: Using dialer call direction
Vi2 PPP: Treating connection as a callout
Vi2 PPP: Session handle[B4000003] Session id[1]
Vi2 PPP: Phase is ESTABLISHING, Active Open
Vi2 PPP: No remote authentication for call-out
Vi2 LCP: O CONFREQ [Closed] id 1 len 10
Vi2 LCP: MagicNumber 0x1D726450 (0x05061D726450)
Vi2 LCP: I CONFACK [REQsent] id 1 len 10
Vi2 LCP: MagicNumber 0x1D726450 (0x05061D726450)
Vi2 LCP: I CONFREQ [ACKrcvd] id 3 len 15
Vi2 LCP: AuthProto CHAP (0x0305C22305)
Vi2 LCP: MagicNumber 0x028ECEAB (0x0506028ECEAB)
Vi2 LCP: O CONFACK [ACKrcvd] id 3 len 15
Vi2 LCP: AuthProto CHAP (0x0305C22305)
Vi2 LCP: MagicNumber 0x028ECEAB (0x0506028ECEAB)
Vi2 LCP: State is Open
Vi2 PPP: Phase is AUTHENTICATING, by the peer
Vi2 CHAP: I CHALLENGE id 1 len 27 from "Router"
Vi2 CHAP: Using hostname from interface CHAP
Vi2 CHAP: Using password from interface CHAP
Vi2 CHAP: O RESPONSE id 1 len 28 from "massimo"
Vi2 CHAP: I SUCCESS id 1 len 4
Vi2 PPP: Phase is FORWARDING, Attempting Forward
Vi2 PPP: Queue IPCP code[1] id[1]
Vi2 PPP: Phase is ESTABLISHING, Finish LCP
Vi2 PPP: Phase is UP
Vi2 IPCP: O CONFREQ [Closed] id 1 len 10
Vi2 IPCP: Address 0.0.0.0 (0x030600000000)
Vi2 BCP: O CONFREQ [Closed] id 1 len 11
Vi2 BCP: IEEE802TaggedFrame enabled (0x080301)
Vi2 BCP: ManagementInline (0x0902)
Vi2 BCP: BridgeControlPacketIndicator (0x0A02)
Vi2 CDPCP: O CONFREQ [Closed] id 1 len 4
Vi2 PPP: Process pending ncp packets
Vi2 IPCP: Redirect packet to Vi2
Vi2 IPCP: I CONFREQ [REQsent] id 1 len 10
Vi2 IPCP: Address 172.22.40.1 (0x0306AC162801)
Vi2 IPCP: O CONFACK [REQsent] id 1 len 10
Vi2 IPCP: Address 172.22.40.1 (0x0306AC162801)
Vi2 IPCP: I CONFNAK [ACKsent] id 1 len 10
Vi2 IPCP: Address 172.22.40.10 (0x0306AC16280A)
Vi2 IPCP: O CONFREQ [ACKsent] id 2 len 10
Vi2 IPCP: Address 172.22.40.10 (0x0306AC16280A)
Vi2 LCP: I PROTREJ [Open] id 4 len 17 protocol BCP (0x80310101000B08030109020A02
)
Vi2 BCP: State is Closed
Vi2 BCP: Closing BCP
Vi2 BCP: State is Listen
Vi2 IPCP: I CONFACK [ACKsent] id 2 len 10
Vi2 IPCP: Address 172.22.40.10 (0x0306AC16280A)
Vi2 IPCP: State is Open
%LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-Access2, changed state t
o up
Di0 IPCP: Install negotiated IP interface address 172.22.40.10
Di0 IPCP: Install route to 172.22.40.1
Vi2 IPCP: Add link info for cef entry 172.22.40.1
Vi2 LCP: I PROTREJ [Open] id 5 len 10 protocol CDPCP (0x820701010004)
Vi2 CDPCP: State is Closed
Vi2 CDPCP: State is Listen
Vi2 PPP: Outbound ieee-st packet dropped
Vi2 PPP: Outbound ieee-st packet dropped
Vi2 PPP: Outbound ieee-st packet dropped
Vi2 PPP: Outbound ieee-st packet dropped
Vi2 PPP: Outbound ieee-st packet dropped
[continua così all'infinito]


Chi mi sa dire perchè si autentica, riceve l'indirizzo ma poi vai in loop con outbound....
Gianremo.Smisek
Messianic Network master
Messaggi: 1159
Iscritto il: dom 11 mar , 2007 2:23 pm
Località: Termoli

ma la rete funge? il PPP sale correttamente? hai il link UP? Se si, ignora quel warning, perche' appunto e' solo un warning ;)

ciao!
Rispondi