03-Interface Configuration Guide

HomeSupportResource CenterRoutersCR19000 Core SeriesCR19000 Core SeriesTechnical DocumentsConfigure & DeployConfiguration GuidesH3C CR19000 Core Router Series Configuration Guides-E3521-5W10003-Interface Configuration Guide
03-WAN interface configuration
Title Size Download
03-WAN interface configuration 87.13 KB

Configuring WAN interfaces

About WAN interfaces

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

·     Synchronous serial interface.

·     CE1 interface.

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

interface serial interface-number

¡     Enter CE1 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, Serial1/2/2/1:1 Interface.

4.     Bring up the interface.

undo shutdown

By default, an interface is up.

Configuring a serial interface

About serial interfaces

The serial interfaces on this device refer to channelized logical interfaces, whose attributes are the same as synchronous serial interfaces. You can consider them as synchronous interfaces.

A synchronous serial interface is typically used to send, receive, and process synchronous serial data streams. The interface name is Serial.

A synchronous serial interface can be connected to multiple types of cables, for example, V.24, V.35, X.21, RS449, and RS530. The device can automatically detect the connected cable type of a synchronous serial interface and automatically configure the electrical characteristics for the interface. Typically, you do not need to manually configure it.

A synchronous serial interface supports multiple link layer protocols (including PPP and HDLC) and supports the IP network layer protocols.

To view the connected cable information of a synchronous serial interface, execute the display interface serial command.

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 PPP, IP address, and firewall .

Procedure

1.     Enter system view.

system-view

2.     Enter synchronous serial interface view.

interface serial interface-number

3.     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.

4.     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.

5.     Set the MTU.

mtu size

The default setting is 1500 bytes.

6.     Set the link layer protocol.

link-protocol { hdlc | ppp }

The default is PPP.

7.     Configure line detection settings.

¡     Set the CRC mode.

crc { 16 | 32 | none }

The default is 16-bit CRC.

Display and maintenance commands for serial interfaces

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

 

Task

Command

Display serial interface information.

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

Clear statistics for serial interfaces.

reset counters interface [ serial [ interface-number ] ]

 

Configuring a CE1 interface

About CE1 interfaces

A CE1 interface can operate in channelized or unchannelized mode:

·     The unchannelized mode is also called the E1 mode.

·     Channelized mode is also called CE1 mode.

E1 mode

For a CE1 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."

Configuring unchannelized mode for a CE1 interface

Configuring a CE1 interface in E1 mode

1.     Enter system view.

system-view

2.     Enter CE1 interface view.

controller e1 interface-number

3.     Configure the interface to operate in E1 mode.

using e1

By default, a CE1 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 interface parameters."

Configuring channelized mode for a CE1 interface

Configuring a CE1 interface in CE1 mode

1.     Enter system view.

system-view

2.     Enter CE1 interface view.

controller e1 interface-number

3.     Configure the interface to operate in channelized mode.

using ce1

By default, a CE1 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 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 interface parameters."

Configuring other CE1 interface parameters

1.     Enter system view.

system-view

2.     Enter CE1 interface view.

controller e1 interface-number

3.     Set the cable type.

cable { long | short }

The default cable setting is long mode.

4.     Set the clock mode.

clock { master | slave }

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

5.     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.

6.     Display the operating status and information of the controller interface.

display this controller

Enabling local loopback on a CE1 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 a CE1 interface, the interface does not forward data traffic.

Procedure

1.     Enter system view.

system-view

2.     Enter CE1 interface view.

controller e1 interface-number

3.     Enable local loopback.

loopback { local | payload | remote }

By default, local loopback is disabled.

Display and maintenance commands for CE1 interfaces

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

 

Task

Command

Display information about CE1 interfaces.

display controller [ e1 [ interface-number ] ]

Display information about a channel set.

display interface serial interface-number:set-number

Clear statistics for CE1 interfaces.

reset counters controller e1 [ interface-number ]

Display the physical attributes of a controller interface.

display controller [ interface-type [ interface-number ] ] phy-option

 

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