- Table of Contents
-
- 03-Interface Configuration Guide
- 00-Preface
- 01-Bulk interface configuration
- 02-Ethernet interface configuration
- 03-WAN interface configuration
- 04-POS interface configuration
- 05-CPOS interface configuration
- 06-ATM interface configuration
- 07-Loopback, null, and inloopback interface configuration
- 08-FlexE interface configuration
- Related Documents
-
Title | Size | Download |
---|---|---|
03-WAN interface configuration | 104.78 KB |
Contents
Configuring common WAN interface settings
Configuring a serial interface
Configuring a synchronous serial interface
Display and maintenance commands for serial interfaces
Configuring unchannelized mode for a CE1 interface
Configuring channelized mode for a CE1 interface
Configuring other CE1 interface parameters
Enabling local loopback on a CE1 interface
Display and maintenance commands for CE1 interfaces
Restoring the default settings for an interface
Configuring WAN interfaces
About WAN interfaces
This chapter describes how to configure the following types of WAN interfaces:
· Synchronous serial interface.
· CE1 interface.
· ATM interface.
For more information about ATM interfaces, see "Configuring ATM interfaces."
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, Serial3/1/1:0 Interface.
4. Bring up the interface.
undo shutdown
By default, an interface is up.
Configuring a serial interface
About serial interfaces
Serial interfaces refer to channelized logical interfaces that have the same logical features as standard synchronous serial interfaces.
Synchronous serial interfaces provide serial communication channels for synchronous data transmission. The interface type name is Serial.
Typically, the device can automatically recognize the cable type and select electrical properties.
The synchronous serial interface supports the following protocols:
· Data link layer protocols, such as PPP and HDLC.
· Network layer protocols, such as IP.
To view the connected cable information of a synchronous serial interface, execute the display controller e1 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 the data link layer protocol, IP address, and firewall.
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.
¡ 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:
· Unchannelized mode is also called 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. 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. 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. 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.
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.
¡ Enter synchronous serial interface view.
interface interface-type interface-number
¡ Enter CE1 interface view.
controller interface-type interface-number
3. Restore the default settings for the interface.
default