Configuration files – Nortel Networks 8000 User Manual

Page 277

Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

Advertising
background image

7 LAPB and X.25 configuration

Nortel Secure Router 8000 Series

Configuration -WAN Access

<RouterB> system-view

[RouterB] interface serial 1/0/0

# Encapsulate X.25 DCE.

[RouterB-serial1/0/0] link-protocol x25 dce ietf

# Configure an X.121 address.

[RouterB-Serial1/0/0] x25 x121-address 1002

# Configure an IP address.

[RouterB-Serial1/0/0] ip address 16.16.16.2 255.255.0.0

# Configure map multi-protocol.

[RouterB-Serial1/0/0] x25 map ip 16.16.16.1 compressedtcp 16.16.16.1 x121-address 1001

Step 3

Verify the configuration.

# Run the ping command to view that the two ends can successfully ping each other.

<RouterA> ping 16.16.16.2

PING 16.16.16.2: 56 data bytes, press CTRL_C to break

Reply from 16.16.16.2

Reply from 16.16.16.2

Reply from 16.16.16.2

Reply from 16.16.16.2

Reply from 16.16.16.2

bytes=56 Sequence=1 ttl=255 time=110 ms

bytes=56 Sequence=2 ttl=255 time=50 ms

bytes=56 Sequence=3 ttl=255 time=20 ms

bytes=56 Sequence=4 ttl=255 time=30 ms

bytes=56 Sequence=5 ttl=255 time=20 ms

-- 16.16.16.2 ping statistics ----

5 packet(s) transmitted

5 packet(s) received

0.00% packet loss

round-trip min/avg/max = 20/46/110 ms

—End

Configuration files

Configuration file of Router A

#

sysname RouterA

#

interface Serial1/0/0

link-protocol x25

x25 x121-address 1001

x25 map ip 16.16.16.2 compressedtcp 16.16.16.2 x121-address 1002

ip address 16.16.16.1 255.255.0.0

#

return

Configuration file of Router B

#

sysname RouterB

#

interface Serial1/0/0

link-protocol x25 dce

7-74

Nortel Networks Inc.

Issue 5.3 (30 March 2009)

Advertising