- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
03-WAN interface configuration | 58.25 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
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 configuring common WAN interface settings
This section only describes the common properties configuration for WAN interfaces.
Procedure
1. Enter system view.
system-view
2. Enter an interface view.
¡ Enter asynchronous serial interface view.
interface async 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/1:1 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.
You can connect a synchronous interface to various types of cables, including V.24, V.35, X.21, RS449, and RS530. 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.
Configuring a synchronous serial interface
About synchronous serial interfaces
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 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.
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. 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.
In CE1 mode, a CE1 interface is physically divided into 32 timeslots numbered 0 to 31. Timeslot 0 is used to transmit synchronizing information.
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
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.
Enabling local loopback on a CE1 interface
About loopback
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 ] |
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