- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
03-WAN interface configuration | 110.78 KB |
Contents
WAN interface and hardware compatibility
Configuring common WAN interface settings
Configuring a serial interface
Configuring a synchronous serial interface
Verifying and maintaining 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.
WAN interface and hardware compatibility
To configure WAN interfaces, make sure the corresponding WAN interfaces are supported. For information about WAN interfaces supported, see the installation guide and interface module manual.
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, E1 1/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 synchronous serial interfaces.
5. Set the keepalive interval.
timer-hold seconds
The default setting is 10 seconds.
The default setting is 5.
Interfaces that support this feature include synchronous serial interfaces.
6. Set the MTU.
mtu size
The default setting is 1500 bytes.
Interfaces that support this feature include synchronous serial interfaces.
7. Bring up the interface.
undo shutdown
By default, an interface is up.
Configuring a serial interface
About serial interfaces
Synchronous serial interfaces on this device refer to logical interfaces channelized from CE1 and CPOS interfaces. They have the same properties as synchronous serial interfaces and can be configured in the same way as synchronous serial interfaces are configured.
Synchronous serial interfaces are mainly used for receiving, transmitting, and processing synchronous serial data flows. Their interface type name is Serial.
Synchronous serial interfaces support multiple link layer protocols (including PPP and HDLC) and support network layer protocols (IP).
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 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 CE1 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 interface
About CE1 interfaces
A CE1 interface can operate in channelized or unchannelized mode:
· The unchannelized mode is also called E1 mode.
· Channelized modes include CE1 mode and PRI mode.
In CE1 or PRI 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. 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 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 cable type.
cable { long | short }
The default cable setting is long mode.
6. Set the clock mode.
clock { master | slave }
The default clock mode is slave, which is line clock.
7. 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 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 interface view.
controller e1 interface-number
3. Enable local loopback.
loopback { local | payload | remote }
By default, local loopback is disabled.
Verifying and maintaining CE1 interfaces
Clearing statistics for CE1 interfaces
To clear statistics for CE1 interfaces, execute the following command in user view:
reset counters controller e1 [ interface-number ]
Displaying CE1 interface information
Perform all display tasks in any view.
· Display information about CE1 interfaces.
display controller [ e1 [interface-number ] ]
· Display information about a channel set.
display interface serial interface-number:set-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