PassFinder AP2520 VoIP Router/Gateway Operation Manual
Version 1.10 / Mar. 2002
AddPac Technology Co., Ltd.
-
69
-
[Example] WAN (Serial) Interface Configuration
router(config)# interface serial 0
☞
Enters into the interface
configuration mode.
router(config-serial0)#
☞
Configuration is possible in this mode.
router(config-serial0)#encapsulation hdlc
☞
Sets HDLC
encapsulation.
router(config-serial0)# ip
address 131.12.1.1 255.255.0.0
☞
Sets
the IP address as “131.12.1.1/16 bit mask.”
router(config-serial0)# no shutdown
☞
Makes the interface up.
router(config-serial0)# end
☞
Exists from the configuration menu and
returns to the initial manager mode.
router#show int s 0
☞
Shows the status of the serial 0 interface.
Interface : serial0
IP Address : 131.12.1.1 Physical Inteface : Serial0
Network : 131.12.1.0 Subnet Mask : 255.255.255.0
Administrator Status = UP Operation Status = UP
Network Type : HDLC MTU : 1500
Serial0 is UP, Line protocol is UP
last 1 minute data rate : tx 0 bps, rx 0 bps
input : 0 packets, 0 bytes, 0 no buffers
error : 0 (0 length, 0 align, 0 abort,
0 CRC, 0 overrun, 0 carrier)
output: 0 packets, 0 bytes, 0 underruns
error : 0 (0 busy)
DCD(UP) DSR(UP) DTR(up) RTS(up) CTS(UP)
router#debug serial interface 0
☞
Shows line protocol exchanged
through the serial 0 interface such as KeepAlive packets and the status.
router#
HDLC(O):TELNETIT_KEEPALIVE_REQ(lseq=0, seq=0)
HDLC(O): TELNETIT_KEEPALIVE_REQ (lseq=0, rseq=0)
HDLC(O): TELNETIT_KEEPALIVE_REQ (lseq=0, rseq=0)
HDLC(O): TELNETIT_KEEPALIVE_REQ (lseq=0, rseq=0)
HDLC(O): TELNETIT_KEEPALIVE_REQ (lseq=0, rseq=0)
router#undebug serial interface 0
☞
Stops debugging.