R1(config)#interface serial4/2 R1(config-if)#frame-relay lmi-type ? cisco ansi q933a R1(config-if)#frame-relay lmi-type q933a R1(config-if)#no shutdown
Berbagi Ilmu untuk Pengalaman Baru.
R1(config)#interface serial4/2 R1(config-if)#frame-relay lmi-type ? cisco ansi q933a R1(config-if)#frame-relay lmi-type q933a R1(config-if)#no shutdown
Cisco command | Keterangan |
Router (config-if) # encap frame | Enable frame relay dan setting metoda “encapsulation type” |
Router (config-if) # ip address 10.0.0.1 255.0.0.0 | Memberikan suatu address network layer pada interface yang dipilih |
Router (config-if) # frame inverse-arpAtau melakukan static address Router (config-if) # frame map ip 10.0.0.3 100 | Enable inverse-arp (jika kondisi ‘disable’) atau melakukan pemetaan manual ke nomor DLCI |
Router (config-if) # frame lmi-type ciscoRouter (config-if) # keepalive 9 | Konfigurasi jenis LMI |
Cisco command | Keterangan |
Router (config-if) # encap frame | Enable jaringan frame relay dan setting metoda “encapsulation type” |
Router (config-if) # int s0.1 point | Membuat sub-interface pada serial s0 dan memberikan identitas interface Point-to-point |
Router (config-subif) # ip address 11.0.0.1 255.0.0.0 | Memberikan address network layer |
Router (config-subif) # frame interface-dlci 100 | Konfigurasi jenis addressing static ataupun dynamic |
Cisco command | Keterangan |
Router (config-if) # encap frame | Enable jaringan frame relay dan setting metoda “encapsulation type” |
Router (config-if) # int s0.100 multipoint | Membuat sub-interface dan mengidentifikasikan interface multipoint. |
Router (config-subif) # ip address 13.0.0.1 255.0.0.0 | Memberikan address network layer |
Router (config-subif) # frame interface-dlci 300Atau konfigurasi static address Router (config-subif) # frame map ip 13.0.0.3 300 | Konfigurasi static ataupun dynamic addressing (DLCI untuk untuk inverse-arp) |
RouterD (config) # int s0 |
RouterD (config-if) # encap frame |
RouterD (config-if) # ip address 10.0.0.1 255.0.0.0 |
RouterD (config-if) # no keepalive |
RouterD (config-if) # frame map ip 10.0.0.2 100 |
RouterD (config-if) # clock rate 56000 |
RouterE (config) # int s0 |
RouterE (config-if) # encap frame |
RouterE (config-if) # ip address 10.0.0.2 255.0.0.0 |
RouterE (config-if) # no keepalive |
RouterE (config-if) # frame map ip 10.0.0.1 100 |
Anda juga bisa menggantikan command berikut untuk command frame-relay map untuk kedua routerFrame-relay interface-dlci 100 |
Jika anda ingin melihat | Gunakan command berikut |
DLCI numbers | Show runShow frame pvc |
Frame relay network encapsulation method | Show intShow run |
Interface configuration (DCE or DTE) | Show frame pvcShow int |
LMI information and traffic statistics | Show frame lmiShow int |
Global traffic statistic | Show frame traffic |
Addresses and associated DLCIs |
Router> Router#show interfaces serial 0/0/0 Serial0/0/0 is up, line protocol is up (connected) Hardware is HD64570 Internet address is 20.0.0.1/8 MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec, rely 255/255, load 1/255 Encapsulation HDLC, loopback not set, keepalive set (10 sec) [output is omited]
Router#configure terminal Router(config)#interface serial 0/0/0 Router(config-if)#encapsulation ppp Router(config)#exit Router#show interfaces serial 0/0/0 Serial0/0/0 is up, line protocol is down (disabled) Hardware is HD64570 Internet address is 20.0.0.1/8 MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec, rely 255/255, load 1/255 Encapsulation PPP, loopback not set, keepalive set (10 sec) [output is omited]
Router#configure terminal Router(config)#interface serial 0/0/0 Router(config-if)#encapsulation hdlc Router(config-if)#shutdown Router(config-if)#no shutdown Router(config-if)#exit Router(config)#exit Router#show interfaces serial 0/0/0 Serial0/0/0 is up, line protocol is up (connected) Hardware is HD64570 Internet address is 20.0.0.1/8 MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec, rely 255/255, load 1/255 Encapsulation HDLC, loopback not set, keepalive set (10 sec) [output is omited]
Router>enable Router#configure terminal Router(config)#hostname R1 R1(config)#username R2 password vinita R1(config)#interface serial 0/0/0 R1(config-if)#encapsulation ppp R1(config-if)#ppp authentication chap R1(config-if)#exit R1(config)#
Router>enable Router#configure terminal Router(config)#hostname R2 R2(config)#username R1 password vinita R2(config)#interface serial 0/0/0 R2(config-if)#encapsulation ppp R2(config-if)#ppp authentication chap R2(config-if)#exit %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up R2(config)#
Router(config)#interface serial 0/0/0 |
Moves to interface configuration mode |
Router(config-if)#encapsulation hdlc |
Sets the encapsulation mode for this interface to HDLC |
Router(config)#interface serial 0/0/0 |
Moves to interface configuration mode |
Router(config-if)#encapsulation ppp |
Changes encapsulation from default HDLC to PPP |
Router(config)#username R1 password vinita |
Sets a username of R1 and a password of vinita for authentication
from the other side of the PPP serial link. This is used by the local
router to authenticate the PPP peer |
Router(config)#interface serial 0/0/0 |
Moves to interface configuration mode. |
Router(config-if)#ppp authentication pap |
Turns on Password Authentication Protocol (PAP) authentication only |
Router(config-if)#ppp authentication chap |
Turns on Challenge Handshake Authentication Protocol (CHAP) authentication only. |
Router(config-if)#ppp authentication pap chap |
Defines that the link will use PAP authentication, but will try CHAP if PAP fails or is rejected by other side. |
Router(config-if)#ppp authentication chap pap |
Defines that the link will use CHAP authentication, but will try PAP if CHAP fails or is rejected by other side. |
Router(config-if)#ppp pap sentusername R1 password vinita |
This command must be set if using PAP in Cisco IOS Software Release 11.1 or later |
Router#show interfaces serial x |
Lists information for serial interface x |
Router#show controllers serial x |
Tells you what type of cable (DCE/DTE) is plugged into your interface and whether a clock rate has been set |
Router#debug serial interface |
Displays whether serial keepalive counters are incrementing |
Router#debug ppp |
Displays any traffic related to PPP |
Router#debug ppp packet |
Displays PPP packets that are being sent and received |
Router#debug ppp negotiation | Displays PPP packets related to the negotiation of the PPP link |