Laboratorio Modulo Quarto Lezione 3

Laboratorio 5.2.2

Configurazione R1

r1#show ip interface brief
Interface              IP-Address      OK? Method Status                Protocol

FastEthernet0/0        unassigned      YES unset  administratively down down

FastEthernet1/0        unassigned      YES unset  administratively down down

Serial2/0              unassigned      YES unset  administratively down down

Serial3/0              unassigned      YES unset  administratively down down

FastEthernet4/0        unassigned      YES unset  administratively down down

FastEthernet5/0        unassigned      YES unset  administratively down down

r1#configure 
Configuring from terminal, memory, or network [terminal]? 
Enter configuration commands, one per line.  End with CNTL/Z.
r1(config)#interface fastEthernet 0/0
r1(config-if)#ip address 192.168.3.1 255.255.255.0
r1(config-if)#no shutdown 

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

r1(config-if)#exit
r1(config)#exit
r1#
%SYS-5-CONFIG_I: Configured from console by console

r1#configure terminal 
Enter configuration commands, one per line.  End with CNTL/Z.
r1(config)#in
r1(config)#interface serial 2/0
r1(config-if)#encapsulation frame-relay ietf
r1(config-if)#no keepalive 
r1(config-if)#ip address 192.168.1.1
% Incomplete command.
r1(config-if)#ip address 192.168.1.1 255.255.255.0
r1(config-if)#no shutdown 

%LINK-5-CHANGED: Interface Serial2/0, changed state to down
r1(config-if)#exit
r1(config)#exit
r1#
%SYS-5-CONFIG_I: Configured from console by console

r1#show ip interface brief
Interface              IP-Address      OK? Method Status                Protocol

FastEthernet0/0        192.168.3.1     YES manual up                    up

FastEthernet1/0        unassigned      YES unset  administratively down down

Serial2/0              192.168.1.1     YES manual down                  down

Serial3/0              unassigned      YES unset  administratively down down

FastEthernet4/0        unassigned      YES unset  administratively down down

FastEthernet5/0        unassigned      YES unset  administratively down down

r1#configure terminal 
Enter configuration commands, one per line.  End with CNTL/Z.
r1(config)#interface serial 2/0
r1(config-if)#frame-relay map ip 192.168.1.2 201 ietf broadcast 
r1(config-if)#clock rate 64000
r1(config-if)#bandwidth 64
r1(config-if)#description PVC to dublin, dlci 201 circuit ecc ecc
r1(config-if)#
%LINK-5-CHANGED: Interface Serial2/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up
r1(config-if)#ip address 192.168.1.1 255.255.255.0

Configurazione di R2

Router#configure t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname r2
r2(config)#interface serial 2/0
r2(config-if)#encapsulation frame-relay ietf 
r2(config-if)#no keepalive 
r2(config-if)#no shutdown 

%LINK-5-CHANGED: Interface Serial2/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up

r2(config-if)#ip address 192.168.1.2 255.255.255.0
r2(config-if)#frame-relay map ip 192.168.1.1 201 ietf broadcast 
r2(config-if)#bandwidth 64
r2(config-if)#description PVC ecc...
r2(config-if)#no shutdown 
r2(config-if)#exit
r2(config)#exit
r2#
%SYS-5-CONFIG_I: Configured from console by console

r2#show frame-relay PVC

PVC Statistics for interface Serial2/0 (Frame Relay DTE)
DLCI = 201, DLCI USAGE = LOCAL, PVC STATUS = STATIC, INTERFACE = Serial2/0

input pkts 14055       output pkts 32795        in bytes 1096228
out bytes 6216155      dropped pkts 0           in FECN pkts 0
in BECN pkts 0         out FECN pkts 0          out BECN pkts 0
in DE pkts 0           out DE pkts 0
out bcast pkts 32795   out bcast bytes 6216155

r2#show frame-relay map 
Serial2/0 (up): ip 192.168.1.1 dlci 201, static, broadcast, IETF, status defined, active
r2#ping 192.168.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/8/26 ms
Salvo diversa indicazione, il contenuto di questa pagina è sotto licenza Creative Commons Attribution-ShareAlike 3.0 License