04-Interface Configuration Guide

HomeSupportRoutersMSR5600-X3 Series(Comware V9)Configure & DeployConfiguration GuidesH3C MSR5680-X3 Router Configuration Guides-R9141-6W10004-Interface Configuration Guide
06-WAN interface configuration
Title Size Download
06-WAN interface configuration 159.64 KB

Configuring WAN interfaces

About WAN interfaces

This chapter describes how to configure the following types of WAN interfaces:

·     Synchronous serial interface.

·     CE1/PRI interface.

·     E1-F interface.

WAN interface and hardware compatibility

This feature is supported on devices installed with RT-XMIM-2E1, RT-XMIM-4E1, or RT-XMIM-8E1 cards. For interfaces provided by a device, see the installation guide and card manuals.

 

Configuring common WAN interface settings

About this task

This section only describes the common properties configuration for WAN interfaces.

Procedure

1.     Enter system view.

system-view

2.     Enter an interface view.

¡     Enter synchronous serial/ E1-F interface view.

interface serial interface-number

¡     Enter CE1/PRI interface view.

controller e1 interface-number

3.     Configure the interface description.

description text

By default, the description of an asynchronous serial interface is interface name Interface, for example, Serial2/1/0 Interface.

4.     Set the expected bandwidth for 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.

Interfaces that support this feature include E1-F interfaces and serial interfaces.

5.     Configure the keepalive interval and retry limit.

¡     Set the keepalive interval.

timer-hold seconds

The default setting is 10 seconds.

¡     Set the keepalive retry limit.

timer-hold retry retries

The default setting is 5.

Interfaces that support this feature include E1-F interfaces and serial interfaces.

6.     Set the MTU.

mtu size

The default setting is 1500 bytes.

Interfaces that support this feature include E1-F interfaces and serial interfaces.

7.     Bring up the interface.

undo shutdown

By default, an interface is up.

Configuring a serial interface

About serial interfaces

The serial interfaces on the device refer to the logical interfaces channelized from CE1/PRI or E1-F interfaces. The serial interface has the same logical features as a standard synchronous serial interface. You can configure this serial interface in the same way you configure a standard synchronous serial interface.

Synchronous serial interfaces are typically used for receiving, transmitting, and processing synchronous serial data flows. Their interface type name is Serial.

The synchronous serial interface supports the following protocols:

·     Data link layer protocols, such as PPP and HDLC.

·     Network layer protocols, such as IP.

Restrictions and guidelines for configuring serial interfaces

·     In E1 unchannelized mode, the CE1/PRI interface automatically creates a serial interface that has the same logical features as a standard synchronous serial interface. You can configure this serial interface in the same way you configure a standard synchronous serial interface.

·     In CE1 channelized mode, after you bundle timeslots of a CE1/PRI interface into a channel set, the system automatically creates a serial interface named serial interface-number:set-number. This interface has the same logical features as a standard synchronous serial interface.

·     In unframed mode, an E1-F interface is a 2048 kbps interface without timeslot division and has the same logical features as a standard synchronous serial interface.

·     In framed mode, an E1-F interface is physically divided into 32 timeslots numbered 0 through 31, with timeslot 0 for synchronization. You can bundle the remaining timeslots into a channel set. The E1-F interface has a speed of n × 64 kbps, which has the same logical features as a standard synchronous serial interface.

In framed mode, an E1-F interface is physically divided into 32 timeslots numbered 0 through 31, with timeslot 0 for synchronization. You can bundle the remaining timeslots into a channel set. The E1-F interface has a speed of n × 64 kbps, which has the same logical features as a standard synchronous serial interface

Configuring a synchronous serial interface

About this task

This section only describes the interface properties configuration. Depending on the network requirements, you might also need to configure the PPP, IP address, and interface backup.

Procedure

1.     Enter system view.

system-view

2.     Enter synchronous serial interface view.

interface serial interface-number

3.     Set the link layer protocol.

link-protocol { hdlc | ppp }

The default is PPP.

4.     Configure line detection settings.

¡     Set the CRC mode.

crc { 16 | 32 | none }

The default is 16-bit CRC.

¡     Initiate a loopback test.

loopback-test [ -c count | -p { pattern | special { ascending | descending | random } } | -s packetsize | -t timeout ] * interface interface-type interface-number

By default, no loopback test is performed on an interface.

This command is available only on synchronous serial interfaces that are created for E1 and E1-F interfaces.

Verifying and maintaining serial interfaces

Clearing serial interface statistics

Perform all clear tasks in user view.

·     Clear statistics for serial interfaces.

reset counters interface serial [ interface-number ]

Displaying serial interface information

Perform all display tasks in any view.

·     Display serial interface information.

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

Configuring a CE1/PRI interface

About CE1/PRI interfaces

A CE1/PRI interface can operate in channelized or unchannelized mode:

·     Unchannelized modes include E1 mode.

·     Channelized modes include CE1 mode and PRI mode.

In CE1 or PRI mode, a CE1/PRI interface is physically divided into 32 timeslots numbered 0 to 31. Timeslot 0 is used to transmit synchronizing information.

E1 mode

For a CE1/PRI interface in E1 mode, the system automatically creates a serial interface named serial interface-number:0. This interface has the same logical features as a standard synchronous serial interface. You can configure the serial interface as described in "Configuring a synchronous serial interface."

CE1 mode

In CE1 mode, you can bundle all timeslots except timeslot 0 into a maximum of 31 channel sets.

·     For each channel set, the system automatically creates a serial interface named serial interface-number:set-number. This interface has the same logical features as a standard synchronous serial interface. You can configure the serial interface as described in "Configuring a synchronous serial interface."

CE1/PRI interface and hardware compatibility

This feature is supported on devices installed with RT-XMIM-2E1, RT-XMIM-4E1, or RT-XMIM-8E1 cards. For interfaces provided by a device, see the installation guide and card manuals.

Configuring unchannelized mode for a CE1/PRI interface

Configuring a CE1/PRI interface in E1 mode

1.     Enter system view.

system-view

2.     Enter CE1/PRI interface view.

controller e1 interface-number

3.     Configure the interface to operate in E1 mode.

using e1

By default, a CE1/PRI interface operates in channelized mode.

4.     Enable alarm indication signal (AIS) detection.

detect-ais

By default, AIS detection is disabled.

5.     Set other interface parameters.

See "Configuring other CE1/PRI interface parameters."

Configuring channelized mode for a CE1/PRI interface

Configuring a CE1/PRI interface in CE1 mode

1.     Enter system view.

system-view

2.     Enter CE1/PRI interface view.

controller e1 interface-number

3.     Configure the interface to operate in channelized mode.

using ce1

By default, a CE1/PRI interface operates in channelized mode.

4.     Bundle timeslots on the interface into a channel set.

channel-set set-number timeslot-list list

For each channel set, the system automatically creates a serial interface that has the same logical features as a standard synchronous serial interface. The serial interface name uses the serial interface-number:set-number format.

5.     Set the framing format.

frame-format { crc4 | no-crc4 }

The default is no-CRC4.

A CE1/PRI interface in CE1 mode supports both CRC4 and no-CRC4 framing formats.

6.     Enable RAI detection on the interface.

alarm-detect rai

By default, RAI detection is enabled on the interface.

7.     Set other interface parameters.

See "Configuring other CE1/PRI interface parameters."

Configuring a CE1/PRI interface in PRI mode

1.     Enter system view.

system-view

2.     Enter CE1/PRI interface view.

controller e1 interface-number

3.     Configure the interface to operate in channelized mode.

using ce1

By default, a CE1/PRI interface operates in channelized mode.

4.     Bundle timeslots on the interface into a PRI set.

pri-set [ timeslot-list list ]

5.     Set other interface parameters.

See "Configuring other CE1/PRI interface parameters."

Configuring other CE1/PRI interface parameters

1.     Enter system view.

system-view

2.     Enter CE1/PRI interface view.

controller e1 interface-number

3.     Set the line code format.

code { ami | hdb3 }

The default is high density bipolar 3 (HDB3).

4.     Enable or disable user data inversion.

data-coding { inverted | normal }

By default, user data inversion is disabled.

5.     Set the clock mode.

clock { master | slave }

The default clock mode is slave, which is line clock.

6.     Enable automatic clock mode change.

clock-change auto

By default, automatic clock mode change is disabled.

When automatic clock mode switchover is enabled, the interface automatically switches to the master clock mode when both of the following conditions exist:

¡     The interface uses the slave clock mode.

¡     The interface receives an alarm indication signal (AIS), loss of signal (LOS), or loss of frame (LOF) alarm.

After the alarm is cleared, the interface automatically switches back to the slave clock mode.

7.     Set the line idle code type.

idle-code { 7e | ff }

The default is 0x7E.

8.     Set the type and the number of interframe filling tags.

itf { number number | type { 7e | ff } }

By default:

¡     The type of the interframe filling tag is 0x7E.

¡     The number of interframe filling tags is four.

When a CE1/PRI interface is operating in unframed mode and the interframe filling tag type is set to ff, all "1" data will be transmitted on the line when no service data is present, which can easily trigger AIS alarms. To prevent generation of AIS alarms in this situation, execute the undo fe1 detect-ais command to disable AIS detection.

Enabling local loopback on a CE1/PRI interface

About this task

Loopback is intended for testing only. Disable loopback when the interface is operating correctly.

Restrictions and guidelines

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

Procedure

1.     Enter system view.

system-view

2.     Enter CE1/PRI interface view.

controller e1 interface-number

3.     Enable local loopback.

loopback { local | payload | remote }

By default, local loopback is disabled.

Verifying and maintaining CE1/PRI interfaces

Clearing statistics for CE1/PRI interfaces

To clear statistics for CE1/PRI interfaces, execute the following command in user view:

reset counters controller e1 [ interface-number ]

Displaying CE1/PRI interface information

Perform all display tasks in any view.

·     Display information about CE1/PRI interfaces.

display controller [ e1 [interface-number ] ]

·     Display information about a channel set or PRI set.

display interface serial interface-number:set-number

Configuring an E1-F interface

About E1-F interfaces

E1-F interfaces, which are fractional E1 interfaces, are simplified CE1/PRI interfaces. They are a cost-effective alternative to CE1/PRI interfaces for E1 access services that do not require multiple channel sets.

An E1-F interface has the following features:

·     In framed mode, an E1-F interface can bind timeslots into only one channel set. In contrast, a CE1/PRI interface can group and bundle timeslots randomly into multiple channel sets.

·     An E1-F interface does not support PRI mode.

·     An E1-F interface can operate in either framed (the default) or unframed mode.

¡     In unframed mode, an E1-F interface provides 2048 kbps of data bandwidth. For the interface, a synchronous serial interface is created automatically.

¡     In framed mode, an E1-F interface is physically divided into 32 timeslots numbered 0 through 31. Timeslot 0 is used for transmitting synchronization information. All other timeslots can randomly form one channel set. For the channel set, a synchronous serial interface is created automatically. The interface rate is n × 64 kbps, where n is the number of bundled timeslots.

·     The synchronous serial interface created in either mode has the same logical features as a standard synchronous serial interface and supports the following protocols:

¡     Data link layer protocols, such as PPP and HDLC.

¡     Network layer protocols, such as IP.

You can configure this interface in the same way a standard synchronous serial interface is configured.

Restrictions: Hardware compatibility with E1-F interfaces

You can execute the line-card-mode command in system view to switch the interfaces on RT-XMIM-2E1, RT-XMIM-4E1, and RT-XMIM-8E1 cards to E1-F interfaces. After that, the card types are RT-XMIM-2E1-F, RT-XMIM-4E1-F, and RT-XMIM-8E1-F, respectively.

 

Configuring an E1-F interface in framed mode

1.     Enter system view.

system-view

2.     Enter E1-F interface view.

interface serial interface-number

3.     Configure the interface to operate in framed mode.

undo fe1 unframed

The default is framed mode.

4.     Bundle timeslots on the interface.

fe1 timeslot-list range

By default, if no timeslot range is specified, all timeslots are bundled.

5.     Set the framing format.

fe1 frame-format { crc4 | no-crc4 }

The default is no-CRC4.

6.     Enable RAI detection on the interface.

fe1 alarm-detect rai

By default, RAI detection is enabled on the interface.

7.     Set other interface parameters.

See "Configuring other E1-F interface parameters."

Configuring an E1-F interface in unframed mode

1.     Enter system view.

system-view

2.     Enter E1-F interface view.

interface serial interface-number

3.     Configure the interface to operate in unframed mode.

fe1 unframed

The default is framed mode.

4.     Enable AIS detection.

fe1 detect-ais

By default, AIS detection is disabled.

5.     Set other interface parameters.

See "Configuring other E1-F interface parameters."

Configuring other E1-F interface parameters

1.     Enter system view.

system-view

2.     Enter E1-F interface view.

interface serial serial-number

3.     Set the line code format.

fe1 code { ami | hdb3 }

The default is HDB3.

4.     Enable or disable user data inversion.

fe1 data-coding { inverted | normal }

By default, user data inversion is disabled.

5.     Set the clock mode.

fe1 clock { master | slave }

The default is slave, which is line clock.

6.     Enable automatic clock mode change.

clock-change auto

By default, automatic clock mode change is disabled.

When automatic clock mode switchover is enabled, the interface automatically switches to the master clock mode when both of the following conditions exist:

¡     The interface uses the slave clock mode.

¡     The interface receives an alarm indication signal (AIS), loss of signal (LOS), or loss of frame (LOF) alarm.

After the alarm is cleared, the interface automatically switches back to the slave clock mode.

7.     Set the CRC mode.

crc { 16 | 32 | none }

The default is 16-bit CRC.

8.     Configuring interface properties

¡     Set the line idle code type.

fe1 idle-code { 7e | ff }

The default is 0x7E.

¡     Set the type and the number of interframe filling tags.

fe1 itf { number number | type { 7e | ff } }

By default:

-     The type of the interframe filling tag is 0x7E.

-     The number of interframe filling tags is four.

When an E1-F interface is operating in unframed mode and the interframe filling tag type is set to ff, all "1" data will be transmitted on the line when no service data is present, which can easily trigger AIS alarms. To prevent generation of AIS alarms in this situation, execute the undo fe1 detect-ais command to disable AIS detection.

Enabling local loopback on an E1-F interface

About this task

Loopback is intended for testing only. Disable loopback when the interface is operating correctly.

Restrictions and guidelines

After you enable this feature on an E1-F interface, the interface does not forward data traffic.

Procedure

1.     Enter system view.

system-view

2.     Enter E1-F interface view.

interface serial serial-number

3.     Enable loopback and set the loopback mode.

fe1 loopback { local | payload | remote }

By default, loopback is disabled.

Verifying and maintaining E1-F interfaces

Clearing statistics for E1-F interfaces

To clear statistics for E1-F interfaces, execute the following command in user view:

reset counters interface serial [ interface-number ]

Displaying E1-F interface information

Perform all display tasks in any view.

·     Display information about E1-F interfaces.

display fe1 [ serial interface-number ]

·     Display the operating status of an E1-F interface.

display interface serial interface-number

Restoring the default settings for an interface

Restrictions and guidelines

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 interface view.

interface interface-type interface-number

3.     Restore the default settings for the interface.

default

  • 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 Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网