03-Interface Configuration Guide

HomeSupportRoutersCR16000-F SeriesConfigure & DeployConfiguration GuidesH3C CR16000-F Routers Configuration Guides-Release795x-6W10003-Interface Configuration Guide
04-POS interface configuration
Title Size Download
04-POS interface configuration 108.25 KB

Configuring POS interfaces

This chapter describes how to configure physical parameters for POS interfaces, including standard POS interfaces.

About POS interfaces

Packet over SONET/SDH (POS) is a technology widely used on WAN and MAN. It supports data packets such as IP packets.

SONET and SDH

Synchronous Optical Network (SONET) adopts optical transmission. It is a synchronous transmission system defined by the ANSI and is an international standard transmission protocol.

ITU-T Synchronous Digital Hierarchy (SDH) uses a SONET rate subset. SDH adopts synchronous multiplexing and a flexible mapping structure. It can add or drop low-speed tributary signals to or from SDH signals without a large number of multiplexing/demultiplexing devices. This reduces signal attenuation and decreases device investments.

POS

POS maps length-variable packets directly to SONET synchronous payloads and uses the SONET physical layer transmission standard. It offers high-speed, reliable, and point-to-point data connectivity.

The POS interfaces on the device support PPP and HDLC at the data link layer and IP at the network layer. Depending on the device model, the transmission rate of POS interfaces can be STM-1, STM-4, and STM-16. The rate of a level is four times the nearest lower level.

Configuring the operating mode of an interface card

The MIC-SP4L subcards can operate in different modes to provide different types of interfaces. To change the operating mode for a subcard, execute the card-mode command. You must make sure a subcard is operating in the desired mode before you configure the interfaces on it. For more information about interface card operating mode configuration, see device management in Fundamentals Configuration Guide.

Configuring a standard POS interface

Restrictions and guidelines

If no cable is connected to the interface, shut down the interface to prevent interface exceptions.

Configuring basic settings of a standard POS interface

1.        Enter system view.

system-view

2.        Enter standard POS interface view.

interface pos interface-number

3.        (Optional.) Configure the interface description.

description text

By default, the description of a POS interface is interface name Interface.

4.        Set the CRC length.

crc { 16 | 32 }

The default setting is 32 bits.

The CRC length must be the same at both ends.

5.        Set the clock mode.

clock { master | slave }

The default setting is slave.

If the standard POS interface is connected to another router, set its clock mode to be different from the mode used by the remote end. If the standard POS interface is connected to a SONET/SDH device, which provides higher clock precision, always set its clock mode to slave.

6.        Set the framing format.

frame-format { sdh | sonet }

The default setting is SDH.

7.        Set the data link layer protocol.

link-protocol { hdlc | ppp }

The default setting is PPP.

8.        (Optional.) Set the rate of the interface.

speed speed-value

The default setting is 155 Mbps.

This command is supported only on the PIC-TCP8L subcard interfaces.

9.        (Optional.) Configure the expected bandwidth of the interface.

bandwidth bandwidth-value

By default, the expected bandwidth (in kbps) is the interface baud rate divided by 1000.

The expected bandwidth is an informational parameter used only by higher-layer protocols for calculation. You cannot adjust the actual bandwidth of an interface by using this command.

10.     Bring up the interface.

undo shutdown

By default, a standard POS interface is up.

Enabling dampening on a POS interface

About dampening

The interface dampening feature uses an exponential decay mechanism to prevent excessive interface flapping events from adversely affecting routing protocols and routing tables in the network. Suppressing interface state change events protects the system resources. For more information about the interface dampening feature, see "Configuring Ethernet interfaces."

Restrictions and guidelines

The dampening and link-delay commands cannot be both configured on an interface.

Procedure

1.        Enter system view.

system-view

2.        Enter standard POS interface view.

interface pos interface-number

3.        Enable interface dampening on the interface.

dampening [ half-life reuse suppress max-suppress-time ]

By default, interface dampening is disabled on POS interfaces.

Configuring alarm actions for a POS interface

About RDI, SD, or SF alarm actions

Signal degrade (SD) and signal fail (SF) alarms are used to indicate the current line performance. When a small number of bit errors occur, the interface sends an SD alarm. When a large number of bit errors occur, the line performance degrades seriously and the interface sends an SF alarm.

You can configure the POS interface to go down automatically when an RDI, SD, or SF alarm is detected on the interface.

Procedure

1.        Enter system view.

system-view

2.        Enter standard POS interface view.

interface pos interface-number

3.        Configure the action to take when an RDI, SD, or SF alarm occurs on the POS interface.

alarm-detect { rdi | sd | sf } action link-down

By default, the device does not take any actions on the interface when an RDI, SD, or SF alarm occurs.

Changing the interface type

About changing the interface type

This feature is supported only on the PIC-TCP8L subcard interfaces.

You can change the interface type between POS and GigabitEthernet. When you change the interface type, the system performs the following operations:

·          Removes the original interface.

·          Creates a new-type interface with the same number as the original interface.

·          Enters the interface view of the new-type interface.

Changing a standard POS interface to a Layer 3 GigabitEthernet interface

1.        Enter system view.

system-view

2.        Enter standard POS interface view.

interface pos interface-number

3.        Change the interface to a Layer 3 GigabitEthernet interface.

port-type switch gigabitethernet

Changing a Layer 3 GigabitEthernet interface to a standard POS interface

1.        Enter system view.

system-view

2.        Enter Layer 3 GigabitEthernet interface view.

interface gigabitethernet interface-number

3.        Change the interface to a standard POS interface.

port-type switch pos

Enabling loopback on a POS interface

About loopback

Perform this task to determine whether a POS link works correctly.

Loopback includes the following types:

·          Internal loopback—Tests the device where the POS interface resides. The POS interface sends outgoing packets back to the local device. If the device fails to receive the packets, the device fails.

·          External loopback—Tests the inter-device link. The POS interface sends incoming packets back to the remote device. If the remote device fails to receive the packets, the inter-device link fails.

Restrictions and guidelines

After you enable this feature on a POS interface, the interface does not forward data traffic.

Procedure

1.        Enter system view.

system-view

2.        Enter standard POS interface view.

interface pos interface-number

3.        Enable loopback.

loopback { local | remote }

By default, loopback is disabled.

Configuring physical state change suppression interval on a POS interface

About physical state change suppression

The physical link state of an interface is either up or down. Each time the physical link of an interface comes up or goes down, the system then performs the following operations:

·          Notifies the upper-layer protocol modules (such as routing and forwarding modules) of the change immediately for guiding packet forwarding.

·          Automatically generates traps and logs to inform users to take the correct actions.

To prevent frequent physical link flapping from affecting system performance, configure physical state change suppression. You can configure this feature to suppress only link-down events, only link-up events, or both. If an event of the specified type still exists when the suppression interval expires, the system reports the event.

Restrictions and guidelines

The dampening and link-delay commands cannot be both configured on an interface.

Procedure

1.        Enter system view.

system-view

2.        Enter POS interface view.

interface pos interface-number

3.        Set the physical state change suppression interval on the interface.

link-delay msec milliseconds

By default, the physical state change suppression interval is 1 second on an interface.

Enabling payload scrambling on a POS interface

About payload scrambling

Payload scrambling enables an interface to scramble outgoing data and descramble incoming data. By preventing the presence of long strings of all 1s or all 0s, payload scrambling enables the receiving end to extract the line clock signal correctly.

If payload scrambling is disabled, the interface does not scramble outgoing data or descramble incoming data.

Restrictions and guidelines

The payload scrambling setting must be the same at both ends of a link to ensure correct communication.

For H3C devices, changing the payload scrambling setting does not affect cell headers. After you change the payload scrambling settings on both ends of a link, verify that the C2 byte value on them match each other. If the two values do not match, use the flag c2 command to modify the C2 byte value on the H3C device.

Procedure

1.        Enter system view.

system-view

2.        Enter POS interface view.

interface pos interface-number

3.        Enable payload scrambling.

scramble

By default, payload scrambling is enabled.

Configuring the keepalive interval and the keepalive retry limit

About keepalive

On an interface encapsulated with PPP or HDLC, the data link layer sends keepalive packets at keepalive intervals to detect the availability of the remote end. The data link layer determines that the peer end is down if it does not receive a response after the keepalive retry limit is reached. The data link layer then reports the link down event to the upper-layer protocols.

Procedure

1.        Enter system view.

system-view

2.        Enter POS interface view.

interface pos interface-number

3.        Set the keepalive interval.

timer-hold seconds

The default setting is 10 seconds.

4.        Set the keepalive retry limit.

timer-hold retry retries

The default setting is 5.

Configuring overhead byte on a POS interface

About overhead byte

J0 byte is a section overhead byte. SDH and SONET use this byte to test continuity of the connection between two interfaces at the section level.

J1 byte is a higher-order path overhead byte. SDH and SONET use this byte to test continuity of the connection between two interfaces at the path level.

The C2 byte is a higher-order path overhead byte. It indicates the multiplex structure of virtual container (VC) frames and the property of payload.

Restrictions and guidelines

When the C2 byte of one end is set to 1, the C2 byte of the other end can be set to any character in hexadecimal notation. If the C2 byte of either ends of a link is not set to 1, the C2 byte must be the same at both ends.

The J1 byte must be the same at both ends of a link.

The J0 byte can be different on devices of the same service provider. On the interfaces between two service providers, the J0 byte must be the same.

Procedure

1.        Enter system view.

system-view

2.        Enter POS interface view.

interface pos interface-number

3.        Configure the C2 path signal label byte.

flag c2 flag-value

By default, the C2 byte is 16 in hexadecimal notation.

4.        Configure the J0 regenerator section trace byte.

flag j0 { sdh | sonet } flag-value

By default, the system uses the SDH framing format.

In SDH frames, the J0 byte is CR16000.

5.        Configure the J1 path trace byte.

flag j1 { sdh | sonet } flag-value

The system uses the SDH framing format.

In SDH frames, the J1 byte value is CR16000.

Configuring the statistics polling interval

About the statistics polling interval

Use this feature to set the statistics polling interval for an interface.

To display information about POS interfaces collected in the last statistics polling interval, use the display interface pos command.

To clear interface statistics, use the reset counters interface pos command.

Restrictions and guidelines

A short global statistics polling interval might decrease the system performance and result in inaccurate statistics.

You can use this command in system view or interface view.

·          In system view, the command takes effect on all interfaces.

·          In interface view, the command takes effect only on the specified interface.

When the statistics polling interval uses the default setting in interface view, the setting in system view takes effect. When the command is configured in both system view and interface view, the setting in interface view takes priority.

Configuring the statistics polling interval in system view

1.        Enter system view.

system-view

2.        Configure the statistics polling interval.

flow-interval interval

By default, the statistics polling interval is 300 seconds.

Configuring the statistics polling interval on a POS interface

1.        Enter system view.

system-view

2.        Enter POS interface view.

interface pos interface-number

3.        Configure the statistics polling interval.

flow-interval interval

By default, the statistics polling interval is 300 seconds.

Configuring the MTU for an interface

Restrictions and guidelines

The MTU setting affects the assembly and fragmentation of IP packets.

After configuring the MTU for an interface, you must use the shutdown command and then the undo shutdown command on the interface for the modification to take effect.

Procedure

1.        Enter system view.

system-view

2.        Enter POS interface view.

interface pos interface-number

3.        Set the MTU.

mtu size

By default, the MTU of an interface is 1500 bytes.

4.        Shut down the interface.

shutdown

5.        Bring up the interface.

undo shutdown

Restoring the default settings for an interface

Restrictions and guidelines

CAUTION

CAUTION:

This feature might interrupt ongoing network services. Make sure you are fully aware of the impact of this feature when you use it on a live network.

 

This feature might fail to restore the default settings for some commands because of command dependencies or system restrictions. You can use the display this command in interface view to check for these commands and perform their undo forms or follow the command reference to restore their default settings. If your restoration attempt still fails, follow the error message to resolve the problem.

Procedure

1.        Enter system view.

system-view

2.        Enter POS interface view.

interface pos interface-number

3.        Restore the default settings for the interface.

default

Display and maintenance commands for POS interfaces

Execute display commands in any view and reset commands in user view.

 

Task

Command

Display information about POS interfaces.

display interface [ pos [ interface-number ] ] [ brief [ description | down ] ]

Clear statistics for POS interfaces.

reset counters interface [ pos [ interface-number  ] ]

 

POS interface configuration examples

Example: Directly connecting routers through POS interfaces

Network configuration

As shown in Figure 1, connect the routers through POS interfaces.

Figure 1 Network diagram

 

Procedure

1.        Configure POS 2/2/1 on Router A:

# Assign an IP address to the interface.

<RouterA> system-view

[RouterA] interface pos 2/2/1

[RouterA-Pos2/2/1] ip address 10.110.1.10 255.255.255.0

# Configure the data link layer protocol of the interface.

[RouterA-Pos2/2/1] link-protocol ppp

# Set the MTU to 1500 bytes for the interface.

[RouterA-Pos2/2/1] mtu 1500

# Shut down, and then bring up the interface for the settings to take effect.

[RouterA-Pos2/2/1] shutdown

[RouterA-Pos2/2/1] undo shutdown

[RouterA-Pos2/2/1] quit

2.        Configure POS 2/2/1 on Router B:

# Set the clock mode to master on the interface.

<RouterB> system-view

[RouterB] interface pos 2/2/1

[RouterB-Pos2/2/1] clock master

# Assign an IP address to the interface.

[RouterB-Pos2/2/1] ip address 10.110.1.11 255.255.255.0

# Configure the data link layer protocol of the interface.

[RouterB-Pos2/2/1] link-protocol ppp

# Set the MTU to 1500 bytes for the interface.

[RouterB-Pos2/2/1] mtu 1500

# Shut down, and then bring up the interface for the settings to take effect.

[RouterB-Pos2/2/1] shutdown

[RouterB-Pos2/2/1] undo shutdown

[RouterB-Pos2/2/1] quit

Verifying the configuration

# Display brief information about the POS interfaces on Router A.

[RouterA] display interface pos brief

Brief information on interfaces in route mode:

Link: ADM - administratively down; Stby - standby

Protocol: (s) - spoofing

Interface            Link Protocol Primary IP      Description

Pos2/2/1             UP   UP       10.110.1.10

The output shows that both the physical state and the link layer protocol state of POS 2/2/1 on Router A are up.

# Display brief information about the POS interfaces on Router B.

[RouterB] display interface pos brief

Brief information on interfaces in route mode:

Link: ADM - administratively down; Stby - standby

Protocol: (s) - spoofing

Interface            Link Protocol Primary IP      Description

Pos2/2/1             UP   UP       10.110.1.11

The output shows that both the physical state and the link layer protocol state of POS 2/2/1 on Router B are up.

# Ping Router B from Router A.

[RouterA] ping 10.110.1.11

Ping 10.110.1.11 (10.110.1.11): 56 data bytes, press CTRL_C to break

56 bytes from 10.110.1.11: icmp_seq=0 ttl=255 time=0.127 ms

56 bytes from 10.110.1.11: icmp_seq=1 ttl=255 time=0.091 ms

56 bytes from 10.110.1.11: icmp_seq=2 ttl=255 time=0.072 ms

56 bytes from 10.110.1.11: icmp_seq=3 ttl=255 time=0.074 ms

56 bytes from 10.110.1.11: icmp_seq=4 ttl=255 time=0.079 ms

 

--- Ping statistics for 10.110.1.11 ---

5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss

round-trip min/avg/max/std-dev = 0.072/0.089/0.127/0.020 ms

The output shows that Router A and Router B can reach each other through the POS interfaces.

Troubleshooting POS interfaces

Interface physically down

Symptom

The physical state of the POS interface is down.

Solution

To resolve the problem:

1.        Verify that the POS interface is connected correctly to the remote port.

¡  The transmit connector at one end must be connected to the receive connector at the other end.

¡  The transmit and receive connectors of the POS interface are not connected by the same fiber. If they are connected by the same fiber, the display interface command displays the "loopback detected" message, whether or not the loopback detection feature is enabled.

2.        If the two POS interfaces are directly connected, verify that the two ends use different clock mode settings.

3.        If the problem persists, contact H3C Support.

Data link layer down

Symptom

The physical layer is up, but the data link layer is down.

Solution

To resolve the problem:

1.        Verify that the two ends have matching clock mode, scrambling setting, and physical parameters.

2.        Verify that the two ends have the same data link layer protocol.

3.        If the problem persists, contact H3C Support.

Packet loss

Symptom

A large number of IP packets are dropped.

Solution

To resolve the problem:

1.        Verify that the correct clock mode is configured on the POS interface.

Incorrect clock mode setting can incur a large number of CRC errors.

2.        Verify that the two ends have the same MTU setting.

3.        If the problem persists, contact H3C Support.

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网