No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

NE40E-M2 V800R010C10SPC500 Configuration Guide - WAN Access 01

This is NE40E-M2 V800R010C10SPC500 Configuration Guide - WAN Access
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Example for Directly Connecting Devices Through POS Interfaces

Example for Directly Connecting Devices Through POS Interfaces

This example shows how to connect two devices through POS interfaces in typical networking.

Networking Requirements

As shown in Figure 3-3, POS interfaces on Device A and Device B are directly connected with a pair of single-mode fibers for receiving and sending packets; PPP is the link layer protocol. It is required that Device A and Device B can communicate.

Figure 3-3 Networking diagram of connecting devices directly through POS interfaces

Configuration Roadmap

The configuration roadmap is as follows:

  1. Configure PPP as the link layer protocol.

  2. Configure IP addresses.

Data Preparation

To complete the configuration, you need the following data:

  • IP address of POS 1/0/0 on Device A

  • IP address of POS 1/0/0 on Device B

Procedure

  1. Configure Device A.

    # Configure POS 1/0/0 and set the clock mode to slave.

    <HUAWEI> system-view
    [~HUAWEI] sysname DeviceA
    [*HUAWEI] commit
    [~DeviceA] interface pos 1/0/0
    [*DeviceA-Pos1/0/0] ip address 10.1.1.1 30
    [*DeviceA-Pos1/0/0] quit
    [*DeviceA] commit

  2. Configure Device B.

    # Configure POS 1/0/0, set the clock mode to slave, and set default values for other physical parameters.

    <HUAWEI> system-view
    [~HUAWEI] sysname DeviceB
    [*HUAWEI] commit
    [DeviceB] interface pos 1/0/0
    [~DeviceB-Pos1/0/0] clock slave
    [*DeviceB-Pos1/0/0] ip address 10.1.1.2 30
    [*DeviceB-Pos1/0/0] quit
    [*DeviceB] commit

  3. Verify the configuration.

    Run the display interface pos command to check the connectivity of the POS interface on Device A.
    [~DeviceA] display interface pos 1/0/0
    Pos1/0/0 current state : UP 
    Line protocol current state : UP 
    Last line protocol up time : 2010-07-13 16:47:08
    Description: HUAWEI, Quidway Series, Pos1/0/0 Interface (ifindex: 22, vr: 0)
    Route Port,The Maximum Transmit Unit is 1600, Hold timer is 10(sec) 
    Internet Address is 10.1.1.1/30
    Link layer protocol is PPP 
    LCP opened, IPCP opened, IP6CP opened, OSICP opened, MPLSCP opened
    PPP negotiated peer ip address is 105.1.1.2
    Current system time: 2010-07-13 17:29:44 
    The Vendor PN is FTLF1322P1BTR-HW
    The Vendor Name is FINISAR CORP.   
    Port BW: 622M, Transceiver max BW: 622M, Transceiver Mode: SingleMode
    WaveLength: 1310nm, Transmission Distance: 15km
    Rx Power:  7.66dBm,  Tx Power: -11.78dBm
    Physical layer is Packet Over SDH
    Scramble enabled, clock master, CRC-32, loopback: none
    Flag J0 "NetEngine       "
    Flag J1 "NetEngine       "
    Flag C2 22(0x16)
        SDH alarm:
            section layer:  none
            line    layer:  none
            path    layer:  none
        SDH error:
            section layer:  B1 284236
            line    layer:  B2 1871  REI 4445
            path    layer:  B3 719417  REI 12417181
    Statistics last cleared:never
        Last 300 seconds input rate 304 bits/sec, 0 packets/sec
        Last 300 seconds output rate 320 bits/sec, 0 packets/sec
        Input: 5754803980 packets, 540947996544 bytes
        Input error: 0 shortpackets, 0 longpackets, 0 CRC, 0 lostpackets
        Output: 5676758063 packets, 533611565328 bytes
        Output error: 0 lostpackets
        Output error: 0 overrunpackets, 0 underrunpackets

    Run the ping command to check the network connectivity.

    [~DeviceA] ping 10.1.1.2
      PING 10.1.1.2: 56  data bytes, press CTRL_C to break
        Reply from 10.1.1.2: bytes=56 Sequence=1 ttl=255 time=3 ms
        Reply from 10.1.1.2: bytes=56 Sequence=2 ttl=255 time=2 ms
        Reply from 10.1.1.2: bytes=56 Sequence=3 ttl=255 time=2 ms
        Reply from 10.1.1.2: bytes=56 Sequence=4 ttl=255 time=2 ms
        Reply from 10.1.1.2: bytes=56 Sequence=5 ttl=255 time=2 ms
      --- 10.1.1.2 ping statistics ---
        5 packet(s) transmitted
        5 packet(s) received
        0.00% packet loss
    round-trip min/avg/max = 2/2/3 ms

Configuration Files

  • Configuration file of Device A

    #
     sysname DeviceA
    #
    interface Pos1/0/0
     undo shutdown
     link-protocol ppp
     ip address 10.1.1.1 255.255.255.252
    #
    return
  • Configuration file of Device B

    #
     sysname DeviceB
    #
    interface Pos1/0/0
     undo shutdown
     link-protocol ppp
     ip address 10.1.1.2 255.255.255.252
     clock slave
    #
    return
Download
Updated: 2019-01-02

Document ID: EDOC1100058399

Views: 13995

Downloads: 37

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next