Documente Academic
Documente Profesional
Documente Cultură
Abstract This document describes the commands and command syntax options available for the HP A Series products. This document is intended for network planners, field technical support and servicing engineers, and network administrators who work with HP A Series products.
Contents
Ethernet interface configuration commands 1 General Ethernet interface and subinterface configuration commands 1 bandwidth 1 combo enable 1 default 2 description 3 display interface 4 duplex 15 flow-control 16 interface 16 link-delay 17 loopback 18 port link-mode 19 port link-mode interface-list 20 reset counters interface 21 shutdown 21 speed 22 Layer 2 Ethernet interface configuration commands 23 broadcast-suppression 23 display loopback-detection 24 display port-group manual 25 display counters 26 display counters rate 27 flow-interval 29 group-member 29 jumboframe enable 30 loopback-detection control enable 31 loopback-detection enable 32 loopback-detection interval-time 33 loopback-detection per-vlan enable 33 mdi 34 multicast-suppression 35 port-group manual 36 unicast-suppression 36 virtual-cable-test 37 Layer 3 Ethernet interface and subinterface configuration commands 39 mac-address 39 mtu 39 promiscuous 40 qmtoken 41 WAN interface configuration commands 42 Common WAN interface configuration commands 42 bandwidth 42 default 43 description 43 shutdown 44 Serial and AUX interface configuration commands 45 async mode 45 baudrate 45
iii
clock 46 code 48 crc 48 detect 49 display interface aux 50 display interface serial 54 eliminate-pulse 58 idle-mark 59 invert receive-clock 59 invert transmit-clock 60 itf 60 loopback 61 mtu 62 physical-mode 62 phy-mru 63 reset counters interface aux 64 reset counters interface serial 64 reverse-rts 65 timer hold 65 virtualbaudrate 66 Basic Cellular interface configuration commands 67 display cellular 67 display interface cellular 71 dm-port open 75 mode cdma 76 mode td-scdma 76 mode wcdma 77 modem reboot 77 modem response 78 pin modify 79 pin unlock 79 pin verification 80 pin verify 80 plmn search 81 plmn select 81 profile create 82 reset counters interface 83 Basic CE1/PRI interface configuration commands 84 alarm 84 cable (CE1/PRI interface) 84 channel-set (CE1/PRI interface) 85 clock (CE1/PRI interface) 86 clock-change auto 86 code (CE1/PRI interface) 87 controller e1 88 crc 88 data-coding (CE1/PRI interface) 89 detect-ais 90 display controller e1 90 error-diffusion restraint config 92 error-diffusion restraint enable 93 error-diffusion restraint restart-channel 93 frame-format (CE1/PRI interface) 94 idlecode (CE1/PRI interface) 95 itf (CE1/PRI interface) 95
iv
loopback (CE1/PRI interface) 96 pri-set (CE1/PRI interface) 97 reset counters controller e1 98 using (CE1/PRI interface) 98 Basic CT1/PRI interface configuration commands 99 alarm (CT1/PRI interface) 99 alarm-threshold 100 bert (CT1/PRI interface) 101 cable (CT1/PRI interface) 101 channel-set (CT1/PRI interface) 102 clock (CT1/PRI interface) 103 code (CT1/PRI interface) 104 controller t1 104 crc 105 data-coding (CT1/PRI interface) 105 display controller t1 106 error-diffusion restraint config 110 error-diffusion restraint enable 110 error-diffusion restraint restart-channel 111 fdl 112 frame-format (CT1/PRI interface) 113 idlecode (CT1/PRI interface) 113 itf (CT1/PRI interface) 114 loopback (CT1/PRI interface) 115 pri-set (CT1/PRI interface) 115 reset counters controller t1 116 sendloopcode 117 E1-F interface configuration commands 118 clock-change auto 118 crc 119 display fe1 119 fe1 alarm 121 fe1 cable 121 fe1 clock 122 fe1 code 123 fe1 data-coding 123 fe1 detect-ais 124 fe1 frame-format 125 fe1 idlecode 125 fe1 itf 126 fe1 loopback 127 fe1 timeslot-list 127 fe1 unframed 128 T1-F interface configuration commands 129 crc 129 display ft1 130 ft1 alarm 133 ft1 alarm-threshold 134 ft1 bert 135 ft1 cable 136 ft1 clock 136 ft1 code 137 ft1 data-coding 138 ft1 fdl 139 ft1 frame-format 139
v
ft1 idlecode 140 ft1 itf 141 ft1 loopback 141 ft1 sendloopcode 142 ft1 timeslot-list 143 Basic CE3 interface configuration commands 144 bert (CE3 interface) 144 clock (CE3 interface) 145 controller e3 146 crc 146 display controller e3 147 e1 bert 150 e1 channel-set 151 e1 set clock 152 e1 set frame-format 153 e1 set loopback 153 e1 shutdown 154 e1 unframed 155 fe3 155 loopback (CE3 interface) 156 national-bit 157 reset counters controller e3 158 using (CE3 interface) 158 Basic CT3 interface configuration commands 159 alarm (CT3 interface) 159 bert (CT3 interface) 160 cable (CT3 interface) 161 clock (CT3 interface) 162 controller t3 162 crc 163 display controller t3 164 feac 168 frame-format (CT3 interface) 169 ft3 170 loopback (CT3 interface) 171 mdl (CT3 interface) 171 reset counters controller t3 173 t1 alarm 173 t1 bert 175 t1 channel-set 176 t1 sendloopcode 176 t1 set clock 177 t1 set fdl 178 t1 set frame-format 179 t1 set loopback 179 t1 show 180 t1 shutdown 182 t1 unframed 182 using (CT3 interface) 183 ISDN BRI interface configuration commands 184 display interface bri 184 loopback (ISDN BRI interface) 187 mtu (ISDN BRI interface) 188 reset counters interface 188
vi
ATM and DSL interface configuration commands 190 Common ATM and DSL interface commands 190 bandwidth 190 default 190 description 191 display interface atm 192 interface atm 194 reset atm interface 195 reset counters interface 195 shutdown 196 IMA-E1/T1 interface configuration commands 196 cable 197 clock 197 clock-change auto 198 code 199 differential-delay 199 display interface ima-group 200 frame-format 203 frame-length 203 ima ima-group 204 ima-clock 205 ima-standard 206 ima-test 206 interface ima-group 207 loopback 208 min-active-links 208 scramble 209 ATM E3/T3 interface configuration commands 210 cable 210 clock 210 frame-format 211 loopback 212 scramble 212 ATM OC-3c/STM-1 interface configuration commands 213 clock 213 flag 214 frame-format 215 loopback 216 scramble 216 ADSL interface configuration commands 217 activate 217 adsl standard 218 adsl tx-attenuation 219 bootrom update file 220 display dsl configuration 221 display dsl status 222 display dsl version 224 G.SHDSL interface configuration commands 225 activate 225 display dsl configuration 226 display dsl status 228 display dsl version 232 shdsl annex 233 shdsl capability 234 shdsl line-probing 234
vii
shdsl mode 235 shdsl pam 236 shdsl pbo 236 shdsl psd 237 shdsl rate 238 shdsl snr-margin 239 shdsl wire 239 EFM interface configuration commands 241 interface efm 241
POS interface configuration commands 242 bandwidth 242 clock 242 default 243 description 244 crc 244 display interface pos 245 flag 248 frame-format 249 link-protocol 250 loopback 251 mtu 251 reset counters interface 252 scramble 253 shutdown 253 CPOS interface configuration commands 255 bandwidth 255 clock 255 controller cpos 256 default 256 description 257 display controller cpos 258 display controller cpos e1 260 display controller cpos t1 261 e1 channel-set 263 e1 set clock 264 e1 set flag 264 e1 set frame-format 265 e1 set loopback 266 e1 shutdown 267 e1 unframed 267 flag 268 frame-format 269 loopback 269 multiplex mode 270 reset counters controller cpos 271 shutdown 271 t1 channel-set 272 t1 set clock 273 t1 set flag 274 t1 set frame-format 275 t1 set loopback 275 t1 shutdown 276 t1 unframed 276
viii
Loopback and null interface configuration commands 278 bandwidth 278 default 278 description 279 display interface loopback 280 display interface null 282 interface loopback 284 interface null 284 reset counters interface loopback 285 reset counters interface null 285 shutdown 286 Support and other resources 287 Contacting HP 287 Subscription service 287 Related information 287 Documents 287 Websites 287 Conventions 288 Index 290
ix
Syntax
bandwidth bandwidth-value undo bandwidth
View
Ethernet interface view, Ethernet subinterface view
Default level
2: System level
Parameters
bandwidth-value: Sets the intended bandwidth for the interface, ranging from 1 to 4,294,967,295 kbps.
Examples
# Set the intended bandwidth to 10,000 kbps for interface Ethernet 1/1.
<Sysname> system-view [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] bandwidth 10000
combo enable
Description
Use combo enable to activate the copper (electrical) or fiber (optical) port of a combo interface. By default, the copper port of a combo interface is activated. Combo interfaces are logical interfaces. A combo interface comprises one fiber port and one copper port. The two ports cannot work simultaneously because they share the same forwarding interface. If one port is enabled, the other port is automatically disabled.
1
NOTE: The LINK LED of a GE combo interface may remain lit when you insert or remove a transceiver module into or from the combo interface whose fiber combo port is active on an A-MSR50 router, SIC-1GEC module, XMIM-16FSW module, or XMIM-24FSW module. To resolve the problem, shut down the combo interface with shutdown, and then bring it up with undo shutdown.
Syntax
combo enable { copper | fiber }
View
Ethernet interface view (combo interface)
Default level
2: System level
Parameters
copper: Activates the electrical port of the Combo interface. fiber: Activates the optical port of the Combo interface.
Examples
# Activate the copper port of combo interface GigabitEthernet 1/1.
<Sysname> system-view [Sysname] interface gigabitethernet 1/1 [Sysname-GigabitEthernet1/1] combo enable copper
default
Description
Use default to restore the default settings for an Ethernet interface or subinterface.
Syntax
default
View
Ethernet interface view, Ethernet subinterface view
Default level
2: System level
Parameters
None
Examples
# Restore the default settings for interface Ethernet 1/1.
2
<Sysname> system-view [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] default This command will restore the default settings. Continue? [Y/N]:y
description
Description
Use description to change the text description of the current interface. Use undo description to restore the default. The default description of an interface is the interface name plus Interface. For example, Ethernet1/1 Interface. Related commands: display interface.
Syntax
description text undo description
View
Ethernet interface view, Ethernet subinterface view
Default level
2: System level
Parameters
text: The interface description, a case-sensitive string of 1 to 80 characters. The description can contain letters, digits, special characters (including ~ ! @ # $ % ^ & * ( ) - _ + = { } [ ] | \ : ; " ' < > , . /), spaces, and other Unicode characters and symbols. Each Unicode character takes the space of two regular characters. NOTE: To use Unicode characters or symbols in an interface description, install the specific Input Method Editor and log
in to the device through remote login software that supports the character type.
Each non-English Unicode character or symbol (non-English characters) takes the space of two regular
characters. When the length of a description string reaches or exceeds the maximum line width on the terminal software, the software starts a new line. This may break a Unicode character into two parts and create garbled characters at the end of a line.
Examples
# Change the description of interface Ethernet 1/1 to lanswitch-interface.
<Sysname> system-view [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] description lanswitch-interface
display interface
Description
Use display interface to view information about the Ethernet interface. If the interface type is not specified, this command displays information about all interfaces on the device. If an interface type is specified without an interface number or subinterface number, this command displays information about all interfaces of that particular type.
Syntax
display interface [ interface-type ] [ brief [ down ] ] [ | { begin | exclude | include } regular-expression ] display interface interface-type { interface-number | interface-number.subnumber } [ brief ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
interface-type: Specifies an interface type. interface-number: Specifies an interface by number. interface-number.subnumber: Specifies a subinterface number, where interface-number is an interface number, and subnumber is the number of a subinterface created under that interface. The subnumber argument ranges from 1 to 4094. brief: Displays brief interface information. If you do not specify this keyword, the command displays detailed interface information. down: Displays information about all interfaces in the DOWN state and the causes. If you do not specify this keyword, the command displays information about interfaces in all states. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display information about Layer 3 interface Ethernet 1/1.
4
<Sysname> display interface ethernet 1/1 Ethernet1/1 current state: UP Line protocol current state: UP Description: Ethernet1/1 Interface The Maximum Transmit Unit is 1500 Internet protocol processing : disabled IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 0000-000f-0005 Hardware Address: 0000-000f-0005 IPv6 Packet Frame Type: PKTFMT_ETHNT_2,
Media type is twisted pair, loopback not set, promiscuous mode not set 100Mb/s, Full-duplex, link type is autonegotiation Output flow-control is disabled, input flow-control is disabled Output queue : (Urgent queuing : Size/Length/Discards) Output queue : (Protocol queuing : Size/Length/Discards) Output queue : (FIFO queuing : Size/Length/Discards) Last clearing of counters: Never Last 300 seconds input rate 0.00 bytes/sec, 0 bits/sec, 0.00 packets/sec Last 300 seconds output rate 0.00 bytes/sec, 0 bits/sec, 0.00 packets/sec Input: 1 packets, 60 bytes, 1 buffers 1 broadcasts, 0 multicasts, 0 pauses 0 errors, 0 runts, 0 giants 0 crc, 0 align errors, 0 overruns 0 dribbles, 0 drops, 0 no buffers Output:0 packets, 0 bytes, 0 buffers 0 broadcasts, 0 multicasts, 0 pauses 0 errors, 0 underruns, 0 collisions 0 deferred, 0 lost carriers 0/100/0 0/500/0 0/75/0
# Display only the interface name and traffic statistics information about Layer 3 interface Ethernet 1/1.
<Sysname> display interface ethernet 1/1 | include current state:|bytes Ethernet1/1 current state: DOWN ( Administratively ) Line protocol current state: DOWN Last 300 seconds input rate 0.00 bytes/sec, 0 bits/sec, 0.00 packets/sec Last 300 seconds output rate 0.00 bytes/sec, 0 bits/sec, 0.00 packets/sec Input: 0 packets, 0 bytes, 0 buffers Output:0 packets, 0 bytes, 0 buffers
Table 1 Display interface command (in route mode) output Field Description
Current state of the Ethernet interface:
Field
Line protocol current state Description Internet protocol processing Media type is loopback not set promiscuous mode not set Output queue (Urgent queue: Size/Length/Discards) Output queue (Protocol queue: Size/Length/Discards) Output queue (FIFO queuing: Size/Length/Discards)
Description
Link layer state of the interface:
Last 300 seconds input rate Last 300 seconds output rate Input Output
# Display operating status and related statistics about Layer 3 Ethernet subinterface Ethernet 1/1.1.
<Sysname> display interface ethernet 1/1.1 Ethernet1/1.1 current state: UP Line protocol current state: UP Description: Ethernet1/1.1 Interface The Maximum Transmit Unit is 1500 Internet protocol processing : disabled IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 0000-000f-0006 Hardware Address: 0000-000f-0006 0/100/0 0/500/0 IPv6 Packet Frame Type: PKTFMT_ETHNT_2,
Output queue : (Urgent queuing : Size/Length/Discards) Output queue : (Protocol queuing : Size/Length/Discards) Output queue : (FIFO queuing : Size/Length/Discards) Last clearing of counters: Never 0 packets input, 0 bytes, 0 drops
0/75/0
Table 2 Display interface command (in Layer 3 subinterface mode) output Field Description
Current state of the Ethernet subinterface:
Internet protocol processing IP Packet Frame Type Hardware Address IPv6 Packet Frame Type Output queue : (Urgent queue : Size/Length/Discards) Output queue : (Protocol queue : Size/Length/Discards) Output queue : (FIFO queuing : Size/Length/Discards)
The Maximum Frame Length is 1536 Broadcast MAX-ratio: 100% Multicast MAX-ratio: 100% PVID: 999 Mdi type: auto Port link-type: access Tagged VLAN ID : none Untagged VLAN ID : 999 Port priority: 0 Last clearing of counters: Last 300 seconds input: Last 300 seconds output: Input (total): Input (normal): Input: Never 0 packets/sec 74 bytes/sec 0% 0 packets/sec 12 bytes/sec 0%
- unicasts, - broadcasts, - multicasts, - pauses 1268 unicasts, 7560 broadcasts, 12494 multicasts, 0 pauses 0 input errors, 0 runts, 0 giants, - throttles 0 CRC, - frame, - overruns, - aborts - ignored, - parity errors Output (total): 1502 packets, 138924 bytes - unicasts, 2 broadcasts, 406 multicasts, 0 pauses Output (normal): - packets, - bytes 1094 unicasts, - broadcasts, - multicasts, - pauses Output: 3 output errors, - underruns, - buffer failures - aborts, 1 deferred, 2 collisions, 0 late collisions - lost carrier, - no carrier
Description
Physical state of the Ethernet interface. For more information, see Table 4. Ethernet framing format on the interface. Description of the interface. Loopback testing status of the interface. The interface operates at 100 Mbps. Unknown-speed mode displays when the interface is configured to autonegotiate its speed but has no cable connected, and indicates that the speed of the interface is unknown. The interface operates in full duplex mode. link duplex type is force link indicates that the duplex mode of the interface is fixed and cannot be changed at the command line interface. The interface automatically negotiates a speed with its peer. The interface automatically negotiates a duplex mode with its peer. The maximum Ethernet frame length allowed on the interface. Broadcast suppression threshold as a percentage of the interface transmission capability. When this threshold is exceeded, the interface drops broadcast packets. 8
100Mbps-speed mode
full-duplex mode Link speed type is autonegotiation link duplex type is autonegotiation The Maximum Frame Length Broadcast MAX-ratio
Field
Unicast MAX-ratio
Description
Unknown unicast suppression threshold as a percentage of the interface transmission capability. When this threshold is exceeded, the interface drops unknown unicast packets. Multicast suppression threshold as a percentage of the interface transmission capability. When this threshold is exceeded, the interface drops multicast packets. The maximum length of Ethernet frames that are allowed to pass through the interface. Port VLAN ID. Cable type. Link type of the interface, which could be access, trunk, or hybrid. VLANs for which the interface sends packets without removing VLAN tags. VLANs for which the interface sends packets after removing VLAN tags. Time when the reset counts interface command was last used to clear statistics on the interface. Never indicates that the reset counts interface command has never been used since the device was started. Average rate of input and output traffic in the last 300 seconds, in pps and Bps.
Multicast MAX-ratio
Allow jumbo frame to pass PVID Mdi type Port link-type Tagged VLAN ID Untagged VLAN ID
Last 300 seconds input: 0 packets/sec 0 bytes/sec Last 300 seconds output: 0 packets/sec 0 bytes/sec Input (total): 21322 packets, 1748554 bytes - unicasts, - broadcasts, multicasts, - pauses Input (normal): 21322 packets, bytes 1268 unicasts, 7560 broadcasts, 12494 multicasts, 0 pauses input errors runts
Inbound traffic statistics (in packets and bytes) for the interface. Number of inbound normal and abnormal packets (including unicast, broadcast, and multicast), and pause frames.
Inbound normal traffic (including unicast, broadcast, and multicast) and pause frame statistics (in packets and bytes) for the interface.
Inbound packets with errors. Inbound frames shorter than 64 bytes, in correct format, and containing valid CRCs. Inbound frames larger than the maximum frame length supported on the interface.
Field
- throttles CRC frame - overruns
Description
The number of times the port was shut down because of buffer or CPU overload. Total number of inbound frames that had a normal length, but contained checksum errors. Total number of inbound frames that contained checksum errors and a non-integer number of bytes. Number of packets dropped because the input rate of the port exceeded the queuing capability. Total number of illegal inbound packets:
aborts
Outbound normal traffic (including unicast, broadcast, and multicast) and pause frame statistics (in packets and bytes) for the interface. Outbound error packet statistics. Number of packets dropped because the output rate of the interface exceeded the output queuing capability. This is a low-probability hardware anomaly. Number of packets dropped because the transmit buffer of the interface ran low. Number of packets that failed to be transmitted, for example, because of Ethernet collisions.
10
Field
deferred collisions late collisions lost carrier
Description
Number of frames that the interface deferred to transmit because of detected collisions. Number of frames that the interface stopped transmitting because Ethernet collisions were detected during transmission. Number of frames that the interface deferred to transmit after transmitting their first 512 bits, because of detected collisions. Number of carrier losses during transmission. This counter applies to serial WAN interfaces. Number of times that the port failed to detect the carrier when attempting to send frames. This counter applies to serial WAN interfaces.
- no carrier
NOTE: A hyphen (-) is displayed to indicate when an output field is not available. Table 4 The possible physical states of a Layer 2 Ethernet interface Field
UP DOWN
Description
The interface is physically up. The interface is physically down because no physical connection exists (possibly because the network cable is disconnected or faulty). The interface is physically down because it was shut down with the shutdown command. To restore its physical state, use the undo shutdown command. The interface is physically down because the aggregate interface corresponding to the aggregation group to which it belongs was shut down with the shutdown command. The interface is physically down because an OAM connection failed to be established on it, or the OAM connection is disconnected. The interface is physically down because a DLDP connection failed to be established on it, or the DLDP connection is disconnected. The interface is shut down because a loop was detected on it. The interface is shut down by the BPDU guard function. The interface is physically down because the uplink of the monitor link group to which it belongs is down.
DOWN (Administratively)
DOWN (Link-Aggregation interface down) DOWN (OAM connection failure) DOWN (DLDP connection failure) DOWN (Loopback detectionprotected) DOWN (BPDU-protected) DOWN (Monitor-Link uplink down)
11
UP UP UP UP UP
Link to CoreRouter
Stby DOWN
The brief information of interface(s) under bridge mode: Link: ADM - administratively down Speed or Duplex: (a)/A - auto; H - half; F - full Type: A - access; T - trunk; H - hybrid Interface Eth0/2 Eth0/3 Eth0/4 Eth0/5 Eth0/6 Eth0/7 Eth0/8 Eth0/9 Link Speed DOWN auto UP DOWN auto DOWN auto UP UP UP DOWN auto Duplex Type PVID Description A A A A A A A A A A A A 1 1 1 1 1 1 1 999
100M(a) F(a)
# Filter the brief interface information to display the line starting with the (s) string and all subsequent lines.
<Sysname> display interface brief | begin (s) The brief information of interface(s) under route mode: Link: ADM - administratively down Protocol: (s) - spoofing Interface Dia1 Eth0/0 Eth0/1 Loop0 NULL0 Vlan1 Vlan999 Link Protocol Main IP UP UP UP UP UP UP UP(s) UP UP(s) UP(s) DOWN UP -10.1.1.2 -2.2.2.9 --192.168.1.42 Link to CoreRouter Description
Stby DOWN
When you use the begin keyword to filter the output, the system only searches the Layer 3 interface list or the Layer 2 interface list. If regular-expression is on the Layer 3 interface list, the system only displays the line that contains regular-expression, and all subsequent lines on the Layer 3 interface list. # Display brief information about all UP interfaces.
<Sysname> display interface brief | include UP The brief information of interface(s) under route mode: Link: ADM - administratively down Protocol: (s) - spoofing Interface Dia1 Eth0/0 Loop0 NULL0 Vlan1 Link Protocol Main IP UP UP UP UP UP UP(s) UP UP(s) UP(s) DOWN -10.1.1.2 2.2.2.9 --Link to CoreRouter Description
12
Vlan999
UP
UP
192.168.1.42
The brief information of interface(s) under bridge mode: Link: ADM - administratively down Speed or Duplex: (a)/A - auto; H - half; F - full Type: A - access; T - trunk; H - hybrid Interface Eth0/3 Eth0/6 Eth0/8 Eth0/9 Link Speed UP UP UP UP Duplex Type PVID Description A A A A 1 1 1 999 100M(a) F(a) 100M(a) F(a) 100M(a) F(a) 100M(a) F(a)
# Display information about interfaces in the DOWN state and the relevant causes.
<Sysname> display interface brief down The brief information of interface(s) under bridge mode: Link: ADM - administratively down; Stby - standby Interface Eth6/4/0 Eth6/4/1 Eth6/4/2 Eth6/4/3 Eth6/4/4 Eth6/4/5 Eth6/4/6 Eth6/4/7 Link Cause DOWN Not connected DOWN OAM connection failure DOWN Not connected DOWN Not connected DOWN Not connected DOWN Not connected DOWN Not connected DOWN Not connected
Description
The command displays brief information about Layer 3 interfaces. ADMThe interface has been shut down by the network administrator. To recover its physical layer state, use undo shutdown. StbyThe interface is a standby interface. Use display standby state to check the corresponding primary interface.
13
Field
Protocol: (s) - spoofing
Description
If the network layer protocol state of an interface is shown as UP, but its link is an on-demand link or not present at all, its protocol attribute includes the spoofing flag (an s in parentheses). This attribute is typical of interface Null 0 and the loopback interfaces. Interface name. Physical link state of the interface:
Interface
Link
UPThe link is up. DOWNThe link is physically down. ADMThe link has been administratively shut down. To recover its physical
state, use undo shutdown.
Duplex
AAutonegotiation FFull duplex F(a)Autonegotiated full duplex HHalf duplex H(a)Autonegotiated half duplex
PVID Cause
14
Description
No physical connection exists (possibly because the network cable is disconnected or faulty). The port was shut down with the shutdown command. To restore the physical state of the interface, use undo shutdown. The aggregate interface corresponding to the aggregation group to which the current interface belongs was shut down with the shutdown command. OAM connection failed (possibly because the connection was not established or the current connection was disconnected). DLDP connection failed (possibly because the connection was not established or the current connection was disconnected). The interface is shut down because a loop was detected on it. The interface was shut down by the BPDU guard function. The uplink of the current monitor link group to which the current interface belongs is down.
duplex
Description
Use duplex to set the duplex mode for an Ethernet interface. Use undo duplex to restore the default duplex mode of the Ethernet interface. By default, a 10-GE interface operates in full duplex mode, and all other types of Ethernet interfaces operate in autonegotiation mode. Related commands: speed.
Syntax
duplex { auto | full | half } undo duplex
View
Ethernet interface view
Default level
2: System level
Parameters
auto: Sets the interface to operate in autonegotiation mode. full: Sets the interface to operate in full duplex mode. half: Sets the interface to operate in half-duplex mode. This keyword is not available for fiber combo ports or 10-GE interfaces.
15
Examples
# Configure the interface Ethernet 1/1 to operate in full-duplex mode.
<Sysname> system-view [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] duplex full
flow-control
Description
Use flow-control to enable TxRx mode generic flow control on an Ethernet interface. Use undo flow-control to disable generic flow control on the Ethernet interface. TxRx mode flow control enables an Ethernet interface to receive common pause frames from its peer, and send common pause frames to notify its peer of congestions. By default, generic flow control on an Ethernet interface is disabled. With flow-control configured, an interface can both send and receive flow control frames: When congested, the interface sends a flow control frame to its peer. Upon receiving a flow control frame from the peer, the interface suspends sending packets.
To implement flow control on a link, you must enable the generic flow control function at both ends of the link.
Syntax
flow-control undo flow-control
View
Ethernet interface view
Default level
2: System level
Parameters
None
Examples
# Enable TxRx mode generic flow control on the interface Ethernet 1/1.
<Sysname> system-view [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] flow-control
interface
Description
Use interface to enter interface or subinterface view. With the interface-number.subnumber argument specified, if the subinterface identified by the argument does not exist, this command first creates the subinterface, and then enters subinterface view.
16
Syntax
interface interface-type { interface-number | interface-number.subnumber }
View
System view
Default level
2: System level
Parameters
interface-type: Specifies an interface type. interface-number: Specifies an interface by number. interface-number.subnumber: Specifies a subinterface number, where interface-number is an interface number, and subnumber is the number of a subinterface created under the interface. The subnumber argument ranges from 1 to 4094.
Examples
# Enter Ethernet 1/1 interface view (assuming that the interface is a Layer 2 Ethernet interface).
<Sysname> system-view [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1]
# Enter Ethernet 2/0 interface view (assuming that the interface is a Layer 3 Ethernet interface).
<Sysname> system-view [Sysname] interface ethernet 2/0 [Sysname-Ethernet2/0]
# Create Ethernet subinterface Ethernet 2/0.1 and enter Ethernet 2/0.1 subinterface view (assuming that Ethernet 2/0 is an Layer 3 Ethernet interface and the subinterface does not yet exist).
<Sysname> system-view [Sysname] interface ethernet 2/0.1 [Sysname-Ethernet2/0.1]
link-delay
Description
Use link-delay to configure the router to promptly detect physical state change on an Ethernet interface. Use undo link-delay to restore the default. By default, the physical state change suppression interval on an Ethernet interface is 5 seconds. This command does not apply to ports that were administratively shut down (with the shutdown command). Command and router compatibility: Command
link-delay
AMSR900
No
A-MSR201X
No
A-MSR20
No
A-MSR30
Supported only on Layer 3 GE interfaces
A-MSR50
Supported only on Layer 3 GE interfaces
17
Syntax
link-delay delay-time undo link-delay
View
Ethernet interface view
Default level
2: System level
Parameters
delay-time: Sets the physical state change suppression interval which is fixed at 0, and enables the router to promptly detect physical state change on the Ethernet interface.
Examples
# Set the physical state change suppression interval to 0 seconds on GigabitEthernet 0/1, so that the router can promptly detect physical state changes on GigabitEthernet 0/1.
<Sysname> system-view [Sysname] interface gigabitethernet 0/1 [Sysname-GigabitEthernet0/1] link-delay 0
loopback
Description
Use loopback to enable loopback testing on an Ethernet interface. Enable loopback testing for troubleshooting purposes, such as identifying an Ethernet problem. Use undo loopback to disable loopback testing on an Ethernet interface. By default, loopback testing is disabled on Ethernet interfaces. NOTE: You cannot perform internal or external loopback testing on an administratively down (ADM DOWN) port. On
a physically down (DOWN) port, you can perform only internal loopback testing.
During loopback testing, the speed, duplex, mdi, and shutdown commands are not available. In addition, the
port operates in full duplex mode, regardless of its duplex configuration. After loopback testing is disabled, the duplex configuration of the port is restored.
Syntax
loopback { external | internal } undo loopback
View
Ethernet interface view
Default level
2: System level
Parameters
external: Enables external loopback testing to test all on-chip functions related to Ethernet interfaces.
18
internal: Enables internal loopback testing to test the hardware of Ethernet interfaces.
Examples
# Enable internal loopback testing on Ethernet 1/1.
<Sysname> system-view [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] loopback internal
port link-mode
Description
Use port link-mode to change the link mode of an Ethernet interface. Use undo port link-mode to restore the default. Depending on the hardware structure of interface cards, for a router, some interfaces can operate only as Layer 2 Ethernet interfaces (in bridge mode), some can operate only as Layer 3 Ethernet interfaces (in route mode), and others can operate either as Layer 2 or Layer 3 Ethernet interfaces (you can use commands to set the link mode to bridge or route). When you change the link mode of an Ethernet interface, all settings of the Ethernet interface are restored to their defaults under the new link mode. Related commands: port link-mode interface-list.
Syntax
port link-mode { bridge | route } undo port link-mode
View
Ethernet interface view
Default level
2: System level
Parameters
bridge: Specifies the Layer 2 mode. route: Specifies the Layer 3 mode.
Examples
# Configure Ethernet 1/1 to operate in Layer 2 mode.
<Sysname> system-view [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] display this # interface Ethernet1/1 port link-mode route # Return
19
The output shows that Ethernet 1/1 is now operating in bridge mode. NOTE: The display this command displays the configuration of the current view.
Syntax
port link-mode { bridge | route } interface-list
View
System view
Default level
2: System level
Parameters
bridge: Specifies the Layer 2 mode. route: Specifies the Layer 3 mode. interface-list: Specifies an Ethernet interface list, which contains two Ethernet interfaces.
Examples
# Configure Ethernet 1/1 through Ethernet 1/2 to operate in Layer 2 mode.
<Sysname> system-view [Sysname] port link-mode bridge ethernet 1/1 to ethernet 1/2
20
Syntax
reset counters interface [ interface-type [ interface-number | interface-number.subnumber ] ]
View
User view
Default level
2: System level
Parameters
interface-type: Specifies an interface type. interface-number: Specifies an interface by number. interface-number.subnumber: Specifies a subinterface by number, where interface-number is the number of the main interface, and subnumber is the number of a subinterface created under the interface. The subnumber argument ranges from 1 to 4094.
Examples
# Clear the statistics for Ethernet 1/1.
<Sysname> reset counters interface ethernet 1/1
shutdown
Description
Use shutdown to shut down an Ethernet interface or subinterface. Use undo shutdown to bring up an Ethernet interface or subinterface. By default, Ethernet interfaces and subinterfaces are up. You may need to shut down and then bring up an Ethernet interface to activate configuration changes such as speed or duplex mode changes.
21
The copper and fiber ports of a combo interface cannot work simultaneously. When you bring up one port with undo shutdown, the other port is automatically shut down.
Syntax
shutdown undo shutdown
View
Ethernet interface view, Ethernet subinterface view, port group view
Default level
2: System level
Parameters
None
Examples
# Shut down and then bring up Ethernet 1/1.
<Sysname> system-view [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] shutdown [Sysname-Ethernet1/1] undo shutdown
# Shut down all member ports in the port group named group1.
<Sysname> system-view [Sysname] port-group manual group1 [Sysname-port-group-manual-group1] shutdown
speed
Description
Use speed to set the speed of an Ethernet interface. Use undo speed to restore the default. By default, an Ethernet interface automatically negotiates a speed with its peer. For an Ethernet copper port, use speed to set its speed to match the speed of the peer interface. For a fiber port, use speed to set its speed to match the rate of a pluggable transceiver module. Related commands: duplex.
Syntax
speed { 10 | 100 | 1000 | auto } undo speed
22
View
Ethernet interface view
Default level
2: System level
Parameters
10: Sets the interface speed to 10 Mbps. This keyword is not available on fiber combo ports. 100: Sets the interface speed to 100 Mbps. This keyword is not available on fiber combo ports. 1000: Sets the interface speed to 1000 Mbps. Support for this keyword depends on the interface card model. auto: Enables the interface to negotiate a speed with its peer.
Examples
# Configure Ethernet 1/1 to operate at 100 Mbps.
<Sysname> system-view [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] speed 100
Syntax
broadcast-suppression { ratio | pps max-pps } undo broadcast-suppression
View
Layer 2 Ethernet interface view, port group view
Default level
2: System level
23
Parameters
ratio: Sets the broadcast suppression threshold as a percentage of the transmission capability of the Ethernet interface. The smaller the percentage, the less broadcast traffic is allowed to pass through. For devices that support linear suppression mode, this argument ranges from 1 to 100 percent. The system default is 100. For devices that do not support linear suppression mode, this argument ranges from 5 to 100 percent. The system default is 100.
pps max-pps: Specifies the maximum number of broadcast packets that the Ethernet interface can forward per second, ranging from 1 to 148,810 pps. When the pps keyword is specified with a suppression granularity larger than 1, the value of the pps keyword must be no smaller than, and an integer multiple of, the granularity. The broadcast suppression threshold value configured through this keyword on an Ethernet interface may not be the one that actually takes effect. To display the actual broadcast suppression threshold value on an Ethernet interface, use display interface. When the pps keyword is not specified or the suppression granularity is set to 1, the value of the pps keyword must be no smaller than 1; and the broadcast suppression threshold value is the one that actually takes effect on the Ethernet interface.
Examples
# Set the broadcast suppression threshold to 20% on Ethernet 1/1.
<Sysname> system-view [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] broadcast-suppression 20
# Set the broadcast suppression threshold to 20% on all ports in the manual port group named group1.
<Sysname> system-view [Sysname] port-group manual group1 [Sysname-port-group-manual-group1] group-member ethernet 2/0 [Sysname-port-group-manual-group1] group-member ethernet 2/1 [Sysname-port-group-manual-group1] broadcast-suppression 20
display loopback-detection
Description
Use display loopback-detection to display the status of the loopback detection function. If loopback detection is enabled, this command also displays the detection interval and ports in a loop condition.
Syntax
display loopback-detection [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
24
Parameters
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display information about loopback detection.
<Sysname> display loopback-detection Loopback detection is running. Detection interval is 30 seconds. No port is detected with loopback.
Description
Loopback detection interval is 30 seconds. No loops are detected on ports.
Syntax
display port-group manual [ all | name port-group-name ] [ | { begin | exclude | include } regularexpression ]
View
Any view
Default level
2: System level
Parameters
all: Displays information about all port groups. name port-group-name: Specifies the name of a port group, a string of 1 to 32 characters. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
25
begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display the names of all port groups.
<Sysname> display port-group manual The following manual port group exist(s): group1 group2
display counters
Description
Use display counters to display traffic statistics for interfaces. If an interface type is specified, this command displays traffic statistics for all interfaces of the specified type. If no interface type is specified, this command displays traffic statistics for all interfaces that have traffic counters.
Syntax
display counters { inbound | outbound } interface [ interface-type ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
inbound: Displays inbound traffic statistics. outbound: Displays outbound traffic statistics.
26
interface-type: Specifies an interface type. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display inbound traffic statistics for all GigabitEthernet interfaces.
<Sysname> display counters inbound interface gigabitethernet Interface GE1/1 GE1/2 GE1/3 GE1/4 Total(pkts) 100 0 Overflow 0 Broadcast(pkts) 100 0 Overflow 0 Multicast(pkts) Err(pkts) 0 0 Overflow 0 0 0 Overflow 0
Overflow: more than 14 decimal digits(7 digits for column "Err"). --: not supported.
Description
Abbreviated interface name. Total number of packets received or sent through the interface. Total number of broadcast packets received or sent through the interface. On an RPR physical port, all broadcast and multicast packets received or sent are displayed as multicast packets. Total number of multicast packets received or sent through the interface. On an RPR physical port, all broadcast and multicast packets received or sent are displayed as multicast packets. Total number of error packets received or sent through the interface. The command displays Overflow in the following cases:
Multicast (pkts) Err (pkts) Overflow: more than 14 decimal digits (7 digits for column "Err"). --: not supported.
The data length of an error statistic is larger than 7 decimal digits. The data length of a statistic of any other type is larger than 14 decimal
digits. The statistical item is not supported.
If no interface type is specified, the command displays traffic rate statistics for all up interfaces that have traffic counters.
For devices where flow-interval is available in system view, you can use flow-interval to set the sampling interval. The default sampling interval is 300 seconds. Related commands: flow-interval.
Syntax
display counters rate { inbound | outbound } interface [ interface-type ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
inbound: Displays inbound traffic rate statistics. outbound: Displays outbound traffic rate statistics. interface-type: Specifies an interface type. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display the inbound traffic rate statistics for all GigabitEthernet interfaces.
<Sysname> display counters rate inbound interface gigabitethernet Interface GE1/1 GE1/2 GE1/3 Total(pkts/sec) 200 300 300 Broadcast(pkts/sec) 100 200 200 Multicast(pkts/sec) 100 100 100
Description
Abbreviated interface name. Average rate (in packets per second) of received or sent packets during the sampling interval. Average rate (packets per second) of received or sent broadcast packets during the sampling interval. On an RPR physical port, all broadcast and multicast packets received or sent are displayed as multicast packets. 28
Broadcast (pkts/sec)
Field
Multicast (pkts/sec)
Description
Average rate (packets per second) of received or sent multicast packets during the sampling interval. On an RPR physical port, all broadcast and multicast packets received or sent are displayed as multicast packets. The command displays Overflow in the following cases:
The data length of an error statistic is larger than 7 decimal digits. The data length of a statistic of any other type is larger than 14 decimal
digits. The statistical item is not supported.
flow-interval
Description
Use flow-interval to set the statistics polling interval for all interfaces. Use undo flow-interval to restore the default interval.
Syntax
flow-interval interval undo flow-interval
View
System view
Default level
2: System level
Parameters
interval: Sets the statistics polling interval, in seconds. This value ranges from 5 to 300 and must be a multiple of 5. The default value is 300.
Examples
# Set the statistics polling interval to 100 seconds for all interfaces.
<Sysname> system-view [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] flow-interval 100
group-member
Description
Use group-member to assign Ethernet interfaces to a port group. Use undo group-member to remove Ethernet interfaces from a port group. By default, a port group does not contain any member ports. If you use group-member interface-type interface-start-number to interface-type interface-end-number to add multiple ports in batch to the specified port group, make sure that all ports are of the same type and on the same interface card. The interface-end-number argument must be greater than the interface-startnumber argument.
29
Syntax
group-member interface-list undo group-member interface-list
View
Port group view
Default level
2: System level
Parameters
interface-list: Specifies an Ethernet interface list, in the form of interface-type interface-number [ to interface-type interface-number ] &<1-10>, where &<1-10> indicates that you can specify up to 10 interfaces or interface ranges.
Examples
# Assign Ethernet 1/1 to the port group named group1.
<Sysname> system-view [Sysname] port-group manual group1 [Sysname-port-group-manual-group1] group-member ethernet 1/1
jumboframe enable
Description
Use jumboframe enable to allow jumbo frames with the specified length to pass through an Ethernet interface, a group of Ethernet interfaces, or all Ethernet interfaces. Use undo jumboframe enable to prevent jumbo frames from passing through an Ethernet interface, a group of Ethernet interfaces, or all Ethernet interfaces. By default, the device allows jumbo frames within the specified length to pass through Layer 2 Ethernet interfaces. When specified in Ethernet interface view, the command applies only to the Ethernet interface. When specified in port group view, the command applies to all ports in the port group.
Syntax
jumboframe enable [ value ] undo jumboframe enable
View
Layer 2 Ethernet interface view, port group view
Default level
2: System level
Parameters
value: Specifies the maximum length of Ethernet frames that are allowed to pass through the interface.
Examples
# Enable jumbo frames to pass through all Ethernet interfaces in port group group1.
30
<Sysname> system-view [Sysname] port-group manual group1 [Sysname-port-group-manual-group1] group-member ethernet 2/0 [Sysname-port-group-manual-group1] jumboframe enable
Syntax
loopback-detection control enable undo loopback-detection control enable
View
Layer 2 Ethernet interface view
Default level
2: System level
Parameters
None
Examples
# Enable loopback detection control on the trunk port Ethernet 1/1.
<Sysname> system-view [Sysname] loopback-detection enable [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] port link-type trunk [Sysname-Ethernet1/1] loopback-detection enable [Sysname-Ethernet1/1] loopback-detection control enable
31
loopback-detection enable
Description
Use loopback-detection enable to enable loopback detection globally in system view or on interfaces in Ethernet interface or port group view. To use loopback detection on an Ethernet interface, enable the function both globally and on the port. Use undo loopback-detection enable to disable loopback detection globally or on Ethernet interfaces. In system view, undo loopback-detection enable disables loopback detection on all interfaces. By default, loopback detection is disabled on all Ethernet interfaces. If an interface receives a packet that it sent out, a loop has occurred. Loops can cause broadcast storms, which degrade network performance. You can enable loopback detection to detect loops on an interface. To alleviate the impact of looping, the device performs the actions specified in Table 10. Table 10 Actions taken upon detection of a loop condition Port type Actions Place the interface in controlled mode. The interface discards all incoming packets, but
Access port still forwards outgoing traffic.
Generate traps. Delete all MAC address entries for the interface. Generate traps. If loopback detection control is enabled, put the interface in controlled mode. The
interface discards all incoming packets, but still forwards outgoing packets.
Delete all MAC address entries for the interface. Related commands: loopback-detection control enable.
Syntax
loopback-detection enable undo loopback-detection enable
View
System view, Layer 2 Ethernet interface view
Default level
2: System level
Parameters
None
Examples
# Enable loopback detection on Ethernet 1/1.
<Sysname> system-view [Sysname] loopback-detection enable [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] loopback-detection enable
32
loopback-detection interval-time
Description
Use loopback-detection interval-time to set the loopback detection interval. Use undo loopback-detection interval-time to restore the default loopback detection interval. The default loopback detection interval is 30 seconds. Related commands: display loopback-detection.
Syntax
loopback-detection interval-time time undo loopback-detection interval-time
View
System view
Default level
2: System level
Parameters
time: Sets the loopback detection interval, ranging from 5 to 300 seconds.
Examples
# Set the loopback detection interval to 10 seconds.
<Sysname> system-view [Sysname] loopback-detection interval-time 10
Syntax
loopback-detection per-vlan enable undo loopback-detection per-vlan enable
View
Layer 2 Ethernet interface view
Default level
2: System level
33
Parameters
None
Examples
# Enable loopback detection in all VLANs on hybrid port Ethernet 1/1.
<Sysname> system-view [Sysname] loopback-detection enable [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] loopback-detection enable [Sysname-Ethernet1/1] port link-type trunk [Sysname-Ethernet1/1] loopback-detection per-vlan enable
mdi
Description
Use mdi to configure the MDI mode of a copper Ethernet interface. This command is not applicable to fiber ports. Use undo mdi to restore the default. By default, Ethernet interfaces operate in auto MDI mode.
Syntax
mdi { across | auto | normal } undo mdi
View
Layer 2 Ethernet interface view
Default level
2: System level
Parameters
across: Sets the MDI mode to across. In across mode, pins 1 and 2 are receive pins, and pins 3 and 6 are transmit pins. auto: Sets the MDI mode to auto. In auto mode, the port negotiates pin roles with its peer. normal: Sets the MDI mode to normal. In normal mode, pins 3 and 6 are receive pins, and pins 1 and 2 are transmit pins.
Examples
# Set Ethernet 1/1 to operate in across MDI mode.
<Sysname> system-view [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] mdi across
34
multicast-suppression
Description
Use multicast-suppression to set the multicast suppression threshold on an Ethernet interface or a group of Ethernet interfaces. Use undo multicast-suppression to restore the default. By default, Ethernet interfaces do not suppress multicast traffic. If you execute this command in Ethernet interface view, the configuration takes effect only on the Ethernet interface. If you execute this command in port group view, the configuration takes effect on all ports in the port group. When multicast traffic exceeds the threshold you configure, the system discards multicast packets until multicast traffic drops below the threshold. If you set different multicast suppression thresholds multiple times, the last one configured takes effect.
Syntax
multicast-suppression { ratio | pps max-pps } undo multicast-suppression
View
Layer 2 Ethernet interface view, port group view
Default level
2: System level
Parameters
ratio: Sets the multicast suppression threshold as a percentage of the transmission capability of an Ethernet interface, ranging from 1 to 100 percent. The smaller the percentage, the less multicast traffic is allowed to pass through. pps max-pps: Specifies the maximum number of multicast packets that the interface can forward per second, ranging from 1 to 148,810 pps. When the pps keyword is specified with a suppression granularity larger than 1, the value of the pps keyword must be no smaller than, and an integer multiple of, the granularity. The multicast suppression threshold value configured through this keyword on an Ethernet interface may not be the one that actually takes effect. To display the actual multicast suppression threshold value on an Ethernet interface, use display interface. When the pps keyword is not specified or the suppression granularity is set to 1, the value of the pps keyword must be no smaller than 1; and the multicast suppression threshold value is the one that actually takes effect on the Ethernet interface.
Examples
# Set the multicast threshold to 20% on Ethernet 1/1.
<Sysname> system-view [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] multicast-suppression 20
# Set the multicast threshold to 20% on all ports in the port group named group1.
<Sysname> system-view
35
[Sysname] port-group manual group1 [Sysname-port-group-manual-group1] group-member ethernet 2/0 [Sysname-port-group-manual-group1] group-member ethernet 2/1 [Sysname-port-group-manual-group1] multicast-suppression 20
port-group manual
Description
Use port-group manual to create a port group or view a port group. Use undo port-group manual to remove a port group. By default, no port groups exist.
Syntax
port-group manual port-group-name undo port-group manual port-group-name
View
System view
Default level
2: System level
Parameters
port-group-name: Sets the port group name, a string of 1 to 32 characters.
Examples
# Create a port group named group1.
<Sysname> system-view [Sysname] port-group manual group1 [Sysname-port-group-manual-group1]
unicast-suppression
Description
Use unicast-suppression to set the unknown unicast suppression threshold on an Ethernet interface or a group of Ethernet interfaces. Use undo unicast-suppression to restore the default. By default, Ethernet interfaces do not suppress unknown unicast traffic. If you execute this command in Ethernet interface view, the configurations take effect only on the interface. If you execute this command in port group view, the configurations take effect on all ports in the port group. When unknown unicast traffic exceeds the unknown unicast suppression threshold, the system discards unknown unicast packets until the unknown unicast traffic drops below the threshold. If you set different unknown unicast suppression thresholds multiple times, the last one configured takes effect.
36
Syntax
unicast-suppression { ratio | pps max-pps } undo unicast-suppression
View
Layer 2 Ethernet interface view, port group view
Default level
2: System level
Parameters
ratio: Sets the unknown unicast suppression threshold as a percentage of the transmission capability of the Ethernet interface, ranging from 1 to 100 percent. The smaller the percentage, the less unknown unicast traffic is allowed to pass through. pps max-pps: Specifies the maximum number of unknown unicast packets that the Ethernet interface can forward per second, ranging from 1 to 148,810 pps. When the pps keyword is specified with a suppression granularity larger than 1, the value of the pps keyword must be no smaller than, and an integer multiple of, the granularity. The unknown unicast suppression threshold value configured through this keyword on an Ethernet interface may not be the one that actually takes effect. To display the actual unknown unicast suppression threshold value on an Ethernet interface, use display interface. When the pps keyword is not specified or the suppression granularity is set to 1, the value of the pps keyword must be no smaller than 1; and the unknown unicast suppression threshold value is the one that actually takes effect on the Ethernet interface.
Examples
# Set the unknown unicast threshold to 20% on Ethernet 1/1.
<Sysname> system-view [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] unicast-suppression 20
# Set the unknown unicast threshold to 20% on all ports of port group group1.
<Sysname> system-view [Sysname] port-group manual group1 [Sysname-port-group-manual-group1] group-member ethernet 2/0 [Sysname-port-group-manual-group1] group-member ethernet 2/1 [Sysname-port-group-manual-group1] unicast-suppression 20
virtual-cable-test
Description
Use virtual-cable-test to test the cable connection of an Ethernet interface. The test results are returned within five seconds. Fiber interfaces do not support this command. The following cable states are available: NormalThe cable is in good condition. AbnormalAny fault other than a short or open circuit is detected. Abnormal (open)An open circuit is detected.
37
If the cable connection is normal, the cable length that is displayed is the total length of the cable. If the cable connection has a fault, the cable length that is displayed is the length from the local port to the faulty point. If the link of an Ethernet interface is up, testing its cable connection will cause the link to go down and then up. NOTE: The test result is for reference only. The cable length detection margin of error is up to 5 meters (about 16 feet). If a test item is not available, a hyphen (-) is displayed. Command and router compatibility: Command A-MSR900
Supported only on fixed Layer 2 Ethernet interfaces
A-MSR20-1X
Supported only on fixed Layer 2 Ethernet interfaces
A-MSR20
Supported only on fixed Layer 2 Ethernet interfaces
A-MSR30
Supported only on A-MSR30 routers installed with XMIMFSW modules
A-MSR50
virtual-cable-test
No
Syntax
virtual-cable-test
View
Layer 2 Ethernet interface view
Default level
2: System level
Parameters
None
Examples
# Test the cable connection of Ethernet 1/1.
<Sysname> system-view [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] virtual-cable-test Cable status: normal, 1 metres Pair Impedance mismatch: Pair skew: - ns Pair swap: Pair polarity: Insertion loss: - db Return loss: - db Near-end crosstalk: - db
38
NOTE: The Pair Impedance mismatch field can contain the following values: YesMatch NoMismatch
Syntax
mac-address mac-address undo mac address
View
Layer 3 Ethernet interface view, Layer 3 Ethernet subinterface view
Default level
2: System level
Parameters
mac-address: Specifies a MAC address, in the format of H-H-H.
Examples
# Configure the MAC address of Layer 3 Ethernet interface Ethernet 1/1 as 0001-0001-0001.
<Sysname> system-view [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] mac-address 1-1-1
mtu
Description
Use mtu to set the MTU for an Ethernet interface or subinterface. Use undo mtu to restore the default.
39
By default, the MTU of an Ethernet interface or subinterface is 1500 bytes. As the size of MTU decreases, the number of fragments grows. When setting MTU for an interface, you should consider QoS queue lengths (for example, the default FIFO queue length is 75) to avoid setting the value too small and causing QoS queuing to drop packets. For best results, fine-tune MTU with the mtu command or QoS queue lengths with the qos fifo queue-length command. For more information, see ACL and QoS Command Reference.
Syntax
mtu size undo mtu
View
Layer 3 Ethernet interface view, Layer 3 Ethernet subinterface view
Default level
2: System level
Parameters
size: Sets the MTU size in bytes. MTU ranges vary by interface type.
Examples
# Set the MTU for the Layer 3 Ethernet interface Ethernet 2/0 to 1430 bytes.
<Sysname> system-view [Sysname] interface ethernet 2/0 [Sysname-Ethernet2/0] mtu 1430
# Set the MTU for the Layer 3 Ethernet subinterface Ethernet 2/0.1 to 1400 bytes.
<Sysname> system-view [Sysname] interface ethernet 2/0.1 [Sysname-Ethernet2/0.1] mtu 1400
promiscuous
Description
Use promiscuous to configure a Layer 3 Ethernet interface to operate in promiscuous mode. Use undo promiscuous to restore the default operating mode. By default, a Layer 3 Ethernet interface does not operate in promiscuous mode.
Syntax
promiscuous undo promiscuous
View
Layer 3 Ethernet interface view
Default level
2: System level
40
Parameters
None
Examples
# Configure Ethernet 2/0 to operate in promiscuous mode.
<Sysname> system-view [Sysname] interface ethernet 2/0 [Sysname-Ethernet2/0] promiscuous
qmtoken
Description
Use qmtoken to configure the maximum number of tokens that the QoS token function assigns to a Layer 3 Ethernet interface. Use undo qmtoken to restore the default. The qos qmtoken command can cause an Ethernet interface to automatically shut down and come back up. Command and router compatibility: Command A-MSR900 A-MSR20-1X
Yes. Not available on the A-MSR20-12. qmtoken No. Value range for number: 4 to 1024, 512 by default. Yes. Value range for number: 4 to 1024, 512 by default.
A-MSR20
A-MSR30
Yes. Value range for number: 4 to 1024. The default value of number is 512 on A-MSR30 routers.
A-MSR50
Yes. Value range for number: 4 to 1024, 512 by default.
Syntax
qmtoken number undo qmtoken
View
Layer 3 Ethernet interface view
Default level
2: System level
Parameters
number: Sets the maximum number of tokens that the QoS token function assigns to the Layer 3 Ethernet interface. The token count represents the maximum number of packets that the bottom layer queue can hold for the interface. This argument must be a power of 2, ranging from 4 to 1,024.
Examples
# Set the maximum number of tokens to 8 on interface GigabitEthernet 0/0.
<Sysname> system-view [Sysname] interface gigabitethernet 0/0 [Sysname-GigabitEthernet0/0] qmtoken 8
41
Syntax
bandwidth bandwidth-value undo bandwidth
View
Serial interface view, AUX interface view, Cellular interface view, E1-F interface view, T1-F interface view, ISDN BRI interface view, CE3 interface view, CT3 interface view
Default level
2: System level
Parameters
bandwidth-value: Intended bandwidth for the interface, ranging from 1 to 4,294,967,295 kbps.
Examples
# Set the intended bandwidth to 50 kbps for interface Serial 2/0.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] bandwidth 50
42
default
Description
Use default to restore the default settings of the interface.
Syntax
default
View
Serial interface view, AUX interface view, Cellular interface view, E1-F interface view, T1-F interface view, ISDN BRI interface view, CE3 interface view, CT3 interface view, CE1/PRI interface view, CT1/PRI interface view
Default level
2: System level
Parameters
None
Examples
# Restore the default settings of serial interface serial 2/0.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] default This command will restore the default settings. Continue? [Y/N]:y
description
Description
Use description to change the text description for the interface. Use undo description to restore the default. The default description of a WAN interface is interface name plus Interface. For example, Serial2/0 Interface.
Syntax
description text undo description
View
Serial interface view, AUX interface view, Cellular interface view, E1-F interface view, T1-F interface view, ISDN BRI interface view, CE3 interface view, CT3 interface view, CE1/PRI interface view, CT1/PRI interface view
Default level
2: System level
43
Parameters
text: The interface description, a case-sensitive string of 1 to 80 characters. The description can contain letters, digits, special characters (including ~ ! @ # $ % ^ & * ( ) - _ + = { } [ ] | \ : ; " ' < > , . /), spaces, and other Unicode characters and symbols. Each Unicode character takes the space of two regular characters.
Examples
# Change the description of serial interface Serial 2/0 to router-interface.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] description router-interface
shutdown
Description
Use shutdown to shut down an interface. Use undo shutdown to bring up an interface. By default, a WAN interface is up. When you modify parameters on a WAN interface, use shutdown, and then undo shutdown, to make your modifications take effect.
Syntax
shutdown undo shutdown
View
Serial interface view, AUX interface view, Cellular interface view, E1-F interface view, T1-F interface view, ISDN BRI interface view, CE3 interface view, CT3 interface view, CE1/PRI interface view, CT1/PRI interface view
Default level
2: System level
Parameters
None
Examples
# Shut down serial interface serial 2/0.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] shutdown
44
Syntax
async mode { flow | protocol } undo async mode
View
Asynchronous serial interface view, AUX interface view
Default level
2: System level
Parameters
flow: Configures the interface to operate in flow mode, or named interactive mode. In this mode, the two ends interact to set up a link after the physical link is set up. During this process, the calling party sends configuration commands to the called party (this is the same as manually entering configuration commands at the remote end), sets the link layer protocol operating parameters of the called party, and then sets up the link. This approach normally applies to man-machine interactions such as dial-in access. protocol: Configures the interface to operate in protocol mode. In protocol mode, the interface uses configured link layer protocol parameters to set up a link with the remote end after its physical link is established.
Examples
# Configure asynchronous serial interface 1/0 to operate in flow mode.
<Sysname> system-view [Sysname] interface async 1/0 [Sysname-async1/0] async mode flow
baudrate
Description
Use baudrate to configure the baud rate for a serial interface. Use undo baudrate to restore the default. By default, the baud rate is 64,000 bps on a synchronous serial interface.
45
The following baud rates are available with synchronous serial interfaces: 1,200 bps, 2,400 bps, 4,800 bps, 9,600 bps, 19,200 bps, 38,400 bps, 56,000 bps, 57,600 bps, 64,000 bps, 72,000 bps, 1 15,200 bps, 128,000 bps, 192,000 bps, 256,000 bps, 384,000 bps, 512,000 bps, 1,024,000 bps, 2,048,000 bps, and 4,096,000 bps. The range of baud rates available with synchronous serial interfaces depends on the applied physical electric specifications. For V.24 DTE/DCE, the available baud rate range from 1,200 bps to 64,000 bps. For V.35 DCE/DCE, X.21 DTE/DCE, EIA/TIA-449 DTE/DCE, and EIA-530 DTE/DCE, the available baud rate ranges from 1,200 bps to 4,096,000 bps.
NOTE: You must take the physical electric specifications of the cable into consideration when setting the baud rate for a
serial interface.
Syntax
baudrate baudrate undo baudrate
View
Synchronous serial interface view
Default level
2: System level
Parameters
baudrate: Specifies the baud rate (in bps) to be set for a serial interface.
Examples
# Set the baud rate of synchronous serial interface 2/0 at DCE side to 1 15,200 bps.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] baudrate 115200
clock
Description
Use clock to configure the clock selection mode for the synchronous serial interface on the DTE side. Use undo clock to restore the default. By default, the clock selection mode for a synchronous serial interface on DTE side is dteclk1. When a synchronous serial interface operates as the DTE device, the interface accepts the clock provided by the DCE. Because transmitting and receiving clocks of synchronization devices are independent, the receiving clock of a DTE device can be either the transmitting or receiving clock of the DCE device, so is the transmitting clock. Therefore, five clock options are available for a DTE device. In Figure 1, TxClk represents the transmitting clock, and RxClk represents the receiving clock.
46
Table 1 describes the clock selection options for a synchronous serial interface working as DTE and DCE 1 respectively. In the table, the clock preceding the equal sign (=) is the DTE clock and the one that follows is the DCE clock. Table 11 Clock options available for a synchronous serial interface working as DTE Clock selection option
DTEclk1 DTEclk2 DTEclk3 DTEclk4 DTEclk5
Description
TxClk = TxClk, RxClk = RxClk TxClk = TxClk, RxClk = TxClk TxClk = RxClk, RxClk = TxClk TxClk = RxClk, RxClk = RxClk TxClk = Local, RxClk = Local
Syntax
clock { dteclk1 | dteclk2 | dteclk3 | dteclk4 | dteclk5 | dteclkauto } undo clock
View
Synchronous serial interface view
Default level
2: System level
Parameters
dteclk1: Sets the interface clock selection mode to DTE clock option 1. dteclk2: Sets the interface clock selection mode to DTE clock option 2. dteclk3: Sets the interface clock selection mode to DTE clock option 3. dteclk4: Sets the interface clock selection mode to DTE clock option 4. dteclk5: Sets the interface clock selection mode to DTE clock option 5. dteclkauto: Sets the interface clock selection mode to DTE autonegotiation.
Examples
# Set the synchronous serial interface working as DTE to use the clock selection option dteclk2.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] clock dteclk2
47
code
Description
Use code to configure the digital signal coding format on the synchronous serial interface. Use undo code to restore the default format, nrz.
Syntax
code { nrz | nrzi } undo code
View
Synchronous serial interface view
Default level
2: System level
Parameters
nrz: Sets the digital signal coding format to non-return-to-zero. nrzi: Sets the digital signal coding format to non-return-to-zero inverted.
Examples
# Set the digital signal coding format to NRZI on synchronous serial interface 2/0.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] code nrzi
crc
Description
Use crc to configure CRC mode for a synchronous serial interface. Use undo crc to restore the default, 16-bit CRC.
Syntax
crc { 16 | 32 | none } undo crc
View
Synchronous serial interface view
Default level
2: System level
Parameters
16: Adopts 16-bit cyclic redundancy check. 32: Adopts 32-bit cyclic redundancy check. none: Disables CRC.
48
Examples
# Configure synchronous serial interface Serial 2/0 to adopt 32-bit CRC.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] crc 32
detect
Description
Use detect to enable data carrier detection and level detection on a serial interface. Use undo detect to disable data carrier detection and level detection on a serial interface. By default, data carrier and level detection is enabled on serial interfaces. If level detection is disabled on an asynchronous serial interface, the system automatically reports that the state of the serial interface is up with both DTR and DSR being up, without detecting whether a cable is connected. If level detection is enabled on the interface, the system detects the DSR signal in addition to the external cable. The interface is only regarded as up when the detected DSR signal is valid. Otherwise, it is regarded as down. When determining whether a synchronous serial interface is up or down, the system detects by default the DSR signal, DCD signal, and presence of a cable connection. Only when the three signals are all valid will the interface be regarded as up. If level detection is disabled, the system considers that the interface is up when both DTR and DSR are up, after detecting the cable connection.
Syntax
Asynchronous serial interface: detect dsr-dtr undo detect dsr-dtr Synchronous serial interface: detect { dcd | dsr-dtr } undo detect { dcd | dsr-dtr }
View
Synchronous serial interface view, asynchronous serial interface view
Default level
2: System level
Parameters
dsr-dtr: Detects data set ready and data terminal ready signals of DSU/CSU. dcd: Detects the data carrier detect signal of the DSU/CSU on the serial interface.
Examples
# Enable data carrier detection on synchronous serial interface 2/0.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] detect dcd
49
Syntax
display interface [ aux ] [ brief [ down ] ] [ | { begin | exclude | include } regular-expression ] display interface aux interface-number [ brief ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
interface-number: Specifies an AUX interface by number. brief: Displays brief interface information. If you do not specify this keyword, the command displays detailed interface information. down: Displays information about all interfaces in the DOWN state and the causes. If you do not specify this keyword, the command displays information about interfaces in all states. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display detailed information about interface AUX 0.
<Sysname> display interface aux 0 Aux0 current state: UP Line protocol current state: UP Description: Aux0 Interface The Maximum Transmit Unit is 1500, Hold timer is 10(sec) Internet Address is 6.6.5.5/24 Primary Link layer protocol is PPP LCP opened, IPCP opened Output queue : (Urgent queuing : Size/Length/Discards) Output queue : (Protocol queuing : Size/Length/Discards) Output queue : (FIFO queuing : Size/Length/Discards) 0/100/0 0/500/0 0/75/0
50
Physical layer is asynchronous, Baudrate is 9600 bps Phy-mru is 1700 Last clearing of counters: Never Last 300 seconds input rate 0.00 bytes/sec, 0 bits/sec, 0.00 packets/sec Last 300 seconds output rate 0.00 bytes/sec, 0 bits/sec, 0.00 packets/sec Input: 0 packets, 0 bytes 0 broadcasts, 0 multicasts 0 errors, 0 runts, 0 giants 0 CRC, 0 align errors, 0 overruns 0 dribbles, 0 aborts, 0 no buffers 0 frame errors Output:0 packets, 0 bytes 0 errors, 0 underruns, 0 collisions 0 deferred DCD=DOWN DTR=UP DSR=DOWN RTS=UP CTS=DOWN
# Display brief information about all AUX interfaces in the DOWN state.
<Sysname> display interface aux brief down The brief information of interface(s) under route mode: Link: ADM - administratively down; Stby - standby Interface Aux0 Link Cause DOWN Not connected
51
Field
Description
The MTU of the AUX interface. The MTU defaults to 1,500 bytes, which means that packets larger than 1,500 bytes will be fragmented before being sent. If fragmentation is not allowed, the packet will be dropped. Hold timer refers to the lifetime of a packet in a network. It is the maximum time that a packet can exist in the network before being dropped. The hold timer of packets on the AUX interface is set to 10 seconds. IP address of the AUX interface. Link layer protocol of the AUX interface. A PPP connection was successfully established. Urgent queuing: Current number of packets in the queue, maximum number of packets that can stay in the queue, and number of dropped packets. Link layer protocol packets, such as PPP negotiation packets and keepalive packets, enter this queue. Protocol queuing: Current number of packets in the queue, maximum number of packets that can stay in the queue, and number of dropped packets. Packets with IP precedence of 6 enter this queue.
Internet Address is 6.6.5.5/24 Primary Link layer protocol is PPP LCP opened, IPCP opened
Output queue : (FIFO queuing : Size/Length/Discards) 0/75/0 Physical layer is asynchronous, Baudrate is 9600 bps Phy-mru is 1700 Last clearing of counters: Never Last 300 seconds input rate 0.00 bytes/sec, 0 bits/sec, 0.00 packets/sec Last 300 seconds output rate 0.00 bytes/sec, 0 bits/sec, 0.00 packets/sec
FIFO queuing: Current number of packets in the FIFO queue, maximum number of packets that can stay in the queue, and number of dropped packets. Physical layer status and bandwidth of the AUX interface. The maximum size of packets that the AUX interface can receive is 1700 bytes. The last time when statistics on the AUX interface were cleared. Average input rate over the last 300 seconds in Bps, bps, and pps. Average output rate over the last 300 seconds in Bps, bps, and pps.
52
Field
Description
Input statistics on the AUX interface:
broadcasts: Number of received broadcast packets. multicasts: Number of received multicast packets. errors: Number of error packets detected on the physical
layer.
collisions: Number of packets with collisions detected. deferred: Number of deferred or timeout packets.
DCD=DOWN DTR=UP DSR=DOWN RTS=UP CTS= DOWN The brief information of interface(s) under route mode: Status of DSR, DTR, DCD, RTS, and CTS signals. For more information about DSR, DTR, and DCD, see the detect command. Brief information about Layer 3 interfaces. Link status of the interface:
Interface
53
Field
Description
Physical link state of the interface:
Link
UPThe link is up. ADMThe link has been administratively shut down. To
recover its physical state, use undo shutdown. Protocol connection state of the interface, which can be UP, DOWN, or UP(s). The main IP address of the interface. Description of the interface. The cause of a DOWN physical link. If the port was shut down with the shutdown command, this field displays Administratively. To restore the physical state of the interface, use undo shutdown.
Cause
Syntax
display interface [ serial ] [ brief [ down ] ] [ | { begin | exclude | include } regular-expression ] display interface serial interface-number [ brief ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
interface-number: Specifies a serial interface by number. brief: Displays brief interface information. If you do not specify this keyword, the command displays detailed interface information. down: Displays information about all interfaces in the DOWN state and the causes. If you do not specify this keyword, this command displays information about interfaces in all states. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
54
include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display detailed information about interface Serial 7/1.
<Sysname> display interface serial 7/1 Serial7/1 current state: UP Line protocol current state: UP Description: Serial7/1 Interface The Maximum Transmit Unit is 1500, Hold timer is 10(sec) Internet Address is 9.9.9.6/24 Primary Link layer protocol is PPP LCP opened, IPCP opened Output queue : (Urgent queuing : Size/Length/Discards) Output queue : (FIFO queuing : Size/Length/Discards) Physical layer is synchronous, Baudrate is 64000 bps Interface is DCE, Cable type is V35, Clock mode is DCECLK Last clearing of counters: Never Last 70 seconds input rate 2.40 bytes/sec, 19 bits/sec, 0.20 packets/sec Last 70 seconds output rate 2.40 bytes/sec, 19 bits/sec, 0.20 packets/sec Input: 6668 packets, 80414 bytes 0 broadcasts, 0 multicasts 0 errors, 0 runts, 0 giants 0 CRC, 0 align errors, 0 overruns 0 dribbles, 0 aborts, 0 no buffers 0 frame errors Output:6670 packets, 80446 bytes 0 errors, 0 underruns, 0 collisions 0 deferred DCD=UP DTR=UP DSR=UP RTS=UP CTS=UP 0/100/0 0/500/0 0/75/0 Output queue : (Protocol queuing : Size/Length/Discards)
# Display brief information about all serial interfaces in the DOWN state.
<Sysname> display interface serial brief down The brief information of interface(s) under route mode: Link: ADM - administratively down; Stby - standby Interface S7/1 Link Cause ADM Administratively
55
Internet Address is 9.9.9.6/24 Primary Link layer protocol is PPP LCP opened, IPCP opened
Field
Description
Input statistics on the serial interface:
broadcasts: Number of received broadcast packets. multicasts: Number of received multicast packets. errors: Number of error packets detected on the physical
layer.
collisions: Number of packets with collisions detected. deferred: Number of deferred or timeout packets.
DCD=UP DTR=UP DSR=UP RTS=UP CTS=UP The brief information of interface(s) under route mode Status of DSR, DTR, DCD, RTS, and CTS signals. For more information about DSR, DTR, and DCD, see the detect command. Brief information about Layer 3 interfaces. Link status of the interface:
Interface
57
Field
Description
Physical link state of the interface:
Link
UPThe link is up. ADMThe link has been administratively shut down. To
recover its physical state, use undo shutdown. Protocol connection state of the interface, which can be UP, DOWN, or UP(s). The main IP address of the interface. Description of the interface. The cause of a DOWN physical link. If the port was shut down with the shutdown command, this field displays Administratively. To restore the physical state of the interface, use undo shutdown.
Cause
eliminate-pulse
Description
Use eliminate-pulse to eliminate pulses with a width less than 3.472 s, thus increasing signal reliability. This is useful when you experience serious line interference. Use undo eliminate-pulse to restore the default. The default is to eliminate pulses with a width less than 1.472 s. When the baud rate of the interface is 1 15,200 bps, you cannot configure this command. After you configure this command, the baud rate of the interface cannot be set to 1 15,200 bps. NOTE: This command is restricted to the 8ASE and 16ASE interface cards and modules.
Syntax
eliminate-pulse undo eliminate-pulse
View
Asynchronous serial interface view
Default level
2: System level
Parameters
None
Examples
# Eliminate pulses with a width less than 3.472 s on interface Async 1/0.
<Sysname> system-view [Sysname] interface async 1/0 [Sysname-Async1/0] eliminate-pulse
58
idle-mark
Description
Use idle-mark to configure the line idle code of the synchronous serial interface to 0xFF. Use undo idle-mark to restore the default, 0x7E. In most cases, a synchronous serial interface uses 0x7E to identify the idle state of the line. You may need to set the line idle code to 0xFF, however, to interoperate with devices that use 0xFF as the line idle code.
Syntax
idle-mark undo idle-mark
View
Synchronous serial interface view
Default level
2: System level
Parameters
None
Examples
# Set the line idle code of synchronous serial interface 2/0 to 0xFF.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] idle-mark
invert receive-clock
Description
Use invert receive-clock to invert the receive-clock signal on a DTE-side synchronous serial interface. Use undo invert receive-clock to restore the default. By default, receive-clock signal inversion is disabled on DTE-side synchronous serial interfaces. You may need to invert the receive-clock signal on a DTE-side serial interface to eliminate a half clockperiod delay on the line. This command is only necessary for some special DCE devices. In common applications, do not invert the clock. Related command: physical-mode, invert transmit-clock, and clock.
Syntax
invert receive-clock undo invert receive-clock
View
Synchronous serial interface view
59
Default level
2: System level
Parameters
None
Examples
# Invert the receive-clock on DTE-side synchronous serial interface 2/0.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] invert receive-clock
invert transmit-clock
Description
Use invert transmit-clock to invert the transmit-clock signal on A DTE-side synchronous serial interface. Use undo invert transmit-clock to restore the default. By default, transmit-clock signal inversion is disabled on DTE-side synchronous serial interfaces. You may need to invert the transmit-clock signal on a DTE-side serial interface to eliminate a half clockperiod delay on the line. This command is only necessary for some special DCE devices. In common applications, do not invert the clock. Related command: physical-mode, invert receive-clock, and clock.
Syntax
invert transmit-clock undo invert transmit-clock
View
Serial interface view
Default level
2: System level
Parameters
None
Examples
# Invert the transmit-clock on DTE-side synchronous serial interface 2/0.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] invert transmit-clock
itf
Description
Use itf to set the number of interframe filling tags.
60
Use undo itf to restore the default. By default, the number of interframe filling tags is four.
Syntax
itf number number undo itf number
View
Synchronous serial interface view
Default level
2: System level
Parameters
number number: Sets the number of interframe filling tags (one byte in length), ranging from 0 to 14 bytes.
Examples
# Set the number of interframe filling tags to five.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] itf number 5
loopback
Description
Use loopback to enable loopback testing on a serial interface. Use undo loopback to disable loopback testing on a serial interface. By default, loopback is disabled on serial interfaces. Loopback is intended for test use and troubleshooting. Disable loopback in other cases.
Syntax
loopback undo loopback
View
Serial interface view, AUX interface view
Default level
2: System level
Parameters
None
Examples
# Enable loopback on interface Serial 2/0.
<Sysname> system-view
61
mtu
Description
Use mtu to set the MTU for a serial interface. Use undo mtu to restore the default. By default, the MTU of a serial interface is 1500 bytes. Depending upon the size of the QoS queue, a packet may be discarded if the MTU is relatively small and the packet is segmented into too many fragments. To avoid this situation, increase the QoS queue length by using the qos fifo queue-length command in interface view. For more information, see ACL and QoS Configuration Guide. The MTU setting can affect IP packet assembly and fragmentation on the interface. When you use mtu on a WAN interface, execute shutdown, and then undo shutdown to make your configuration take effect.
Syntax
mtu size undo mtu
View
Serial interface view, AUX interface view, Cellular interface view, E1-F interface view, T1-F interface view
Default level
2: System level
Parameters
size: Sets the MTU size, ranging from 128 to 1500 bytes.
Examples
# Set the MTU of interface Serial 2/0 to 1200 bytes.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] mtu 1200
physical-mode
Description
Use physical-mode to configure the operating mode of a synchronous/asynchronous serial interface. By default, synchronous/asynchronous serial interfaces operate in synchronous mode.
Syntax
physical-mode { async | sync }
62
View
Serial interface view
Default level
2: System level
Parameters
async: Sets the synchronous/asynchronous serial interface to operate in asynchronous mode. sync: Sets the synchronous/asynchronous serial interface to operate in synchronous mode.
Examples
# Set synchronous/asynchronous serial interface 2/0 to operate in asynchronous mode.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] physical-mode async
phy-mru
Description
Use phy-mru to set the MRU for an asynchronous serial interface operating in flow mode. Use undo phy-mru to restore the default. By default, the MRU of an asynchronous serial interface is 1,700 bytes. This command only applies to interfaces operating in asynchronous flow mode.
Syntax
phy-mru size undo phy-mru
View
Asynchronous serial interface view, AUX interface view
Default level
2: System level
Parameters
size: MRU size, ranging from 4 to 1,700 bytes.
Examples
# Set the MRU of interface serial 2/0 to 1,500 bytes (assuming that the interface is an asynchronous serial interface and operates in flow mode).
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] physical-mode async [Sysname-Serial2/0] async mode flow [Sysname-Serial2/0] phy-mru 1500
63
Syntax
reset counters interface [ aux [ interface-number ] ]
View
Use view
Default level
2: System level
Parameters
aux interface-number: Specifies an AUX interface by number.
Examples
# Clear the statistics for interface AUX 2/0.
<Sysname> reset counters interface aux 2/0
Syntax
reset counters interface [ serial [ interface-number ] ]
View
Use view
Default level
2: System level
64
Parameters
serial interface-number: Specifies a serial interface by number.
Examples
# Clear the statistics for interface Serial 2/0.
<Sysname> reset counters interface serial 2/0
reverse-rts
Description
Use reverse-rts to reverse the RTS signal in synchronous mode, for debugging purpose. Use undo reverse-rts to restore the default. By default, RTS signal reverse is disabled. This command is used in hardware flow control where the remote is not allowed to send data when the local end is sending.
Syntax
reverse-rts undo reverse-rts
View
Synchronous serial interface view
Default level
2: System level
Parameters
None
Examples
# Reverse the RTS signal.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] reverse-rts
timer hold
Description
Use timer hold to configure the polling interval, which is the interval at which the interface sends keepalive packets. Use undo timer hold to restore the default. By default, the polling interval is 10 seconds.
Syntax
timer hold seconds
65
View
Serial interface view, AUX interface view, Cellular interface view
Default level
2: System level
Parameters
Seconds: Specifies the interval (in seconds) at which an interface sends keepalive packets, ranging from 0 to 32,767.
Examples
# Set the polling interval to 20 seconds for interface Serial 2/0.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] timer hold 20
virtualbaudrate
Description
Use virtualbaudrate to configure a virtual baud rate for a DTE-side interface. Use undo virtualbaudrate to remove the specified virtual baud rate and restore the default. When working as DTE, the serial interface determines its baud rate through negotiation with the DCE side. However, virtualbaudrate allows you to configure DTE-side baud rate manually, but the configured value must be the same as the one set at the DCE side. If the clock selection mode of the serial interface is dteclk5, the virtual baud rate you configure here is the line rate. Configure the baudrate command at the DCE side and the virtualbaudrate command at the DTE side (if the interface is operating in synchronous mode). Avoid configuring both commands at the same end of a link. At the DCE side, the display interface command displays the baud rate of the interface; whereas at the DTE side, the same command displays the virtual baud rate of the interface. Related command: baudrate and clock.
Syntax
virtualbaudrate virtualbaudrate undo virtualbaudrate
View
Synchronous serial interface view
Default level
2: System level
66
Parameters
virtualbaudrate: Specifies the baud rate (in bps) to be set, which must be consistent with the one configured at the DCE side. The value can be 1,200, 2,400, 4,800, 9,600, 19,200, 38,400, 56,000, 57,600, 64,000, 72,000, 1 15,200, 128,000, 192,000, 256,000, 384,000, 512,000, 768,000, 1024,000, 2,048,000, or 4,096,000.
Examples
# Set the virtual baudrate of DTE interface Serial 2/0 to 19,200 bps.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] virtualbaudrate 19200
Syntax
display cellular interface-number all [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
all: Displays all of the call connection information for a 3G modem. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display the call connection information on interface Cellular 0/0.
<Sysname> display cellular 0/0 all Modem State: Hardware Information ==================== Model = E176G Modem Firmware Version = 11.604.09.00.00 Hardware Version = CD25TCPU
67
International Mobile Subscriber Identity (IMSI) = 460029010431055 International Mobile Equipment Identity (IMEI) = 353871020138548 Factory Serial Number (FSN) = Modem Status = Online Profile Information ==================== Profile 1 = ACTIVE -------PDP Type = IPv4, Header Compression = OFF Data Compression = OFF Access Point Name (APN) = 001 Packet Session Status = Inactive * - Default profile Modem Setup Information =================== Diagnostics Monitor: Close Network Information =================== Current Service Status = Service available Current Service = Combined Packet Service = Attached Packet Session Status = Inactive Current Roaming Status = Roaming Network Selection Mode = Manual Network Connection Mode = WCDMA precedence Current Network Connection = HSDPA and HSUPA Mobile Country Code (MCC) = 460 Mobile Network Code (MNC) = 00 Location Area Code (LAC) = 4318 Cell ID = 25381 Radio Information ================= Current Band = ANY Current RSSI = -51 dBm Modem Security Information ========================== PIN Verification = Disabled PIN Status = Ready Number of Retries remaining = 3Card Holder Verification (CHV1) = Disabled SIM Status = OK DK9RAA1871500602
Description
3G modem name. IMSI string of the SIM card.
68
Field
International Mobile Equipment Identity (IMEI) Factory Serial Number (FSN)
Description
IMEI serial number of the 3G modem. FSN of the 3G modem. Status of the 3G modem:
Modem Status
OnlineThe 3G modem is powered on. OfflineThe 3G modem is powered off or in low power
mode. The cellular interface is unavailable. Parameter description template of the 3G modem. PDP status of the 3G modem:
Profile Information
PDP Type
Header Compression
ActiveThe 3G Modem is transmitting data via PPP. InactiveThe 3G modem is physically down.
Diagnostic monitor status on the interface:
69
Field
Description
Current service types:
Current Service
Circuit-switchedAvailable for the CS domain. Packet-switchedAvailable for the PS domain. CombinedAvailable for the CS and PS domains. Invalid.
Roaming. Home.
Network selection mode:
Manual. Automatic.
Network connection mode:
WCDMA only. WCDMA precedence. GSM only. GSM precedence. No Service. GSM. GPRS. EDGE. WCDMA. HSDPA. HSUPA. HSDPA and HSUPA. HSPA+. Unknown.
The MCC is displayed if the modem has found a network. For example, the MCC of Mainland China is 460. The MNC is displayed if the modem successfully registered with the network. For example, the MNC of the GSM network for China Mobile is 00. The LAC is displayed if the modem successfully registered with the network. The Cell ID is displayed if the modem successfully registered with the network.
70
Field
Description
Current band selection mode:
Current Band
PIN Verification
DisabledPIN authentication is disabled. EnabledPIN authentication is enabled. ReadyThe USIM/SIM card is normal and has no
authentication request.
PIN Status
OKThe SIM card is normal. Network RejectThe SIM card was denied access to the
network. The cellular interface is unavailable.
Syntax
display interface [ cellular ] [ brief [ down ] ] [ | { begin | exclude | include } regular-expression ] display interface cellular interface-number [ brief ] [ | { begin | exclude | include } regular-expression ]
View
Any view
71
Default level
1: Monitor level
Parameters
interface-number: Specifies a cellular interface by number. brief: Displays brief interface information. If you do not specify this keyword, the command displays detailed interface information. down: Displays information about all interfaces in the DOWN state and the causes. If you do not specify this keyword, the command displays information about interfaces in all states. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display detailed information about interface Cellular 0/0.
<Sysname> display interface cellular0/0 Cellular0/0 current state: UP Line protocol current state: UP (spoofing) Description: Cellular0/0 Interface The Maximum Transmit Unit is 1448, Hold timer is 10(sec) Internet Address is negotiated, 124.127.32.235/32 Link layer protocol is PPP Internet Address is 9.9.9.6/24 Primary LCP opened, IPCP opened Output queue : (Urgent queuing : Size/Length/Discards) Output queue : (Protocol queuing : Size/Length/Discards) Output queue : (FIFO queuing : Size/Length/Discards) USB Modem State: Present Transfer time: 00:01:30 Last clearing of counters: Never Last 300 seconds input rate 0.00 bytes/sec, 0 bits/sec, 0.00 packets/sec Last 300 seconds output rate 0.00 bytes/sec, 0 bits/sec, 0.00 packets/sec Input: 280 packets, 205297 bytes 0 broadcasts, 0 multicasts 0 errors, 0 runts, 0 giants 0 CRC, 0 align errors, 0 overruns 0 dribbles, 0 aborts, 0 no buffers 0 frame errors Output:189 packets, 210072 bytes 0 errors, 0 underruns, 0 collisions 0 deferred 0/100/0 0/500/0 0/75/0
<Sysname> display interface cellular0/0 brief The brief information of interface(s) under route mode: Link: ADM - administratively down; Stby - standby Protocol: (s) - spoofing Interface Cellular0/0 Link Protocol Main IP UP UP(s) -Description
# Display brief information about all cellular interfaces in the DOWN state.
<Sysname> display interface cellular brief down The brief information of interface(s) under route mode: Link: ADM - administratively down; Stby - standby Interface Cellular0/0 Link Cause DOWN Not connected
Internet Address is 9.9.9.6/24 Primary Link layer protocol is PPP LCP opened, IPCP opened
73
Field
Output queue : (FIFO queuing : Size/Length/Discards) 0/75/0
Description
FIFO queuing: Current number of packets in the FIFO queue, maximum number of packets that can stay in the queue, and number of dropped packets. The presence state of the 3G modem (whether the 3G modem is inserted in the device):
Transfer time: 00:01:30 Last clearing of counters: Never Last 300 seconds input rate 0.00 bytes/sec, 0 bits/sec, 0.00 packets/sec Last 300 seconds output rate 0.00 bytes/sec, 0 bits/sec, 0.00 packets/sec
Average input rate over the last 300 seconds in Bps, bps,
and pps.
broadcastsNumber of received broadcast packets. multicastsNumber of received multicast packets. errorsNumber of error packets detected on the physical
layer.
74
Field
Description
Link status:
Interface
Link
UPThe link is up. ADMThe link has been administratively shut down. To
recover its physical state, use undo shutdown. Protocol connection state of the interface, which can be UP, DOWN, or UP(s). The main IP address of the interface. Description of the interface. The cause of a DOWN physical link. If the port was shut down with the shutdown command, this field displays Administratively. To restore the physical state of the interface, use undo shutdown.
Cause
dm-port open
Description
Use dm-port open to enable the debugging function for a cellular interface. Use undo dm port to disable the debugging function for a cellular interface.
Syntax
dm-port open undo dm-port
View
Cellular interface view
Default level
2: System level
Parameters
open: Enables debugging for a cellular interface.
75
Examples
# Enable debugging for Cellular 0/0.
<Sysname> system-view [Sysname] interface cellular 0/0 [Sysname-Cellular0/0] dm-port open
mode cdma
Description
Use mode cdma to select a CDMA network connection mode.
Syntax
mode cdma { 1xrtt-only | evdo-only | hybrid }
View
Cellular interface view
Default Level
2: System level
Parameters
1xrtt-only: Specifies that the 3G modem can only connect to 1x RTT networks. evdo-only: Specifies that the 3G modem can only connect to EVDO networks. hybrid: Specifies that the 3G modem can connect to 1x RTT networks and EVDO networks.
Examples
# Specify that the 3G modem can only connect to EVDO networks.
<Sysname> system-view [Sysname] interface cellular 0/0 [Sysname-Cellular0/0] mode cdma evdo-only
mode td-scdma
Description
Use mode td-scdma to select a TD-SCDMA network connection mode.
Syntax
mode td-scdma { gsm-only | gsm-precedence | td-only | td-precedence }
View
Cellular interface view
Default Level
2: System level
Parameters
gsm-only: Specifies that the 3G modem can only connect to GSM networks.
76
gsm-precedence: Specifies that the 3G modem will preferentially connect to GSM networks. td-only: Specifies that the 3G modem can only connect to TD-SCDMA networks. td-precedence: Specifies that the 3G modem will preferentially connect to TD-SCDMA networks.
Examples
# Specify that the 3G modem should preferentially connect to TD-SCDMA networks.
<Sysname> system-view [Sysname] interface cellular 0/0 [Sysname-Cellular0/0] mode td-scdma td-precedence
mode wcdma
Description
Use mode wcdma to select a WCDMA network connection mode.
Syntax
mode wcdma { gsm-only | gsm-precedence | wcdma-only | wcdma-precedence }
View
Cellular interface view
Default Level
2: System level
Parameters
gsm-only: Specifies that the 3G modem can only connect to GSM networks. gsm-precedence: Specifies that the 3G modem will preferentially connect to GSM networks. wcdma-only: Specifies that the 3G modem can only connect to WCDMA networks. wcdma-precedence: Specifies that the 3G modem will preferentially connect to WCDMA networks.
Examples
# Specify that the 3G modem should preferentially connect to WCDMA networks.
<Sysname> system-view [Sysname] interface cellular 0/0 [Sysname-Cellular0/0] mode cdma wcdma-precedence
modem reboot
Description
Use modem reboot to manually reboot a 3G modem. A 3G modem can automatically detect running errors and reboot itself. If the 3G modem fails to reboot by itself, use this command to manually force it to reboot.
Syntax
modem reboot
77
View
Cellular interface view
Default level
2: System level
Parameters
None
Examples
# Manually reboot an attached 3G modem.
<Sysname> system-view [Sysname] interface cellular 0/0 [Sysname-Cellular0/0] modem reboot
modem response
Description
Use modem response to set the interval that the system should wait for a response from the 3G modem after the system sends an AT command, and the maximum number of times that the 3G modem does not respond. When the threshold is reached, the system automatically resets the 3G modem. Use undo modem response to restore the default.
Syntax
modem response timer time auto-recovery threshold undo modem response
View
Cellular interface view
Default level
2: System level
Parameters
time: Wait interval for the response from the 3G mode, ranging from 1 to 300 seconds, with a default of 10 seconds. threshold: Maximum number of times that the 3G modem does not respond to the AT command, ranging from 0 to 10, with a default of 3. When the threshold is set to 0, the auto recovery function is disabled.
Examples
# Set the waiting interval for the response from the 3G modem to 20 seconds and the threshold to four.
<Sysname> system-view [Sysname] interface cellular 0/0 [Sysname-Cellular0/0] modem response timer 20 auto-recovery 4
78
pin modify
Description
Use pin modify to change the PIN of the SIM/UIM card. The new PIN is saved on the SIM/UIM card.
Syntax
pin modify current-pin new-pin
View
Cellular interface view
Default Level
2: System level
Parameters
current-pin: Specifies a Personal Identification Number for the SIM/UIM card inserted into the modem, comprising four to eight digits. new-pin: New PIN to be set, comprising four to eight digits.
Examples
# Change the PIN.
<Sysname> system-view [Sysname] interface cellular 0/0 [Sysname-Cellular0/0]pin modify 1234 4321 Warning: PIN will be changed to 4321. Continue? [Y/N]:y PIN has been changed successfully.
pin unlock
Description
Use pin unlock to unlock the PIN of the SIM/UIM card inserted into the modem, and set a new PIN. During PIN verification, if the wrong PIN is typed three times in a row, the SIM/UIM card will be locked. In this case, you must enter the PUK to unlock the SIM/UIM card, to restore the data communications functions of the 3G modem.
Syntax
pin unlock puk new-pin
View
Cellular interface view
Default Level
2: System level
Parameters
puk: Specifies a Personal Unblocking Code for the SIM/UIM card inserted into the modem, comprising four to eight digits, and provided by the service provider. new-pin: New Personal Identification Number, comprising four to eight digits.
79
Examples
# Use the PUK code to unlock the PIN of the SIM/UIM card, and set a new PIN.
<Sysname> system-view [Sysname] interface cellular 0/0 [Sysname-Cellular0/0] pin unlock 87654321 1234 Warning: PIN will be unlocked and changed to 1234. Continue? [Y/N]:y PIN has been unlocked changed successfully.
pin verification
Description
Use pin verification to enable or disable PIN verification for the 3G modem.
Syntax
pin verification { enable | disable } pin
View
Cellular interface view
Default Level
2: System level
Parameters
enable: Enables PIN verification. disable: Disables PIN verification. pin: Specifies the Personal Identification Number of the SIM/UIM card inserted into the modem, comprising four to eight digits.
Examples
# Enable PIN verification.
<Sysname> system-view [Sysname] interface cellular 0/0 [Sysname-Cellular0/0] pin verification enable 1234
pin verify
Description
Use pin verify to perform PIN verification for the 3G modem. With PIN verification enabled on a 3G modem, you must type the correct PIN to recover the data communications functions of the modem when the modem resets. The modem resets when the router is rebooted, when you use modem reboot to reboot it, or when it is hot-swapped. For an SIC-3G-CDMA module, PIN verification is required only when the router is cold booted.
Syntax
pin verify pin
80
View
Cellular interface view
Default Level
2: System level
Parameters
pin: Specifies a Personal Identification Number for the SIM/UIM card inserted into the modem, comprising four to eight digits.
Examples
# Perform PIN verification.
<Sysname> system-view [Sysname] interface cellular 0/0 [Sysname-Cellular0/0] pin verify 1234
plmn search
Description
Use plmn search to search for mobile networks. This command is not a configuration command, but a network probe command. It takes a few minutes for the modem to search for mobile networks. When the search is complete, the CLI displays any mobile networks that were found.
Syntax
plmn search
View
Cellular interface view
Default level
2: System level
Parameters
None
Examples
# Search for mobile networks on Cellular 0/0.
<Sysname> system-view [Sysname] interface cellular 0/0 [Sysname-Cellular0/0] plmn search
plmn select
Description
Use plmn select to configure the mobile network searching mode. The default mobile network searching mode is auto.
81
Syntax
plmn select { auto | manual mcc mnc }
View
Cellular interface view
Default level
2: System level
Parameters
auto: Specifies that the interface should automatically select a public land mobile network. manual: Manually selects a PLMN for the modem. mcc: Specifies a mobile country code, ranging from 0 to 65,535. mnc: Specifies a mobile network code, ranging from 0 to 65,535.
Examples
# Configure the mobile network searching mode to manual.
<Sysname> system-view [Sysname] interface cellular 0/0 [Sysname-Cellular0/0] plmn select manual 65524 65524
profile create
Description
Use profile create to create a parameter description template, also known as a profile, for a USB 3G modem. Use profile delete to delete the template. By default, no parameter description template exists.
Syntax
profile create profile-number { dynamic | static apn } authentication-mode authentication [ user username ] [ password password ] profile delete profile-number
View
Cellular interface view
Default level
2: System level
Parameters
profile-number: Specifies a profile number. The only valid value is 1, because only one profile is supported on a 3G modem. dynamic: Enables the operator to dynamically assign an access point name based on the CHAP/PAP username and password.
82
static apn: Specifies a static access point name assigned by the operator. The value of apn is a string of 1 to 100 characters. authentication-mode authentication: Specifies the authentication mode, which can be none, pap, or chap. user username: The username assigned by the operator, a case-sensitive string of 1 to 32 characters. password password: The authentication password assigned by the operator, a case-sensitive string of 1 to 32 characters.
Examples
# Create a parameter description template for Cellular 0/0, name the access point cmnet, and select PAP as the authentication mode.
<Sysname> system-view [Sysname] interface cellular 0/0 [Sysname-Cellular0/0] profile create 1 static cmnet authentication-mode pap user abc password abc
Syntax
reset counters interface [ cellular [ interface-number ] ]
View
User view
Default level
2: System level
Parameters
cellular interface-number: Specifies a cellular interface by number.
Examples
# Clear statistics for interface Cellular 1/0.
<Sysname> reset counters interface cellular 0/0
83
Syntax
alarm detect rai undo alarm detect rai
View
CE1/PRI interface view
Default level
2: System level
Parameters
detect: Enables periodic detection on the interface. rai: Remote Alarm Indication.
Examples
# Disable RAI detection on CE1/PR1 interface E1 2/0.
<Sysname> system-view [Sysname] controller e1 2/0 [Sysname-E1 2/0] undo alarm detect ais
Syntax
cable { long | short } undo cable
View
CE1/PRI interface view
84
Default level
2: System level
Parameters
long: The attenuation of the receiver is 43 dB. short: The attenuation of the receiver is 10 dB.
Examples
# Set the cable length for the CE1/PRI interface named E1 2/0 to short.
<Sysname> system-view [Sysname] controller e1 2/0 [Sysname-E1 2/0] cable short
Syntax
channel-set set-number timeslot-list list undo channel-set [ set-number ]
View
CE1/PRI interface view
Default level
2: System level
Parameters
set-number: The number of the channel set formed by bundling timeslots on the interface, ranging from 0 to 30. timeslot-list list: Specifies the timeslots to be bundled. The list argument can contain multiple timeslot numbers, each of which ranges from 1 to 31. You can specify a single timeslot by specifying a timeslot
85
number, a range of timeslots by providing this argument in the form of { number1-number2 }, or multiple timeslots by providing this argument in the form of { number1, number2-number3 }.
Examples
# Bundle timeslots 1, 2, 5, 10 through 15, and 18 on CE1/PRI interface E1 2/0 into channel set 0.
<Sysname> system-view [Sysname] controller e1 2/0 [Sysname-E1 2/0] channel-set 0 timeslot-list 1,2,5,10-15,18
# Make the same configuration on the CE1/PRI interface on the remote router.
<Sysname> system-view [Sysname] controller e1 2/0 [Sysname-E1 2/0] channel-set 0 timeslot-list 1,2,5,10-15,18
Syntax
clock { master | slave } undo clock
View
CE1/PRI interface view
Default level
2: System level
Parameters
master: Adopts the internal clock as the clock source. slave: Adopts the line clock as the clock source.
Examples
# Use the internal clock as the clock source on CE1/PRI interface E1 2/0.
<Sysname> system-view [Sysname] controller e1 2/0 [Sysname-E1 2/0] clock master
clock-change auto
Description
Use clock-change auto to enable the automatic clock mode change function on the interface. In other words, configure an interface that is using the line clock to automatically switch to using the internal clock
86
if it receives an AIS, LOS, or LOF alarm. When the alarm is cleared, the interface automatically reverts to the user-configured clock mode. Use undo clock-change auto to disable the automatic clock mode change function. If the interface has already switched its clock mode, this command also restores the user-configured clock mode for the interface. By default, automatic clock mode change is disabled. Related commands: clock.
Syntax
clock-change auto undo clock-change auto
View
CE1/PRI interface view
Default level
2: System level
Parameters
auto: Enables the interface to automatically change its clock mode.
Examples
# Enable automatic clock mode change for interface E1 2/0.
<Sysname> system-view [Sysname] controller e1 2/0 [Sysname-E1 2/0] clock-change auto
Syntax
code { ami | hdb3 } undo code
View
CE1/PRI interface view
Default level
2: System level
87
Parameters
ami: Adopts alternate mark inversion line code format. hdb3: Adopts high density bipolar 3 line code format.
Examples
# Set the line code format of interface E1 2/0 to AMI.
<Sysname> system-view [Sysname] controller e1 2/0 [Sysname-E1 2/0] code ami
controller e1
Description
Use controller e1 to enter CE1/PRI interface view.
Syntax
controller e1 number
View
System view
Default level
2: System level
Parameters
number: Specifies the CE1/PRI interface to view, by number.
Examples
# Enter E1 2/0 interface view.
<Sysname> system-view [Sysname] controller e1 2/0 [Sysname-E1 2/0]
crc
Description
Use crc to configure CRC mode for a synchronous serial interface formed on a CE1/PRI interface. Use undo crc to restore the default, 16-bit CRC.
Syntax
crc { 16 | 32 | none } undo crc
View
Synchronous serial interface view
88
Default level
2: System level
Parameters
16: Adopts 16-bit cyclic redundancy check. 32: Adopts 32-bit cyclic redundancy check. none: Disables CRC.
Examples
# Apply 32-bit CRC to a serial interface formed on interface CE1 interface 2/0 in unchannelized mode.
<Sysname> system-view [Sysname] controller e1 2/0 [Sysname-E1 2/0] using e1 [Sysname-E1 2/0] quit [Sysname] interface serial 2/0:0 [Sysname-Serial2/0:0] crc 32
Syntax
data-coding { inverted | normal } undo data-coding
View
CE1/PRI interface view
Default level
2: System level
Parameters
inverted: Enables user data inversion. normal: Disables user data inversion.
Examples
# Enable user data inversion on CE1/PRI interface E1 2/0.
<Sysname> system-view
89
detect-ais
Description
Use detect-ais to enable AIS test on an interface. Use the undo detect-ais command to disable AIS test. By default, AIS test is performed.
Syntax
detect-ais undo detect-ais
View
CE1 interface view, PRI interface view
Default level
2: System level
Parameters
None
Examples
# Enable AIS test on E1 2/0 interface.
<Sysname> system-view [Sysname] controller e1 2/0 [Sysname-E1 2/0] detect-ais
display controller e1
Description
Use display controller e1 to view information about a specific CE1/PRI interface, or all CE1/PRI interfaces.
Syntax
display controller e1 [ interface-number ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
interface-number: Specifies an interface number. In conjunction with the e1 keyword, it specifies a CE1/PRI interface.
90
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display information about interface E1 2/0.
<Sysname> display controller e1 2/0 E1 2/0 current state: UP Description : E1 2/0 Interface Basic Configuration: Work mode is E1 framed, Cable type is 75 Ohm unbalanced. Frame-format is no-crc4. Line code is hdb3, Source clock is slave. Idle code is 7e, Itf type is 7e, Itf number is 4. Loop back is not set. Alarm State: Receiver alarm state is None. Historical Statistics: Last clearing of counters: Never Data in current interval (150 seconds elapsed): 0 Loss Frame Alignment Secs, 0 Framing Error Secs, 0 CRC Error Secs, 0 Alarm Indication Secs, 0 Loss-of-signals Secs, 0 Code Violations Secs, 0 Slip Secs, 0 E-Bit error Secs.
Description
Physical state of the interfaceup or down. Description of the interface. Operating modeE1 or CE1. Cable type of the interface. Frame formatCRC4 or no-CRC4. Source clockmaster or slave. Line codeAMI or HDB3. Idle code0x7E or 0xFF. Type of interframe filling tags0x7E or 0xFF. Number of interframe filling tags between two successive frames. Loopback state. Alarm state. Statistics on the interface. 91
Field
Last clearing of counters Data in current interval (150 seconds elapsed): 0 Loss Frame Alignment Secs, 0 Framing Error Secs, 0 CRC Error Secs, 0 Alarm Indication Secs, 0 Loss-of-signals Secs, 0 Code Violations Secs, 0 Slip Secs, 0 E-Bit error Secs
Description
The last time when statistics on the interface were cleared.
A-MSR20-1X
No
A-MSR20
No
A-MSR30
Yes
A-MSR50
Yes
Syntax
error-diffusion restraint config detect-timer renew-timer threshold undo error-diffusion restraint config
View
System view
Default level
2: System level
Parameters
detect-timer: Specifies an interval during which to check for error packets, ranging from 30 to 600 seconds. renew-timer: Specifies an interval after which an interface resumes its function, ranging from 120 to 2,400 seconds.
92
Threshold: Specifies the ratio of error packets, ranging from 5 to 100 percent.
Examples
# Set the detect-timer to 100 seconds, renew-timer to 2,400 seconds, and threshold to 15%.
<Sysname> system-view [Sysname] error-diffusion restraint config 100 2400 15
A-MSR20-1X
No
A-MSR20
No
A-MSR30
Yes
A-MSR50
Yes
Syntax
error-diffusion restraint enable undo error-diffusion restraint enable
View
System view
Default level
2: System level
Parameters
None
Examples
# Enable error packet diffusion restraint.
<Sysname> system-view [Sysname] error-diffusion restraint enable
93
NOTE: This command only applies to CT1/PRI interfaces and CE1/PRI interfaces. Command and router compatibility: Command
error-diffusion restraint restartchannel
A-MSR20-1X
No
A-MSR20
No
A-MSR30
Yes
A-MSR50
Yes
Syntax
error-diffusion restraint restart-channel serial interface-number:set-number
View
System view
Default level
2: System level
Parameters
serial interface-number:set-number: Specifies a channel formed by bundling CE1/PRI interfaces, where interface-number specifies a CE1/PRI interface, and set-number specifies a channel set.
Examples
# Restart channel serial 2/0:0 that was shut down by error packets diffusion restraint.
<Sysname> system-view [Sysname] error-diffusion restraint restart-channel serial 2/0:0
Syntax
frame-format { crc4 | no-crc4 } undo frame-format
View
CE1/PRI interface view
Default level
2: System level
Parameters
crc4: Sets the framing format to CRC4.
94
Examples
# Set the framing format of interface E1 2/0 to CRC4.
<Sysname> system-view [Sysname] controller e1 2/0 [Sysname-E1 2/0] frame-format crc4
Syntax
idlecode { 7e | ff } undo idlecode
View
CE1/PRI interface view
Default level
2: System level
Parameters
7e: Sets the line idle code to 0x7E. ff: Sets the line idle code to 0xFF.
Examples
# Set the line idle code to 0x7E on interface E1 2/0.
<Sysname> system-view [Sysname] controller e1 2/0 [Sysname-E1 2/0] idlecode 7e
Syntax
itf { number number | type { 7e | ff } }
95
View
CE1/PRI interface view
Default level
2: System level
Parameters
number number: Sets the number of interframe filling tags (one byte in length), ranging from 0 to 14 bytes. type { 7e | ff }: Sets the type of interframe filling tag to 0x7E by specifying the 7e argument or to 0xFF by specifying the ff argument.
Examples
# Set the type of interframe filling tag to 0xFF on interface E1 2/0.
<Sysname> system-view [Sysname] controller e1 2/0 [Sysname-E1 2/0] itf type ff
Syntax
loopback { local | payload | remote } undo loopback
View
CE1/PRI interface view
Default level
2: System level
Parameters
local: Places the interface into local loopback mode.
96
remote: Places the interface into external loopback mode. payload: Places the interface into external payload loopback mode.
Examples
# Set interface E1 2/0 to internal loopback mode.
<Sysname> system-view [Sysname] controller e1 2/0 [Sysname-E1 2/0] loopback local
Syntax
pri-set [ timeslot-list list ] undo pri-set
View
CE1/PRI interface view
Default level
2: System level
Parameters
timeslot-list list: Specifies the timeslots to be bundled, by number. The list argument can contain multiple timeslot numbers, each ranging from 1 to 31. You can create a timeslot bundle by specifying a timeslot number, a range of timeslots in the form of { number1-number2 }, or multiple timeslots in the form of { number1, number2-number3 }.
Examples
# Bundle timeslots 1, 2, and 8 through 12 into a PRI set on CE1/PRI interface E1 2/0.
<Sysname> system-view
97
Syntax
reset counters controller e1 interface-number
View
User view
Default level
2: System level
Parameters
interface-number: Specifies the interface to reset, by number.
Examples
# Clear the controller counter for CE1/PRI interface E1 2/0.
<Sysname> reset counters controller e1 2/0
Syntax
using { ce1 | e1 } undo using
98
View
CE1/PRI interface view
Default level
2: System level
Parameters
ce1: Sets the interface to operate in CE1/PRI mode. e1: Sets the interface to operate in E1 mode.
Examples
# Set CE1/PRI interface E1 2/0 to work in E1 mode.
<Sysname> system-view [Sysname] controller e1 2/0 [Sysname-E1 2/0] using e1
Syntax
alarm detect rai undo alarm detect rai
View
CT1/PRI interface view
Default level
2: System level
Parameters
detect: Enables periodic detection on the interface. rai: Remote Alarm Indication.
Examples
# Disable RAI detection on CT1/PR1 interface T1 2/0.
<Sysname> system-view [Sysname] controller t1 2/0 [Sysname-T1 2/0] undo alarm detect rai
99
alarm-threshold
Description
Use alarm-threshold to set LOS, AIS, or LFA alarm thresholds on a CT1/PRI interface. Use undo alarm-threshold to restore the defaults.
Syntax
alarm-threshold { ais { level-1 | level-2 } | lfa { level-1 | level-2 | level-3 | level-4 } | los { pulse-detection | pulse-recovery } value } undo alarm-threshold { ais | lfa | los { pulse-detection | pulse-recovery } }
View
CT1/PRI interface view
Default level
2: System level
Parameters
ais: Sets the alarm indication signal alarm threshold, which can be level-1 or level-2. level-1Generates an AIS alarm when the number of 0s in the bit stream of an SF or ESF frame is less than or equal to 2. level-2Generates an AIS alarm when the number of 0s is less than or equal to 3 in the bit stream of an SF frame, or less than or equal to 5 in the bit stream of an ESP frame.
By default, level-1 AIS alarm threshold applies. lfa: Sets the loss of frame align alarm threshold, which can be level-1, level-2, level-3, or level-4. level-1Generates an LFA alarm when two of four frame alignment bits are lost. level-2Generates an LFA alarm when two of five frame alignment bits are lost. level-3Generates an LFA alarm when two of six frame alignment bits are lost. level-4Applies only to ESF frames. It generates an LFA alarm when errors are detected in four consecutive ESF frames.
By default, level-1 LFA alarm threshold applies. los: Sets a loss of signal alarm threshold, which can be pulse-detection (for the pulse detection duration threshold with LOS) or pulse-recovery (for the pulse threshold with LOS). pulse-detectionThreshold in units of pulse intervals, ranging from 16 to 4,096, with a default of 176. pulse-recoveryThreshold ranging from 1 to 256, with a default of 22.
If the number of pulses detected during the total pulse detection interval is smaller than the pulse-recovery threshold, a LOS alarm occurs. For example, if the two thresholds are set to their default values, a LOS alarm occurs if fewer than 22 pulses are detected within 176 pulse intervals.
Examples
# Set the detection interval to 300 for the pulse detection duration threshold.
<Sysname> system-view [Sysname] controller t1 2/0
100
Syntax
bert pattern { 2^15 | 2^20 } time minutes [ unframed ] undo bert
View
CT1/PRI interface view
Default level
2: System level
Parameters
pattern: Specifies a bit error rate test pattern, which can be 2^15 or 2^20. 2^15: Specifies the code stream transmitted is two to the fifteenth power bits in length. 2^20: Specifies the code stream transmitted is two to the twentieth power bits in length.
time minutes: Sets the duration of a BERT test, ranging from 1 to 1,440 minutes. unframed: Sets the overhead bits of the padding frames for the BERT test.
Examples
# Run a 10-minute 2^20 BERT test on CT1/PRI interface t1 2/0.
<Sysname> system-view [Sysname] controller t1 2/0 [Sysname-T1 2/0] bert pattern 2^20 time 10
Use undo cable to restore the default, long 0db. You can use this command to adapt the signal waveform to different transmission conditions, taking into account the quality of the signal received by the receiver. If signal quality is good, use the default setting. The CT1/PRI interface does not need an external CSU device.
Syntax
cable { long { 0db | -7.5db | -15db | -22.5db } | short { 133ft | 266ft | 399ft | 533ft | 655ft } } undo cable
View
CT1/PRI interface view
Default level
2: System level
Parameters
long: Specifies a cable length greater than199.6 meters (655 feet). The options for this parameter include 0db, -7.5db, -15db and -22.5db. The attenuation parameter selected is dependent upon the signal quality at the receiving end. No external CSU is needed. short: Specifies a cable length less than 199.6 meters (655 feet). The options for this parameter include 133ft, 266ft, 399ft, 533ft and 655ft. The length parameter selected is dependent upon the actual transmission distance.
Examples
# Set the cable length to 40.5 meter (133 feet) on CT1/PRI interface T1 2/0.
<Sysname> system-view [Sysname] controller t1 2/0 [Sysname-T1 2/0] cable short 133ft
Syntax
channel-set set-number timeslot-list list [ speed { 56k | 64k } ]
102
View
CT1/PRI interface view
Default level
2: System level
Parameters
set-number: The number of the channel set formed by bundling timeslots on the interface, ranging from 0 to 23. timeslot-list list: Specifies the timeslots to be bundled. The list argument can contain multiple timeslot numbers, each of which ranges from 1 to 24. You can specify a single timeslot by specifying a timeslot number, a range of timeslots by providing this argument in the form of { number1-number2 }, or multiple timeslots by providing this argument in the form of { number1, number2-number3 }. speed { 56k | 64k }: Speed of the timeslot bundle (the channel set) in kbps. If 56k is selected, the timeslots are bundled into N 56 kbps bundles. If 64k, the default, is selected, the timeslots are bundled into N 64 kbps bundles.
Examples
# Bundle timeslots 1, 2, 5, 10 through 15, and 18 into channel set 0 on CT1/PRI interface T1 2/0.
<Sysname> system-view [Sysname] controller t1 2/0 [Sysname-T1 2/0] channel-set 0 timeslot-list 1,2,5,10-15,18
Syntax
clock { master | slave } undo clock
View
CT1/PRI interface view
Default level
2: System level
Parameters
master: Adopts the internal clock as the clock source. slave: Adopts the line clock as the clock source.
103
Examples
# Use the internal clock as the clock source on CT1/PRI interface T1 2/0.
<Sysname> system-view [Sysname] controller t1 2/0 [Sysname-T1 2/0] clock master
Syntax
code { ami | b8zs } undo code
View
CT1/PRI interface view
Default level
2: System level
Parameters
ami: Adopts alternate mark inversion line code format. b8zs: Adopts bipolar with 8-zero substitution line code format.
Examples
# Set the line code format of interface T1 2/0 to AMI.
<Sysname> system-view [Sysname] controller t1 2/0 [Sysname-T1 2/0] code ami
controller t1
Description
Use controller t1 to enter CT1/PRI interface view.
Syntax
controller t1 number
View
System view
104
Default level
2: System level
Parameters
number: Specifies the CT1/PRI interface to view, by number.
Examples
# Enter T1 2/0 interface view.
<Sysname> system-view [Sysname] controller t1 2/0 [Sysname-T1 2/0]
crc
Description
Use crc to configure CRC mode for a synchronous serial interface formed on a CT1/PRI interface. Use undo crc to restore the default, 16-bit CRC.
Syntax
crc { 16 | 32 | none } undo crc
View
Synchronous serial interface view
Default level
2: System level
Parameters
16: Adopts 16-bit cyclic redundancy check. 32: Adopts 32-bit cyclic redundancy check. none: Disables CRC.
Examples
# Apply 32-bit CRC to a serial interface formed on interface CT1 interface 2/0.
<Sysname> system-view [Sysname] controller t1 2/0 [Sysname-T1 2/0] channel-set 1 timeslot-list 2-6 [Sysname-T1 2/0] quit [Sysname] interface serial 2/0:1 [Sysname-Serial2/0:1] crc 32
Use data-coding normal to disable user data inversion on the CT1/PRI interface. Use undo data-coding to restore the default. By default, data inversion is disabled. To prevent 7e in valid data from being mistaken for padding, HDLC inserts a zero after every five ones in the data stream. Then, HDLC inverts every one bit into a zero and every zero bit into a one. This ensures that at least one out of every eight bits is a one. When AMI encoding is adopted on a T1 interface, data inversion can eliminate the presence of multiple consecutive zeros. On the CT1/PRI interfaces, adopt the same data inversion setting at both ends of a T1 line.
Syntax
data-coding { inverted | normal } undo data-coding
View
CT1/PRI interface view
Default level
2: System level
Parameters
inverted: Enables user data inversion. normal: Disables user data inversion.
Examples
# Enable user data inversion on CT1/PRI interface T1 2/0.
<Sysname> system-view [Sysname] controller t1 2/0 [Sysname-T1 2/0] data-coding inverted
display controller t1
Description
Use display controller t1 to view information about a specific CT1/PRI interface, or all CT1/PRI interfaces.
Syntax
display controller t1 [ interface-number ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
2: System level
Parameters
interface-number: Specifies an interface number. In conjunction with the t1 keyword, it specifies a CT1/PRI interface.
106
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display information about interface T1 2/0.
<Sysname> display controller t1 2/0 T1 2/0 current state :DOWN Description : T1 2/0 Interface Basic Configuration: Work mode is T1 framed, Cable type is 100 Ohm balanced. Frame-format is esf, fdl is none, Line code is b8zs. Source clock is slave, Data-coding is normal. Idle code is ff, Itf type is ff, Itf number is 2. Loop back is not set. Alarm State: Receiver alarm state is Loss-of-Signal. Transmitter is sending remote alarm. Pulse density violation detected. SendLoopCode History: inband-llb-up:0 times, inband-llb-down:0 times. fdl-ansi-llb-up:0 times, fdl-ansi-llb-down:0 times. fdl-ansi-plb-up:0 times, fdl-ansi-plb-down:0 times. BERT state:(stopped, not completed) Test pattern: 2^15, Status: Not Sync, Sync Detected: 0 Time: 0 minute(s), Time past: 0 minute(s) Bit Errors (since test started): 0 bits Bits Received (since test started): 0 Kbits Bit Errors (since latest sync): 0 bits Bits Received (since latest sync): 0 Kbits Historical Statistics: Last clearing of counters: Never Data in current interval (285 seconds elapsed): 0 Line Code Violations, 0 Path Code Violations 0 Ais Alarm Secs, 286 Los Alarm Secs 7 Slip Secs, 286 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins 0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 286 Unavail Secs Data in Interval 1: 0 Line Code Violations, 0 Path Code Violations 0 Ais Alarm Secs, 901 Los Alarm Secs 22 Slip Secs, 901 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins 0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 901 Unavail Secs Data in Interval 2: 0 Line Code Violations, 0 Path Code Violations
107
0 Ais Alarm Secs, 900 Los Alarm Secs 23 Slip Secs, 900 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins 0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 900 Unavail Secs Total Data (last 2 15 minute intervals): 0 Line Code Violations, 0 Path Code Violations 0 Ais Alarm Secs, 2087 Los Alarm Secs 52 Slip Secs, 2087 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins 0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 2087 Unavail Secs
Description
Physical state of the interfaceup or down. Description of the T1 interface. Basic configurations of the interface. Operating mode of the T1 interface, T1 framed in this example. Cable type of the T1 interface, 100 ohm balanced in this example. Frame format configured on the T1 interfaceESF or SF. FDL formatANSI, ATT, or none. Line codeAMI or B8ZS. Source clockmaster or slave. Data codingNormal or inverted. Idle code0x7E or 0xFF. Type of interframe filling tag0x7E or 0xFF. Number of interframe filling tags between two successive frames. Loopback statelocal, payload, remote, or not set. Alarm state. Type of received alarmnone, LOS, LOF, RAI, or AIS. Type of transmitted alarmRAI, or none. The detected pulse density is noncompliant with the specification.
Field
Test pattern: 2^15, Status: Not Sync, Sync Detected: 0 Time: 0 minute(s), Time past: 0 minute(s) Bit Errors (since test started) Bits Received (since test started) Bit Errors (since latest sync) Bits Received (since latest sync) Historical Statistics: Last clearing of counters Data in current interval (285 seconds elapsed): 0 Line Code Violations, 0 Path Code Violations 0 Ais Alarm Secs, 286 Los Alarm Secs 7 Slip Secs, 286 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins 0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 286 Unavail Secs Data in Interval 1: 0 Line Code Violations, 0 Path Code Violations 0 Ais Alarm Secs, 901 Los Alarm Secs 22 Slip Secs, 901 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins 0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 901 Unavail Secs Data in Interval 2: 0 Line Code Violations, 0 Path Code Violations 0 Ais Alarm Secs, 900 Los Alarm Secs 23 Slip Secs, 900 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins 0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 900 Unavail Secs Total Data (last 2 15 minute intervals): 0 Line Code Violations, 0 Path Code Violations 0 Ais Alarm Secs, 2087 Los Alarm Secs 52 Slip Secs, 2087 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins 0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 2087 Unavail Secs
Description
Test pattern in use (2^20 or 2^15), 2^15 in this example; synchronization state, and number of detected synchronizations. Duration of the BERT test and elapsed time. Number of bit errors received since the start of the BERT test. Number of bits received since the start of the BERT test. Number of bit errors received since last synchronization. Number of bits received since last synchronization. Historical statistics. Counter clearing records. Statistics in the current interval. The statistical items, such as AIS alarm, LOS signal, and LFA, are provided according to the T1 specifications for the physical layer. For more information, see ANSI T1.403 and AT&T TR 54016.
Statistics spanning the first interval. The statistical items are the same as those provided by statistics spanning the current interval.
Statistics spanning the second interval. The statistical items are the same as those provided by statistics spanning the current interval.
Statistics spanning the last two intervals. The statistical items are the same as those provided by statistics spanning the current interval.
109
A-MSR20-1X
No
A-MSR20
No
A-MSR30
Yes
A-MSR50
Yes
Syntax
error-diffusion restraint config detect-timer renew-timer threshold undo error-diffusion restraint config
View
System view
Default level
2: System level
Parameters
detect-timer: Specifies an interval during which to check for error packets, ranging from 30 to 600 (in seconds). renew-timer: Specifies an interval after which an interface resumes its function, ranging from 120 to 2,400 (in seconds). threshold: Specifies the ratio of error packets, ranging from 5 to 100 percent.
Examples
# Set the detect timer to 100 seconds, renew timer to 2,400 seconds, and threshold to 15%.
<Sysname> system-view [Sysname] error-diffusion restraint config 100 2400 15
Use undo error-diffusion restraint enable to disable error packet diffusion restraint. By default, error packet diffusion restraint is disabled. NOTE: This command only applies to CT1/PRI interfaces and CE1/PRI interfaces. Command and router compatibility: Command
error-diffusion restraint enable
A-MSR20-1X
No
A-MSR20
No
A-MSR30
Yes
A-MSR50
Yes
Syntax
error-diffusion restraint enable undo error-diffusion restraint enable
View
System view
Default level
2: System level
Parameters
None
Examples
# Enable error packet diffusion restraint.
<Sysname> system-view [Sysname] error-diffusion restraint enable
A-MSR20-1X
No
A-MSR20
No
A-MSR30
Yes
A-MSR50
Yes
Syntax
error-diffusion restraint restart-channel serial interface-number:set-number
111
View
System view
Default level
2: System level
Parameters
serial interface-number:set-number: Specifies a channel formed on a CT1/PRI interface, where interfacenumber specifies a CT1/PRI interface number, and set-number specifies a channel set.
Examples
# Restart channel Serial 2/0:0 that was shut down by error packet diffusion restraint.
<Sysname> system-view [Sysname] error-diffusion restraint restart-channel serial 2/0:0
fdl
Description
Use fdl to configure the behavior of the CT1/PRI interface on the facilities data link in ESF framing. Use undo fdl to restore the default. By default, FDL is disabled (none). FDL is an embedded 4 kbps overhead channel within the ESF format for transmitting performance statistics or loopback code.
Syntax
fdl { ansi | att | both | none } undo fdl
View
CT1/PRI interface view
Default level
2: System level
Parameters
ansi: Adopts ANSI T1.403 for FDL. att: Adopts AT&T TR 54016 for FDL. both: Adopts both ANSI T1.403 and AT&T TR 54016 for FDL. none: Disables FDL.
Examples
# Set AT&T TR 54016 FDL on interface T1 2/0.
<Sysname> system-view [Sysname] controller t1 2/0 [Sysname-T1 2/0] fdl att
112
Syntax
frame-format { esf | sf } undo frame-format
View
CT1/PRI interface view
Default level
2: System level
Parameters
esf: Sets the framing format to extended super frame. sf: Sets the framing format to super frame.
Examples
# Set the framing format of interface T1 2/0 to SF.
<Sysname> system-view [Sysname] controller t1 2/0 [Sysname-T1 2/0] frame-format sf
Syntax
idlecode { 7e | ff } undo idlecode
View
CT1/PRI interface view
Default level
2: System level
113
Parameters
7e: Sets the line idle code to 0x7E. ff: Sets the line idle code to 0xFF.
Examples
# Set the line idle code to 0x7E on CT1/PRI interface T1 2/0.
<Sysname> system-view [Sysname] controller t1 2/0 [Sysname-T1 2/0] idlecode 7e
Syntax
itf { number number | type { 7e | ff } } undo itf { number | type }
View
CT1/PRI interface view
Default level
2: System level
Parameters
number number: Sets the number of interframe filling tags (one byte in length), ranging from 0 to 14 bytes. type { 7e | ff }: Sets the type of interframe filling tag to 0x7E by specifying the 7e argument or to 0xFF by specifying the ff argument.
Examples
# Set the interframe filling tag to 0xFF on CT1/PRI interface T1 2/0.
<Sysname> system-view [Sysname] controller t1 2/0 [Sysname-T1 2/0] itf type ff
# Set the number of interframe filling tags to five on CT1/PRI interface T1 2/0.
<Sysname> system-view [Sysname] controller t1 2/0 [Sysname-T1 2/0] itf number 5
114
Syntax
loopback { local | payload | remote } undo loopback
View
CT1/PRI interface view
Default level
2: System level
Parameters
local: Places the CT1/PRI interface into local loopback mode. payload: Places the interface into external payload loopback mode. remote: Places the interface into remote loopback mode.
Examples
# Set interface T1 2/0 to remote loopback mode.
<Sysname> system-view [Sysname] controller t1 2/0 [Sysname-T1 2/0] loopback remote
115
If no timeslot is specified, all timeslots are bundled into an interface similar to an ISDN PRI interface, in the form of 23B+D. Upon creation of the PRI set, the system creates a serial interface that is logically equivalent to an ISDN PRI interface. The serial interface is named serial number:23, where number is the number of the CT1/PRI interface on which the serial interface is created. Because a channel set and a PRI set cannot coexist on a CT1/PRI interface, your PRI set creation attempt will fail if channel-set is configured.
Syntax
pri-set [ timeslot-list list ] undo pri-set
View
CT1/PRI interface view
Default level
2: System level
Parameters
list: Specifies the timeslots to be bundled, by number. The list argument can contain multiple timeslot numbers, each ranging from 1 through 24. You can create a timeslot bundle by specifying a timeslot number, a range of timeslots in the form of { number1-number2 }, or multiple timeslots in the form of { number1, number2-number3 }.
Examples
# Bundle timeslots 1, 2, and 8 through 12 into a PRI set on CT1/PRI interface T1 2/0.
<Sysname> system-view [Sysname] controller t1 2/0 [Sysname-T1 2/0] pri-set timeslot-list 1,2,8-12
Syntax
reset counters controller t1 interface-number
View
User view
Default level
2: System level
116
Parameters
interface-number: Specifies the interface to reset, by number.
Examples
# Clear the controller counter for CT1/PRI interface T1 2/0.
<Sysname> reset counters controller t1 2/0
sendloopcode
Description
Use sendloopcode to send a remote loopback control code. By default, no remote loopback control code is sent. You can configure loopback on the remote CT1/PRI interface by sending a loopback request code. In LLB mode, all 193 bits (one synchronization bit and 192 effective bandwidth bits) in a T1 PCM frame are looped back. In PLB mode, however, only 192 effective bandwidth bits are looped back. The format of loopback code is compliant with ANSI T1.403 or AT&T TR 54016 standards. In SF framing, LLB code is sent using the effective bandwidth. In ESF framing, both LLB code and PLB code are sent and received in the FDL. Use this command in conjunction with the far-end T1 device. The far-end device must be able to set its loopback mode automatically, depending on the detected loopback code. Remote loopback control code is sent for five minutes. It does not affect the operation of other interfaces.
Syntax
sendloopcode { fdl-ansi-llb-down | fdl-ansi-llb-up | fdl-ansi-plb-down | fdl-ansi-plb-up | fdl-att-plbdown | fdl-att-plb-up | inband-llb-down | inband-llb-up }
View
CT1/PRI interface view
Default level
2: System level
Parameters
fdl-ansi-llb-down: Sends an ANSI-compliant LLB deactivation request code in the FDL to remove loopback. fdl-ansi-llb-up: Sends an ANSI-compliant LLB activation request code in the FDL to start remote loopback. fdl-ansi-plb-down: Sends an ANSI-compliant PLB deactivation request code in the FDL to remove loopback. fdl-ansi-plb-up: Sends an ANSI-compliant PLB activation request code in the FDL to start remote loopback. fdl-att-plb-down: Sends an AT&T-compliant PLB deactivation request code in the FDL to remove loopback. fdl-att-plb-up: Sends an AT&T-compliant PLB activation request code in the FDL to start remote loopback. inband-llb-down: Sends an ANSI- or AT&T-compliant in-band LLB deactivation request code to remove loopback.
117
inband-llb-up: Sends an ANSI- or AT&T-compliant in-band LLB activation request code to start remote loopback.
Examples
# Send an in-band LLB activation request code.
<Sysname> system-view [Sysname] controller t1 2/0 [Sysname-T1 2/0] sendloopcode inband-llb-up
Syntax
clock-change auto undo clock-change auto
View
E1-F interface view
Default level
2: System level
Parameters
auto: Enables the interface to automatically change its clock mode.
Examples
# Enable automatic clock mode change for E1-F interface Serial 2/0.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] clock-change auto
118
crc
Description
Use crc to configure CRC mode for an E1-F interface. Use undo crc to restore the default, 16-bit CRC.
Syntax
crc { 16 | 32 | none } undo crc
View
Synchronous serial interface view
Default level
2: System level
Parameters
16: Adopts 16-bit cyclic redundancy check. 32: Adopts 32-bit cyclic redundancy check. none: Disables CRC.
Examples
# Adopt 32-bit CRC on E1-F interface Serial 2/0.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] crc 32
display fe1
Description
Use display fe1 to view the configuration and state information about E1-F interfaces. If the specified interface is a common serial interface rather than an E1-F interface, the system will display the system prompt.
Syntax
display fe1 [ serial interface-number ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
serial interface-number: Specifies a serial interface by number. If no interface is specified, this command displays information about all E1-F interfaces.
119
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display information about an E1-F interface.
<Sysname> display fe1 serial 2/0 Serial2/0 Basic Configuration: Work mode is E1 framed, Cable type is 75 Ohm unbalanced. Frame-format is no-crc4. Line code is hdb3, Source clock is slave. Idle code is 7e, Itf type is 7e, Itf number is 4. Loopback is not set. Alarm State: Receiver alarm state is Loss-of-Signal. Transmitter is sending remote alarm. Historical Statistics: Last clearing of counters: Never Data in current interval (430546 seconds elapsed): 430546 Loss Frame Alignment Secs, 0 Framing Error Secs, 0 CRC Error Secs, 0 Alarm Indication Secs, 430546 Loss-of-signals Secs, 0 Code Violations Secs, 1 Slip Secs, 0 E-Bit error Secs.
Description
Interface cable type75-ohm unbalanced/120-ohm balanced. Framing formatCRC4 or no-CRC4. Line code formatAMI or HDB3. Source clockmaster for internal clock and slave for line clock. Idle code7e or ff. Type of interframe filling flag7e or ff. Number of interframe filling flags. Whether loopback is configured on the interface. Alarm state. Time when the statistics of the interface were last cleared.
120
Field
Data in current interval (19349 seconds elapsed): 129 Loss Frame Alignment Secs, 0 Framing Error Secs, 0 CRC Error Secs, 0 Alarm Indication Secs, 129 Loss-of-signals Secs, 0 Code Violations Secs, 0 Slip Secs, 0 E-Bit error Secs.
Description
The total time (in seconds) for which each type of error occurs in the current interval. The errors include frame misalignment, framing errors, alarms, loss of signals, code violations, and slip frames.
fe1 alarm
Description
Use fe1 alarm to enable RAI detection on the interface. Use undo fe1 alarm to disable RAI detection on the interface. By default, RAI detection is enabled on an E1-F interface. This command is applicable when the interface operates in framed mode.
Syntax
fe1 alarm detect rai undo fe1 alarm detect rai
View
E1-F interface view
Default level
2: System level
Parameters
detect: Enables periodic alarm detection on an interface. rai: Remote Alarm Indication.
Examples
# Disable RAI detection on interface Serial 2/0.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] undo fe1 alarm detect rai
fe1 cable
Description
Use fe1 cable to set the cable length for an E1-F interface.
121
Use undo fe1 cable to restore the default. By default, the long parameter applies.
Syntax
fe1 cable { long | short } undo fe1 cable
View
E1-F interface view
Default level
2: System level
Parameters
long: Supports long cables. short: Supports short cables.
Examples
# Set the cable length type on E1-F interface Serial 2/0 to short.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] fe1 cable short
fe1 clock
Description
Use fe1 clock to configure the clock source for an E1-F interface. Use undo fe1 clock to restore the default clock source, line clock (slave). When the E1-F interface is working as DCE, set it to use the internal clock (master). When it is working as DTE, set it to use the line clock.
Syntax
fe1 clock { master | slave } undo fe1 clock
View
E1-F interface view
Default level
2: System level
Parameters
master: Adopts the internal clock as the clock source. slave: Adopts the line clock as the clock source.
Examples
# Use the internal clock as the clock source on E1-F interface Serial 2/0.
122
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] fe1 clock master
fe1 code
Description
Use fe1 code to configure the line code format for an E1-F interface. Use undo fe1 code to restore the default, HDB3. Keep the line code format of the interface consistent with the format used by the remote device. To ensure normal operation of the interface, configure fe1 data-coding inverted on it when the line code format is set to AMI. Related commands: fe1 data-coding.
Syntax
fe1 code { ami | hdb3 } undo fe1 code
View
E1-F interface view
Default level
2: System level
Parameters
ami: Adopts alternate mark inversion line code format. hdb3: Adopts high density bipolar 3 line code format.
Examples
# Set the line code format of E1-F interface Serial 2/0 to AMI.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] fe1 code ami
fe1 data-coding
Description
Use fe1 data-coding inverted to enable user data inversion for an E1-F interface. Use fe1 data-coding normal to disable user data inversion for an E1-F interface. Use undo fe1 data-coding to restore the default. By default, data inversion is disabled. To prevent 7e in valid data from being mistaken for padding, HDLC inserts a zero after every five ones in the data stream. Then, HDLC inverts every one bit into a zero and every zero bit into a one. This ensures that at least at least one out of every eight bits is a one. When AMI encoding is adopted on an E1-F interface, data inversion can eliminate the presence of multiple consecutive zeros. Adopt the same data inversion setting at both ends of an E1-F line.
123
Syntax
fe1 data-coding { inverted | normal } undo fe1 data-coding
View
E1-F interface view
Default level
2: System level
Parameters
inverted: Enables user data inversion. normal: Disables user data inversion.
Examples
# Enable user data inversion on E1-F interface Serial 2/0.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] fe1 data-coding inverted
fe1 detect-ais
Description
Use fe1 detect-ais to enable AIS test on an interface. Use undo fe1 detect-ais to disable AIS test. By default, AIS test is performed.
Syntax
fe1 detect-ais undo fe1 detect-ais
View
E1-F interface view
Default level
2: System level
Parameters
None
Examples
# Enable AIS test on E1-F interface Serial 2/0.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] fe1 detect-ais
124
fe1 frame-format
Description
Use fe1 frame-format to configure the framing format on an E1-F interface. Use undo fe1 frame-format to restore the default framing format, no-CRC4. An E1-F interface in framed mode supports both CRC4 and no-CRC4 framing formats, where CRC4 supports four-bit CRC on physical frames but no-CRC4 does not.
Syntax
fe1 frame-format { crc4 | no-crc4 } undo fe1 frame-format
View
E1-F interface view
Default level
2: System level
Parameters
crc4: Sets the framing format to CRC4. no-crc4: Sets the framing format to no-CRC4.
Examples
# Set the framing format of E1-F interface Serial 2/0 to CRC4.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] fe1 frame-format crc4
fe1 idlecode
Description
Use fe1 idlecode to configure the line idle code on an E1-F interface. Use undo fe1 idlecode to restore the default, 0x7E. The line idle code is sent over timeslots that are not bundled into logical channels on the interface.
Syntax
fe1 idlecode { 7e | ff } undo fe1 idlecode
View
E1-F interface view
Default level
2: System level
125
Parameters
7e: Sets the line idle code to 0x7E. ff: Sets the line idle code to 0xFF.
Examples
# Set the line idle code to 0x7E on E1-F interface Serial 2/0.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] fe1 idlecode 7e
fe1 itf
Description
Use fe1 itf to configure the type and number of interframe filling tags on an E1-F interface. Use undo fe1 itf to restore the default. By default, the type of interframe filling tags is 0x7E and the number of interframe filling tags is four. Interframe filling tags are sent when no service data is being transmitted on the timeslots bundled into the logical channel on an E1-F interface.
Syntax
fe1 itf { number number | type { 7e | ff } } undo fe1 itf { number | type }
View
E1-F interface view
Default level
2: System level
Parameters
number number: Sets the number of interframe filling tags (one byte in length), ranging from 0 to 14 bytes. type { 7e | ff }: Sets the type of interframe filling tag to 0x7E by specifying the 7e argument or to 0xFF by specifying the ff argument.
Examples
# Set the type of interframe filling tag to 0xFF on E1-F interface Serial 2/0.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] fe1 itf type ff
# Set the number of interframe filling tags to five on E1-F interface Serial 2/0.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] fe1 itf number 5
126
fe1 loopback
Description
Use fe1 loopback to enable loopback on an E1-F interface and set the loopback mode. Use undo fe1 loopback to disable loopback testing on an E1-F interface. By default, loopback is disabled. Loopback is primarily useful to check the condition of interfaces or cables. Disable loopback in other cases. NOTE: The three loopback modes cannot be used at the same time on an E1-F interface.
Syntax
fe1 loopback { local | payload | remote } undo fe1 loopback
View
E1-F interface view
Default level
2: System level
Parameters
local: Places the interface into internal loopback mode. payload: Places the interface into external payload loopback mode. remote: Places the interface into external loopback mode.
Examples
# Set E1-F interface Serial 2/0 to internal loopback mode.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] fe1 loopback local
fe1 timeslot-list
Description
Use fe1 timeslot-list to bundle timeslots on an E1-F interface. Use undo fe1 timeslot-list to restore the default. By default, all of the timeslots on the E1-F interface are bundled to form a 1,984 kbps interface. Timeslot bundling changes the interface rate. For example, after you bundle timeslots 1 through 10 on the interface, the interface rate becomes 10 64 kbps. Only one channel set can be created on an E1-F interface, and this channel set is associated with the current synchronous serial interface. On a CE1/PRI interface, however, you can create multiple channel sets; and for each channel set, the system automatically creates a synchronous serial interface.
127
NOTE: For E1-F interfaces, timeslot 0 is used for transmitting synchronization information. You can only bundle timeslots 1 through 31. When the E1-F interface is working in unframed mode, the fe1 timeslot-list command is invalid. Related command: fe1 unframed.
Syntax
fe1 timeslot-list list undo fe1 timeslot-list
View
E1-F interface view
Default level
2: System level
Parameters
list: Specifies the timeslots to be bundled by number, ranging from 1 through 31. You can specify a single timeslot by specifying its number, a range of timeslots by specifying a range in the form of { number1number2 }, or several discrete timeslots by specifying { number1, number2-number3 }.
Examples
# Bundle timeslots 1, 2, 5, 10 through 15, and 18 on E1-F interface Serial 2/0.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] fe1 timeslot-list 1,2,5,10-15,18
fe1 unframed
Description
Use fe1 unframed to configure the E1-F interface to work in unframed mode. Use undo fe1 unframed to configure the E1-F interface to work in framed mode. By default, the E1-F interface works in framed mode. When the E1-F interface is working in unframed mode, it is a 2,048 kbps interface without timeslot division and is logically equivalent to a synchronous serial interface. An interface in framed mode is divided into 32 timeslots numbered 0 through 31, where timeslot 0 is used for synchronization. Related command: fe1 timeslot-list.
Syntax
fe1 unframed undo fe1 unframed
128
View
E1-F interface view
Default level
2: System level
Parameters
None
Examples
# Set E1-F interface Serial 2/0 to work in unframed mode.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] fe1 unframed
Syntax
crc { 16 | 32 | none } undo crc
View
Synchronous serial interface view
Default level
2: System level
Parameters
16: Adopts 16-bit cyclic redundancy check. 32: Adopts 32-bit cyclic redundancy check. none: Disables CRC.
Examples
# Adopt 32-bit CRC on T1-F interface Serial 2/0.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] crc 32
129
display ft1
Description
Use display ft1 to view the configuration and state information about a T1-F interface. If the specified interface is a common serial interface rather than a T1-F interface, the system will display the system prompt.
Syntax
display ft1 [ serial interface-number ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
serial interface-number: Specifies a serial interface by number. If no interface is specified, this command displays information on all T1-F interfaces. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display information about T1-F interface Serial 2/0.
<Sysname> display ft1 serial 2/0 Serial2/0 Input: 0 packets, 0 bytes 0 broadcasts, 0 multicasts 0 errors, 0 runts, 0 giants 0 CRC, 0 align errors, 0 overruns 0 dribbles, 0 aborts, 0 no buffers 0 frame errors Output:0 packets, 0 bytes 0 errors, 0 underruns, 0 collisions 0 deferred Basic Configuration: Work mode is T1 framed, Cable type is 100 Ohm balanced. Frame-format is esf, fdl is none, Line code is b8zs. Source clock is slave, Data-coding is normal. Idle code is ff, Itf type is ff, Itf number is 2 Loop back is not set. Alarm State:
130
Receiver alarm state is Loss-of-Signal. Transmitter is sending remote alarm. Pulse density violation detected. SendLoopCode History: inband-llb-up:0 times, inband-llb-down:0 times. fdl-ansi-llb-up:0 times, fdl-ansi-llb-down:0 times. fdl-ansi-plb-up:0 times, fdl-ansi-plb-down:0 times. BERT state:(stopped, not completed) Test pattern: 2^15, Status: Not Sync, Sync Detected: 0 Time: 0 minute(s), Time past: 0 minute(s) Bit Errors (since test started): 0 bits Bits Received (since test started): 0 Kbits Bit Errors (since latest sync): 0 bits Bits Received (since latest sync): 0 Kbits Historical Statistics: Last clearing of counters: Never Data in current interval (285 seconds elapsed): 0 Line Code Violations, 0 Path Code Violations 0 Ais Alarm Secs, 286 Los Alarm Secs 7 Slip Secs, 286 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins 0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 286 Unavail Secs Data in Interval 1: 0 Line Code Violations, 0 Path Code Violations 0 Ais Alarm Secs, 901 Los Alarm Secs 22 Slip Secs, 901 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins 0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 901 Unavail Secs Data in Interval 2: 0 Line Code Violations, 0 Path Code Violations 0 Ais Alarm Secs, 900 Los Alarm Secs 23 Slip Secs, 900 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins 0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 900 Unavail Secs Total Data (last 2 15 minute intervals): 0 Line Code Violations, 0 Path Code Violations 0 Ais Alarm Secs, 2087 Los Alarm Secs 52 Slip Secs, 2087 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins 0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 2087 Unavail Secs
Description
Interface type and number. Basic configurations for the interface. Statistics about the input and output. T1 interface operating mode, T1 framed in this sample output.
131
Field
Cable type Frame-format fdl Line code Source Clock Data-coding Idle code Itf type Itf number Loop back Alarm State Receiver alarm state Transmitter is sending remote alarm. Pulse density violation detected SendLoopCode History: inband-llb-up:0 times, inband-llb-down:0 times. fdl-ansi-llb-up:0 times, fdl-ansi-llb-down:0 times. fdl-ansi-plb-up:0 times, fdl-ansi-plb-down:0 times BERT state:(stopped, not completed) Test pattern: 2^15, Status: Not Sync, Sync Detected: 0 Time: 0 minute(s), Time past: 0 minute(s) Bit Errors (since test started) Bits Received (since test started) Bit Errors (since latest sync) Bits Received (since latest sync) Historical Statistics: Last clearing of counters: Never
Description
Cable type of the interface, 100 ohm balanced in this sample output. Frame format configured on the interfaceESF or SF. FDL formatANSI, ATT, or none. Line code formatAMI or B8ZS. Source clock used by the interfacemaster for the internal clock or slave for the line clock. Normal or inverted. Idle code0x7E or 0xFF. Type of inter-frame filling tags0x7E or 0xFF. Number of inter-frame filling tags. Loopback setting on the interfacelocal, payload, remote, or not set. Alarm state. Type of received alarmnone, LOS, LOF, RAI, or AIS. Type of transmitted alarmRAI or none. The detected pulse density is noncompliant with the specification. History of loopback code sending to the far-end, including the number of transmissions for each type of code, and the type of the last sent code. (For more information, see the ft1 sendloopcode command.) BERT statecompleted, stopped (administratively stopped), or running. Test pattern in use, 2^15 in this sample output; synchronization state; and the number of detected synchronizations. The duration of the BERT test and the elapsed time. Number of bit errors received since the start of the BERT test. Number of bits received since the start of the BERT test. Number of bit errors received since last synchronization. Number of bits received since last synchronization. Historical statistics. Counter clearing records.
132
Field
Data in current interval (285 seconds elapsed): 0 Line Code Violations, 0 Path Code Violations 0 Ais Alarm Secs, 286 Los Alarm Secs 7 Slip Secs, 286 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins 0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 286 Unavail Secs Data in Interval 1: 0 Line Code Violations, 0 Path Code Violations 0 Ais Alarm Secs, 901 Los Alarm Secs 22 Slip Secs, 901 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins 0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 901 Unavail Secs Data in Interval 2: 0 Line Code Violations, 0 Path Code Violations 0 Ais Alarm Secs, 900 Los Alarm Secs 23 Slip Secs, 900 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins 0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 900 Unavail Secs Total Data (last 2 15 minute intervals): 0 Line Code Violations, 0 Path Code Violations 0 Ais Alarm Secs, 2087 Los Alarm Secs 52 Slip Secs, 2087 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins 0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 2087 Unavail Secs
Description
Statistics spanning the current interval. The statistical items, such as AIS alarm, LOS signal, and LFA, are provided according to the T1 specifications for the physical layer. For more information, see ANSI T1.403 and AT&T TR 54016.
Statistics spanning the first interval. The statistical items are the same as those provided by the statistics spanning the current interval.
Statistics spanning the second interval. The statistical items are the same as those provided by the statistics spanning the current interval.
Statistics spanning the last two intervals. The statistical items are the same as those provided by the statistics spanning the current interval.
ft1 alarm
Description
Use ft1 alarm to enable RAI detection on the interface. Use undo ft1 alarm to disable RAI detection on the interface. By default, RAI detection is enabled on an interface. This command is applicable when the framing format on the interface is ESF.
Syntax
ft1 alarm detect rai undo ft1 alarm detect rai
133
View
T1-F interface view
Default level
2: System level
Parameters
detect: Enables periodic detection on an interface. rai: Remote Alarm Indication.
Examples
# Disable RAI detection on interface Serial 2/0.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] undo ft1 alarm detect rai
ft1 alarm-threshold
Description
Use ft1 alarm-threshold to set LOS, AIS, or LFA alarm thresholds on the T1-F interface. Use undo ft1 alarm-threshold to restore the defaults.
Syntax
ft1 alarm-threshold { ais { level-1 | level-2 } | lfa { level-1 | level-2 | level-3 | level-4 } | los { pulsedetection | pulse-recovery } value } undo ft1 alarm-threshold { ais | lfa | los { pulse-detection | pulse-recovery } }
View
T1-F interface view
Default level
2: System level
Parameters
ais: Sets the alarm threshold of alarm indication signal, which can be level-1 or level-2. level-1Generates an AIS alarm when the number of 0s in the bit stream of an SF or ESF frame is less than or equal to 2. level-2Generates an AIS alarm when the number of 0s is less than or equal to 3 in the bit stream of an SF frame, or less than or equal to 5 in the bit stream of an ESP frame.
By default, level-1 AIS alarm threshold applies. lfa: Sets the loss of frame align alarm threshold, which can be level-1, level-2, level-3, or level-4. level-1Generates an LFA alarm when two of four frame alignment bits are lost. level-2Generates an LFA alarm when two of five frame alignment bits are lost. level-3Generates an LFA alarm when two of six frame alignment bits are lost.
134
level-4Applies only to ESF frames. It generates an LFA alarm when errors are detected in four consecutive ESF frames.
By default, level-1 LFA alarm threshold applies. los: Sets a loss of signal alarm threshold, which can be pulse-detection (for the pulse detection duration threshold with LOS) or pulse-recovery (for the pulse threshold with LOS). pulse-detectionThreshold in units of pulse intervals, ranging from 16 to 4,096, with a default of 176. pulse-recoveryThreshold ranging from 1 to 256, with a default of 22.
If the number of pulses detected during the total pulse detection interval is smaller than the pulse-recovery threshold, a LOS alarm occurs. For example, if the two thresholds are set to their default values, a LOS alarm occurs if fewer than 22 pulses are detected within 176 pulse intervals.
Examples
# Set the detection interval to 300 for the pulse detection duration threshold.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] ft1 alarm-threshold los pulse-detection 300
ft1 bert
Description
Use ft1 bert to start a BERT test on a T1-F interface. Use undo ft1 bert to stop the BERT test that is running on the T1-F interface. By default, no BERT test is performed. ITU O.151, ITU O.153, and ANSI T1.403-1999 define many BERT patterns, but the T1-F interface supports only 2^15 and 2^20. When running a BERT test, the local end transmits a test data stream, which is looped over somewhere on the line and sent back to the local end. The local end then checks the received pattern to determine the bit error rate, and identifies the condition of the line. You must configure loopback to allow the transmitted pattern to loop back from somewhere on the line. For example, loop it back from the far-end interface by placing the interface in far-end loopback. You can view the state and result of the BERT test with display ft1 serial.
Syntax
ft1 bert pattern { 2^15 | 2^20 } time minutes [ unframed ] undo ft1 bert
View
T1-F interface view
Default level
2: System level
Parameters
pattern: Specifies a bit error rate test pattern, which can be 2^15 or 2^20.
135
2^15: Specifies the code stream transmitted is two to the fifteenth power bits in length. 2^20: Specifies the code stream transmitted is two to the twentieth power bits in length.
time minutes: Sets the duration of a BERT test, ranging from 1 to 1,440 minutes. unframed: Sets the overhead bits of the padding frames for the BERT test.
Examples
# Run a 10-minute 2^20 BERT test on T1-F interface Serial 2/0.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] ft1 bert pattern 2^20 time 10
ft1 cable
Description
Use ft1 cable to set the cable attenuation and length for a T1-F interface. Use undo ft1cable to restore the default, long 0db. You can use this command to adapt the signal waveform to different transmission conditions, taking into account the quality of the signal received by the receiver. If signal quality is good, use the default setting.
Syntax
ft1 cable { long decibel | short length } undo ft1 cable
View
T1-F interface view
Default level
2: System level
Parameters
long decibel: Matches a cable length greater than 199.6-meter (655-feet). The options for this parameter include 0db, -7.5db, -15db, or -22.5db, depending upon the signal quality at the receiving end. No external CSU is required. short length: Matches a cable length less than 199.6 meters (655 feet). The options for this parameter include 133ft, 266ft, 399ft, 533ft, or 655ft, depending upon the actual transmission distance.
Examples
# Set the cable length to 40.5 meters (133 feet) on T1-F interface Serial 2/0.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0]ft1 cable short 133ft
ft1 clock
Description
Use ft1 clock to configure the clock source for a T1-F interface.
136
Use undo ft1 clock to restore the default clock source, line clock (slave). When the T1-F interface is working as DCE, set it to use the internal clock. When it is working as DTE, set it to use the line clock. When the T1-F interfaces on two routers are directly connected, one interface must work in master clock mode to provide the clock source, and the other must work in subordinate mode. When the T1-F interface on the router is connected to a switch, it is working as DTE and must be configured to accept the line clock provided by the switch working as DCE.
Syntax
ft1 clock { master | slave } undo ft1 clock
View
T1-F interface view
Default level
2: System level
Parameters
master: Adopts the internal clock as the clock source. slave: Adopts the line clock as the clock source.
Examples
# Use the internal clock as the clock source on T1-F interface Serial 2/0.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] ft1 clock master
ft1 code
Description
Use ft1 code to configure the line code format for a T1-F interface. Use undo ft1 code to restore the default, B8ZS. Keep the line code format of the interface consistent with the format used by the remote device. To ensure normal operation of the interface, configure ft1 data-coding inverted on it when the line code format is set to AMI. Related commands: ft1 data-coding.
Syntax
ft1 code { ami | b8zs } undo ft1 code
View
T1-F interface view
137
Default level
2: System level
Parameters
ami: Adopts alternate mark inversion line code format. b8zs: Adopts bipolar with 8-zero substitution line code format.
Examples
# Set the line code format of T1-F interface Serial 2/0 to AMI.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] ft1 code ami
ft1 data-coding
Description
Use ft1 data-coding inverted to enable user data inversion for a T1-F interface. Use ft1 data-coding normal to disable user data inversion for a T1-F interface. Use undo ft1 data-coding to restore the default. By default, data inversion is disabled. To prevent 7e in valid data from being mistaken for padding, HDLC inserts a zero after every five ones in the data stream. Then, HDLC inverts every one bit into a zero and every zero bit into a one. This ensures that at least at least one out of every eight bits is a one. When AMI encoding is adopted on a T1-F interface, data inversion can eliminate presence of multiple consecutive zeros. Adopt the same data inversion setting at both ends of a T1-F line.
Syntax
ft1 data-coding { inverted | normal } undo ft1 data-coding
View
T1-F interface view
Default level
2: System level
Parameters
inverted: Enables user data inversion. normal: Disables user data inversion.
Examples
# Enable user data inversion on T1-F interface Serial 2/0.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] ft1 data-coding inverted
138
ft1 fdl
Description
Use ft1 fdl to configure the behavior of the T1-F interface on the facilities data link in ESF framing. Use undo ft1 fdl to restore the default. By default, FDL is disabled (none). FDL is an embedded 4 kbps overhead channel within the ESF format for transmitting performance statistics or loopback code. You can change the setting, depending on the setting at the far end.
Syntax
ft1 fdl { ansi | att | both | none } undo ft1 fdl
View
T1-F interface view
Default level
2: System level
Parameters
ansi: Adopts ANSI T1.403 for FDL. att: Adopts AT&T TR 54016 for FDL. both: Adopts both ANSI T1.403 and AT&T TR 54016 for FDL. none: Disables FDL.
Examples
# Set ANSI T1.403 FDL on T1-F interface Serial 2/0.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] ft1 fdl ansi
ft1 frame-format
Description
Use ft1 frame-format to configure the framing format on a T1-F interface. Use undo ft1 frame-format to restore the default framing format, esf. A T1-F interface supports two framing formats: SF and ESF. In SF format, multiple frames can share the same FSC and signaling information, so that the more significant bits are available for transmitting user data. ESF format allows you to test the system without affecting the ongoing service.
Syntax
ft1 frame-format { esf | sf } undo ft1 frame-format
139
View
T1-F interface view
Default level
2: System level
Parameters
esf: Sets the framing format on the T1-F interface to extended super frame. sf: Sets the framing format on the T1-F interface to super frame.
Examples
# Set the framing format of T1-F interface Serial 2/0 to SF.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] ft1 frame-format sf
ft1 idlecode
Description
Use ft1 idlecode to configure the line idle code on a T1-F interface. Use undo ft1 idlecode to restore the default, 0x7E. The line idle code is sent over timeslots that are not bundled into logical channels on the interface.
Syntax
ft1 idlecode { 7e | ff } undo ft1 idlecode
View
T1-F interface view
Default level
2: System level
Parameters
7e: Sets the line idle code to 0x7E. ff: Sets the line idle code to 0xFF.
Examples
# Set the line idle code to 0x7E on T1-F interface Serial 2/0.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] ft1 idlecode 7e
140
ft1 itf
Description
Use ft1 itf to configure the type and number of interframe filling tags on a T1-F interface. Use undo ft1 itf to restore the defaults. By default, the type of interframe filling tags is 0x7E, and the number of interframe filling tags is four. Interframe filling tags are sent when no service data is being transmitted on the timeslots bundled into logical channels on a T1-F interface. Do not use ft1 itf type ff if both ft1 code ami and ft1 data-coding inverted are configured, so that the T1-F interface can function normally.
Syntax
ft1 itf { number number | type { 7e | ff } } undo ft1 itf { type | number }
View
T1-F interface view
Default level
2: System level
Parameters
number number: Sets the number of interframe filling tags (one byte in length), ranging from 0 to 14 bytes. type { 7e | ff }: Sets the type of interframe filling tag to 0x7E by specifying the 7e argument or to 0xFF by specifying the ff argument.
Examples
# Set the type of interframe filling tag to 0xFF on T1-F interface Serial 2/0.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] ft1 itf type ff
# Set the number of interframe filling tags to five on T1-F interface Serial 2/0.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] ft1 itf number 5
ft1 loopback
Description
Use ft1 loopback to enable loopback on a T1-F interface and set the loopback mode. Use undo ft1 loopback to disable loopback testing on a T1-F interface. By default, loopback is disabled.
141
Loopback is primarily useful to check the condition of interfaces or cables. Disable loopback in other cases. NOTE: The three loopback modes cannot be used at the same time on a T1-F interface.
Syntax
ft1 loopback { local | payload | remote } undo ft1 loopback
View
T1-F interface view
Default level
2: System level
Parameters
local: Places the interface into internal loopback mode. payload: Places the interface into external payload loopback mode. remote: Places the interface into external loopback mode.
Examples
# Set interface Serial 2/0 to local loopback mode.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] ft1 loopback local
ft1 sendloopcode
Description
Use ft1 sendloopcode to send a remote loopback control code. By default, no remote loopback control code is sent. You can configure loopback on the remote T1-F interface by sending a loopback request code. In LLB mode, all 193 bits (one synchronization bit and 192 effective bandwidth bits) in a T1 PCM frame are looped back. In PLB mode, however, only 192 effective bandwidth bits are looped back. The format of loopback code is compliant with ANSI T1.403 or AT&T TR 54016 standards. In SF framing, LLB code is sent using the effective bandwidth (slots 1 through 24). In ESF framing, both LLB code and PLB code are sent and received in the FDL in ESF frames. Use this command only when the remote T1-F interface can automatically detect loopback request code from the network.
Syntax
ft1 sendloopcode { fdl-ansi-llb-down | fdl-ansi-llb-up | fdl-ansi-plb-down | fdl-ansi-plb-up | fdl-att-plbdown | fdl-att-plb-up | inband-llb-down | inband-llb-up }
142
View
T1-F interface view
Default level
2: System level
Parameters
fdl-ansi-llb-down: Sends an ANSI-compliant LLB deactivation request code in the FDL to removes loopback. fdl-ansi-llb-up: Sends an ANSI-compliant LLB activation request code in the FDL to start remote loopback. fdl-ansi-plb-down: Sends an ANSI-compliant PLB deactivation request code in the FDL to remove loopback. fdl-ansi-plb-up: Sends an ANSI-compliant PLB activation request code in the FDL to start remote loopback. fdl-att-plb-down: Sends an AT&T-compliant PLB deactivation request code in the FDL to remove loopback. fdl-att-plb-up: Sends an AT&T-compliant PLB activation request code in the FDL to start remote loopback. inband-llb-down: Sends an ANSI- or AT&T-compliant in-band LLB deactivation request code to remove loopback. inband-llb-up: Sends an ANSI- or AT&T-compliant in-band LLB activation request code to start remote loopback.
Examples
# Send an in-band LLB activation request code.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] ft1 sendloopcode inband-llb-up
ft1 timeslot-list
Description
Use ft1 timeslot-list to bundle timeslots on a T1-F interface. Use undo ft1 timeslot-list to restore the default. By default, all of the timeslots on the T1-F interface are bundled to form a 1,536 kbps interface. Timeslot bundling changes the interface rate. For example, after you bundle timeslots 1 through 10 on the interface, the interface rate becomes 10 64 kbps or 10 56 kbps. Only one channel set can be created on a T1-F interface, and this channel set is associated with the current synchronous serial interface. On a CT1/PRI interface, however, you can create multiple channel sets; and for each channel set, the system automatically creates a synchronous serial interface.
Syntax
ft1 timeslot-list list [ speed { 56k | 64k } ] undo ft1 timeslot-list
143
View
T1-F interface view
Default level
2: System level
Parameters
list: Specifies the timeslots to be bundled by number, ranging from 1 through 24. You can specify a single timeslot by specifying its number, a range of timeslots by specifying a range in the form of { number1number2 }, or several discrete timeslots by specifying { number1, number2-number3 }. speed { 56k | 64k }: Specifies the timeslot bundling speed in kbps. The default is 64k. 56kSpecifies that timeslots are bundled into an N 56 kbps bundle. 64kSpecifies that timeslots are bundled into an N 64 kbps bundle.
Examples
# Bundle timeslots 1, 2, 5, 10 through 15, and 18 on T1-F interface Serial 2/0.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] ft1 timeslot-list 1,2,5,10-15,18
Syntax
bert pattern { 2^7 | 2^1 | 2^15 | qrss } time number [ unframed ] 1 undo bert
View
CE3 interface view
144
Default level
2: System level
Parameters
pattern: Specifies a bit error rate test pattern, which can be 2^7, 2^1 2^15, or QRSS. 1, 2^7: Specifies the code stream transmitted is two to the seventh power bits in length. 2^1 Specifies the code stream transmitted is two to the eleventh power in length. 1: 2^15: Specifies the code stream transmitted is two to the fifteenth power in length. qrss: Specifies the code stream transmitted is two to the twentieth power in length, and the number of consecutive 0s in the code stream is less than 14.
time number: Sets the duration of a BERT test, ranging from 1 to 1,440 minutes. unframed: Sets the overhead bits of the padding frames for the BERT test.
Examples
# Run a 10-minute BERT test in QRSS mode on CE3 2/0 interface.
<Sysname> system-view [Sysname] interface e3 2/0 [Sysname-E3 2/0] bert pattern qrss time 10
Syntax
clock { master | slave } undo clock
View
CE3 interface view
Default level
2: System level
Parameters
master: Adopts the internal clock as the clock source. slave: Adopts the line clock as the clock source.
Examples
# Use the internal clock as the clock source on CE3 interface E3 2/0.
<Sysname> system-view
145
controller e3
Description
Use controller e3 to enter CE3 interface view. Related command: display controller e3.
Syntax
controller e3 interface-number
View
System view
Default level
2: System level
Parameters
interface-number: CE3 interface number.
Examples
# Enter the view of interface E3 2/0.
<Sysname> system-view [Sysname] controller e3 2/0 [Sysname-E3 2/0]
crc
Description
Use crc to configure CRC mode for a synchronous serial interface formed by CE3 interfaces. Use undo crc to restore the default, 16-bit CRC. Related command: e1 channel-set, e1 unframed, and using.
Syntax
crc { 16 | 32 | none } undo crc
View
Synchronous serial interface view
Default level
2: System level
Parameters
16: Adopts 16-bit cyclic redundancy check. 32: Adopts 32-bit cyclic redundancy check.
146
Examples
# Apply 32-bit CRC to a serial interface formed on interface E3 2/0 in unchannelized mode.
<Sysname> system-view [Sysname] controller e3 2/0 [Sysname-E3 2/0] using e3 [Sysname-E3 2/0] quit [Sysname] interface serial 2/0/0:0 [Sysname-Serial2/0/0:0] crc 32
# Apply 16-bit CRC to a serial interface formed on interface E3 2/0 in unchannelized mode.
<Sysname> system-view [Sysname] controller e3 2/0 [Sysname-E3 2/0] e1 3 channel-set 5 timeslot-list 1-20 [Sysname-E3 2/0] quit [Sysname] interface serial 2/0/3:5 [Sysname-Serial2/0/3:5] crc 16
display controller e3
Description
Use display controller e3 to view information about a specific CE3 interface, or all CE3 interfaces. In addition to the state information of the CE3 interface, this command displays information about each E1 line on the CE3 interface, if the interface is working in CE3 mode.
Syntax
display controller e3 [ interface-number ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
interface-number: Specifies a CE3 interface number. In conjunction with the e3 keyword, it specifies a CE3 interface. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display information about interface E3 10/0.
147
<Sysname> display controller e3 10/0 E3 10/0 current state: UP Description : E3 10/0 Interface Frame-format G751, line code HDB3, clock slave, national-bit 1 Current mode is CE3, loopback not set Alarm: none ERROR: 2 BPV, 0 EXZ, 0 FrmErr, 0 FEBE BERT state:(completed) Test pattern: 2^7, Status: Not Sync, Sync Detected: 0 Time: 2 minute(s), Time past: 2 minute(s) Bit errors (since test started): 0 bits Bits received (since test started): 0 Mbits Bit errors (since latest sync): 0 bits Bits received (since latest sync): 0 Mbits E3 10/0 CE1 1 is up NO-CRC4, clock slave, loopback not set Frame-format
Receiver alarm state is none BERT state:(stopped) E3 10/0 CE1 2 is up NO-CRC4, clock slave, loopback not set Frame-format
Receiver alarm state is none BERT state:(stopped) E3 10/0 CE1 3 is up NO-CRC4, clock slave, loopback not set Frame-format
Receiver alarm state is none BERT state:(stopped) E3 10/0 CE1 4 is up NO-CRC4, clock slave, loopback not set Frame-format
Receiver alarm state is none BERT state:(stopped) E3 10/0 CE1 5 is up NO-CRC4, clock slave, loopback not set Frame-format
Receiver alarm state is none BERT state:(stopped) E3 10/0 CE1 6 is up NO-CRC4, clock slave, loopback not set Frame-format
Receiver alarm state is none BERT state:(stopped) E3 10/0 CE1 7 is up NO-CRC4, clock slave, loopback not set Frame-format
Receiver alarm state is none BERT state:(stopped) E3 10/0 CE1 8 is up NO-CRC4, clock slave, loopback not set Frame-format
Receiver alarm state is none BERT state:(stopped) E3 10/0 CE1 9 is up NO-CRC4, clock slave, loopback not set Frame-format
148
Receiver alarm state is none BERT state:(stopped) E3 10/0 CE1 10 is up NO-CRC4, clock slave, loopback not set Frame-format
Receiver alarm state is none BERT state:(stopped) E3 10/0 CE1 11 is up NO-CRC4, clock slave, loopback not set Frame-format
Receiver alarm state is none BERT state:(stopped) E3 10/0 CE1 12 is up NO-CRC4, clock slave, loopback not set Frame-format
Receiver alarm state is none BERT state:(stopped) E3 10/0 CE1 13 is up NO-CRC4, clock slave, loopback not set Frame-format
Receiver alarm state is none BERT state:(stopped) E3 10/0 CE1 14 is up NO-CRC4, clock slave, loopback not set Frame-format
Receiver alarm state is none BERT state:(stopped) E3 10/0 CE1 15 is up NO-CRC4, clock slave, loopback not set Frame-format
Receiver alarm state is none BERT state:(stopped) E3 10/0 CE1 16 is up NO-CRC4, clock slave, loopback not set Frame-format
Description
Physical state of the E3 interfaceup or down. Description of the E3 interface. Working modeCE3 or E3. Loopback modepayload, remote, local, or no loopback. Alarm informationLOS, AIS, RAI, or LOF. Statistics on each type of errors. BERT state:
Running. Completed.
149
Field
Description
Test mode:
Synchronization state:
SyncSynchronized.
Time: 2 minute(s), Time past: 2 minute(s) Bit errors (since test started): 0 bits Bits received (since test started): 0 Mbits Bit errors (since latest sync): 0 bits Bits received (since latest sync): 0 Mbits E3 10/0 CE1 1 is up Total test time and past test time. Number of bit errors received since the test began. Total number of bits received since the test began. Number of bit errors received since the last synchronization. Total number of bits received since the last synchronization. CE1 channel on the E3 interface. Information about the E1 line: Frame-format NO-CRC4, clock slave, loopback not set
Framing formatnone, 33, or 16. Clock sourceslave or master. LoopbackLocal, remote, payload, or not set.
Types of alarmsLOS, LOF, AIS, or RAI. When the interface receives a LOS, LOF, or AIS and sends a RAI to its peer, it displays Transmitter is sending RAI.
e1 bert
Description
Use e1 bert to start a BERT test for an E1 channel created on a CE3 interface. Use undo e1 bert to stop a BERT test that is running on the E1 channel of a CE3 interface. By default, no BERT test is performed. ITU O.151, ITU O.153, and ANSI T1.403-1999 define many BERT patterns, but E1 channels created on CE3 interfaces support only 2^1 2^15, 2^20, 2^23, and QRSS. 1, When running a BERT test, the local end transmits a test data stream, which is looped over somewhere on the line and sent back to the local end. The local end then checks the received pattern to determine the bit error rate, and identifies the condition of the line. You must configure loopback to allow the transmitted pattern to loop back from somewhere on the line. For example, loop it back from the far-end interface by placing the interface in far-end loopback. You can view the state and result of the BERT test with display controller e3.
150
Syntax
e1 line-number bert pattern { 2^1 | 2^15 | 2^20 | 2^23 | qrss } time number [ unframed ] 1 undo e1 line-number bert
View
CE3 interface view
Default level
2: System level
Parameters
line-number: Specifies an E1 channel by number, ranging from 1 to 28. pattern: Specifies a bit error rate test pattern, which can be 2^1 2^15, 2^20, 2^23, or QRSS. 1, 2^1 Specifies the code stream transmitted is two to the eleventh power bits in length. 1: 2^15: Specifies the code stream transmitted is two to the fifteenth power bits in length. 2^20: Specifies the code stream transmitted is two to the twentieth power bits in length. 2^23: Specifies the code stream transmitted is two to the twenty-third power bits in length. qrss: Specifies the code stream transmitted is two to the twentieth power bits in length, and the number of consecutive 0s in the code stream is no greater than 14.
time number: Sets the duration of a BERT test, ranging from 1 to 1,440 minutes. unframed: Sets the overhead bits of the padding frames for the BERT test.
Examples
# Run a 10-minute BERT test in QRSS mode on E1 channel 1 created on CE3 2/0 interface.
<Sysname> system-view [Sysname] interface e3 2/0 [Sysname-E3 2/0] e1 1 bert pattern qrss time 10
e1 channel-set
Description
Use e1 channel-set to bundle timeslots on an E1 line. Use undo e1 channel-set to remove a timeslot bundle. By default, no timeslots are bundled into channel sets. A CE3 interface can be channelized into 64 kbps lines and the timeslots on each E1 line can be bundled into up to 31 channels. When an E1 line operates in framed (CE1) mode, you can bundle timeslots on it into channel sets. For each channel set, the system automatically creates a serial interface named serial number/linenumber:set-number. For example, the serial interface formed by channel set 0 on the first E1 line on E3 1/0 is named 1/0/1:0. This interface can operate at N 64 kbps and is logically equivalent to a synchronous serial interface on which you can make other configurations. Related command: e1 unframed.
151
Syntax
e1 line-number channel-set set-number timeslot-list list undo e1 line-number channel-set set-number
View
CE3 interface view
Default level
2: System level
Parameters
line-number: Specifies an E1 line by number ranging from 1 to 16. set-number: Specifies a channel set formed by bundling timeslots on the E1 line, ranging from 0 to 30. timeslot-list list: Specifies the timeslots to be bundled. The list argument can contain multiple timeslot numbers, each of which ranges from 1 to 31. You can specify a single timeslot by specifying a timeslot number, a range of timeslots by providing this argument in the form of { number1-number2 }, or multiple timeslots by providing this argument in the form of { number1, number2-number3 }.
Examples
# Create a 128 kbps serial interface on the first E1 channel on interface E3 2/0.
<Sysname> system-view [Sysname] controller e3 2/0 [Sysname-E3 2/0] e1 1 channel-set 1 timeslot-list 1,2
e1 set clock
Description
Use e1 set clock to configure the clock source for an E1 line on the CE3 interface. Use undo e1 set clock to restore the default clock source, line clock. When the CE3 interface is working in channelized mode, you can set separate clock sources for each E1 line on it.
Syntax
e1 line-number set clock { master | slave } undo e1 line-number set clock
View
CE3 interface view
Default level
2: System level
Parameters
line-number: Specifies an E1 line by number, ranging from 1 to 16. master: Adopts the internal clock as the clock source. slave: Adopts the line clock as the clock source.
152
Examples
# Use the internal clock as the clock source on the first E1 line on interface E3 2/0.
<Sysname> system-view [Sysname] controller e3 2/0 [Sysname-E3 2/0] e1 1 set clock slave
e1 set frame-format
Description
Use e1 set frame-format to set framing format for an E1 line. Use undo e1 set frame-format to restore the default framing format, no-CRC4. Configure this command only when the specified E1 line is working in framed format, which can be set using undo e1 unframed. Related command: e1 unframed.
Syntax
e1 line-number set frame-format { crc4 | no-crc4 } undo e1 line-number set frame-format
View
CE3 interface view
Default level
2: System level
Parameters
line-number: Specifies an E1 line by number, ranging from 1 to 16. crc4: Sets the framing format to CRC4. no-crc4: Sets the framing format to no-CRC4.
Examples
# Set the framing format to CRC4 for the first E1 line on interface E3 2/0.
<Sysname> system-view [Sysname] controller e3 2/0 [Sysname-E3 2/0] e1 1 set frame-format crc4
e1 set loopback
Description
Use e1 set loopback to enable loopback on an E1 line and set the loopback mode. Use undo e1 set loopback to disable loopback testing on an E1 line. By default, loopback is disabled on E1 lines. If an E1 line encapsulated with PPP is in loopback mode, the state of the link layer protocol is reported as down.
153
Syntax
e1 line-number set loopback { local | payload | remote } undo e1 line-number set loopback
View
CE3 interface view
Default level
2: System level
Parameters
line-number: Specifies an E1 line by number, ranging from 1 to 16. local: Places the E1 line into internal loopback mode. payload: Places the E1 line into payload loopback mode. remote: Places the E1 line into external loopback mode.
Examples
# Set the first E1 line on interface E3 2/0 to internal loopback mode.
<Sysname> system-view [Sysname] controller e3 2/0 [Sysname-E3 2/0] e1 1 set loopback local
e1 shutdown
Description
Use e1 shutdown to shut down an E1 line on the CE3 interface. Use undo e1 shutdown to restore the default. By default, E1 lines are up. This command affects both the specified E1 line and any serial interfaces bundled on it. Using e1 shutdown on the specified E1 line shuts down all these serial interfaces. Use undo e1 shutdown to restart the E1 line and the serial interfaces bundled on it.
Syntax
e1 line-number shutdown undo e1 line-number shutdown
View
CE3 interface view
Default level
2: System level
Parameters
line-number: Specifies an E1 line by number, ranging from 1 to 16.
154
Examples
# Shut down the first E1 line on interface E3 2/0.
<Sysname> system-view [Sysname] controller e3 2/0 [Sysname-E3 2/0] e1 1 shutdown
e1 unframed
Description
Use e1 unframed to configure an E1 line on the CE3 interface to work in unframed mode (E1 mode). Use undo e1 unframed to restore the default. By default, an E1 line operates in framed mode (CE1 mode). An E1 line in unframed mode does not contain the frame control information; it cannot be divided into timeslots. The system automatically creates a serial interface named serial number/line-number:0. This interface operates at 2,048 kbps and is logically equivalent to a synchronous serial interface on which you can make other configurations. Related command: e1 channel-set.
Syntax
e1 line-number unframed undo e1 line-number unframed
View
CE3 interface view
Default level
2: System level
Parameters
line-number: Specifies an E1 line by number, ranging from 1 to 16.
Examples
# Set the first E1 line on interface E3 2/0 to operate in unframed mode.
<Sysname> system-view [Sysname] controller e3 2/0 [Sysname-E3 2/0] e1 1 unframed
fe3
Description
Use fe3 to configure a CE3 interface to operate in FE3 mode, and set the DSU mode or subrate. Use undo fe3 to restore the default. By default, DSU mode 1 (the Kentrox mode) is adopted, and the subrate is 34,010 kbps.
155
FE3 mode is a nonstandard E3 application mode. In this mode, the subrate level setting varies with vendors. You can use fe3 to set up the device to be compatible with devices of other vendors operating in specific FE3 DSU modes. This command is only applicable to CE3 boards that support FE3. This command is only available in E3 mode. As for fe3 subrate, the actual subrate is usually not exactly the one set by the command. After you set the subrate with fe3 subrate, the CE3 interface searches the subrate levels corresponding to the DSU mode and selects the closest match. The device then adjusts the hardware to allow for the configured subrate. You can use display interface serial interface-number:0 to check the DSU mode setting, subrate, actual rate, and baudrate of a CE3 interface. The actual rate does not include the overhead bits, and the baudrate is the actual E3 line rate (34,368 kbps) including the overhead bits.
Syntax
fe3 { dsu-mode { 0 | 1 } | subrate number } undo fe3 { dsu-mode | subrate }
View
CE3 interface (in FE3 mode) view
Default level
2: System level
Parameters
dsu-mode: Specifies the FE3 DSU mode for a CE3 interface operating in FE3 mode. This keyword can be followed by 0 or 1. 0Specifies Digital Link mode, where the subrate is a multiple of 358 kbps ranging from 358 to 34,010 kbps (up to 95 rate levels are available). 1Specifies Kentrox mode, where the subrate is a multiple of 500 kbps ranging from 500 to 24,500 kbps. In this mode, the subrate can also be 34,010 kbps (up to 50 rate levels are available).
subrate number: Specifies the subrate for the CE3 interface. The number argument ranges from 1 to 34,010 kbps.
Examples
# Configure E3 2/0 interface to operate in FE3 mode, setting the DSU mode to 1 and the subrate to 3,000 kbps.
<Sysname> system-view [Sysname] controller e3 2/0 [Sysname-E3 2/0] using e3 [Sysname-E3 2/0] fe3 dsu-mode 1 [Sysname-E3 2/0] fe3 subrate 3000
Use undo loopback to restore the default. By default, loopback is disabled on the CE3 interface. Loopback is intended for test use. Disable loopback in other cases. If a CE3 interface encapsulated with PPP is placed in a loopback, the state of the link layer protocol is reported as down.
Syntax
loopback { local | payload | remote } undo loopback
View
CE3 interface view
Default level
2: System level
Parameters
local: Enables internal loopback on a CE3 interface. payload: Enables external payload loopback on a CE3 interface. remote: Enables external loopback on a CE3 interface.
Examples
# Enable internal loopback on interface E3 2/0.
<Sysname> system-view [Sysname] controller e3 2/0 [Sysname-E3 2/0] loopback local
national-bit
Description
Use national-bit to configure the national bit on the CE3 interface. Use undo national-bit to restore the default, 1. You only need to set the national bit to 0 on an E3 interface in some special circumstances. Related command: controller e3.
Syntax
national-bit { 0 | 1 } undo national-bit
View
CE3 interface view
Default level
2: System level
157
Parameters
0: Sets the national bit to 0 for national communication. 1: Sets the national bit to 1 for international communication.
Examples
# Set the national bit to 0 on interface E3 2/0.
<Sysname> system-view [Sysname] controller e3 2/0 [Sysname-E3 2/0] national-bit 0
Syntax
reset counters controller e3 interface-number
View
User view
Default level
2: System level
Parameters
interface-number: Specifies the interface to reset, by number.
Examples
# Clear the controller counter for CE3 interface E3 2/0.
<Sysname> reset counters controller e3 2/0
158
Syntax
using { ce3 | e3 } undo using
View
CE3 interface view
Default level
2: System level
Parameters
ce3: Sets the CE3 interface to operate in channelized mode. e3: Sets the CE3 interface to operate in unchannelized mode.
Examples
# Configure interface E3 2/0 to operate in unchannelized mode.
<Sysname> system-view [Sysname] controller e3 2/0 [Sysname-E3 2/0] using e3
You can only configure the CT3 interface to send one type of alarm signal at a time. To send another type of signal, first use undo alarm to remove the previous setting. When the RAI signal generated upon detection of a LOS, LOF, or AIS signal is present, the CT3 interface cannot send another type of signal. To do that, first use undo alarm detect to disable the CT3 interface from generating a RAI signal upon detecting an alarm. You can view the alarm state information with display controller t3.
159
Syntax
alarm { detect | generate { ais | febe | idle | rai } } undo alarm { detect | generate { ais | febe | idle | rai } }
View
CT3 interface view
Default level
2: System level
Parameters
detect: Enables or disables periodic alarm signal detection. By default, periodic alarm detection is enabled. generate: Sends alarm signals, which can be AIS, RAI, idle, or FEBE for a line state test. By default, alarm generation is disabled. ais: Alarm indication signal. febe: Far end block error signal. idle: Idle signal. rai: Remote alarm indication signal.
Examples
# Enable periodic alarm signal detection on CT3 interface T3 2/0.
<Sysname> system-view [Sysname] controller t3 2/0 [Sysname-T3 2/0] alarm detect
Syntax
bert pattern { 2^7 | 2^1 | 2^15 | qrss } time number [ unframed ] 1 undo bert
View
CT3 interface view
Default level
2: System level
Parameters
pattern: Specifies a bit error rate test pattern, which can be 2^7, 2^1 2^15, or QRSS. 1, 2^7: Specifies the code stream transmitted is two to the seventh power bits in length. 2^1 Specifies the code stream transmitted is two to the eleventh power bits in length. 1: 2^15: Specifies the code stream transmitted is two to the fifteenth power bits in length. qrss: Specifies the code stream transmitted is two to the twentieth power bits in length, and the number of consecutive 0s in the code stream is less than 14.
time number: Sets the duration of a BERT test, ranging from 1 to 1,440 minutes. unframed: Sets the overhead bits of the padding frames for the BERT test.
Examples
# Run a 10-minute BERT test in QRSS mode on CT3 interface T3 2/0.
<Sysname> system-view [Sysname] controller t3 2/0 [Sysname-T3 2/0] bert pattern qrss time 10
Syntax
cable feet undo cable
View
CT3 interface view
Default level
2: System level
161
Parameters
feet: Specifies the cable length, ranging from 0 to 450 feet (0 to 137.2 meters).
Examples
# Set the cable length to 50 feet (15.2 meters) on interface T3 2/0.
<Sysname> system-view [Sysname] controller t3 2/0 [Sysname-T3 2/0] cable 50
Syntax
clock { master | slave } undo clock
View
CT3 interface view
Default level
2: System level
Parameters
master: Adopts the internal clock as the clock source. slave: Adopts the line clock as the clock source.
Examples
# Use the internal clock as the clock source on CT3 interface T3 2/0.
<Sysname> system-view [Sysname] controller t3 2/0 [Sysname-T3 2/0] clock master
controller t3
Description
Use controller t3 to enter CT3 interface view. Related command: display controller t3.
Syntax
controller t3 interface-number
162
View
System view
Default level
2: System level
Parameters
interface-number: Specifies the CT3 interface to view, by number.
Examples
# Enter T3 2/0 interface view.
<Sysname> system-view [Sysname] controller t3 2/0 [Sysname-T3 2/0]
crc
Description
Use crc to configure CRC mode for a serial interface formed on CT3 interfaces. Use undo crc to restore the default, 16-bit CRC. Related command: t1 channel-set, t1 unframed, and using.
Syntax
crc { 16 | 32 | none } undo crc
View
Synchronous serial interface view
Default level
2: System level
Parameters
16: Adopts 16-bit cyclic redundancy check. 32: Adopts 32-bit cyclic redundancy check CRC. none: Disables CRC.
Examples
# Apply 32-bit CRC to a serial interface formed on interface T3 2/0 in unchannelized mode.
<Sysname> system-view [Sysname] controller t3 2/0 [Sysname-T3 2/0] using t3 [Sysname-T3 2/0] quit [Sysname] interface serial 2/0/0:0 [Sysname-Serial2/0/0:0] crc 32
# Apply 16-bit CRC to a serial interface formed on interface CT3 2/0 in channelized mode.
163
<Sysname> system-view [Sysname] controller t3 2/0 [Sysname-T3 2/0] t1 2 channel-set 4 timeslot-list 5-11 [Sysname-T3 2/0] quit [Sysname] interface serial 2/0/2:4 [Sysname-Serial2/0/2:4] crc 16
display controller t3
Description
Use display controller t3 to view information about a specific CT3 interface, or all CT3 interfaces. If the interface is working in CT3 mode, this command displays information about each T1 line on the CT3 interface.
Syntax
display controller t3 [ interface-number ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
interface-number: Specifies a CT3 interface by number. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display information about interface T3 2/0.
<Sysname> display controller t3 2/0 T3 2/0 current state :UP Description : T3 2/0 Interface Basic Configuration: Work mode is CT3, cable length is 49 feet. Frame-format is C-BIT Parity, line code is B3ZS. Source clock is slave, loopback is not set. Alarm state: Receiver alarm state is none. MDL state: No message is sent now. Message data elements:
164
EIC: line, LIC: line, FIC: line, UNIT: line FI: line, PORT_NO: line, GEN_NO: line Periodical detection is disabled. FEAC state: No code is sent now. Periodical detection is enabled, no code received now. BERT state:(stopped, not completed) Test pattern: 2^7, Status: Not Sync, Sync Detected: 0 Time: 0 minute(s), Time past: 0 minute(s) Bit errors (since test started): 0 bits Bits received (since test started): 0 Mbits Bit errors (since latest sync): 0 bits Bits received (since latest sync): 0 Mbits Historical Statistics: Last clearing of counters: 14:39:02 UTC Sat 06/25/2005 Data in current interval (22 seconds elapsed): 0 Line Code Violations, 0 Far End Block Error 0 C-Bit Coding Violation, 0 P-bit Coding Violation 0 Framing Bit Err, 0 Severely Err Framing Secs 0 C-bit Err Secs, 0 C-bit Severely Err Secs 0 P-bit Err Secs, 0 P-bit Severely Err Secs 0 Unavailable Secs, 0 Line Err Secs T3 2/0 CT1 1 is up
Frame-format ESF, clock slave, loopback not set FDL Performance Report is disabled Transmitter is sending none Receiver alarm state is none Line loop back deactivate code using inband signal last sent BERT state:(stopped, not completed) Test pattern: 2^11, Status: Not Sync, Sync Detected: 0 Time: 0 minute(s), Time past: 0 minute(s) Bit errors (since test started): 0 bits Bits received (since test started): 0 Kbits Bit errors (since latest sync): 0 bits Bits received (since latest sync): 0 Kbits
Description
Physical state of the interfaceup or down. Description of the interface. Basic configuration of the interface. Operating mode of the interfaceCT3 or T3. Cable length supported by the interface. Frame formatC-bit parity or M23. Line code. In this output sample, line code is B3ZS. 165
Field
Source clock loopback Receiver alarm state MDL state No message is sent now. Message data elements EIC: line, LIC: line, FIC: line, UNIT: line
Description
Clock sourcemaster or slave. Loopback statelocal, remote, payload, or not set. Type of received alarmnone, LOS, LOF, RAI, or AIS. When the interface receives a LOS, LOF, or AIS and sends a RAI to its peer, it displays Transmitter is sending RAI. MDL state. No MDL message is being sent. For example, if an MDL message, path or idle-signal was being sent, the screen displays Message sent now: path. idle signal. MDL data elements. EIC, LIC, FIC, and UNIT are four elements present in all types of MDL messages. Their values are user-configurable and default to line. FI is found in MDL path messages, PORT_NO in MDL idle signal messages, and GEN_NO in MDL test signal messages. Their values are user-configurable and default to line. State of periodic detection of MDL, disabled by default at the startup of the router. When the function is enabled, the screen displays: Periodical detection is enabled. No message was received. When MDL messages are detected, the screen displays: Message received now: path.idle signal. EIC: line, LIC: line, FIC: line, UNIT: line path/FI: line idle Signal/PORT_NO: line
Periodical detection
FEAC state No code is sent now. DS3 Line Loop Back Deactivate was last sent. Periodical detection is enabled, no code received now. DS3 Line Loop Back Deactivate last received. BERT state:(stopped, not completed) Test pattern: 2^7, Status: Not Sync, Sync Detected: 0 Time: 0 minute(s), Time past: 0 minute(s) Bit errors (since test started): 0 bits Bits received (since test started)
FEAC state. No FEAC signal is sent. The last FEAC signal sent was DS3 Line Loop Back Deactivate. Periodic detection of FEAC is enabled. This is the default applied at the startup of the router. No FEAC signal is being received. The last FEAC signal received was DS3 Line Loop Back Deactivate. BERT statecompleted, stopped (not completed), or running. Test pattern in use (such as 2^7, 2^11, 2^15, and QRSS), 2^7 in this sample output; synchronization state, and the number of detected synchronizations. Duration of the BERT test and the elapsed time. Number of bit errors received since the BERT test began. Number of bits received since the BERT test began. 166
Field
Bit errors (since latest sync) Bits received (since latest sync) Last clearing of counters Data in current interval: Line Code Violations Far End Block Error C-Bit Coding Violation P-bit Coding Violation Framing Bit Err Severely Err Framing Secs C-bit Err Secs C-bit Severely Err Secs P-bit Err Secs P-bit Severely Err Secs Unavailable Secs Line Err Secs Total Data (last 17 15 minute intervals) T3 2/0 CT1 1 is up
Description
Number of bit errors received since last synchronization. Number of bits received since last synchronization. Time when counters were last cleared. If the counters have never been cleared, Never displays. Statistics spanning the current 15-minute interval, covering the counts of these items:
Line code violationsBPV or EXZ. Far-end block error. C-bit coding violation. P-bit coding violation. Framing bit error. C-bit erroneous second. C-bit severely erroneous second, the second during which 44 C-bit errors occurred.
P-bit erroneous second. P-bit severely erroneous second, the second during which 44 Pbit errors occurred.
Service unavailable second. Line erroneous second, during which LOS, BPV, EXZ, C-bit, P-bit,
or other error occurred. Total data spanning the last 17 intervals. State of T1 line on the CT3 interface: up or down. In this output sample, T1 line 1 is up. Information about the T1 line:
Framing formatESF or SF. Clock sourcemaster or slave. LoopbackLocal, remote, payload, or not set.
Transmission of PPR in the FDL is disabled. You may enable that using the t1 set fdl ansi command. The transmitter of the T1 line is sending RAI signals. When the T1 line receives LOS, LOF, or AIS signals, it sends RAI signals. The type of alarm signal that the T1 line can receiveLOS, LOF, AIS, or RAI. The loopback code sent last time is in-band LLB activation request code. BERT test staterunning, complete, or stopped (not completed). Test pattern in use, 2^11 in this sample output; synchronization state; and the number of detected synchronizations.
FDL Performance Report is disabled Transmitter is sending RAI Receiver alarm state is LOF Line loop back activate code using inband signal last sent BERT state Test pattern Status Sync Detected Time Time past Bit errors (since test started)
Duration of the BERT test and elapsed time. Number of bit errors received since the start of the BERT test.
167
Field
Bits received (since test started) Bit errors (since latest sync) Bits received (since latest sync)
Description
Number of bits received since the start of the BERT test. Number of bit errors received since last synchronization. Number of bits received since last synchronization.
feac
Description
Use feac to enable FEAC channel signal detection and sending on the CT3 interface. Use undo feac to remove the current FEAC settings. FEAC is a channel formed by using the third C-bit in the first subframe in C-bit framing. It is used to transmit alarm state signals for line test purposes, or to transmit loopback control codes for activating or deactivating far-end loopback during a loopback test. According to ANSI T1.107a, the frame format used by FEAC channels is BOP. At the startup of your router, FEAC channel signal detection is enabled on the CT3 interface with FEAC signal sending disabled. After far-end loopback is activated with feac generate loopback { ds3-line | ds3-payload }, you can remove it with the undo form of the command. NOTE: Disable FEAC detection before you configure far-end loopback to prevent loopback deadlock, which may happen when the local end enables loopback after detecting the loopback code sent back by the far end. You may view the transmitting and receiving state of the FEAC channel with display controller t3.
Syntax
feac { detect | generate { ds3-los | ds3-ais | ds3-oof | ds3-idle | ds3-eqptfail | loopback { ds3-line | ds3-payload } } } undo feac { detect | generate { ds3-los | ds3-ais | ds3-oof | ds3-idle | ds3-eqptfail | loopback { ds3line | ds3-payload } } }
View
CT3 interface view
Default level
2: System level
Parameters
detect: Enables periodic far end and control signal channel signal detection. By default, periodic FEAC channel signal detection is enabled. generate: Sends FEAC signals. By default, FEAC signal sending is disabled. Specify the type of signal to generate: ds3-losSpecifies DS3 LOS.
168
ds3-aisSpecifies DS3 AIS. ds3-oofSpecifies DS3 out of frame. ds3-idleSpecifies DS3 idle. ds3-eqptfailSpecifies DS3 equipment failure. ds3-lineActivates far-end line loopback. ds3-payloadActivates payload loopback.
loopback: Sends loopback activation code. By default, loopback code sending is disabled. Specify:
Examples
# Enable FEAC channel signal detection on CT3 interface T3 2/0.
<Sysname> system-view [Sysname] controller t3 2/0 [Sysname-T3 2/0] feac detect
# On CT3 interface T3 2/0, send loopback code to the far end to place the far end into line loopback.
<Sysname> system-view [Sysname] controller t3 2/0 [Sysname-T3 2/0] feac generate loopback ds3-line
Syntax
frame-format { c-bit | m23 } undo frame-format
View
CT3 interface view
Default level
2: System level
Parameters
c-bit: Sets the framing format to C-bit. m23: Sets the framing format to m23.
Examples
# Set the framing format of interface T3 2/0 to m23.
<Sysname> system-view
169
ft3
Description
Use ft3 to configure a CT3 interface to operate in FT3 mode, and set the DSU mode or subrate. Use undo ft3 to restore the default. By default, DSU mode 0 (the Digital Link mode) is adopted, and the subrate is 44,210 kbps. FT3 mode is a nonstandard E3 application mode. In this mode, the subrate level setting varies with vendors. You can use ft3 to set up the device to be compatible with devices of other vendors operating in specific FT3 DSU modes. This command is only applicable to CT3 boards that support FT3. This command is only available in CT3 mode. As for ft3 subrate, the actual subrate is usually not exactly the one set by the command. After you set the subrate with ft3 subrate, the T3 interface searches the subrate levels corresponding to the DSU mode and selects the closest match. The device then adjusts the hardware to allow for the configured subrate. You can use display interface serial interface-number:0 to check the DSU mode setting, subrate, actual rate, and baudrate of a CT3 interface. The actual rate does not include the overhead bits, and the baudrate is the actual T3 line rate (44,736 kbps) including the overhead bits.
Syntax
ft3 { dsu-mode { 0 | 1 | 2 | 3 | 4 } | subrate number } undo ft3 { dsu-mode | subrate }
View
CT3 interface (in FT3 mode) view
Default level
2: System level
Parameters
dsu-mode: Specifies the Fractional T3 DSU mode for a CT3 interface operating in FT3 mode. This keyword can be followed by 0, 1, 2, 3, or 4. 0Specifies Digital Link mode, where the subrate is a multiple of 300,746 bps ranging from 300 to 44,210 kbps (up to 147 subrate levels are available). 1Specifies Kentrox mode, where the subrate is a multiple of 1,500,000 bps ranging from 1,500 to 35,000 kbps. In this mode, the subrate can also be 44,210 kbps (up to 57 subrate levels are available). 2Specifies Larscom mode, where the subrate is a multiple of 3,157,835 bps ranging from 3,100 to 44,210 kbps (up to 14 subrate levels are available). 3Specifies Adtran mode, where the subrate is a multiple of 75,187 bps ranging from 75 to 44,210 kbps (up to 588 subrate levels are available). 4Specifies Verilink mode, where the subrate is a multiple of 1,578,918 bps ranging from 1,500 to 44,210 kbps (up to 20 subrate levels are available).
170
subrate number: Specifies the subrate for the CT3 interface, ranging from 1 to 44,210 kbps.
Examples
# Configure T3 2/0 interface to operate in FT3 mode, setting the DSU mode to 1 and the subrate to 3,000 kbps.
<Sysname> system-view [Sysname] controller t3 2/0 [Sysname-T3 2/0] using t3 [Sysname-T3 2/0] ft3 dsu-mode 1 [Sysname-T3 2/0] ft3 subrate 3000
Syntax
loopback { local | payload | remote } undo loopback
View
CT3 interface view
Default level
2: System level
Parameters
local: Places the interface into internal loopback mode. payload: Places the interface into external payload loopback mode. remote: Places the interface into external loopback mode.
Examples
# Set interface T3 2/0 to internal loopback mode.
<Sysname> system-view [Sysname] controller t3 2/0 [Sysname-T3 2/0] loopback local
Use undo mdl to remove the MDL settings from the CT3 interface. Use undo mdl detect to disable the CT3 interface from detecting MDL messages. Use undo mdl generate to disable the CT3 interface from sending MDL messages. Use undo mdl data to restore the default settings. MDL is a channel formed by using the three C-bits in the fifth subframe in C-bit framing. According to ANSI T1.107a, it is used to transmit three types of maintenance messages: path, idle signal, and test signal. Its data frame format is LAPD. At the startup of your router, MDL message detection and sending are disabled on CT3 interfaces, and the default MDL message information applies.
Syntax
mdl { data { eic string | fic string | gen-no string | lic string | pfi string | port-no string | unit string } | detect | generate { idle-signal | path | test-signal } } undo mdl [ data [ eic | fic | gen-no | lic | pfi | port-no | unit ] | detect | generate [ idle-signal | path | test-signal ] ]
View
CT3 interface view
Default level
2: System level
Parameters
data: Specifies the information included in MDL messages. Among all types of information, EIC, FIC, LIC, and unit are defined for all types of MDL messages; PFI is only defined for path MDL messages; port number is only defined for idle signal messages; and generator number is only defined for test signal messages. eic string: Specifies the equipment identification code, a string of 1 to 10 characters. The system default is line. fic string: Specifies the frame identification code, a string of 1 to 10 characters. The system default is line. gen-no string: Specifies the generator number, a string of 1 to 38 characters. The system default is line. lic string: Specifies the location identification code, a string of 1 to 1 characters. The system default 1 is line. pfi string: Specifies the path facility identification, a string of 1 to 38 characters. The system default is line. port-no string: Specifies the port number in an idle signal message, a string of 1 to 38 characters. The system default is line. unit string: Specifies the unit, a string of 1 to 6 characters. The system default is line.
detect: Enables or disables periodic maintenance data link message detection. generate: Sends specified information with MDL messages, which can be path, idle signal, or test signal, or all of them regularly.
172
Examples
# Enable MDL detection on CT3 interface T3 2/0.
<Sysname> system-view [Sysname] controller t3 2/0 [Sysname-T3 2/0] mdl detect
Syntax
reset counters controller t3 interface-number
View
User view
Default level
2: System level
Parameters
interface-number: Specifies the interface to reset, by number.
Examples
# Clear the controller counter for CT3 interface E3 2/0.
<Sysname> reset counters controller t3 2/0
t1 alarm
Description
Use t1 alarm to enable the specified T1 line on the CT3 interface to detect and send alarm signals. Use undo t1 alarm to remove the alarm signal detection and sending setting. At the startup of the router, periodic alarm signal detection is enabled on all T1 lines on the CT3 interface. When a T1 line detects LOS, LOF, or AIS signals, it sends RAI signals to its peer. Alarm state reporting for the interface is real time; you may view this information with display controller t3.
173
The supported ANSI T1.403 compliant alarm signals are: LOS LOF AIS RAI FEBE idle
You can only configure a T1 line to send one type of alarm signal at a time. To send another type of signal, first use undo t1 alarm to remove the previous setting. When the RAI signal generated upon detection of a LOS, LOF, or AIS signal is present, the T1 line cannot send another type of signal. To do that, first use undo t1 alarm detect to disable the T1 line from generating a RAI signal upon detecting an alarm.
Syntax
t1 line-number alarm { detect | generate { ais | rai } } undo t1 line-number alarm { detect | generate { ais | rai } }
View
CT3 interface view
Default level
2: System level
Parameters
line-number: Specifies a T1 line by number, ranging from 1 to 28. detect: Enables or disables periodic alarm signal detection. By default, periodic alarm detection is enabled. generate: Sends alarm signals, which can be AIS or RAI, for a line state test. By default, alarm signal generation is disabled. ais: Alarm indication signal. rai: Remote alarm indication signal.
Examples
# Enable periodic alarm signal detection on T1 line 1 on CT3 interface T3 2/0.
<Sysname> system-view [Sysname] controller t3 2/0 [Sysname-T3 2/0] t1 1 alarm detect
174
t1 bert
Description
Use t1 bert to start a BERT test on the specified T1 line on a CT3 interface. Use undo t1 bert to stop the BERT test that is running on the specified T1 line on a CT3 interface. By default, no BERT test is performed. ITU O.151, ITU O.153, and ANSI T1.403-1999 define many BERT patterns, but T1 lines on CT3 interfaces support only 2^1 2^15, 2^20, 2^23, and QRSS. 1, When running a BERT test, the local end transmits a pattern, which is looped over somewhere on the line and sent back to the local end. The local end then checks the received pattern to determine the bit error rate, and identifies the condition of the line. You must configure loopback to allow the transmitted pattern to loop back from somewhere on the line. For example, loop it back from the far-end interface by placing the interface in far-end loopback. You can view the state and result of the BERT test with display controller t3.
Syntax
t1 line-number bert pattern { 2^1 | 2^15 | 2^20 | 2^23 | qrss } time number [ unframed ] 1 undo t1 line-number bert
View
CT3 interface view
Default level
2: System level
Parameters
line-number: T1 line number, ranging from 1 to 28. pattern: Specifies a bit error rate test pattern, which can be 2^1 2^15, 2^20, 2^23, or QRSS. 1, 2^1 Specifies the code stream transmitted is two to the eleventh power bits in length. 1: 2^15: Specifies the code stream transmitted is two to the fifteenth power bits in length. 2^20: Specifies the code stream transmitted is two to the twentieth power bits in length. 2^23: Specifies the code stream transmitted is two to the twenty third power bits in length. qrss: Specifies the code stream transmitted is two to the twentieth power bits in length, and the number of consecutive 0s in the code stream is less than 14.
time number: Sets the duration of a BERT test, ranging from 1 to 1,440 minutes. unframed: Sets the overhead bits of the padding frames for the BERT test.
Examples
# Run a 10-minute BERT test in QRSS mode on T1 line 1 on CT3 interface T3 2/0.
<Sysname> system-view [Sysname] controller t3 2/0 [Sysname-T3 2/0] t1 1 bert pattern qrss time 10
175
t1 channel-set
Description
Use t1 channel-set to bundle specified timeslots into a channel set on a T1 line. Use undo t1 channel-set to remove the specified channel set. By default, no channel set is created. When a T1 line is operating in framed (CT1) mode, you can bundle timeslots on it. For each channel set thus formed, the system automatically creates a serial interface numbered serial number/line-number:setnumber. This interface operates at N 64 kbps (or N 56 kbps) and is logically equivalent to a synchronous serial interface on which you can make other configurations. Related command: t1 unframed.
Syntax
t1 line-number channel-set set-number timeslot-list list [ speed { 56k | 64k } ] undo t1 line-number channel-set set-number
View
CT3 interface view
Default level
2: System level
Parameters
line-number: Specifies a T1 line by number, ranging from 1 to 28. set-number: Specifies a channel set formed from a timeslot bundle on the T1 line by number, ranging from 0 to 23. timeslot-list list: Specifies a list of timeslots to be bundled. The list argument can contain multiple timeslot numbers, each of which ranges from 1 to 24. You can specify a single timeslot by specifying a timeslot number, a range of timeslots in the form of { number1-number2 }, or multiple timeslots in the form of { number1, number2-number3 }. speed { 56k | 64k }: Speed of the timeslot bundle (the channel set) in kbps. If 56k is selected, the timeslots are bundled into an N 56 kbps bundle. If 64k, the default, is selected, the timeslots are bundled into an N 64 kbps bundle.
Examples
# Create a 128 kbps serial interface through timeslot bundling on the first T1 line on interface T3 2/0.
<Sysname> system-view [Sysname] controller t3 2/0 [Sysname-T3 2/0] t1 1 channel-set 1 timeslot-list 1,2
t1 sendloopcode
Description
Use t1 sendloopcode to set the loopback mode of the specified far-end T1 line. Use undo t1 sendloopcode to remove the corresponding setting.
176
Loopback is an effective tool for diagnosing certain sorts of transmission issues. You may place a far-end device into loopback mode either at the command line or by sending a loopback control code. The types and formats of loopback control code supported on T1 interfaces are compliant with ANSI T1.403. Loopback can be divided into line loopback and payload loopback. They differ in the sense that the data stream is looped back at the framer with line loopback but not with payload loopback. You may transmit a loopback control code by using the in-band signal (the 192 effective bandwidth bits or all 193 bits of T1) or the FDL in ESF frames.
Syntax
t1 line-number sendloopcode { fdl-ansi-line-up | fdl-ansi-payload-up | fdl-att-payload-up | inband-lineup } undo t1 line-number sendloopcode { fdl-ansi-line-up | fdl-ansi-payload-up | fdl-att-payload-up | inband-line-up }
View
CT3 interface view
Default level
2: System level
Parameters
line-number: Specifies a T1 line by number, ranging from 1 to 28. fdl-ansi-line-up: Sends ANSI-compliant LLB activation request code in the FDL to start remote loopback. fdl-ansi-payload-up: Sends ANSI-compliant PLB activation request code in the FDL to start remote loopback. fdl-att-payload-up: Sends AT&T-compliant PLB activation request code in the FDL to start remote loopback. inband-line-up: Sends an ANSI- or AT&T-compliant in-band LLB activation request code to start remote loopback.
Examples
# Send the in-band signal on T1 line 1 on CT3 interface T3 2/0 to place the far-end T1 line in line loopback mode.
<Sysname> system-view [Sysname] controller t3 2/0 [Sysname-T3 2/0] t1 1 sendloopcode inband-line-up
t1 set clock
Description
Use t1 set clock to configure the clock source for a T1 line on the CT3 interface. Use undo t1 set clock to restore the default clock source, line clock (slave). When a CT3 interface is working in channelized mode, its various T1 lines may use separate clocks.
Syntax
t1 line-number set clock { master | slave }
177
View
CT3 interface view
Default level
2: System level
Parameters
line-number: Specifies a T1 line by number, ranging from 1 to 28. master: Adopts the internal clock as the clock source on the T1 line. slave: Adopts the line clock as the clock source on the T1 line.
Examples
# Use the internal clock as the clock source on the first T1 line on interface T3 2/0.
<Sysname> system-view [Sysname] controller t3 2/0 [Sysname-T3 2/0] t1 1 set clock slave
t1 set fdl
Description
Use t1 set fdl to configure the behavior of the specified T1 line on the facilities data link in ESF framing. Use undo t1 set fdl to restore the default. By default, FDL is disabled (none). FDL is an embedded 4 kbps overhead channel within the ESF format for transmitting periodic performance report statistics or loopback code. According to ANSI T1.403, the format of PPR is LAPD, and the format of loopback code is BOP. The t1 set fdl command starts PPR transmission, but it cannot enable loopback code transmission or detection. This command only apply to channelized T1 lines with a T1 framing format of ESF.
Syntax
t1 line-number set fdl { ansi | att | both | none} undo t1 line-number set fdl
View
CT3 interface view
Default level
2: System level
Parameters
line-number: Specifies a T1 line by number, ranging from 1 to 28. fdl: Sets the FDL format of T1.
178
ansi: Adopts ANSI T1.403 for FDL. att: Adopts AT&T TR 54016 for FDL. both: Adopts both ANSI T1.403 and AT&T TR 54016 for FDL. none: Disables FDL on the T1 line.
Examples
# Set the FDL to be ANSI T1.403 compliant for T1 line 1 on CT3 interface T3 2/0.
<Sysname> system-view [Sysname] controller t3 2/0 [Sysname-T3 2/0] t1 1 set fdl ansi
t1 set frame-format
Description
Use t1 set frame-format to configure the framing format of a T1 line. Use undo t1 set frame-format to restore the default, ESF. You can only configure this command when the T1 line is working in framed format (which can be set using undo t1 unframed). Related command: t1 unframed.
Syntax
t1 line-number set frame-format { esf | sf } undo t1 line-number set frame-format
View
CT3 interface view
Default level
2: System level
Parameters
line-number: Specifies a T1 line by number, ranging from 1 to 28. esf: Sets the T1 line to use the ESF format. sf: Sets the T1 line to use the SF format.
Examples
# Set the framing format to SF for the first T1 line on interface T3 2/0.
<Sysname> system-view [Sysname] controller t3 2/0 [Sysname-T3 2/0] t1 1 set frame-format sf
t1 set loopback
Description
Use t1 set loopback to configure the loopback mode of a T1 line on the T3 interface.
179
Use undo t1 set loopback to disable the T1 line to loop back of a T1 line on the T3 interface. By default, loopback is disabled on T1 lines. Loopback is intended for test use. Disable loopback in other cases. If a T1 line encapsulated with PPP is placed in loopback mode, it is normal that the state of the link layer protocol is reported down.
Syntax
t1 line-number set loopback { local | remote | payload } undo t1 line-number set loopback
View
CT3 interface view
Default level
2: System level
Parameters
line-number: Specifies a T1 line by number, ranging from 1 to 28. local: Places the T1 line into internal loopback mode. remote: Places the T1 line into external loopback mode. payload: Places the T1 line into payload loopback mode.
Examples
# Enable internal loopback on the first T1 line on interface T3 2/0.
<Sysname> system-view [Sysname] controller t3 2/0 [Sysname-T3 2/0] t1 1 set loopback local
t1 show
Description
Use t1 show to take a quick look at the line state of the specified T1 line on the CT3 interface.
Syntax
t1 line-number show
View
CT3 interface view
Default level
2: System level
Parameters
line-number: Specifies a T1 line by number, ranging from 1 to 28. show: Displays the physical line state of the specified T1 line.
180
Examples
# Display line state of T1 line 1 on CT3 interface T3 2/0.
<Sysname> system-view [Sysname] interface t3 2/0 [Sysname-T3 2/0] t1 1 show T3 2/0 CT1 1 is up Frame-format ESF, clock slave, loopback not set FDL Performance Report is disabled Transmitter is sending none Receiver alarm state is none Line loop back deactivate code using inband signal last sent BERT state:(stopped, not completed) Test pattern: 2^11, Status: Not Sync, Sync Detected: 0 Time: 0 minute(s), Time past: 0 minute(s) Bit errors (since test started): 0 bits Bits received (since test started): 0 Kbits Bit errors (since latest sync): 0 bits Bits received (since latest sync): 0 Kbits
Description
The state of T1 line 1 on the CT3 interfaceup or down. Framing format of T1ESF or SF. Clock source used by the T1 lineslave for the line clock or master for the internal clock. Loopback state or modelocal, remote, payload, or not set. Transmission of PPR in the FDL is disabled. You may enable it using t1 set fdl ansi. The transmitter of the T1 line is sending RAI signals. When the T1 line receives LOS, LOF, or AIS signals, it sends RAI signals. The type of alarm signal that the T1 line can receiveLOS, LOF, AIS, or RAI. The loopback code sent last time was in-band LLB activation request code. BERT test staterunning, complete, or stopped (not completed). Test pattern in use, 2^11 in this example; synchronization state, and the number of detected synchronizations.
The duration of the BERT test and elapsed time. Number of bit errors received since the start of the BERT test. Number of bits received since the start of the BERT test. Number of bit errors received since the last synchronization. 181
Field
Bits received (since latest sync)
Description
Number of bits received since the last synchronization.
t1 shutdown
Description
Use t1 shutdown to shut down a T1 line on the CT3 interface. Use undo t1 shutdown to bring up a T1 line. By default, T1 lines are up. This command shuts down the specified T1 line and all serial interfaces formed on it. Use undo t1 shutdown to bring up the T1 line and all serial interfaces formed on it.
Syntax
t1 line-number shutdown undo t1 line-number shutdown
View
CT3 interface view
Default level
2: System level
Parameters
line-number: Specifies a T1 line by number, ranging from 1 to 28.
Examples
# Shut down the first T1 line on interface T3 2/0.
<Sysname> system-view [Sysname] controller t3 2/0 [Sysname-T3 2/0] t1 1 shutdown
t1 unframed
Description
Use t1 unframed to enable a T1 line on the CT3 interface to work in unframed mode (T1 mode). Use undo t1 unframed to enable a T1 line on the CT3 interface to work in framed mode (CT1 mode). By default, T1 lines are working in framed (CT1) mode. A T1 line in unframed mode does not contain frame control information; and it cannot be divided into timeslots. The system automatically creates a serial interface named serial number/line-number:0. This interface operates at 1,544 kbps and is logically equivalent to a synchronous serial interface on which you can make other configurations. Related command: t1 channel-set.
182
Syntax
t1 line-number unframed undo t1 line-number unframed
View
CT3 interface view
Default level
2: System level
Parameters
line-number: Specifies a T1 line by number, ranging from 1 to 28.
Examples
# Set the first T1 line on interface T3 2/0 to work in unframed mode.
<Sysname> system-view [Sysname] controller t3 2/0 [Sysname-T3 2/0] t1 1 unframed
Syntax
using { ct3 | t3 } undo using
View
CT3 interface view
Default level
2: System level
Parameters
ct3: Sets the CT3 interface to operate in channelized mode. t3: Sets the CT3 interface to operate in unchannelized mode.
Examples
# Configure interface T3 2/0 to operate in unchannelized mode.
<Sysname> system-view [Sysname] controller t3 2/0
183
Syntax
display interface [ bri ] [ brief [ down ] ] [ | { begin | exclude | include } regular-expression ] display interface bri interface-number [ brief ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
2: Monitor level
Parameters
interface-number: Specifies a BRI interface by number. brief: Displays brief interface information. If you do not specify this keyword, the command displays detailed interface information. down: Displays information about all interfaces in the DOWN state and the causes. If you do not specify this keyword, the command displays information about interfaces in all states. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display detailed information about interface BRI 2/0.
<Sysname> display interface bri 2/0 Bri2/0 current state: UP Line protocol current state: UP Description: Bri2/0 Interface The Maximum Transmit Unit is 1500, Hold timer is 10(sec) Baudrate is 128000 bps, Timeslot(s) Used: 1, 2
184
Internet Address is 6.6.5.5/24 Primary Encapsulation is ISDN Output queue : (Urgent queuing : Length) Output queue : (FIFO queuing : Length) Last clearing of counters: 17:41:01 75 Tue 04/19/2011 100 500 Output queue : (Protocol queuing : Length)
Last 300 seconds input rate 0.00 bytes/sec, 0 bits/sec, 0.00 packets/sec Last 300 seconds output rate 0.00 bytes/sec, 0 bits/sec, 0.00 packets/sec Input: 0 packets, 0 bytes 0 errors, 0 runts, 0 giants, 0 CRC, 0 align errors, 0 overruns, 0 aborts, 0 no buffers 0 frame errors Output:0 packets, 0 bytes 0 errors, 0 underruns, 0 collisions 0 deferred
# Display brief information about all BRI interfaces in the DOWN state.
<Sysname> display interface bri brief down The brief information of interface(s) under route mode: Link: ADM - administratively down; Stby - standby Interface Bri2/0 Link Cause DOWN Not connected
185
Field
Description
The MTU of the BRI interface. The MTU defaults to 1,500 bytes, which means that packets larger than 1,500 bytes will be fragmented before being sent. If fragmentation is not allowed, the packet will be dropped. Hold timer refers to the lifetime of a packet in a network. It is the maximum time that a packet can exist in the network before being dropped. The hold timer of packets on the BRI interface is set to 10 seconds. The bandwidth and timeslot of the BRI interface. IP address of the BRI interface. The encapsulation protocol of the interface is ISDN. Urgent queuing: Maximum number of packets that can stay in the queue. Protocol queuing: Maximum number of packets that can stay in the queue. Packets with IP precedence of 6 enter this queue. FIFO queuing: Current number of packets in the FIFO queue, and the maximum number of packets that can stay in the queue. The last time when statistics on the BRI interface were cleared. Average input rate over the last 300 seconds in Bps, bps, and pps. Average output rate over the last 300 seconds in Bps, bps, and pps. Total received packets and bytes on the BRI interface:
Baudrate is 128000 bps, Timeslot(s) Used: 1, 2 Internet Address is 6.6.5.5/24 Primary Encapsulation is ISDN Output queue : (Urgent queuing : Length) 100 Output queue : (Protocol queuing : Length) 500 Output queue : (FIFO queuing : Length) 75 Last clearing of counters: Never Last 300 seconds input rate 0.00 bytes/sec, 0 bits/sec, 0.00 packets/sec Last 300 seconds output rate 0.00 bytes/sec, 0 bits/sec, 0.00 packets/sec
CRCNumber of packets with CRC errors. align errorsNumber of packets with alignment errors. overrunsNumber of packets dropped because the receiving
rate exceeds the forwarding rate.
186
Field
Description
Output statistics on the BRI interface:
Interface
Link
UPThe link is up. ADMThe link has been administratively shut down. To
recover its physical state, use undo shutdown. Protocol connection state of the interface, which can be UP, DOWN, or UP(s). The main IP address of the interface. Interface description. The cause of a DOWN physical link. If the port was shut down with the shutdown command, this field displays Administratively. To restore the physical state of the interface, use undo shutdown.
Cause
Syntax
loopback { b1 | b2 | both } undo loopback
View
ISDN BRI interface view
Default level
2: System level
187
Parameters
b1: Places the B1 channel into external loopback mode. b2: Places the B2 channel into external loopback mode. both: Places both B1 and B2 channels into external loopback mode.
Examples
# Place the B1 and B2 channels on interface BRI 1/0 in external loopback mode.
<Sysname> system-view [Sysname] interface bri 1/0 [Sysname-Bri1/0] loopback both
Syntax
mtu size undo mtu
View
ISDN BRI interface view
Default level
2: System level
Parameters
size: Sets the MTU size, ranging from 128 to 1,500 bytes.
Examples
# Set the MTU of interface BRI 1/0 to 1,200 bytes.
<Sysname> system-view [Sysname] interface bri 1/0 [Sysname-Bri1/0] mtu 1200
188
If you specify the bri parameter without the interface-number argument, this command clears statistics on all BRI interfaces. If you specify both the bri parameter and the interface-number argument, this command only clears statistics for the specified BRI interface.
Syntax
reset counters interface [ bri [ interface-number ] ]
View
Use view
Default level
2: System level
Parameters
bri interface-number: Specifies the BRI interface to reset, by number.
Examples
# Clear statistics for interface BRI 2/0.
<Sysname> reset counters interface bri 2/0
189
Syntax
bandwidth bandwidth-value undo bandwidth
View
ATM E1 interface view, ATM T1 interface view, ATM E3 interface view, ATM T3 interface view, ATM OC3c interface view, ATM STM-1 interface view, ATM (ADSL) interface view, ATM (G.SHDSL) interface view, EFM interface view
Default level
2: System level
Parameters
bandwidth-value: Specifies the intended bandwidth for the interface, ranging from 1 to 4,294,967,295 kbps.
Examples
# Set the intended bandwidth to 1,000 kbps for interface ATM 1/0.
<Sysname> system-view [Sysname] interface atm 1/0 [Sysname-Atm1/0] bandwidth 1000
default
Description
Use default to restore the default settings for an ATM or a DSL interface.
Syntax
default
190
View
ATM E1 interface view, ATM T1 interface view, ATM E3 interface view, ATM T3 interface view, ATM OC3c interface view, ATM STM-1 interface view, ATM (ADSL) interface view, ATM (G.SHDSL) interface view, EFM interface view
Default level
2: System level
Parameters
None
Examples
# Restore the default settings for interface ATM 1/0.
<Sysname> system-view [Sysname] interface atm 1/0 [Sysname-Atm1/0] default This command will restore the default settings. Continue? [Y/N]:y
description
Description
Use description to change the text description of the current interface. Use undo description to restore the default. The default description of an interface is interface name plus Interface. For example, ATM2/0 Interface.
Syntax
description text undo description
View
ATM E1 interface view, ATM T1 interface view, ATM E3 interface view, ATM T3 interface view, ATM OC3c interface view, ATM STM-1 interface view, ATM (ADSL) interface view, ATM (G.SHDSL) interface view, EFM interface view
Default level
2: System level
Parameters
text: The interface description, a case-sensitive string of 1 to 80 characters. The description can contain letters, digits, special characters (including ~ ! @ # $ % ^ & * ( ) - _ + = { } [ ] | \ : ; " ' < > , . /), spaces, and other Unicode characters and symbols. Each Unicode character takes the space of two regular characters.
Examples
# Set the description of interface ATM 1/0 to atmswitch-interface.
<Sysname> system-view [Sysname] interface atm 1/0 [Sysname-Atm1/0] description atmswitch-interface
191
Syntax
display interface [ atm ] [ brief [ down ] ] [ | { begin | exclude | include } regular-expression ] display interface atm interface-number [ brief ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
interface-number: Specifies an ATM interface by number. brief: Displays brief interface information. If you do not specify this keyword, the command displays detailed interface information. down: Displays information about all interfaces in the DOWN state and the causes. If you do not specify this keyword, the command displays information about interfaces in all states. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display detailed 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
192
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.00 packets/sec
Last 0 seconds output rate 0.00 bytes/sec, 0.00 packets/sec Input : 0 packets, 0 bytes, 0 buffers 0 errors, 0 crcs, 0 lens, 0 giants, 0 pads, 0 aborts, 0 timeouts 0 overflows, 0 overruns,0 no buffer Output: 0 packets, 0 bytes, 0 buffers 0 errors, 0 overflows, 0 underruns
ATM adaptation layer type: AAL5. Maximum number of virtual circuits: 128. ATM interface type: ATM over E1. Scrambling is enabled. Framing format: crc4-adm.
Line coding format: hdb3. Clock mode: slave. Cable mode: long. Loopback is not enabled.
code hdb3, clock slave, Cablelength long, loopback not set Line Error: 0 FERR, 0 LCV, 0 CERR, 0 FEBE
193
Field
The brief information of interface(s) under route mode
Description
Brief information about Layer 3 interfaces. Link status of the interface:
If the network layer protocol state of an interface is shown as UP, but its link is an on-demand link or not present at all, the protocol attribute includes the spoofing flag (an s in parentheses). Abbreviated interface name. Physical link state of the interface:
Link
UPThe link is up. ADMThe link has been administratively shut down. To recover its
physical state, use undo shutdown. Protocol connection state of the interface, which can be UP, DOWN, or UP(s). The main IP address of the interface. Description of the interface. The cause of a DOWN physical link. If the port was shut down with the shutdown command, this field displays Administratively. To restore the physical state of the interface, use undo shutdown.
interface atm
Description
Use interface atm to enter ATM interface view or DSL interface view.
Syntax
interface atm interface-number
View
System view
Default level
2: System level
Parameters
interface-number: Specifies an ATM or DSL interface by number.
Examples
# Enter ATM 1/0 interface view.
<Sysname> system-view [Sysname] interface atm 1/0
194
[Sysname-Atm1/0]
Syntax
reset atm interface [ atm [ interface-number ] ]
View
User view
Default level
2: System level
Parameters
atm interface-number: Specifies an ATM interface by number.
Examples
# Clear statistics on all PVCs created on ATM 1/0 interface.
<Sysname> reset atm interface atm 1/0
Syntax
reset counters interface [ atm [ interface-number ] ]
View
User view
195
Default level
2: System level
Parameters
interface-number: Specifies an ATM interface to reset, by number.
Examples
# Clear the statistics for ATM interface ATM 1/0.
<Sysname> reset counters interface atm 1/0
shutdown
Description
Use shutdown to shut down the ATM or DSL interface. Use undo shutdown to bring up an ATM or DSL interface. By default, ATM and DSL interfaces are up. When you modify parameters on an ATM or DSL interface, use shutdown, and then undo shutdown, to cause your modifications to take effect.
Syntax
shutdown undo shutdown
View
ATM E1 interface view, ATM T1 interface view, ATM E3 interface view, ATM T3 interface view, ATM OC3c interface view, ATM STM-1 interface view, ATM (ADSL) interface view, ATM (G.SHDSL) interface view, EFM interface view
Default level
2: System level
Parameters
None
Examples
# Shut down interface ATM 1/0.
<Sysname> system-view [Sysname] interface atm 1/0 [Sysname-Atm1/0] shutdown
A-MSR900
No
A-MSR20-1X
No
A-MSR20
Yes
A-MSR30
Yes
A-MSR50
Yes
196
cable
Description
Use cable to configure the cable type for an ATM E1/T1 interface. Use undo cable to restore the default. By default, the cable type is long. The system automatically detects the correct cable type mode. Related commands: frame-format.
Syntax
cable { long | short } undo cable
View
ATM E1/T1 interface view
Default level
2: System level
Parameters
long: Specifies a cable length ranging from 151 to 500 meters (495 to 1,640 feet). short: Specifies a cable length ranging from 0 to 150 meters (0 to 495 feet).
Examples
# Set the cable mode of interface ATM 1/0 to long.
<Sysname> system-view [Sysname] interface atm 1/0 [Sysname-Atm1/0] cable long
clock
Description
Use clock to set the clock source for an ATM E1/T1 interface. Use undo clock to restore the default clock source, line clock (slave). When the ATM E1/T1 interface is operating as DCE, set the clock mode to internal clock (master). When the interface is operating as DTE, set the clock mode to line clock (slave). When the ATM interfaces on two routers are connected directly through a fiber-optic cable, set the clock modes to be different on each end. For example, set the mode to internal clock at one end and line clock at the other end.
Syntax
clock { master | slave } undo clock
View
ATM E1/T1 interface view
197
Default level
2: System level
Parameters
master: Adopts the internal clock as the clock source. slave: Adopts the line clock as the clock source.
Examples
# Set the clock mode of ATM E1/T1 interface 1/0 to master.
<Sysname> system-view [Sysname] interface atm 1/0 [Sysname-Atm1/0] clock master
clock-change auto
Description
Use clock-change auto to enable the automatic clock mode change function on the interface. In other words, configure an interface that is using the line clock mode to automatically switch to using the internal clock if it receives an AIS/LOS/LOF alarm. When the alarm is cleared, the interface automatically reverts to the user-configured clock mode. Use undo clock-change auto to disable the automatic clock mode change function. If the interface has already switched its clock mode, this command also restores the user-configured clock mode for the interface. By default, automatic clock mode change is disabled. Related commands: clock.
Syntax
clock-change auto undo clock-change auto
View
ATM E1 interface view
Default level
2: System level
Parameters
auto: Enables the interface to automatically change its clock mode.
Examples
# Enable automatic clock mode change for ATM E1 interface ATM 2/0.
<Sysname> system-view [Sysname] interface atm 2/0 [Sysname-Atm2/0] clock-change auto
198
code
Description
Use code to configure the line code format for an ATM E1/T1 interface. Use undo code to restore the default line coding format. By default, the line coding format of an ATM E1 interface is HDB3, and that of an ATM T1 interface is B8ZS. Before setting the line coding format to AMI, enable payload scrambling for the interface using scramble. Related commands: scramble.
Syntax
In ATM E1 interface view: code { ami | hdb3 } In ATM T1 interface view: code { ami | b8zs } undo code
View
ATM E1 interface view, ATM T1 interface view
Default level
2: System level
Parameters
ami: Adopts alternate mark inversion line code format for an ATM E1/T1 interface. hdb3: Adopts high density bipolar 3 line code format for an ATM E1 interface. b8zs: Adopts bipolar with 8-zero substitution for an ATM T1interface.
Examples
# Set the line coding format to AMI for interface ATM 2/0.
<Sysname> system-view [Sysname] interface atm 2/0 [Sysname-Atm2/0] code ami
differential-delay
Description
Use differential-delay to set the maximum differential delay for the member links in an IMA group. Use undo differential-delay to restore the default. By default, the maximum differential delay is 25 milliseconds.
Syntax
differential-delay milliseconds undo differential-delay
199
View
IMA group interface view
Default level
2: System level
Parameters
milliseconds: Specifies the maximum differential delay, ranging from 25 to 100 milliseconds.
Examples
# Set the maximum differential delay for the member links in IMA group 1 to 25 milliseconds.
<Sysname> system-view [Sysname] interface atm 2/0 [Sysname-Atm2/0] ima ima-group 1 [Sysname-Atm2/0] interface ima-group 2/1 [Sysname-Ima-group2/1] differential-delay 25
Syntax
display interface [ ima-group ] [ brief [ down ] ] [ | { begin | exclude | include } regular-expression ] display interface ima-group group-interface-number [ brief ] [ | { begin | exclude | include } regularexpression ]
View
Any view
Default level
2: System level
Parameters
group-interface-number: Specifies an IMA group interface by number. brief: Displays brief interface information. If you do not specify this keyword, the command displays detailed interface information. down: Displays information about all interfaces in DOWN state and the causes. If you do not specify this keyword, the command displays information about interfaces in all states. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
200
begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display detailed information about IMA group interface 2/3.
<Sysname> display interface ima-group 2/3 Ima-group2/3 current state :DOWN Line protocol current state :DOWN Description : Ima-group3 Interface The Maximum Transmit Unit is 1500 Internet protocol processing : disabled AAL enabled: AAL5, Maximum VCs: 128 Current VCs: 0 (0 on main interface) Physical layer is ATM over IMA IMA-clock: CTC, active-links-minimum: 1 Frame-length: 128, differential-delay-maximum: 25 symmetry: symmetrical configuration and operation Ima-group state: ImaGroupNeState ImaGroupNeFailureStatus Ima-Link state: IMA Link Number : Test Status: Disabled Last 300 seconds input rate 0.00 bytes/sec, 0.00 packets/sec 1 , First Link: 0 START_UP START_UP ImaGroupFeState ImaGroupFeFailureStatus START_UP START_UP
Last 300 seconds output rate 0.00 bytes/sec, 0.00 packets/sec Input : 0 packets, 0 bytes, 0 buffers 0 errors, 0 crcs, 0 lens, 0 giants, 0 pads, 0 aborts, 0 timeouts 0 overflows, 0 overruns,0 no buffer Output: 0 packets, 0 bytes, 0 buffers 0 errors, 0 overflows, 0 underruns
# Display brief information about all IMA group interfaces in the DOWN state.
<Sysname> display interface ima-group brief down The brief information of interface(s) under route mode: Link: ADM - administratively down; Stby - standby
201
Interface Ima-group2/3
AAL type: AAL5. Maximum number of virtual circuits: 128. Clock mode of the IMA group interface: CTC. Minimum number of links required for bringing up the IMA group
interface: 1.
Number of cells an IMA frame contains: 128. Maximum differential delay allowed between links: 25.
The PSD mode is symmetry. Brief information about Layer 3 interfaces. Link status of the interface:
If the network layer protocol state of an interface is shown as UP, but its link is an on-demand link or not present at all, the protocol attribute includes the spoofing flag (an s in parentheses). Abbreviated interface name. Physical link state of the interface:
Link
UPThe link is up. ADMThe link has been administratively shut down. To recover its
physical state, use undo shutdown. Protocol connection state of the interface, which can be UP, DOWN, or UP(s). The main IP address of the interface. Description of the interface. The cause of a DOWN physical link. If the port was shut down with the shutdown command, this field displays Administratively. To restore the physical state of the interface, use undo shutdown.
202
frame-format
Description
Use frame-format to configure the framing format on an ATM over E1/T1 interface. Use undo frame-format to restore the default framing format. By default, the framing formats available are: For ATM E1 interfacesCRC4 ADM For ATM T1 interfacesESF ADM
ADM directly maps ATM cells transmitted over the E1/T1 line into E1/T1 frames. This process is defined by ITU-T G.804 and the ATM forum.
Syntax
In ATM E1 interface view: frame-format { crc4-adm | no-crc4-adm } In ATM T1 interface view: frame-format { esf-adm | sf-adm } undo frame-format
View
ATM E1 interface view, ATM T1 interface view
Default level
2: System level
Parameters
crc4-adm: Sets the framing format of the ATM over E1 interface to 4-bit cyclic redundancy check ADM. no-crc4-adm: Sets the framing format of the ATM over E1 interface to no-CRC4 ADM. esf-adm: Sets the framing format of the ATM over T1 interface to extended super-frame ADM. sf-adm: Sets the framing format of the ATM over T1 interface to super frame ADM.
Examples
# Configure ATM E1 interface 2/0 to no-crc4-adm.
<Sysname> system-view [Sysname] interface atm 2/0 [Sysname-Atm2/0] frame-format no-crc4-adm
frame-length
Description
Use frame-length to configure the number of ATM cells in an IMA frame. Use undo frame-length to restore the default. By default, an IMA frame has 128 ATM cells.
203
Syntax
frame-length { 32 | 64 | 128 | 256 } undo frame-length
View
IMA group interface view
Default level
2: System level
Parameters
32, 64, 128, 256: Specifies the number of ATM cells in an IMA frame.
Examples
# Set the number of ATM cells in an IMA frame to 64 on IMA group interface 1.
<Sysname> system-view [Sysname] interface atm 2/0 [Sysname-Atm2/0] ima ima-group 1 [Sysname-Atm2/0] interface ima-group 2/1 [Sysname-Ima-group2/1] frame-length 64
ima ima-group
Description
Use ima ima-group to add an ATM E1/T1 interface to an IMA group. If the specified IMA group does not exist, the command creates it before adding the interface. Use undo ima ima-group to remove an interface from an IMA group. By default, no IMA group exists. Before adding an ATM E1/T1 interface to an IMA group, remove any network layer service-related configurations on the interface. For example, remove the IP address assigned to the interface with undo ip address. NOTE: You can only remove the first link assigned to an IMA group after all of the other links in the IMA group have been removed. Removing this final link also deletes the IMA group.
Syntax
ima ima-group group-number undo ima ima-group
View
ATM E1 interface view, ATM T1 interface view
Default level
2: System level
204
Parameters
group-number: Specifies an IMA group by number, ranging from 1 to 8.
Examples
# Add ATM E1 interface 1/0 to IMA group 1.
<Sysname> system-view [Sysname] interface atm 1/0 [Sysname-Atm1/0] ima ima-group 1
ima-clock
Description
Use ima-clock to configure the clock mode of the IMA group. Use undo ima-clock to restore the default. By default, the clock mode is CTC. When the IMA group adopts ITC mode, set the clock mode of each member ATM E1/T1 link to subordinate (line clock) using the clock slave command. When the IMA group adopts CTC mode, set the clock mode of each member ATM E1/T1 link to master (internal clock) using the clock master command.
Syntax
ima-clock { ctc [ link-number number ] | itc } undo ima-clock
View
IMA group interface view
Default level
2: System level
Parameters
ctc: Specifies the common transmit clock mode. In this mode, all links in the IMA group share the same clock source, which can be an external clock or one extracted from a member link. link-number number: Specifies the number of an E1/T1 link that provides the clock source. The number argument ranges from 0 to 7. itc: Specifies the independent transmit clock mode. In this mode, the links in the IMA group use at least two clock sources.
Examples
# Set the clock mode to ITC on IMA group 1.
<Sysname> system-view [Sysname] interface atm 2/0 [Sysname-Atm2/0] ima ima-group 1 [Sysname-Atm2/0] interface ima-group 2/1 [Sysname-Ima-group2/1] ima-clock itc
205
ima-standard
Description
Use ima-standard to set the standard to be adopted by an IMA group interface. Use undo ima-standard to restore the default. By default, the normal standard is adopted.
Syntax
ima-standard { alternate-v10 | normal | standard-v10 | standard-v1 } 1 undo ima-standard
View
IMA group interface view
Default level
2: System level
Parameters
alternate-v10: Uses the V1.0 (other implementation) standard. normal: Uses the normal standard. An IMA group interface adopting this standard changes to adopt V1.0 standard (standard implementation) if its peer interface adopts V1.0 (standard implementation). standard-v10: Uses the V1.0 (standard implementation) standard. standard-v1 Uses the V1.1 standard. 1:
Examples
# Configure IMA group 2/1 to adopt the V1.1 standard.
<Sysname> system-view [Sysname] interface atm 2/0 [Sysname-Atm2/0] ima ima-group 1 [Sysname-Atm2/0] interface ima-group 2/1 [Sysname-Ima-group2/1] ima-standard standard-v11
ima-test
Description
Use ima-test to specify the E1/T1 link to be tested and the test mode for IMA group interface test. Use undo ima-test to cancel the test. By default, IMA group interface test is disabled. If you do not specify the number argument, ima-test tests the first link that was added to the IMA group interface. If you do not specify the id argument, 0xAA test mode is adopted. You can use this command to test the connectivity of a link to the rest of the IMA group by sending a test pattern over the link. This test mode is looped over all of the active links at the far end and sent back to the transmitter. To display the connectivity test results, use display interface ima-group.
206
NOTE: E1/T1 links are bidirectional. This command only tests the connectivity of a link in its transmit direction to the other links in the IMA group in their receive direction.
Syntax
ima-test [ link-number number ] [ pattern-id id ] undo ima-test
View
IMA group interface view
Default level
2: System level
Parameters
link-number number: Specifies the number of the E1/T1 link to be tested. pattern-id id: Specifies the test mode, a hexadecimal number ranging from 0x00 to 0xFE.
Examples
# Send test mode 0xAB over link 0 in IMA group interface 1.
<Sysname> system-view [Sysname] interface atm 2/0 [Sysname-Atm2/0] ima ima-group 1 [Sysname-Atm2/0] interface ima-group 2/1 [Sysname-Ima-group2/1] ima-test link-number 0 pattern-id ab
interface ima-group
Description
Use interface ima-group to view an IMA group interface.
Syntax
interface ima-group group-interface-number
View
System view
Default level
2: System level
Parameters
group-interface-number: Specifies an IMA group interface by number.
Examples
# View IMA group interface 1.
<Sysname> system-view [Sysname] interface atm 2/0 [Sysname-Atm2/0] ima ima-group 1
207
loopback
Description
Use loopback to enable a specific type of loopback testing on an ATM E1/T1 interface. Use undo loopback to disable the loopback testing that is being performed. By default, loopback testing is disabled.
Syntax
loopback { cell | local | payload | remote } undo loopback
View
ATM E1 interface view, ATM T1 interface view
Default level
2: System level
Parameters
cell: Enables internal cell loopback testing (to check the physical state of the local chips). local: Enables internal loopback testing (to check whether the local chips are working properly). payload: Enables external payload loopback testing (to check whether payload framing is normal). remote: Enables external line loopback testing (to check whether the remote end is working properly).
Examples
# Enable external payload loopback testing on ATM E1/T1 interface 1/0.
<Sysname> system-view [Sysname] interface atm 1/0 [Sysname-Atm1/0] loopback payload
min-active-links
Description
Use min-active-links to configure the minimum number of links required for an IMA group to work. Use undo min-active-links to restore the default value. By default, the minimum number of links is 1.
Syntax
min-active-links number undo min-active-links
208
View
IMA group interface view
Default level
2: System level
Parameters
number: Specifies the required number of links, ranging from 1 to 8.
Examples
# Set the minimum number of links required for IMA group 1 to operate to 2.
<Sysname> system-view [Sysname] interface atm 2/0 [Sysname-Atm2/0] ima ima-group 1 [Sysname-Atm2/0] interface ima-group 2/1 [Sysname-Ima-group2/1] min-active-links 2
scramble
Description
Use scramble to enable payload scrambling on the ATM E1/T1 interface. This command does not affect cell headers. Use undo scramble to disable payload scrambling. By default, payload scrambling is enabled on an ATM E1/T1 interface. With payload scrambling enabled, the interface performs payload scrambling when transmitting data, and payload descrambling when receiving data. Enabling payload scrambling prevents consecutive 0s and 1s in the payload. Disabling payload scrambling disables both payload scrambling during data transmission and payload descrambling during data receiving.
Syntax
scramble undo scramble
View
ATM E1 interface view, ATM T1 interface view
Default level
2: System level
Parameters
None
Examples
# Enable payload scrambling on ATM interface 1/0.
<Sysname> system-view [Sysname] interface atm 1/0
209
[Sysname-Atm1/0] scramble
A-MSR900
No
A-MSR20-1X
No
A-MSR20
No
A-MSR30
Yes
A-MSR50
Yes
cable
Description
Use cable to configure the cable mode for an ATM T3 interface. Use undo cable to restore the default, short.
Syntax
cable { long | short } undo cable
View
ATM T3 interface view
Default level
2: System level
Parameters
long: Specifies a cable length ranging from 151 to 500 meters (495 to 1,640 feet). short: Specifies a cable length ranging from 0 to 150 meters (0 to 495 feet).
Examples
# Set the cable mode of ATM T3 interface 1/0 to long.
<Sysname> system-view [Sysname] interface atm 1/0 [Sysname-Atm1/0] cable long
clock
Description
Use clock to configure the clock source for an ATM E3/T3 interface. Use undo clock to restore the default clock source, line clock (slave).
Syntax
clock { master | slave } undo clock
210
View
ATM E3 interface view, ATM T3 interface view
Default level
2: System level
Parameters
master: Adopts the internal clock as the clock source. slave: Adopts the line clock as the clock source.
Examples
# Set the clock mode of ATM E3/T3 interface 2/0 to master.
<Sysname> system-view [Sysname] interface atm 2/0 [Sysname-Atm2/0] clock master
frame-format
Description
Use frame-format to configure the framing format on an ATM E3/T3 interface. Use undo frame-format to restore the default framing format. By default, the framing formats available are: For ATM E3 interfacesG.751 PLCP For ATM T3 interfacesC-bit PLCP
Syntax
In ATM E3 interface view: frame-format { g751-adm | g751-plcp | g832-adm } In ATM T3 interface view: frame-format { cbit-adm | cbit-plcp | m23-adm | m23-plcp } undo frame-format
View
ATM E3 interface view, ATM T3 interface view
Default level
2: System level
Parameters
g751-adm: Sets the framing format of the ATM E3 interface to G.751 ATM direct mapping. g751-plcp: Sets the framing format of the ATM E3 interface to G.751 physical layer convergence protocol. g832-adm: Sets the framing format of the ATM E3 interface to G.832 ADM. cbit-adm: Sets the framing format of the ATM T3 interface to C-bit ADM. cbit-plcp: Sets the framing format of the ATM T3 interface to C-bit PLCP.
211
m23-adm: Sets the framing format of the ATM T3 interface to M23 ADM. m23-plcp: Sets the framing format of the ATM T3 interface to M23 PLCP.
Examples
# Set the framing format of ATM E3 interface 1/0 to G.832 ADM.
<Sysname> system-view [Sysname] interface atm 1/0 [Sysname-Atm1/0] frame-format g832-adm
loopback
Description
Use loopback to enable a specific type of loopback testing on an ATM E3/T3 interface. Use undo loopback to disable loopback testing. By default, loopback testing is disabled.
Syntax
loopback { cell | local | payload | remote } undo loopback
View
ATM E3 interface view, ATM T3 interface view
Default level
2: System level
Parameters
cell: Enables internal cell loopback testing (to check the physical state of the local chips). local: Enables internal loopback testing (to check whether the local chips are working properly). payload: Enables external payload loopback testing (to check whether payload framing is normal). remote: Enables external line loopback (to check whether the remote end is working properly).
Examples
# Enable external payload loopback testing on ATM E3/T3 interface 2/0.
<Sysname> system-view [Sysname] interface atm 2/0 [Sysname-Atm2/0] loopback payload
scramble
Description
Use scramble to enable payload scrambling on the ATM E3/T3 interface. This command does not affect cell headers. Use undo scramble to disable payload scrambling. By default, payload scrambling is enabled on an ATM E3/T3 interface.
212
With payload scrambling enabled, the interface performs payload scrambling when transmitting data, and payload descrambling when receiving data. Enabling payload scrambling prevents consecutive 0s and 1s in the payload. Disabling payload scrambling disables both payload scrambling during data transmission and payload descrambling during data receiving.
Syntax
scramble undo scramble
View
ATM E3/T3 interface view
Default level
2: System level
Parameters
None
Examples
# Disable payload scrambling on ATM interface 2/0.
<Sysname> system-view [Sysname] interface atm 2/0 [Sysname-Atm2/0] undo scramble
A-MSR900
No
A-MSR20-1X
No
A-MSR20
No
A-MSR30
Yes
A-MSR50
Yes
clock
Description
Use clock to configure the clock source for an ATM OC-3c/STM-1 interface. Use undo clock to restore the default clock source, line clock (slave). When the ATM interface is operating as DCE, set the clock mode to internal clock (master). When the interface is operating as DTE, set the clock mode to line clock (slave). When the ATM interfaces on two routers are connected directly through a fiber-optic cable, set the clock modes to be different on each end. For example, set the mode to internal clock at one end and to line clock at the other end.
213
Syntax
clock { master | slave } undo clock
View
ATM OC-3c interface view, ATM STM-1 interface view
Default level
2: System level
Parameters
master: Adopts the internal clock as the clock source. slave: Adopts the line clock as the clock source.
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
flag
Description
Use flag to set the SONET/SDH overhead bytes. Use undo flag to restore the default SONET/SDH overhead bytes. By default, the default SDH overhead bytes are used. The default overhead bytes are as follows: c20x13 j0 (SDH)Null j1 (SDH)Null
Inconsistency between the c2 and j1 settings on the sending and receiving end causes alarms. The J0 byte can be any character in the network of the same carrier. If networks of two carriers are involved, however, the sending and receiving devices at network borders must use the same J0 byte. The J0 byte helps operators detect and troubleshoot faults in advance, and spend less time to recover networks. Related commands: display interface pos.
Syntax
flag c2 flag-value undo flag c2 flag { j0 | j1 } { sdh | sonet } flag-value undo flag { j0 | j1 } { sdh | sonet }
View
ATM OC-3c interface view, ATM STM-1 interface view
214
Default level
2: System level
Parameters
c2 flag-value: Path signal flag byte, a higher-order path overhead byte used to indicate the multiplex structure of virtual container frames and property of payload. It is a hexadecimal number ranging from 0 to FF. j0 flag-value: Regeneration section trace message, a section overhead byte used to test continuity of the connection between two interfaces at the section level. If the sdh keyword is configured, the flag-value argument is a string of 1 to 15 hexadecimal digits. If the sonet keyword is configured, the argument is a hexadecimal number ranging from 0 to FF. j1 flag-value: Path trace message, a higher-order path overhead byte used to test continuity of the connection between two interfaces at the path level. If the sdh keyword is configured, the flag-value argument is a string of 1 to 15 hexadecimal digits. If the sonet keyword is configured, the argument is a string of 1 to 62 characters. sdh: Sets framing format to Synchronous Digital Hierarchy. sonet: Sets framing format to Synchronous Optical Network.
Examples
# Set the SDH overhead byte J0 of ATM interface ATM 4/0.
<Sysname> system-view [Sysname] interface atm 4/0 [Sysname-Atm4/0] flag j0 sdh ff
frame-format
Description
Use frame-format to configure the framing format on an ATM OC-3c/STM-1 interface. Use undo frame-format to restore the default framing format, SDH STM-1.
Syntax
frame-format { sdh | sonet } undo frame-format
View
ATM OC-3c interface view, ATM 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 of synchronous digital hierarchy. sonet: Sets the framing format to SONET OC-3, the optical carrier level three of synchronous optical network.
215
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
Description
Use loopback to enable loopback testing on an ATM OC-3c/STM-1 interface and set the loopback mode. Use undo loopback to disable loopback testing on an ATM OC-3c/STM-1 interface. By default, loopback testing is disabled on ATM OC-3c/STM-1 interfaces. Loopback is intended for test use. Disable loopback in other cases.
Syntax
loopback { cell | local | remote } undo loopback
View
ATM OC-3c interface view, ATM STM-1 interface view
Default level
2: System level
Parameters
cell: Places the interface into internal cell loopback mode. local: Places the interface into internal loopback mode. remote: Places the interface into external loopback mode.
Examples
# Set ATM interface 4/0 to internal loopback mode.
<Sysname> system-view [Sysname] interface atm 4/0 [Sysname-Atm4/0] loopback local
scramble
Description
Use scramble to enable payload scrambling on the ATM OC-3c/STM-1 interface. This command does not affect cell headers. Use undo scramble to disable payload scrambling. By default, payload scrambling is enabled on an ATM OC-3c/STM-1 interface.
216
With payload scrambling enabled, the interface performs payload scrambling when transmitting data, and payload descrambling when receiving data. Enabling payload scrambling prevents consecutive 0s and 1s in the payload. Disabling payload scrambling disables both payload scrambling during data transmission and payload descrambling during data receiving.
Syntax
scramble undo scramble
View
ATM OC-3c interface view, STM-1 interface view
Default level
2: System level
Parameters
None
Examples
# Enable payload scrambling on ATM interface 4/0.
<Sysname> system-view [Sysname] interface atm 4/0 [Sysname-Atm4/0] scramble
A-MSR900
No
A-MSR20-1X
Yes
A-MSR20
Yes
A-MSR30
Yes
A-MSR50
Yes
activate
Description
Use activate to activate an ADSL interface. Use undo activate to deactivate an ADSL interface. By default, an ADSL interface is active. An ADSL interface must be activated before it can transmit services. Activation refers to training between the ADSL office end and the ATU-R end. During this process, the two parties examine line distance and conditions against the line configuration template (which defines the ADSL criteria, channel mode, uplink and downlink speeds, and noise tolerance) and attempt to reach an agreement. If the training succeeds, a communication connection is set up between the two parties for service transmission. Deactivation tears down the communication connection between the two parties. To transmit services, you must re-activate the interface.
217
These commands are intended for test and diagnosis purposes. Unlike shutdown and undo shutdown, these commands only affect an ADSL line. Because an ADSL interface is always on, it enters the active state automatically at boot and remains active as long as the link is in good condition. The router tests the performance of the line regularly. If it finds that the line performance is deteriorating, it automatically deactivates, retrains, and then reactivates the line.
Syntax
activate undo activate
View
ATM (ADSL) interface view
Default level
2: System level
Parameters
None
Examples
# Activate ADSL interface 1/0.
<Sysname> system-view [Sysname] interface atm 1/0 [Sysname-Atm1/0] activate
adsl standard
Description
Use adsl standard to set the standard to be applied to an ADSL interface. Use undo adsl standard to restore the default. By default, the standard is autonegotiation. ADSL-I module does not support G.Lite (G992.2) standard or T1.413 standard. To apply the standard configured by adsl standard immediately, you must restart the interface using either shutdown and undo shutdown or activate and undo activate.
Syntax
adsl standard { auto | g9923 | g9925 | gdmt | glite | t1413 } undo adsl standard
View
ATM (ADSL) interface view
Default level
2: System level
218
Parameters
auto: Specifies autonegotiation mode. g9923: Specifies the ADSL2 (G992.3) standard. g9925: Specifies the ADSL2+ (G992.5) standard. gdmt: Specifies the G.DMT (G992.1) standard. glite: Specifies the G.Lite (G992.2) standard. t1413: Specifies the T1.413 standard.
Examples
# Apply the T1.413 standard to ATM interface 1/0.
<Sysname> system-view [Sysname] interface atm 1/0 [Sysname-Atm1/0]adsl standard t1413 [Sysname-Atm1/0] shutdown [Sysname-Atm1/0]undo shutdown
adsl tx-attenuation
Description
Use adsl tx-attenuation to set a transmit power attenuation for the ADSL interface. Use undo adsl tx-attenuation to restore the default. By default, the transmit power attenuation is 0.
Syntax
adsl tx-attenuation attenuation undo adsl tx-attenuation
View
ATM (ADSL) interface view
Default level
2: System level
Parameters
attenuation: Specifies the transmit power attenuation, ranging from 0 to 12.
Examples
# Set the transmit power attenuation to 10 for ATM ADSL interface 1/0.
<Sysname> system-view [Sysname] interface atm 1/0 [Sysname-Atm1/0] adsl tx-attenuation 10
219
Syntax
bootrom update file file-url [ slot slot-no-list ] [ all | part ]
View
User view
Default level
2: System level
Parameters
file-url: Specifies the file name (including the path) of the software to be upgraded, a string of 1 to 135 characters. slot slot-no-list: List of slot numbers, representing multiple cards. The argument slot-no-list appears in the form of { slot-no [ to slot-no ] }&<1-7>, where slot-no is the slot number of a card, ranging from 1 to the maximum slot number, and &<1-7> indicates that you can specify up to 7 slot numbers or slot number ranges for this argument. part: Upgrades only the extension part of the Boot ROM. all: Upgrades the entire Boot ROM.
Examples
# Upgrade software for an ADSL2+ card.
<Sysname> system-view [Sysname]interface atm 2/0 [Sysname-Atm2/0]shutdown [Sysname-Atm2/0] quit [Sysname] quit <Sysname> bootrom update file flash:/bcm6348.bin slot 1 part This command will update BootRom file on board 2, Continue? [Y/N]y Board 2 upgrading BOOTROM, please wait... <Sysname> system-view [Sysname]interface atm 2/0 [Sysname-Atm2/0]undo shutdown
220
Syntax
display dsl configuration interface atm interface-number [ | { begin | exclude | include } regularexpression ]
View
Any view
Default level
1: Monitor level
Parameters
interface-number: Specifies a DSL interface by number. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display the actual configurations of ADSL interface ATM 1/0.
<Sysname> display dsl configuration interface atm 1/0 Line Params Set by User Standard: Annex: Framing: Coding Gain(dB): Tx Pow Attn(dB): Bit-Swap: LinkCheck: Actual Config Standard: Trellis Coding: Framing: Vendor ID: T1.413 A 3 Auto 0 disable Enable Near End T1.413 Enable 3 0x0039 AS0 (DS) Rate(Bytes): Rate(kbps): 238 7616 Far End T1.413 Enable 3 0x0004 LS0(US) 26 832
221
Intlv 0 1/64/16
Intlv 0 8/8/16
DMT Bits Allocation Per Bin (Up/Down Bits:249/2148) 00: 0 0 0 0 0 0 7 8 a a a a 8 a b c c c b b b b b b 9 9 a a 9 8 8 0 20: 0 0 0 0 2 2 2 3 4 4 5 6 6 7 7 8 8 8 8 8 9 9 a a a a a a a 8 9 a 40: 0 a a a a b b b b b a b b b b b b b b b b b b b b b b b b b b b 60: b b b b b b b b b b b b b b b b b b b a 9 4 a b b b b b b b b b 80: b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b a0: b b b a b a b a b b a b b b b b a a b a a b b a a a a a a a a a c0: a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a e0: a 9 9 a 9 9 9 9 9 9 8 9 9 9 9 9 9 9 9 9 8 8 8 8 8 7 7 7 7 6 6 6
Description
Line parameters at ATU-R end, such as Standard, DMT Mode, Framing, and Trellis Coding. Of these parameters, you can only modify Standard for test or diagnosis, but not the others.
The following information appears after the line is activated. Actual Config Rate(kbps) Latency DMT Bits Allocation Per Bin Real operating parameters after the line is activated. Negotiation rate in kbps, with AS0 (DS) for the downlink and LS0 (US) for the uplink. Latency mode: Fast or Interleave. Bits allocated to and carried by each bin.
Syntax
display dsl status interface atm interface-number [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
interface-number: Specifies a DSL interface by number. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow.
222
exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display the status information of ADSL interface ATM 1/0.
<Sysname> display dsl status interface atm 1/0 Line Status: Training Status: Active Params Standard: SNR (dB): Attn(dB): Pwr(dBm): Current Rate(kbps): Latency: Loss Of Signal Idle Near End G.dmt 0.0 0.0 0.0 0 Intl Far End G.dmt 0.0 0.0 0.0 0 Intl
Line Status
No Defectnormal state. Loss Of Framea framing error. Loss Of Signala signaling error. Loss Of Powera power supply error. Loss Of Signal Qualitya signal quality error. Unknownan unknown error. Idlethe interface is idle. G.994 Traininga G.994 training. G.992 Starteda G.992 training is launched. G.922 Channel AnalysisG.922 channel analysis is occurring. G.992 Message ExchangeG.992 message exchange is occurring. Showtimenormal data exchange. Unknown.
Training Status
The following information appears after the line is activated. Standardconnection standard adopted by the interface and the DSLAM. SNRsignal-to-noise ratio of the ADSL link. Attrattenuation of the ADSL link. Pwrtransmit power of the ADSL module, in dbm. Current Rateuplink/downlink rate between the ADSL interface and the DSLAM, in kbps. can be "Intl" (cross-over) or "Fast".
Active Params
Latencythe way in which the interface and the DSLAM are connected, which
223
Syntax
display dsl version interface atm interface-number [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
interface-number: Specifies a DSL interface by number. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display the ADSL version information of interface ATM 1/0.
<Sysname> display dsl version interface atm 1/0 Adsl board chipset and version info: Dsl Line Type: Chipset Vendor: FW Release: DSP Version: AFE Version: Bootrom Version: Hardware Version: Driver Version: CPLD Version: Adsl Capability ANNEX Supported : ANNEX A Standard Supported : ANSI T1.413 Issue 2 ITU G992.1(G.dmt) ITU G992.2(G.lite) ITU G992.3(Adsl2) ITU G992.3(ReAdsl2) Adsl Over Pots BDCM A2pB017l.d15h 17.1200 1.0 1.1 4.0 1.3 1.0
224
ITU G992.5(Adsl2p)
Description
The components and version of the interface board. Type of user access line. Identifier of the ADSL chipset vendor. Identifier and version of the firmware. Version of the driver software. Version of the logic. The standard and annex supported by the interface.
A-MSR900
No
A-MSR20-1X
No Yes
A-MSR20
No
A-MSR30
Supported on the MIM-1SHL4W modules Yes Supported on the DSIC1SHDSL-8W modules
A-MSR50
No
G.SHDSL.BIS
No
activate
Description
Use activate to activate a G.SHDSL interface. Use undo activate to deactivate a G.SHDSL interface. By default, a G.SHDSL interface is active. A G.SHDSL interface must be activated before it can transmit services. Activation refers to training between the G.SHDSL office end and the STU-C end. During this process, the two parties examine line distance and conditions against the line configuration template (which defines the ADSL criteria, channel mode, uplink and downlink speeds, and noise tolerance) and attempt to reach an agreement. If the training succeeds, a communication connection is set up between the two parties.
225
Deactivation tears down the communication connection between the two parties. To transmit services, you must re-activate the interface. These commands are intended for test and diagnosis purposes. Unlike shutdown and undo shutdown, these commands only affect a G.SHDSL line. Because a G.SHDSL interface is always on, it enters the active state automatically at boot and remains active as long as the link is in good condition. The router tests the performance of the line regularly. If it finds that the line performance is deteriorating, it automatically deactivates, retrains, and then reactivates the line.
Syntax
activate undo activate
View
ATM (G.SHDSL) interface view
Default level
2: System level
Parameters
None
Examples
# Activate G.SHDSL interface ATM 3/0.
<Sysname> system-view [Sysname] interface atm 3/0 [Sysname-Atm3/0] activate
Syntax
display dsl configuration interface atm interface-number [ | { begin | exclude | include } regularexpression ]
View
Any view
Default level
1: Monitor level
Parameters
interface-number: Specifies a G.SHDSL interface by number. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow.
226
exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display the actual configurations of G.SHDSL interface ATM 3/0.
<Sysname> display dsl configuration interface atm 3/0 GSHDSL line parameter and mode Configuration Mode: Standard: Annex: Wire Type: Framing: Line Rate: SNEXT margin: Psd Mode: LinkCheck: CPE G.991.2 B 2 3 Auto Adaptive 0 Sym PSD Disable
Current Margin: 2
--Actual Handshake Status -00: 0002 0000 0000 0000 0000 0000 0000 0000 0000 0000 10: 0000 0008 0000 0000 0000 0000 0000 0000 0008 0000 20: 0000 0000 0002 0002 0004 0010 --Local Handshake Status -00: 0002 0001 0000 0000 0000 0000 0034 003f 003f 003f 10: 003f 003f 0003 0034 003f 003f 003f 003f 003f 0003 20: 0000 0000 0003 0003 000f 0010 --Remote Handshake Status -00: 0002 0000 0000 0000 0000 0000 0030 003f 003f 003f 10: 003f 000f 0000 0030 003f 003f 003f 003f 000f 0000 20: 0000 0000 0003 0003 0004 0010
Description
Operating modeCPE or CO. The supported standard. Available options are a and b. Configured wire mode of the interfacetwo-wire or four-wire. Framing format. Signal to noise ratio threshold. Current margin. Worst-case margin. Target margin. Line rate. 227
Field
PSD Mode LinkCheck Actual Handshake Status Local Handshake Status Remote Handshake Status
Description
Power spectral density modesymmetric or asymmetric. State of link checkenabled or disabled.
Syntax
display dsl status interface atm interface-number [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
interface-number: Specifies a G.SHDSL interface by number. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display status information about ATM 3/0, which is a two-wire G.SHDSL interface that is up.
<Sysname> display dsl status interface atm 3/0 Operating Mode: CPE DSL Mode: SHDSL Annex B 2 Configured Wire Type: CRC: LOSW Defect: ES: SES: UAS: TX EOC: RX EOC: 0 0 0 0 0 0 0
228
Line A status: Xcvr Op State: Frame Sync: Line Rate(Kbps): Wire Type: SNR Margin(dB): 16.30 Loop Attenuation(dB): RecvGain(dB): TxPower(dBm): Power Backoff: enable 5 Reversed 0x00 Power Backoff Level: Tip/Ring Reversal: FrmOH Stat: 0.00 6.07 9.50 Data Mode 0x00 in sync 2312 2 Last Fail Op State:
Rmt Encoder A : 0x0000016e Rmt Encoder B : 0x00000331 Rmt NSF Cusdata : Rmt NSF CusID : 0x0000 Rmt Country Code : Rmt Provider Code: Rmt Vendor Data: 0x00b5 GSPN 0x12 0x34 0x56 0x78 0x12 0x34 0x56 0x78 0x0000
# Display status information about ATM 3/0, which is a four-wire G.SHDSL interface that is up.
<Sysname> display dsl status interface atm 3/0 Operating Mode: DSL Mode: Configured Wire Type: CPE SHDSL Annex B 4
Line A Statistics since last activation: CRC: LOSW Defect: ES: SES: UAS: TX EOC: RX EOC: Line A status: Xcvr Op State: Frame Sync: Line Rate(Kbps): Wire Type: SNR Margin(dB): 13.30 Loop Attenuation(dB): RecvGain(dB): TxPower(dBm): 0.00 5.86 9.50 Data Mode 0x00 in sync 2312 4 Last Fail Op State: 0 0 0 0 0 0 0
229
Power Backoff:
Rmt Encoder A : 0x0000016e Rmt Encoder B : 0x00000331 Rmt NSF Cusdata : Rmt NSF CusID : 0x0000 Rmt Country Code : Rmt Provider Code: Rmt Vendor Data: 0x00b5 GSPN 0x12 0x34 0x56 0x78 0x12 0x34 0x56 0x78 Line B Statistics since last activation: CRC: LOSW Defect: ES: SES: UAS: TX EOC: RX EOC: Line B status: Xcvr Op State: Frame Sync: Line Rate(Kbps): Wire Type: SNR Margin(dB): 12.30 Loop Attenuation(dB): RecvGain(dB): TxPower(dBm): Power Backoff: enable 5 Reversed 0x00 Power Backoff Level: Tip/Ring Reversal: FrmOH Stat: 0.00 5.28 9.50 Data Mode 0x00 in sync 2312 4 Last Fail Op State: 1 1 1 1 0 0 0 0x0000
Rmt Encoder A : 0x0000016e Rmt Encoder B : 0x00000331 Rmt NSF Cusdata : Rmt NSF CusID : 0x0000 Rmt Country Code : Rmt Provider Code: Rmt Vendor Data: 0x00b5 GSPN 0x12 0x34 0x56 0x78 0x12 0x34 0x56 0x78 0x0000
Description
Operating modeCPE or CO. 230
Field
DSL Mode Configured Wire Type Line A Statistics since last activation CRC LOSW Defect ES SES UAS TX EOC RX EOC Line A status Xcvr Op State: Data Mode Last Fail Op State Frame Sync Line Rate (Kbps) Wire Type SNR Margin (dB) Loop Attenuation (dB) RecvGain (dB) TxPower (dBm) Power Backoff Power Backoff Level Tip/Ring Reversal FrmOH Stat Rmt Encoder A Rmt Encoder B Rmt NSF Cusdata Rmt NSF CusID Rmt Country Code Rmt Provider Code Rmt Vendor Data
Description
Annex standard used on the interfaceAnnex A or Annex B. Configured wire mode of the interfacetwo-wire or four-wire. Statistics about wire-pair A from the time of activation to present. Count of CRC errors. Count of loss of synchronization word defects. Count of errors per second. Count of severe errors per second. Count of one-second intervals for which the G.SHDSL line is unavailable. Count of transmitted EOC cells. Count of received EOC cells. State of wire-pair A. Operating state of the receiver. Operating state of the receiver when the last negotiation failed. State of frame synchronization. Negotiated wire-pair speed. Wire typefour-wire or two-wire. Margin to SNR. Loop attenuation. Receive gain. Transmit power. State of power compensation. Level of power compensation. State of Tip/Ring reverse. Frame outflow state. Encoding coefficient A. Encoding coefficient B. Remote NSF user data. Remote NSF user ID. Remote country code. Remote code of the chip provider. Remote code of the chip vendor.
231
Syntax
display dsl version interface atm interface-number [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
interface-number: Specifies a G.SHDSL interface by number. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display the G.SHDSL version of G.SHDSL interface ATM 3/0.
<Sysname> display dsl version interface atm 3/0 Dsl Line Type: ATM SAR Device: ATM SAR Revision: Chipset Vendor: Firmware Rel-Rev: DSP Version: PCB Version: CPLD Version: Driver Version: Hardware Version: ITU G991.2 ANNEX A: ITU G991.2 ANNEX B: G.SHDSL 0x823614f1 0x02 GSPN R2.3.1-0 1 0.0 0.0 2.0 1.0 Supported Supported
Description
Type of user access line. Identifier of the SAR chip. Revision identifier of the SAR chip. Identifier of the DSL chipset vendor.
Field
Firmware Rel-Rev DSP Version PCB Version CPLD Version Driver Version Hardware Version ITU G991.2 ANNEX A, ITU G991.2 ANNEX B
Description
Identifier and version of the firmware. Logic version. Driver software version. Standards and annexes supported by the interface.
shdsl annex
Description
Use shdsl annex to set the annex standard to be adopted by a G.SHDSL interface. You cannot activate a link with different standard types at its two ends. Use undo shdsl annex to restore the default. \By default, the annex standard is Annex B. Annex A is dominant in North America and Annex B is dominant in Europe. When setting the annex standard, you should consider the standard adopted in the region where your network is located. When ATU-C and ATU-R use different standards, G.SHDSL cannot set up connection.
Syntax
shdsl annex { a | b } undo shdsl annex
View
ATM (G.SHDSL) interface view
Default level
2: System level
Parameters
a: Specifies Annex A standard. b: Specifies Annex B standard.
Examples
# Configure G.SHDSL interface ATM 1/0 to adopt annex A.
<Sysname> system-view [Sysname] interface atm 1/0 [Sysname-Atm1/0] shdsl annex a
233
shdsl capability
Description
Use shdsl capacity to set the capacity type of the G.SHDSL interface. Use undo shdsl capacity to restore the default. On a G.SHDSL interface in CPE mode, the g-shdsl, g-shdsl-bis, and auto parameters are available, and the auto parameter is the default. On a G.SHDSL interface in CO mode, only the g-shdsl and g-shdsl-bis parameters are available, and the g-shdsl-bis parameter is the default. When you configure shdsl mode, the default settings in each mode are automatically restored.
Syntax
shdsl capability { auto | g-shdsl | g-shdsl-bis } undo shdsl capability
View
ATM (G.SHDSL) interface view
Default level
2: System level
Parameters
auto: Specifies the auto mode (available only in CPE mode). g-shdsl: Specifies the G.SHDSL mode. g-shdsl-bis: Specifies the G.SHDSL.bis mode.
Examples
# Configure the capacity type of interface ATM 1/0 as G.SHDSL.
<Sysname> system-view [Sysname] interface atm 1/0 [Sysname-Atm1/0] shdsl capability g-shdsl
shdsl line-probing
Description
Use shdsl line-probing enable to enable SHDSL line probing. Use undo shdsl line-probing enable to disable SHDSL line probing. By default, probing is enabled for SHDSL lines. When line probing is enabled, the system probes the line to detect the highest possible data transmission rate during line activation. When line probing is disabled, the system chooses the highest data transmission rate from the data transmission rates supported by both the CPE and CO. In the latter case, line activation time is reduced because the line rate adaptation process is skipped.
Syntax
shdsl line-probing enable
234
View
ATM (G.SHDSL) interface view
Default level
2: System level
Parameters
None
Examples
# Disable SHDSL line probing on interface ATM 1/0.
<Sysname> system-view [Sysname] interface atm 1/0 [Sysname-Atm1/0] undo shdsl line-probing enable
shdsl mode
Description
Use shdsl mode to set the operating mode for a G.SHDSL interface. Use undo shdsl mode to restore the default. By default, a G.SHDSL interface operates in CPE mode. For a back-to-back connection, you should configure one end to CO mode and the other end to CPE mode.
Syntax
shdsl mode { co | cpe } undo shdsl mode
View
ATM (G.SHDSL) interface view
Default level
2: System level
Parameters
co: Specifies the central office mode. cpe: Specifies the customer premises equipment mode.
Examples
# Set the operating mode of interface ATM 1/0 to CO.
<Sysname> system-view [Sysname] interface atm 1/0 [Sysname-Atm1/0] shdsl mode co
235
shdsl pam
Description
Use shdsl pam to set the PAM constellation for the G.SHDSL interface. Use undo shdsl pam to restore the default. On G.SHDSL interfaces, the 16 and auto parameters are available, and the auto parameter is the default. On G.SHDSL.bis interfaces, the 16, 32, and auto parameters are available, and the auto parameter is the default. When both shdsl mode cpe and shdsl capability auto are configured, if the current interface is a G.SHDSL.bis interface, shdsl pam 32 can be configured on the interface. If the current interface is a G.SHDSL interface, the configured shdsl pam 32 command will not take effect.
Syntax
shdsl pam { 16 | 32 | auto } undo shdsl pam
View
ATM (G.SHDSL) interface view
Default level
2: System level
Parameters
16: Specifies the 16-Pulse Amplitude Modulation constellation, where the rate range is 192 to 3,840 kbps. 32: Specifies the 32-PAM constellation, where the rate range is 768 to 5,696 in kbps. auto: Allows the interface to automatically select a PAM.
Examples
# Configure interface ATM 1/0 to use 16-PAM constellation.
<Sysname> system-view [Sysname] interface atm 1/0 [Sysname-Atm1/0] shdsl pam 16
shdsl pbo
Description
Use shdsl pbo to set the PBO value. Use undo shdsl pbo to restore the default. The default PBO value is auto. A G.SHDSL interface automatically tunes its transmission power according to the line noise to ensure an appropriate signal-to-noise ratio. However, when the line noise is known, or when the automatically-tuned value is inaccurate, you can use this command to manually tune the transmission power.
236
Syntax
shdsl pbo { value | auto } undo shdsl pbo
View
ATM (G.SHDSL) interface view
Default level
2: System level
Parameters
value: Power backoff value (in dB), which restricts the transmit power, ranging from 0 to 6. auto: Automatically tunes the transmit power.
Examples
# Set the tunable value of G.SHDSL interface ATM 1/0s transmission power to 20 dB.
<Sysname> system-view [Sysname] interface atm 1/0 [Sysname-Atm1/0] shdsl pbo 20
shdsl psd
Description
Use shdsl psd to set the PSD mode of a G.SHDSL interface working as CPE. Use undo shdsl psd to restore the default. By default, the PSD mode of a G.SHDSL interface is symmetry. NOTE: Power spectral density is the amount of power per unit (density) of frequency (spectral) as a function of the frequency. PSD describes how the power of a time series is distributed with frequency.
Syntax
shdsl psd { asymmetry | symmetry } undo shdsl psd
View
ATM (G.SHDSL) interface view
Default level
2: System level
Parameters
asymmetry: Specifies the asymmetric mode, where different power spectral densities are set for the central office and the customer premises equipment. symmetry: Specifies the symmetric mode, where the same PSD is set for the CO and CPE.
237
Examples
# Set the PSD of G.SHDSL interface ATM 1/0 to asymmetric mode.
<Sysname> system-view [Sysname] interface atm 1/0 [Sysname-Atm1/0] shdsl psd asymmetry
shdsl rate
Description
Use shdsl rate to set the single-pair interface rate of the SHDSL interface. Use undo shdsl rate to restore the default. The default single-pair interface rate of the SHDSL interface is auto. In actual applications, the maximum downlink rate is not likely to reach the specified rate as restricted by ATU-C and line conditions. If you select the auto mode, CPE and CO can negotiate a rate based upon the line condition during the activating process. If fixed rates are set at both ends, the two parties negotiate a rate during activation, and if the lower rate cannot be provided, the line cannot be activated. By default, the rate of two-wire G.SHDSL interface is set to autonegotiation mode; the single-pair interface rate of four-wire G.SHDSL interface is set to 2,312 kbps (four-wire G.SHDSL interface rate is 4,624 kbps); and the rate of two-wire and four-wire G.SHDSL.bis interfaces is set to autonegotiation mode. NOTE: For four-wire (dual-pair) G.SHDSL, the interface rate is twice the single-pair rate. For example, if you set singlepair rate to 2,312 kbps, four-wire interface rate is 4,624 kbps.
Because four-wire G.SHDSL interfaces cannot negotiate a rate, do not set the single-pair interface rate to auto
mode.
The single-pair interface rate of the G.SHDSL.bis interface ranges from 192 to 5,696 kbps.
Syntax
shdsl rate { auto | rate } undo shdsl rate
View
ATM (G.SHDSL) interface view
Default level
2: System level
Parameters
auto: Specifies autonegotiation mode. rate: Maximum single-pair rate of the G.SHDSL interface, ranging from 64 to 2,312 kbps.
Examples
# Configure ATM 1/0 to operate in autonegotiation mode.
<Sysname> system-view [Sysname] interface atm 1/0
238
shdsl snr-margin
Description
Use shdsl snr-margin to set a target margin for the signal-to-noise ratio. Use undo shdsl snr-margin to restore the default. Setting margin can affect the maximum transmission rate of the line. When the line condition is good, you can set a small margin to obtain higher rates. However, when the line condition is noisy this could cause disconnection. By default, current-margin-value is set to 2 and snext-margin-value is set to 0.
Syntax
shdsl snr-margin [ current current-margin-value ] [ snext snext-margin-value ] undo shdsl snr-margin
View
ATM (G.SHDSL) interface view
Default level
2: System level
Parameters
current current-margin-value: Specifies a target margin, ranging from 0 to 10. During SHDSL line training, this target margin is considered in addition to the SNR threshold. A larger margin value means increased link stability and noise suppression ability. snext snext-margin-value: Specifies a target margin, ranging from 0 to 10. During SHDSL line training, this target margin is considered in addition to the SNEXT threshold. A larger margin value means increased link stability and noise suppression ability.
Examples
# Set the SNR target margin to 5 on interface ATM 1/0.
<Sysname> system-view [Sysname] interface atm 1/0 [Sysname-Atm1/0] shdsl snr-margin current 5
shdsl wire
Description
Use shdsl wire to set the operating mode of the current G.SHDSL interface. Use undo shdsl wire to restore the default. Set an operating mode according to the configuration of the remote end. If the operating mode of the remote end is unknown, configure the auto mode for the local end to negotiate with the remote mode. Command and router compatibility:
239
Command
AMSR900
A-MSR20-1X
Supported on the fixed interface G.SHDSL.BIS of A-MSR20-13 and DSIC-1SHDSL8W modules
A-MSR20
A-MSR30
Supported on the MIM-1SHL-4W and DSIC1SHDSL-8W modules
A-MSR50
shdsl wire
No
Interface
Four-wire G.SHDSL interface:
MIM-1SHL-4W module
Four-wire G.SHDSL.bis interface:
DSIC-1SHDSL-8W module
Syntax
shdsl wire { 2 | 4-auto-enhanced | 4-enhanced | 4-standard | 6 | 8 | auto } undo shdsl wire
View
ATM (G. SHDSL) interface view
Default level
2: System level
Parameters
2: Specifies two-wire mode. 4-auto-enhanced: Sets the G.SHDSL interface to operate in four-wire automatic mode. The local end first uses the 4-enhanced mode for negotiation. If the remote end operates in 4-standard mode, the local end automatically uses 4-standard for negotiation. 4-enhanced: Sets the G.SHDSL interface to operate in four-wire enhanced mode. In this mode, one of the four wires must start negotiation with the peer. When that negotiation succeeds, another wire starts negotiation with the remote end. 4-standard: Sets the G.SHDSL interface to operate in four-wire standard mode. In this mode, the two pairs of four wires must start negotiation at the same time. The remote end must also be set to operate in four-wire standard mode. 6: Specifies six-wire mode. 8: Specifies eight-wire mode. auto: Specifies automatic mode, where the operating mode is automatically negotiated with the remote end.
Examples
# Set four-wire G.SHDSL interface ATM 1/0 to operate in four-wire automatic mode.
240
<Sysname> system-view [Sysname] interface atm 1/0 [Sysname-Atm1/0] shdsl wire 4-auto-enhanced
Syntax
interface efm interface-number
View
System view
Default level
2: System level
Parameters
interface-number: Specifies an EFM interface to view, by number.
Examples
# Enter EFM interface EFM 0/0 view.
<Sysname> system-view [Sysname] interface efm 0/0 [Sysname-Efm0/0]
241
Syntax
bandwidth bandwidth-value undo bandwidth
View
POS interface view
Default level
2: System level
Parameters
bandwidth-value: Sets the intended bandwidth for the POS interface, ranging from 1 to 4,294,967,295 kbps.
Examples
# Set the intended bandwidth to 1,000 kbps for interface POS 1/0.
<Sysname> system-view [Sysname] interface pos 1/0 [Sysname-Pos1/0] bandwidth 1000
clock
Description
Use clock to set the clock source of a POS interface. Use undo clock to restore the default clock source, line clock (slave). Set the clock modes to use different modes on each end. For example, set the mode to internal clock at one end and line clock at the other end. If the POS interface is connected to a SONET/SDH device, which always provides higher clock precision, set its clock mode to subordinate.
242
Syntax
clock { master | slave } undo clock
View
POS interface view
Default level
2: System level
Parameters
master: Adopts the internal clock as the clock source. slave: Adopts the line clock as the clock source.
Examples
# Set the clock mode of interface POS 1/0 to master.
<Sysname> system-view [Sysname] interface pos 1/0 [Sysname-Pos1/0] clock master
default
Description
Use default to restore the default settings of the POS interface. This command might fail to restore the default settings for some commands, because of command dependencies and system restrictions. You can use display this in interface view to check for these commands and perform their undo forms, or follow the command reference guide to individually restore the default settings. If your restoration attempt still fails, follow the error message to resolve the problem.
Syntax
default
View
POS interface view
Default level
2: System level
Parameters
None
Examples
# Restore the default settings of POS interface POS 2/0.
<Sysname> system-view [Sysname] interface pos 1/0 [Sysname-Pos1/0] default This command will restore the default settings. Continue? [Y/N]:y
243
description
Description
Use description to change the text description of the POS interface. Use undo description to restore the default. The default description of a POS interface is interface name plus Interface. For example, POS2/0 Interface.
Syntax
description text undo description
View
POS interface view
Default level
2: System level
Parameters
text: The interface description, a case-sensitive string of 1 to 80 characters. The description can contain letters, digits, special characters (including ~ ! @ # $ % ^ & * ( ) - _ + = { } [ ] | \ : ; " ' < > , . /), spaces, and other Unicode characters and symbols. Each Unicode character takes the space of two regular characters.
Examples
# Change the description of interface POS 1/0 to pos-interface.
<Sysname> system-view [Sysname] interface pos 1/0 [Sysname-Pos1/0] description pos-interface
crc
Description
Use crc to configure CRC mode for a POS interface. Use undo crc to restore the default, 32-bit CRC. The CRC length must be the same on both ends.
Syntax
crc { 16 | 32 } undo crc
View
POS interface view
Default level
2: System level
244
Parameters
16: Adopts 16-bit cyclic redundancy check. 32: Adopts 32-bit cyclic redundancy check.
Examples
# Set the CRC length on interface POS 1/0 to 16-bit.
<Sysname> system-view [Sysname] interface pos 1/0 [Sysname-Pos1/0] crc 16
Syntax
display interface [ pos ] [ brief [ down ] ] [ | { begin | exclude | include } regular-expression ] display interface pos interface-number [ brief ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
interface-number: Specifies a POS interface by number. brief: Displays brief interface information. If you do not specify this keyword, the command displays detailed interface information. down: Displays information about interfaces in DOWN state and the causes. If you do not specify this keyword, this command displays information about interfaces in all states. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display detailed information about interface POS 8/0.
<Sysname> display interface pos 8/0
245
Pos8/0 current state: DOWN Line protocol current state: DOWN Description: Pos8/0 Interface The Maximum Transmit Unit is 1500, Hold timer is 10(sec) Internet Address is 5.5.5.2/24 Primary Link layer protocol is PPP LCP initial Physical layer is Packet Over SONET, Baudrate is 155520000 bps Scramble enabled, crc 32, clock slave, loopback not set Output queue : (Urgent queuing : Size/Length/Discards) Output queue : (Protocol queuing : Size/Length/Discards) Output queue : (FIFO queuing : Size/Length/Discards) SDH alarm: section layer: line path layer: layer: OOF AIS AIS RDI C2(Tx): 0x16 LOF LOS 0/100/0 0/500/0 0/75/0
Rx: J0: unknown Rx: J1: unknown Tx: J1: "" SDH error: section layer: line path layer: layer: B1 65535 B2 0 B3 0 M1 0 G1 0
Last clearing of counters: Never Last 300 seconds input rate 0 bytes/sec, 0 bits/sec, 0 packets/sec Last 300 seconds output rate 0 bytes/sec, 0 bits/sec, 0 packets/sec Input: 0 packets, 0 bytes 0 errors, 0 runts, 0 giants, 0 CRC, 0 overruns, 0 aborts Output:0 packets, 0 bytes 0 errors, 0 underruns, 0 aborts, 0 no buffers
246
current state
247
Field
Description
Link status:
Interface
Link
Protocol connection state of the interface, which can be UP, DOWN, or UP(s). The main IP address of the interface. Description of the interface. The cause of a DOWN physical link. If the port was shut down with the shutdown command, this field displays Administratively. To restore the physical state of the interface, use undo shutdown.
Cause
flag
Description
Use flag to set the SONET/SDH overhead bytes. Use undo flag to restore the default SONET/SDH overhead bytes. By default, the default SDH overhead bytes are used. The default overhead bytes are as follows: c20x16 j0 (SDH)Null j1 (SDH)Null j0 (SONET)0x01 j1 (SONET)Null
Inconsistency between the c2 and j1 settings of the sending and receiving POS interface causes alarms. The J0 byte can be any character in the network of the same carrier. If networks of two carriers are involved, however, the sending and receiving devices at network borders must use the same J0 byte. The J0 byte helps operators detect and troubleshoot faults in advance, and spend less time to recover networks.
248
Syntax
flag c2 flag-value undo flag c2 flag { j0 | j1 } { sdh | sonet } flag-value undo flag { j0 | j1 } { sdh | sonet }
View
POS interface view
Default level
2: System level
Parameters
c2 flag-value: Path signal flag byte, a higher-order path overhead byte used to indicate the multiplex structure of VC frames and property of payload. This value is a hexadecimal number ranging from 0 to FF. j0 flag-value: Regeneration section trace message, a section overhead byte used to test continuity of the connection between two interfaces at the section level. If the sdh keyword is configured, the flag-value argument is a string of 1 to 15 hexadecimal digits. If the sonet keyword is configured, the argument is a hexadecimal number ranging from 0 to FF. j1 flag-value: Path trace message, a higher-order path overhead byte used to test continuity of the connection between two interfaces at the path level. If the sdh keyword is configured, the flag-value argument is a string of 1 to 15 hexadecimal digits. If the sonet keyword is configured, the argument is a string of 1 to 62 characters. sdh: Sets framing format to Synchronous Digital Hierarchy. sonet: Sets framing format to Synchronous Optical Network.
Examples
# Set the SDH overhead byte J0 of POS interface POS 1/0.
<Sysname> system-view [Sysname] interface pos 1/0 [Sysname-Pos1/0] flag j0 sdh ff
frame-format
Description
Use frame-format to configure the framing format on a POS interface. Use undo frame-format to restore the default framing format, SDH.
Syntax
frame-format { sdh | sonet } undo frame-format
249
View
POS interface view
Default level
2: System level
Parameters
sdh: Sets the framing format to synchronous digital hierarchy. sonet: Sets the framing format to synchronous optical network.
Examples
# Set the framing format on interface POS 1/0 to SDH.
<Sysname> system-view [Sysname] interface pos 1/0 [Sysname-Pos1/0] frame-format sdh
link-protocol
Description
Use link-protocol to set the link layer protocol of the interface. By default, PPP is used.
Syntax
link-protocol { fr [ ietf | mfr interface-number | nonstandard ] | hdlc | ppp }
View
POS interface view
Default level
2: System level
Parameters
fr: Specifies Frame Relay as the link layer protocol of the interface. ietf: Adopts the IETF encapsulation format. This is the default. mfr interface-number: Specifies a MFR interface or subinterface by number. The specified interface must exist. nonstandard: Adopts nonstandard compatible encapsulation format. hdlc: Specifies HDLC as the link layer protocol of the interface. ppp: Specifies PPP as the link layer protocol of the interface.
Examples
# Specify HDLC as the link protocol of interface POS 1/0.
<Sysname> system-view [Sysname] interface pos 1/0 [Sysname-Pos1/0] link-protocol hdlc
250
loopback
Description
Use loopback to enable loopback on a POS interface and set the loopback mode. Use undo loopback to disable loopback testing on a POS interface. By default, loopback testing is disabled on POS interfaces. Loopback is intended for test use. Disable loopback in other cases. If a POS interface encapsulated with PPP is placed in loopback mode, the state of the link layer protocol is reported as up. Do not enable loopback while the clock mode is set to slave; otherwise, POS interfaces cannot be successfully connected.
Syntax
loopback { local | remote } undo loopback
View
POS interface view
Default level
2: System level
Parameters
local: Enables internal loopback. remote: Enables external loopback.
Examples
# Enable internal loopback on interface POS 1/0.
<Sysname> system-view [Sysname] interface pos 1/0 [Sysname-Pos1/0] loopback local
mtu
Description
Use mtu to set the MTU for a POS interface. Use undo mtu to restore the default. The MTU setting of the POS interface can affect the assembly and fragmentation of IP packets. Depending upon the size of the QoS queue, a packet may be discarded if the MTU is relatively small and the packet is segmented into too many fragments. To avoid this situation, increase the QoS queue length by using the qos fifo queue-length command in interface view. The default queuing mechanism on the interface is FIFO. For more information, see ACL and QoS Configuration Guide. Related commands: display interface pos.
251
Syntax
mtu size undo mtu
View
POS interface view
Default level
2: System level
Parameters
size: Sets the MTU size, ranging from 128 to 1650 bytes.
Examples
# Set the MTU of POS interface 1/0 to 1492.
<Sysname> system-view [Sysname] interface pos 1/0 [Sysname-Pos1/0] mtu 1492
Syntax
reset counters interface [ pos [ interface-number ] ]
View
User view
Default level
2: System level
Parameters
pos interface-number: Specifies a POS interface to reset, by number.
Examples
# Clear statistics for interface POS 8/0.
<Sysname> reset counters interface pos 8/0
252
scramble
Description
Use scramble to enable payload scrambling on the POS interface. Use undo scramble to disable payload scrambling. By default, payload scrambling is enabled. You can configure payload scrambling, which prevents the presence of too many consecutive 1s or 0s, to facilitate line clock signal extraction at the receiving end. NOTE: Enable payload scrambling on both ends of a POS interface.
Syntax
scramble undo scramble
View
POS interface view
Default level
2: System level
Parameters
None
Examples
# Enable payload scrambling on interface POS 1/0.
<Sysname> system-view [Sysname] interface pos 1/0 [Sysname-Pos1/0]scramble
shutdown
Description
Use shutdown to shut down a POS interface. Use undo shutdown to bring up a POS interface. By default, a POS interface is up. When you modify parameters on a POS interface, use shutdown, and then undo shutdown, to make your modifications take effect.
Syntax
shutdown undo shutdown
253
View
POS interface view
Default level
2: System level
Parameters
None
Examples
# Shut down the POS interface POS 1/0.
<Sysname> system-view [Sysname] interface pos 1/0 [Sysname-Pos1/0] shutdown
254
bandwidth
Description
Use bandwidth to set the intended bandwidth for a CPOS interface. Use undo bandwidth to restore the default. You can obtain the intended bandwidth of an interface by using third-party software to query the value of the MIB ifspeed. The intended bandwidth of an interface is used by the network management system to monitor the interface bandwidth, and does not affect the actual bandwidth of the interface.
Syntax
bandwidth bandwidth-value undo bandwidth
View
CPOS interface view
Default level
2: System level
Parameters
bandwidth-value: Intended bandwidth for the CPOS interface, ranging from 1 to 4,294,967,295 kbps.
Examples
# Set the intended bandwidth to 1,000 kbps for interface CPOS 1/0.
<Sysname> system-view [Sysname] controller cpos 1/0 [Sysname-Cpos1/0] bandwidth 1000
clock
Description
Use clock to set the clock source of a CPOS interface. Use undo clock to restore the default clock source, line clock (slave). If the POS interface is connected to a SONET/SDH device, which always provides higher clock precision, set its clock mode to subordinate. If the interface is directly connected to another CPOS interface with fiber-optic, you only need to configure the two ends with different clock modes.
255
Syntax
clock { master | slave } undo clock
View
CPOS interface view
Default level
2: System level
Parameters
master: Adopts the internal clock as the clock source. slave: Adopts the line clock as the clock source.
Examples
# Set the clock mode of interface CPOS 1/0 to master.
<Sysname> system-view [Sysname] controller cpos 1/0 [Sysname-Cpos1/0] clock master
controller cpos
Description
Use controller cpos to enter CPOS interface view.
Syntax
controller cpos cpos-number
View
System view
Default level
2: System level
Parameters
cpos-number: Specifies the CPOS interface to view, by number.
Examples
# Enter CPOS 1/0 interface view.
<Sysname> system-view [Sysname] controller cpos 1/0 [Sysname-Cpos1/0]
default
Description
Use default to restore the default settings for a CPOS interface.
256
Syntax
default
View
CPOS interface view
Default level
2: System level
Parameters
None
Examples
# Restore the default settings for CPOS interface CPOS 1/0.
<Sysname> system-view [Sysname] controller cpos 1/0 [Sysname-Cpos1/0] default This command will restore the default settings. Continue? [Y/N]:y
description
Description
Use description to change the text description of the CPOS interface. Use undo description to restore the default. The default description of a CPOS interface is the interface name plus Interface. For example, CPOS2/0 Interface.
Syntax
description text undo description
View
CPOS interface view
Default level
2: System level
Parameters
text: The interface description, a case-sensitive string of 1 to 80 characters. The description can contain letters, digits, special characters (including ~ ! @ # $ % ^ & * ( ) - _ + = { } [ ] | \ : ; " ' < > , . /), spaces, and other Unicode characters and symbols. Each Unicode character takes the space of two regular characters.
Examples
# Change the description of interface CPOS 1/0 to CPOS-interface.
<Sysname> system-view [Sysname] controller cpos 1/0 [Sysname-Cpos1/0] description cpos-interface
257
Description
Receive loss of basic frame alignment, or receive frames with red alarm errors. Change of frame alignment. Severely errored frame. Four consecutive frame synchronization errors generate one SEF. Framing Bit Error, frames with Ft/Fs/FPS/FAS errors. CRC error. Far end block error. This occurs when the CRC4 framing format applies on the E1 channel. PRBS bit error (pseudo-random binary sequence bit error, for test only). Bit-interleaved parity. Remote error indication.
In this table, FRED, COFA, and SEF are referred to as alarm errors (AERRs). Related commands: display controller cpos e1 and display controller cpos t1.
Syntax
display controller cpos [ cpos-number ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
cpos-number: Specifies a CPOS interface by number. If no CPOS number is specified, this command displays information about all CPOS interfaces. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
258
Examples
# Display path information for interface CPOS 4/0.
<Sysname> display controller cpos 4/0 Cpos4/0 current state: DOWN Description : Cpos4/0 Interface Frame-format SDH,multiplex AU-4,clock master,loopback none SD threshold: 6, SF threshold: 3 Optical:Absent Regenerator section: Tx: J0:"" Rx: J0:"" Alarm: LOS Error: (HEX: ) (HEX: ) LOF OOF
0 RS_BIP
High order Path (VC-4-1): Tx: J1:"", C2:0x02, S1S0:0x02 Rx: J1:"", C2:0x6d, S1S0:0x02 Alarm: Error: CT1 CT1 CT1 HP_TIU HP_RDI HP_ERDI HP_PLM 0 HP_BIP, 0 HP_REI, 0 HP_PJE, 0 HP_NJE
1 is down clock: slave, clock: slave, clock: slave, loopback: none loopback: none loopback: none 2 is down 3 is down
Description
Current physical state of the CPOS interface. Description of the CPOS interface. Physical layer information of the CPOS interface: the framing format is set to SDH, AU-3 path is adopted, master clock (internal clock signal) is used, and loopback is disabled. The SD threshold and SF threshold of the CPOS interface. 259
Field
Optical Regenerator section Tx: J0 Rx: J0 Alarm: Error: Multiplex section:
Description
Transmission medium. Alarm and error statistics about the regeneration section. The sent overhead bytes. The received overhead bytes. Alarm statistics. Error statistics. Alarm and error statistics about the multiplex section. Alarm and error statistics about the higher-order path. VC-4-1 indicates the AU-4 path is adopted. In the AU-4 path, there is one higher-order path VC-4. The x in VC-3-x indicates the path number. When adopting AU-3 path, one STM-1 has three higherorder paths because it is multiplexed by three VC-3s. The current physical state of T1 channel 1 of the CPOS interface 4/0. Physical layer information about T1 channels: the framing format is set to ESF, master clock (internal clock signal) is used, and loopback is disabled.
Syntax
display controller cpos cpos-number e1 e1-number [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
cpos-number: Specifies a CPOS interface by number. e1-number: Number of an E1 channel on the specified CPOS interface, ranging from 1 to 63. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression.
260
Examples
# Display the status information of E1 channel 1 on interface CPOS 1/0.
<Sysname> display controller cpos 1/0 e1 1 Cpos1/0 current state: DOWN Description : Cpos1/0 Interface Lower order path: TxFlag: J2: "" Alarm: Error: CE1 LP-AIS LP-C2: 2 -C2: 7 LP-RDI LP-RFI LP-C2-Mismatched LP-J2-Unstable 1164 BIP2, 2047 FEBE clock: slave, loopback: none
Description
Current physical state of the CPOS interface. Description of the CPOS interface. Alarm and error statistics of the lower order E1 path. The sent overhead bytes. The received overhead bytes. Alarm statistics. Error statistics. Current physical state of E1 channel 1 of CPOS 1/0. 1-1-1-1 represents in order VC-4 number, TUG-3 number, TUG-2 number, and TU-12 number for an E1 channel. Physical layer information of E1 channels. In this sample output, the framing format is set to NO-CRC4, slave clock mode is used, and loopback is disabled.
Syntax
display controller cpos cpos-number t1 t1-number [ | { begin | exclude | include } regular-expression ]
261
View
Any view
Default level
1: Monitor level
Parameters
cpos-number: Specifies a CPOS interface by number. t1-number: Number of a T1 channel on the specified CPOS interface, ranging from 1 to 84. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display the status information of T1 channel 2 on interface CPOS 4/0.
<Sysname> display controller cpos 4/0 t1 1 Cpos4/0 current state: DOWN Description : Cpos4/0 Interface Lower order path: TxFlag: J2: "" Alarm: Error: CT1 LP-AIS LP-C2: 2 -C2: 7 LP-RDI LP-RFI LP-C2-Mismatched LP-J2-Unstable 1080 BIP2, 2047 FEBE clock: slave, Red 0 Fer, 0 OOF loopback: none
Description
Current physical state of the CPOS interface. Description of the CPOS interface. Alarm and error statistics of the lower order path. The sent overhead bytes. The received overhead bytes. Alarm statistics. Error statistics.
262
Field
CT1 1 (1-1-1-1) is down
Description
Current physical state of T1 channel 1 on interface CPOS 4/0. 1-1-1-1 represents in order VC-3 number, TUG-3 number, TUG-2 number, and TU-12 number for an T1 channel. Physical layer information of the T1 channel. In this sample output, the framing format is set to ESF, master clock (internal clock signal) is used, and loopback is disabled.
e1 channel-set
Description
Use e1 channel-set to bundle timeslots on an E1 channel into one channel set. Use undo e1 channel-set to remove the channel set (also called a bundle). By default, an E1 channel is not channelized. When the E1 channel is channelized, its timeslot 0 is used for synchronization and the other 31 timeslots can be bundled to form one or multiple serial interfaces. These serial interfaces are named in the form of interface number/channel number:channel set number, where the interface number is separated from the channel number by a forward slash. Related commands: e1 unframed.
Syntax
e1 e1-number channel-set set-number timeslot-list range undo e1 e1-number channel-set set-number
View
CPOS interface view
Default level
2: System level
Parameters
e1-number: Specifies an E1 channel on the CPOS interface by number, ranging from 1 to 63. set-number: Specifies a channel set by number, ranging from 0 to 30. timeslot-list range: Specifies the timeslots to be bundled. The range argument can contain multiple timeslot numbers, each of which ranges from 1 to 31. You can specify a single timeslot by specifying a timeslot number, a range of timeslots by providing this argument in the form of { number1-number2 }, or multiple timeslots by providing this argument in the form of { number1, number2-number3 }.
Examples
# Bundle timeslots on E1 channel 63.
<Sysname> system-view [Sysname] controller cpos 1/0 [Sysname-Cpos1/0] e1 63 channel-set 1 timeslot-list 1-31
# Enter the view of the serial interface formed by the timeslot bundle.
263
e1 set clock
Description
Use e1 set clock to configure the clock source for an E1 channel. Use undo e1 set clock to restore the default clock source, line clock (slave). E1 channels on the same CPOS physical interface can use different clock sources, depending on the connected devices. For example, when connected to a SONET/SDH device, an E1 channel should use the line clock; or when directly connected to another device with fiber-optic, the E1 channel can use either the internal or line clock, as long as the mode is different from the one used at the opposite end. Different E1 channels on the same CPOS physical interface are independent of one another and can use different clock sources.
Syntax
e1 e1-number set clock { master | slave } undo e1 e1-number set clock
View
CPOS interface view
Default level
2: System level
Parameters
e1-number: Specifies an E1 channel on the CPOS interface by number, ranging from 1 to 63. master: Adopts the internal clock as the clock source. slave: Adopts the line clock as the clock source.
Examples
# Set the clock source of E1 channel 1 to master.
<Sysname> system-view [Sysname] controller cpos 1/0 [Sysname-Cpos1/0] e1 1 set clock master
e1 set flag
Description
Use e1 set flag to set the overhead bytes for an E1 channel. Use undo e1 set flag to restore the default E1 channel overhead bytes. By default, C2 is 0x02 and J2 is cyclic null.
Syntax
e1 e1-number set flag c2 c2-value
264
undo e1 e1-number set flag c2 e1 e1-number set flag j2 { sdh | sonet } j2-string undo e1 e1-number set flag j2 { sdh | sonet }
View
CPOS interface view
Default level
2: System level
Parameters
e1-number: Specifies an E1 channel by number, ranging from 1 to 63. c2: Specifies the low-order channel signal tag byte (C2). c2-value: Low-order channel signal flag byte (C2) to be set, one byte in length and ranging from 0x0 to 0x7 (excluding 0x5). j2: Specifies the low-order channel trace byte (J2). sdh: Specifies the trace byte in SDH format. sonet: Specifies the trace byte in SONET format. j2-string: Low-order channel trace byte to be set, a string of 1 to 15 characters (in SDH format), or a string of 1 to 62 characters (in SONET format).
Examples
# Set C2 to 0x7 for the E1 channel numbered 3 of interface CPOS 1/0.
<Sysname> system-view [Sysname] controller cpos 1/0 [Sysname-Cpos1/0] e1 3 set flag c2 7
e1 set frame-format
Description
Use e1 set frame-format to set the framing format of an E1 channel. Use undo e1 set frame-format to restore the default framing format, no-CRC4.
Syntax
e1 e1-number set frame-format { crc4 | no-crc4 } undo e1 e1-number set frame-format
View
CPOS interface view
Default level
2: System level
Parameters
e1-number: Specifies an E1 channel on the CPOS interface by number, ranging from 1 to 63.
265
crc4: Sets the framing format to CRC4. no-crc4: Sets the framing format to no-CRC4.
Examples
# Set E1 channel 1 to use CRC4 framing format.
<Sysname> system-view [Sysname] controller cpos 1/0 [Sysname-Cpos1/0] e1 1 set frame-format crc4
e1 set loopback
Description
Use e1 set loopback to configure the loopback mode of an E1 channel. Use undo e1 set loopback to disable loopback. By default, loopback is disabled. You may test E1 channels in different depths by using loopback with different parameters. In an internal loopback, data of the sender is directly looped to the receiver. In an external payload loopback, data received by the receiver is looped back at the E1 framer as payload. In an external loopback, data received by the receiver is looped back directly without passing through the E1 framer. Related commands: display controller cpos e1.
Syntax
e1 e1-number set loopback { local | payload | remote } undo e1 e1-number set loopback
View
CPOS interface view
Default level
2: System level
Parameters
e1-number: Specifies an E1 channel on the CPOS interface by number, ranging from 1 to 63. local: Enables internal loopback on the E1 channel. payload: Enables external payload loopback on the E1 channel. remote: Enables external loopback on the E1 channel.
Examples
# Enable external payload loopback on E1 channel 1.
<Sysname> system-view [Sysname] controller cpos 1/0 [Sysname-Cpos1/0] e1 1 set loopback payload
266
e1 shutdown
Description
Use e1 shutdown to shut down an E1 channel. Use undo e1 shutdown to bring up an E1 channel. By default, E1 channels are up. Shutting down an E1 channel also shuts down any serial interfaces that are formed on it.
Syntax
e1 e1-number shutdown undo e1 e1-number shutdown
View
CPOS interface view
Default level
2: System level
Parameters
e1-number: Specifies an E1 channel on the CPOS interface by number, ranging from 1 to 63.
Examples
# Shut down E1 channel 1.
<Sysname> system-view [Sysname] controller cpos 1/0 [Sysname-Cpos1/0] e1 1 shutdown
e1 unframed
Description
Use e1 unframed to set an E1 channel on the CPOS interface to operate in unframed mode. Use undo e1 unframed to restore the default. By default, an E1 channel operates in framed mode. E1 channels on CPOS interfaces support unframed (clear channel) mode and framed (channelized) mode. In unframed mode, an E1 channel can form a 2.048 Mbps serial interface without timeslot division. This interface is named serial slot/port/e1-number:0. In framed mode, all timeslots on the E1 channel except timeslot 0 can be bundled arbitrarily to form serial interfaces.
Syntax
e1 e1-number unframed undo e1 e1-number unframed
267
View
CPOS interface view
Default level
2: System level
Parameters
e1-number: Specifies an E1 channel on the CPOS interface by number, ranging from 1 to 63.
Examples
# Set E1 channel 3 on interface CPOS 1/0 to operate in unframed mode.
<Sysname> system-view [Sysname] controller cpos 1/0 [Sysname-Cpos1/0] e1 3 unframed
flag
Description
Use flag to set the overhead bytes of SONET/SDH frames. Use undo flag to restore the default. SONET/SDH frames provide a variety of overhead bytes for OAM, for uses such as layered management on transmission networks. J1, J0 and C2 are used to support interoperability between devices in different countries and areas, or from different vendors. J0 is a section overhead byte used for detecting the continuity of the connection between two interfaces at the section layer. J1 and C2 are higher-order path overhead bytes. The J1 byte is used for detecting the continuity of the connection between two interfaces at the path layer. The C2 byte is used for indicating the multiplexing structure of a VC frame and the property of payload. Related commands: display controller cpos.
Syntax
flag c2 path-number c2-value undo flag c2 path-number flag { j0 | j1 path-number } { sdh | sonet } flag-value undo flag { j0 | j1 path-number } { sdh | sonet }
View
CPOS interface view
Default level
2: System level
Parameters
j0 flag-value: Specifies the regenerator section trace message, which is a section overhead byte used to detect the continuity of the connection between two interfaces at the section layer. With SDH frames, flagvalue is a string of 1 to 15 characters; with SONET frames, flag-value ranges from 0 to FF.
268
j1 path-number: Specifies the path trace message, which is a higher-order path overhead byte used to detect the continuity of the connection between two interfaces at the path layer. With SDH frames, flagvalue is a string of 1 to 15 characters; with SONET frames, flag-value is a string of 1 to 62 characters. sdh: Specifies the framing format to Synchronous Digital Hierarchy. sonet: Specifies the framing format to Synchronous Optical Network. c2 path-number c2-value: The path-number argument is the number of a path. The c2-value argument specifies the path signal label byte ranging from 0 to FF (in hexadecimal format), and defaults to 0x02.
Examples
# Set J0 to aa on interface CPOS 1/0.
<Sysname> system-view [Sysname] controller cpos 1/0 [Sysname-Cpos1/0] flag j0 sdh aa
frame-format
Description
Use frame-format to configure the framing format on a CPOS interface. Use undo frame-format to restore the default framing format, SDH.
Syntax
frame-format { sdh | sonet } undo frame-format
View
CPOS interface view
Default level
2: System level
Parameters
sdh: Sets the framing format to synchronous digital hierarchy. sonet: Sets the framing format to synchronous optical network.
Examples
# Set the framing format on interface CPOS 1/0 to SONET.
<Sysname> system-view [Sysname] controller cpos 1/0 [Sysname-Cpos1/0] frame-format sonet
loopback
Description
Use loopback to enable loopback on a CPOS interface and set the loopback mode. Use undo loopback to disable loopback testing on a CPOS interface.
269
By default, loopback testing is disabled on CPOS interfaces. Loopback is intended for test use. Disable loopback in other cases.
Syntax
loopback { local | remote } undo loopback
View
CPOS interface view
Default level
2: System level
Parameters
local: Places the interface into internal loopback mode, useful for testing the physical interface itself. remote: Places the interface into external loopback mode, useful for testing the cable connected to the interface.
Examples
# Set interface CPOS 1/0 to external loopback mode.
<Sysname> system-view [Sysname] controller cpos 1/0 [Sysname-Cpos1/0] loopback remote
multiplex mode
Description
Use multiplex mode to set AUG multiplexing mode. Use undo multiplex mode to restore the default multiplexing mode, au-4. SDH provides two payload mapping/multiplexing solutions: ANSI and ETSI. ANSIUses the AU-3 multiplexing scheme, where the lower-order payload is aggregated into the VC-3 higher-order path. VC-3 plus an AU pointer forms AU-3. Three such AU-3s can be synchronized and multiplexed to form one AUG. ETSIUses the AU-4 multiplexing scheme, where the lower-order payload is aggregated into the VC-4 higher-order path. VC-4 plus an AU pointer forms an AU-4. This AU-4 can be synchronized and multiplexed to form one AUG.
When the CPOS interface is operating in SDH mode, you can choose to multiplex AUG to AU-4 or AU-3 by using multiplex mode. When the CPOS interface is operating in SONET mode, AUG can be multiplexed only to AU-3 and the multiplex mode is invalid. Related commands: frame-format.
Syntax
multiplex mode { au-3 | au-4 } undo multiplex mode
270
View
CPOS interface view
Default level
2: System level
Parameters
au-3: Gets AUG through AU-3. au-4: Gets AUG through AU-4.
Examples
# In SDH mode, multiplex AUG to AU-3.
<Sysname> system-view [Sysname] controller cpos 1/0 [Sysname-Cpos1/0] frame-format sdh [Sysname-Cpos1/0] multiplex mode au-3
Syntax
reset counters controller cpos interface-number
View
User view
Default level
2: System level
Parameters
interface-number: Specifies the interface to reset, by number.
Examples
# Clear the controller counter for CPOS interface CPOS 2/0.
<Sysname> reset counters controller cpos 2/0
shutdown
Description
Use shutdown to shut down a CPOS physical interface. Use undo shutdown to bring up a CPOS physical interface.
271
By default, CPOS physical interfaces are up. The shutdown command on the CPOS physical interface shuts down all E1/T1 channels and serial interfaces formed by timeslot bundles. To bring up the E1/T1 channels and serial interfaces, use undo shutdown on the CPOS physical interface.
Syntax
shutdown undo shutdown
View
CPOS interface view
Default level
2: System level
Parameters
None
Examples
# Shut down the physical interface CPOS 1/0.
<Sysname> system-view [Sysname] controller cpos 1/0 [Sysname-Cpos1/0] shutdown
t1 channel-set
Description
Use t1 channel-set to bundle timeslots on the T1 channel. Use undo t1 channel-set to remove the bundle. By default, a T1 channel is not channelized. The serial interface formed by a timeslot bundle is named in the form of interface number/channel number:channel set number, where the interface number is separated from the channel number by a forward slash. Related commands: t1 unframed.
Syntax
t1 t1-number channel-set set-number timeslot-list range [ speed { 56k | 64k } ] undo t1 t1-number channel-set set-number
View
CPOS interface view
Default level
2: System level
Parameters
t1-number: Specifies a T1 channel on the CPOS interface by number, ranging from 1 to 84.
272
set-number: Specifies a channel set by number, ranging from 0 to 23. timeslot-list range: Specifies a list of timeslots to be bundled. A timeslot number ranges from 1 to 24. You can specify a single timeslot by specifying a timeslot number, a range of timeslots in the form of { number1-number2 }, or multiple timeslots in the form of { number1, number2-number3 }. speed: Speed of the timeslot bundle in kbps. If 56k is selected, the timeslots form an N 56 kbps bundle. If 64k is selected, the timeslots form an N 64 kbps bundle. If the speed is not specified, the default is 64 kbps.
Examples
# Bundle timeslots on T1 channel 1.
<Sysname> system-view [Sysname] controller cpos 1/0 [Sysname-Cpos1/0] t1 1 channel-set 1 timeslot-list 1-23
t1 set clock
Description
Use t1 set clock to configure the clock source for a T1 channel. Use undo t1 set clock to restore the default clock source, line clock (slave). T1 channels on the same CPOS physical interface can use different clock sources, depending on the connected devices. For example, when connected to a SONET/SDH device, a T1 channel should use the line clock, or when directly connected to another device with fiber-optic, the T1 channel can use either the internal or line clock, as long as the mode is different from the one used at the opposite end. Different T1 channels on the same CPOS physical interface are independent of one another and can use different clock sources.
Syntax
t1 t1-number set clock { master | slave } undo t1 t1-number set clock
View
CPOS interface view
Default level
2: System level
Parameters
t1-number: Specifies a T1 channel on the CPOS interface by number, ranging from 1 to 84. master: Adopts the internal clock as the clock source. slave: Adopts the line clock as the clock source.
273
Examples
# Set the clock source of T1 channel 1 to master.
<Sysname> system-view [Sysname] controller cpos 1/0 [Sysname-Cpos1/0] t1 1 set clock master
t1 set flag
Description
Use t1 set flag to set the overhead bytes for a T1 channel. Use undo t1 set flag to restore the default T1 channel overhead bytes. By default, C2 is 0x02 and J2 is cyclic null.
Syntax
t1 t1-number set flag c2 c2-value undo t1 t1-number set flag c2 t1 t1-number set flag j2 { sdh | sonet } j2-string undo t1 t1-number set flag j2 { sdh | sonet }
View
CPOS interface view
Default level
2: System level
Parameters
t1-number: Specifies a T1 channel by number, ranging from 1 to 84. c2: Specifies the low-order channel signal tag byte (C2). c2-value: Low-order channel signal tag byte (C2) to be set, one byte in length and ranging from 0x0 to 0x7 (except 0x5). j2: Specifies the low-order channel trace byte (J2). sdh: Specifies the trace byte in SDH format. sonet: Specifies the trace byte in SONET format. j2-string: Low-order channel trace byte (J2) to be set, a string of 1 to 15 characters (in SDH format) or of 1 to 62 characters (in SONET format).
Examples
# Set C2 to 0x7 for the T1 channel numbered 3 of interface CPOS 1/0.
<Sysname> system-view [Sysname] controller cpos 1/0 [Sysname-Cpos1/0] t1 3 set flag c2 7
274
t1 set frame-format
Description
Use t1 set frame-format to set the framing format of a T1 channel. Use undo t1 set frame-format to restore the default framing format, ESF.
Syntax
t1 t1-number set frame-format { esf | sf } undo t1 t1-number set frame-format
View
CPOS interface view
Default level
2: System level
Parameters
t1-number: Specifies a T1 channel on the CPOS interface by number, ranging from 1 to 84. esf: Sets the T1 channel to use the extended super frame format. sf: Sets the T1 channel to use the super frame format.
Examples
# Set the framing format of T1 channel 1 to SF.
<Sysname> system-view [Sysname] controller cpos 1/0 [Sysname-Cpos1/0] t1 1 set frame-format sf
t1 set loopback
Description
Use t1 set loopback to configure the loopback mode of a T1 channel. Use undo t1 set loopback to disable loopback. By default, loopback is disabled. Loopback is intended for test use only. Disable it otherwise. Related commands: display controller cpos t1.
Syntax
t1 t1-number set loopback { local | payload | remote } undo t1 t1-number set loopback
View
CPOS interface view
Default level
2: System level
275
Parameters
t1-number: Specifies a T1 channel on the CPOS interface by number, ranging from 1 to 84. local: Enables internal loopback on the T1 channel. payload: Enables external payload loopback on the T1 channel. remote: Enables external loopback on the T1 channel.
Examples
# Enable external loopback on T1 channel 1.
<Sysname> system-view [Sysname] controller cpos 1/0 [Sysname-Cpos1/0] t1 1 set loopback payload
t1 shutdown
Description
Use t1 shutdown to shut down a T1 channel. Use undo t1 shutdown to bring up a T1 channel. By default, T1 channels are up. Shutting down a T1 channel also shuts down any serial interfaces that are formed on it.
Syntax
t1 t1-number shutdown undo t1 t1-number shutdown
View
CPOS interface view
Default level
2: System level
Parameters
t1-number: Specifies a T1 channel on the CPOS interface by number, ranging from 1 to 84.
Examples
# Shut down T1 channel 1.
<Sysname> system-view [Sysname] controller cpos 1/0 [Sysname-Cpos1/0] t1 1 shutdown
t1 unframed
Description
Use t1 unframed to set a T1 channel on the CPOS interface to operate in unframed mode. Use undo t1 unframed to restore the default.
276
By default, a T1 channel operates in framed mode. Like E1 channels, T1 channels on CPOS interfaces support unframed (clear channel) mode and framed (channelized) mode. In unframed mode, a T1 channel can form a 1.544 Mbps serial interface without timeslot division. This interface is named serial slot/card/t1-number:0. In framed mode, all timeslots of a T1 channel can be bundled arbitrarily to form serial interfaces.
Syntax
t1 t1-number unframed undo t1 t1-number unframed
View
CPOS interface view
Default level
2: System level
Parameters
t1-number: Specifies a T1 channel on the CPOS interface by number, ranging from 1 to 84.
Examples
# Set T1 channel 3 on interface CPOS 1/0 to operate in unframed mode.
<Sysname> system-view [Sysname] controller cpos 1/0 [Sysname-Cpos1/0] t1 3 unframed
277
Syntax
bandwidth bandwidth-value undo bandwidth
View
Loopback interface view, null interface view
Default level
2: System level
Parameters
bandwidth-value: Specifies the intended bandwidth, ranging from 1 to 4,294,967,295 kbps.
Examples
# Set the intended bandwidth to 1,000 kbps for interface Loopback 1/0.
<Sysname> system-view [Sysname] interface loopback 1 [Sysname-LoopBack1] bandwidth 10000
default
Description
Use default to restore the default settings for a loopback or null interface.
Syntax
default
View
Loopback interface view, null interface view
278
Default level
2: System level
Parameters
None
Examples
# Restore the default settings for interface loopback 1.
<Sysname> system-view [Sysname] interface loopback 1 [Sysname-loopback1] default This command will restore the default settings. Continue? [Y/N]:y
description
Description
Use description to change the text description of the current interface. Use undo description to restore the default. The default description of a loopback or null interface is interface name plus Interface. For example, Loopback1 Interface. Related commands: display interface.
Syntax
description text undo description
View
Loopback interface view, null interface view
Default level
2: System level
Parameters
text: The interface description, a case-sensitive string of 1 to 80 characters. The description can contain letters, digits, special characters (including ~ ! @ # $ % ^ & * ( ) - _ + = { } [ ] | \ : ; " ' < > , . /), spaces, and other Unicode characters and symbols. Each Unicode character takes the space of two regular characters. NOTE: An interface description can be a mixture of English characters and other Unicode characters. The mixed
description cannot exceed the specified length.
To use Unicode characters or symbols in an interface description, install the specific Input Method Editor and log
in to the device through remote login software that supports the character type.
Each non-English Unicode character or symbol (non-English characters) takes the space of two regular
characters. When the length of a description string reaches or exceeds the maximum line width on the terminal software, the software starts a new line. This may break a Unicode character into two parts and create garbled characters at the end of a line. 279
Examples
# Change the description of interface loopback 1 to loopback1.
<Sysname> system-view [Sysname] interface loopback 1 [Sysname- loopback1] description loopback1
Syntax
display interface [ loopback ] [ brief [ down ] ] [ | { begin | exclude | include } regular-expression ] display interface loopback interface-number [ brief ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
interface-number: Specifies a loopback interface by number. brief: Displays brief interface information. If you do not specify this keyword, this command displays detailed interface information. down: Displays information about all interfaces in DOWN state and the causes. If you do not specify this keyword, the command displays information about interfaces in all states. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display detailed information about interface loopback 0.
<Sysname> display interface loopback 0 LoopBack0 current state: UP Line protocol current state: UP (spoofing)
280
Description: LoopBack0 Interface The Maximum Transmit Unit is 1536 Internet protocol processing : disabled Physical is Loopback Last clearing of counters: Last 300 seconds input: Last 300 seconds output: Never 0 bytes/sec, 0 bits/sec, 0 packets/sec 0 bytes/sec, 0 bits/sec, 0 packets/sec
# Display brief information about all loopback interfaces in the DOWN state.
<Sysname> display interface loopback brief down The brief information of interface(s) under route mode: Link: ADM - administratively down; Stby - standby Interface Loop1 Link Cause ADM Administratively
Description
Current physical state of the interface (up or administratively down). State of the data link layer protocol: up (spoofing). Spoofing refers to the spoofing attribute of the interface. When the network layer protocol state of the interface is displayed as UP, the corresponding link may be an on-demand link or not present at all. Description of the interface. MTU of the interface. State of the network layer protocol, which can be disabled or enabled (displayed as Internet Address is X.X.X.X/XX Primary) The physical type of the interface is loopback. The last time when statistics on the logical interface were cleared using reset counters interface. If the statistics of the interface have never been cleared since the device was started, this field displays Never. Average input rate over the last 300 seconds in Bps, bps, and pps. Average output rate over the last 300 seconds in Bps, bps, and pps.
Description The Maximum Transmit Unit Internet protocol processing Physical is loopback
Last 300 seconds input: 0 bytes/sec, 0 bits/sec, 0 packets/sec Last 300 seconds output: 0 bytes/sec, 0 bits/sec, 0 packets/sec
281
Field
0 packets input, 0 bytes, 0 drops 0 packets output, 0 bytes, 0 drops The brief information of interface(s) under route mode
Description
Total number and size (in bytes) of input packets and the number of dropped packets. Total number and size (in bytes) of output packets and the number of dropped packets. Brief information about Layer 3 interfaces. Link status:
Interface
Link
UP The link is up. ADM The link has been administratively shut down. To
recover its physical state, use undo shutdown. Protocol connection state of the interface, which can be UP, DOWN, or UP(s). The main IP address of the interface. Description of the interface. The cause of a DOWN physical link. If the port was shut down with the shutdown command, this field displays Administratively. To restore the physical state of the interface, use undo shutdown.
Cause
Syntax
display interface [ null ] [ brief [ down ] ] [ | { begin | exclude | include } regular-expression ] display interface null 0 [ brief ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
0: Specifies interface Null 0. The null interface number is fixed at 0. brief: Displays brief interface information. If you do not specify this keyword, this command displays detailed interface information. down: Displays information about all interfaces in DOWN state and the causes. If you do not specify this keyword, this command displays information about interfaces in all states. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display detailed information about interface Null 0.
<Sysname> display interface null 0 NULL0 current state :UP Line protocol current state :UP (spoofing) Description : NULL0 Interface The Maximum Transmit Unit is 1500 Internet protocol processing : disabled Physical is NULL DEV Last clearing of counters: Last 300 seconds input: Last 300 seconds output: Never 0 bytes/sec, 0 bits/sec, 0 packets/sec 0 bytes/sec, 0 bits/sec, 0 packets/sec
283
For the Command output, see Error! Reference source not found..
interface loopback
Description
Use interface loopback to create or view a loopback interface. Use undo interface loopback to remove a loopback interface. Related commands: display interface loopback.
Syntax
interface loopback interface-number undo interface loopback interface-number
View
System view
Default level
2: System level
Parameters
interface-number: Specifies a loopback interface by number, ranging from 0 to 65,535.
Examples
# Create interface loopback 5.
<Sysname> system-view [Sysname] interface loopback 5 [Sysname-LoopBack5]
interface null
Description
Use interface null to view the null interface. A device has only one null interface, always named interface Null 0. Interface Null 0 is always up. You cannot remove it or shut it down. Related commands: display interface null.
Syntax
interface null 0
View
System view
Default level
2: System level
Parameters
0: Specifies interface Null 0. The null interface number is fixed to 0.
284
Examples
# Enter Null 0 interface view.
<Sysname> system-view [Sysname] interface null 0 [Sysname-NULL0]
Syntax
reset counters interface [ loopback [ interface-number ] ]
View
User view
Default level
2: System level
Parameters
interface-number: Specifies a loopback interface to reset, by number.
Examples
# Clear statistics for loopback interface Loopback 5.
<Sysname> reset counters interface loopback 5
Syntax
reset counters interface [ null [ 0 ] ]
285
View
User view
Default level
2: System level
Parameters
0: Number of the null interface, which is fixed at 0.
Examples
# Clear statistics for interface Null 0.
<Sysname> reset counters interface null 0
shutdown
Description
Use shutdown to shut down the current loopback interface. Use undo shutdown to bring up the current loopback interface. By default, a loopback interface is up.
Syntax
shutdown undo shutdown
View
Loopback interface view
Default level
2: System level
Parameters
None
Examples
# Shut down loopback interface loopback 1.
<Sysname> system-view [Sysname] interface loopback 1 [Sysname-Loopback1] shutdown
286
Subscription service
HP recommends that you register your product at the Subscriber's Choice for Business website: http://www.hp.com/go/wwalerts After registering, you will receive email notification of product enhancements, new driver versions, firmware updates, and other product resources.
Related information
Documents
To find related documents, browse to the Manuals page of the HP Business Support Center website: http://www.hp.com/support/manuals For related documentation, navigate to the Networking section, and select a networking category. For a complete list of acronyms and their definitions, see HP A-Series Acronyms.
Websites
HP.com http://www.hp.com HP Networking http://www.hp.com/go/networking HP manuals http://www.hp.com/support/manuals HP download drivers and software http://www.hp.com/support/downloads HP software depot http://www.software.hp.com
287
Conventions
This section describes the conventions used in this documentation set.
Command conventions
Convention
Boldface Italic [] { x | y | ... } [ x | y | ... ] { x | y | ... } * [ x | y | ... ] * &<1-n> #
Description
Bold text represents commands and keywords that you enter literally as shown. Italic text represents arguments that you replace with actual values. Square brackets enclose syntax choices (keywords or arguments) that are optional. Braces enclose a set of required syntax choices separated by vertical bars, from which you select one. Square brackets enclose a set of optional syntax choices separated by vertical bars, from which you select one or none. Asterisk-marked braces enclose a set of required syntax choices separated by vertical bars, from which you select at least one. Asterisk-marked square brackets enclose optional syntax choices separated by vertical bars, from which you select one choice, multiple choices, or none. The argument or keyword and argument combination before the ampersand (&) sign can be entered 1 to n times. A line that starts with a pound (#) sign is comments.
GUI conventions
Convention
Boldface >
Description
Window names, button names, field names, and menu items are in bold text. For example, the New User window appears; click OK. Multi-level menus are separated by angle brackets. For example, File > Create > Folder.
Symbols
Convention
WARNING CAUTION IMPORTANT NOTE TIP
Description
An alert that calls attention to important information that if not understood or followed can result in personal injury. An alert that calls attention to important information that if not understood or followed can result in data loss, data corruption, or damage to hardware or software. An alert that calls attention to essential information. An alert that contains additional or supplementary information. An alert that provides helpful information.
288
289
Index
ABCDEFGIJLMNPQRSTUV
A activate,217 activate,225 ADSL interface configuration commands,217 adsl standard,218 adsl tx-attenuation,219 alarm,84 alarm (CT1/PRI interface),99 alarm (CT3 interface),159 alarm-threshold,100 async mode,45 ATM E3/T3 interface configuration commands,210 ATM OC-3c/STM-1 interface configuration commands,213 B bandwidth,42 bandwidth,1 bandwidth,242 bandwidth,278 bandwidth,255 bandwidth,190 Basic CE1/PRI interface configuration commands,84 Basic CE3 interface configuration commands,144 Basic Cellular interface configuration commands,67 Basic CT1/PRI interface configuration commands,99 Basic CT3 interface configuration commands,159 baudrate,45 bert (CE3 interface),144 bert (CT1/PRI interface),101 bert (CT3 interface),160 bootrom update file,220 broadcast-suppression,23 C cable,210 cable,197 cable (CE1/PRI interface),84
290
cable (CT1/PRI interface),101 cable (CT3 interface),161 channel-set (CE1/PRI interface),85 channel-set (CT1/PRI interface),102 clock,242 clock,255 clock,197 clock,213 clock,46 clock,210 clock (CE1/PRI interface),86 clock (CE3 interface),145 clock (CT1/PRI interface),103 clock (CT3 interface),162 clock-change auto,86 clock-change auto,198 clock-change auto,1 18 code,199 code,48 code (CE1/PRI interface),87 code (CT1/PRI interface),104 combo enable,1 Common ATM and DSL interface commands,190 Common WAN interface configuration commands,42 controller cpos,256 controller e1,88 controller e3,146 controller t1,104 controller t3,162 crc,163 crc,105 crc,88 crc,129 crc,48 crc,146 crc,244 crc,1 19
D data-coding (CE1/PRI interface),89 data-coding (CT1/PRI interface),105 default,2 default,278 default,43 default,243 default,256 default,190 description,279 description,244 description,191 description,257 description,43 description,3 detect,49 detect-ais,90 differential-delay,199 display cellular,67 display controller cpos,258 display controller cpos e1,260 display controller cpos t1,261 display controller e1,90 display controller e3,147 display controller t1,106 display controller t3,164 display counters,26 display counters rate,27 display dsl configuration,221 display dsl configuration,226 display dsl status,228 display dsl status,222 display dsl version,232 display dsl version,224 display fe1,1 19 display ft1,130 display interface,4 display interface atm,192 display interface aux,50 display interface bri,184 display interface cellular,71 display interface ima-group,200 display interface loopback,280 display interface null,282
291
display interface pos,245 display interface serial,54 display loopback-detection,24 display port-group manual,25 dm-port open,75 duplex,15 E e1 bert,150 e1 channel-set,151 e1 channel-set,263 e1 set clock,264 e1 set clock,152 e1 set flag,264 e1 set frame-format,265 e1 set frame-format,153 e1 set loopback,153 e1 set loopback,266 e1 shutdown,154 e1 shutdown,267 e1 unframed,155 e1 unframed,267 E1-F interface configuration commands,1 18 EFM interface configuration commands,241 eliminate-pulse,58 error-diffusion restraint config,1 10 error-diffusion restraint config,92 error-diffusion restraint enable,93 error-diffusion restraint enable,1 10 error-diffusion restraint restart-channel,1 1 1 error-diffusion restraint restart-channel,93 F fdl,1 12 fe1 alarm,121 fe1 cable,121 fe1 clock,122 fe1 code,123 fe1 data-coding,123 fe1 detect-ais,124 fe1 frame-format,125 fe1 idlecode,125 fe1 itf,126 fe1 loopback,127 fe1 timeslot-list,127
fe1 unframed,128 fe3,155 feac,168 flag,214 flag,268 flag,248 flow-control,16 flow-interval,29 frame-format,21 1 frame-format,249 frame-format,269 frame-format,215 frame-format,203 frame-format (CE1/PRI interface),94 frame-format (CT1/PRI interface),1 13 frame-format (CT3 interface),169 frame-length,203 ft1 alarm,133 ft1 alarm-threshold,134 ft1 bert,135 ft1 cable,136 ft1 clock,136 ft1 code,137 ft1 data-coding,138 ft1 fdl,139 ft1 frame-format,139 ft1 idlecode,140 ft1 itf,141 ft1 loopback,141 ft1 sendloopcode,142 ft1 timeslot-list,143 ft3,170 G G.SHDSL interface configuration commands,225 General Ethernet interface and subinterface configuration commands,1 group-member,29 I idlecode (CE1/PRI interface),95 idlecode (CT1/PRI interface),1 13 idle-mark,59 ima ima-group,204 ima-clock,205
292
IMA-E1/T1 interface configuration commands,196 ima-standard,206 ima-test,206 interface,16 interface atm,194 interface efm,241 interface ima-group,207 interface loopback,284 interface null,284 invert receive-clock,59 invert transmit-clock,60 ISDN BRI interface configuration commands,184 itf,60 itf (CE1/PRI interface),95 itf (CT1/PRI interface),1 14 J jumboframe enable,30 L Layer 2 Ethernet interface configuration commands,23 Layer 3 Ethernet interface and subinterface configuration commands,39 link-delay,17 link-protocol,250 loopback,216 loopback,269 loopback,208 loopback,212 loopback,18 loopback,61 loopback,251 loopback (CE1/PRI interface),96 loopback (CE3 interface),156 loopback (CT1/PRI interface),1 15 loopback (CT3 interface),171 loopback (ISDN BRI interface),187 loopback-detection control enable,31 loopback-detection enable,32 loopback-detection interval-time,33 loopback-detection per-vlan enable,33 M mac-address,39 mdi,34 mdl (CT3 interface),171
min-active-links,208 mode cdma,76 mode td-scdma,76 mode wcdma,77 modem reboot,77 modem response,78 mtu,62 mtu,39 mtu,251 mtu (ISDN BRI interface),188 multicast-suppression,35 multiplex mode,270 N national-bit,157 P phy-mru,63 physical-mode,62 pin modify,79 pin unlock,79 pin verification,80 pin verify,80 plmn search,81 plmn select,81 port link-mode,19 port link-mode interface-list,20 port-group manual,36 pri-set (CE1/PRI interface),97 pri-set (CT1/PRI interface),1 15 profile create,82 promiscuous,40 Q qmtoken,41 R reset atm interface,195 reset counters controller cpos,271 reset counters controller e1,98 reset counters controller e3,158 reset counters controller t1,1 16 reset counters controller t3,173 reset counters interface,64 reset counters interface,21 reset counters interface,64
293
reset counters interface,83 reset counters interface,188 reset counters interface,195 reset counters interface,252 reset counters interface loopback,285 reset counters interface null,285 reverse-rts,65 S scramble,216 scramble,212 scramble,209 scramble,253 sendloopcode,1 17 Serial, and AUX interface configuration commands,45 shdsl annex,233 shdsl capability,234 shdsl line-probing,234 shdsl mode,235 shdsl pam,236 shdsl pbo,236 shdsl psd,237 shdsl rate,238 shdsl snr-margin,239 shdsl wire,239 shutdown,253 shutdown,21 shutdown,44 shutdown,286 shutdown,271 shutdown,196 speed,22 T t1 alarm,173 t1 bert,175 t1 channel-set,272 t1 channel-set,176 t1 sendloopcode,176 t1 set clock,177 t1 set clock,273 t1 set fdl,178 t1 set flag,274 t1 set frame-format,275 t1 set frame-format,179
t1 set loopback,179 t1 set loopback,275 t1 show,180 t1 shutdown,276 t1 shutdown,182 t1 unframed,182 t1 unframed,276 T1-F interface configuration commands,129 timer hold,65 U unicast-suppression,36 using (CE1/PRI interface),98 using (CE3 interface),158 using (CT3 interface),183 V virtualbaudrate,66 virtual-cable-test,37
294