- Table of Contents
-
- 01-Access Volume
- 01-CPOS Interface Commands
- 02-POS Interface Commands
- 03-Ethernet Interface Commands
- 04-WAN Interface Commands
- 05-Frame Relay Commands
- 06-HDLC Commands
- 07-PPP Commands
- 08-Logical Interface Commands
- 09-Modem Management Commands
- 10-ATM Interface Commands
- 11-ATM Commands
- 12-E-CPOS Interface Commands
- 13-VLAN Termination Commands
- 14-Port Mirroring Commands
- Related Documents
-
Title | Size | Download |
---|---|---|
10-ATM Interface Commands | 42.92 KB |
Table of Contents
1 ATM Interface Configuration Commands
ATM OC-3c/STM-1 Interface Configuration Commands
ATM Interface Commands
display interface atm
Syntax
display interface atm [ interface-number ]
View
Any view
Default Level
1: Monitor level
Parameters
interface-number: Interface number.
Description
Use the display interface atm command to display the configuration and status information about an ATM interface.
If no interface is specified, this command displays the configuration and status information about all ATM interfaces.
Examples
# Display the configuration and status information about interface ATM 3/0.
<Sysname> display interface atm 3/0
Atm3/0 current state :DOWN
Line protocol current state :DOWN
Description : Atm3/0 Interface
The Maximum Transmit Unit is 1500
Internet protocol processing : disabled
AAL enabled: AAL5, Maximum VCs: 128
Current VCs: 0 (0 on main interface)
ATM over E1, Scramble enabled, frame-format crc4-adm
code hdb3, clock slave,Cable-length long, loopback not set
Cable type: 75 ohm non-balanced
Line Alarm: LOS LOF
Line Error: 0 FERR, 0 LCV, 0 CERR, 0 FEBE
Last 0 seconds input rate 0.00 bytes/sec, 0 bits/sec, 0.00 packets/sec
Last 0 seconds output rate 0.00 bytes/sec, 0 bits/sec, 0.00 packets/sec
Input : 0 packets, 0 bytes, 0 buffers,0 no buffer
0 errors, 0 crcs, 0 lens, 0 giants,
0 pads, 0 aborts, 0 timeouts
0 overflows, 0 overruns
Output: 0 packets, 0 bytes, 0 buffers
0 errors, 0 overflows, 0 underruns
interface atm
Syntax
interface atm interface-number
View
System view
Default Level
2: System level
Parameters
interface-number: ATM interface number.
Description
Use the interface atm command to enter ATM interface view.
Examples
# Enter ATM 1/0 interface view.
<Sysname> system-view
reset atm interface
Syntax
reset atm interface [ atm interface-number ]
View
User view
Default Level
2: System level
Parameters
atm interface-number: Specifies an ATM interface.
Description
Use the reset atm interface command to clear the statistics on the PVCs created on an ATM interface or all the ATM interfaces.
Note that:
l If you execute this command with an ATM interface specified, this command displays the statistics on the PVCs created on the ATM interface.
l If you execute this command with no ATM interface specified, the statistics on the PVCs created on all the ATM interfaces are cleared.
To clear statistics about ATM interfaces, use the reset counters interface command, which is described in Ethernet Interface Commands in the Access Volume.
Examples
# Clear the statistics on all the PVCs created on ATM 1/0 interface.
<Sysname> reset atm interface atm 1/0
reset counters interface
Syntax
reset counters interface [ atm [ interface-number ] ]
View
User view
Default Level
2: System level
Parameters
interface-number: Interface number.
Description
Use the reset counters interface command to clear the statistics of an ATM interface.
Before collecting traffic statistics within a specific period of time on an interface, you need to clear the existing statistics.
Examples
# Clear the statistics of ATM interface ATM 1/0.
<Sysname> reset counters interface atm 1/0
sub-interface rate-statistic
Syntax
sub-interface rate-statistic
undo sub-interface rate-statistic
View
ATM interface view
Default Level
2: System level
Parameters
None
Description
Use the sub-interface rate-statistic command to enable the collecting of rate statistics on the subinterfaces of an ATM interface.
Use the undo sub-interface rate-statistic command to restore the default.
By default, the collecting of rate statistics on the subinterfaces of an ATM interface is disabled.
l Because enabling this feature may take a large amount of the system resource, use this command with caution.
l All interfaces that support subinterfaces support this feature.
Examples
# Enable the collecting of rate statistics on the subinterfaces of ATM 1/0.
<Sysname> system-view
[Sysname] interface pos 1/0
[Sysname-Pos1/0] sub-interface rate-statistic
Warning: This configuration may make a negative effect on the performance. Are you sure to continue? [Y/N]: Y
[Sysname-ATM1/0]
ATM OC-3c/STM-1 Interface Configuration Commands
clock
Syntax
clock { master | slave }
undo clock
View
ATM OC-3c interface view, STM-1 interface view
Default Level
2: System level
Parameters
master: Sets the clock mode as master.
slave: Sets the clock mode as slave.
Description
Use the clock command to set the clock mode for an ATM OC-3c/STM-1 interface.
Use the undo clock command to restore the default, that is, the slave clock mode.
When the ATM interface is operating as DCE, set its clock mode to master. When the interface is operating as DTE, set its clock mode to slave.
When the ATM interfaces on two routers are connected directly through a fiber-optic cable, set the clock mode to master at one end and to slave at the other end.
Examples
# Set the clock mode of ATM interface 4/0 to master.
<Sysname> system-view
[Sysname] interface atm 4/0
[Sysname-Atm4/0] clock master
frame-format
Syntax
frame-format { sdh | sonet }
undo frame-format
View
ATM OC-3c interface view, STM-1 interface view
Default Level
2: System level
Parameters
sdh: Sets the framing format to SDH STM-1, the synchronous transport module-level 1 (STM-1) of synchronous digital hierarchy (SDH).
sonet: Sets the framing format to SONET OC-3, the optical carrier level three (OC-3) of synchronous optical network (SONET).
Description
Use the frame-format command to set the framing format for an ATM OC-3c/STM-1 interface.
Use the undo frame-format command to restore the default, that is, SDH STM-1.
Examples
# Set the framing format to SDH STM-1 on an ATM OC-3c/STM-1 interface.
<Sysname> system-view
[Sysname] interface atm 4/0
[Sysname-Atm4/0] frame-format sdh
loopback
Syntax
loopback { local | remote }
undo loopback
View
ATM OC-3c interface view, STM-1 interface view
Default Level
2: System level
Parameters
local: Enables internal loopback.
remote: Enables external loopback.
Description
Use the loopback command to configure the loopback mode on the ATM OC-3c/STM-1 interface.
Use the undo loopback command to disable loopback.
By default, loopback is disabled.
Loopback is intended for test use. Disable it otherwise.
Examples
# Enable internal loopback on ATM 4/0.
<Sysname> system-view
[Sysname] interface atm 4/0
[Sysname-Atm4/0] loopback local
scramble
Syntax
scramble
undo scramble
View
ATM OC-3c interface view, STM-1 interface view
Default Level
2: System level
Parameters
None
Description
Use the scramble command to enable payload scrambling on the ATM OC-3c/STM-1 interface. This, however, does not affect cell headers.
Use the undo scramble command to disable payload scrambling.
By default, payload scrambling is enabled on the ATM OC-3c/STM-1 interface.
Enabling scrambling prevents successive 0s/1s in the payload.
Examples
# Enable payload scrambling on ATM 4/0.
<Sysname> system-view
[Sysname] interface atm 4/0