HP MSR2000/3000/4000 Router Series Interface Command Reference (V7) Part number: 5998-4008 Software version: CMW710-R0007P02 Document version: 6PW100-20130927
Legal and notice information © Copyright 2013 Hewlett-Packard Development Company, L.P. No part of this documentation may be reproduced or transmitted in any form or by any means without prior written consent of Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Contents Bulk interface configuration commands ····················································································································· 1 display interface range ············································································································································ 1 interface range ························································································································································· 1 interf
crc ··········································································································································································· 48 detect dcd······························································································································································· 49 detect dsr-dtr ·················································································································································
Basic CT1/PRI interface configuration commands ····································································································· 95 alarm-detect···························································································································································· 95 alarm-threshold ······················································································································································ 95 bert (CT1/PRI inte
mtu ········································································································································································ 140 reset counters interface ······································································································································· 140 CE3 interface configuration commands ···················································································································· 141 bert ·······
Websites······························································································································································· 184 Conventions ·································································································································································· 185 Index ··························································································································································
Bulk interface configuration commands display interface range Use display interface range to display information about the specified interface range or all existing interface ranges. Syntax display interface range [ name name ] Views Any view Predefined user roles network-admin network-operator Parameters name name: Specifies an interface range by its name, a case-sensitive string of 1 to 32 characters.
Parameters interface-list: Specifies an interface list in the format of interface-list = { interface-type interface-number [ to interface-type interface-number ] }&<1-5>. The interface-type interface-number argument specifies an interface by its type and number. &<1-5> indicates that you can specify up to five interfaces or interface lists.
Views System view Predefined user roles network-admin Parameters name: Specifies an interface range name, a case-sensitive string of 1 to 32 characters. interface-list: Specifies an interface list in the format of interface-list = { interface-type interface-number [ to interface-type interface-number ] }&<1-5>. The interface-type interface-number argument specifies an interface by its type and number. &<1-5> indicates that you can specify up to five interfaces or interface lists.
system-view [Sysname] interface range name myEthPort [Sysname-if-range-myEthPort] Related commands display interface range 4
Ethernet interface commands Common Ethernet interface commands bandwidth Use bandwidth to configure the expected bandwidth of an interface. Use undo bandwidth to restore the default. Syntax bandwidth bandwidth-value undo bandwidth Default The expected bandwidth (in kbps) is the interface baud rate divided by 1000. Views Ethernet interface view, Ethernet subinterface view Predefined user roles network-admin Parameters bandwidth-value: Specifies the expected bandwidth in the range of 1 to 400000000 kbps.
combo enable Use combo enable to activate the copper or fiber combo port. Syntax combo enable { copper | fiber } Default The copper combo port is activated. Views Ethernet interface view Predefined user roles network-admin Parameters copper: Activates the copper combo port. In this case, use twisted pairs to connect the port. fiber: Activates the fiber combo port. In this case, use optical fibers to connect the port.
Usage guidelines CAUTION: The default command might interrupt ongoing network services. Make sure you are fully aware of the impacts of this command when you use it in a live network. This command might fail to restore the default settings for some commands for reasons such as command dependencies and system restrictions. Use the display this command in interface view to identify these commands, and then use their undo forms or follow the command reference to individually restore their default settings.
[Sysname] interface ethernet 1/1.1 [Sysname-Ethernet1/1.1] description l2-subinterface1/1.1 display counters Use display counters to display interface traffic statistics. Syntax display counters { inbound | outbound } interface [ interface-type [ interface-number | interface-number.subnumber ] ] Views Any view Predefined user roles network-admin network-operator Parameters inbound: Displays inbound traffic statistics. outbound: Displays outbound traffic statistics.
Overflow: More than 14 digits (7 digits for column "Err"). --: Not supported. Table 1 Command output Field Description Interface Abbreviated interface name. Total (pkts) Total number of packets received or sent through the interface. Broadcast (pkts) Total number of broadcast packets received or sent through the interface. Multicast (pkts) Total number of multicast packets received or sent through the interface. Err (pkts) Total number of error packets received or sent through the interface.
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 value range for the subnumber argument is 1 to 4094. Usage guidelines The statistics cover only interfaces in up state. If an interface type is specified, the command displays traffic rate statistics for all up interfaces of the specified type over the last statistics polling interval.
Related commands • flow-interval • reset counters interface display ethernet statistics Use display ethernet statistics to display the Ethernet statistics. Syntax MSR2000/MSR3000: display ethernet statistics MSR4000: display ethernet statistics slot slot-number Views User view Predefined user roles network-admin network-operator Parameters slot slot-number: Displays the Ethernet statistics on the specified card. The slot-number argument represents the number of the slot that houses the card.
ErrHdrLen : 0 ErrPad : 0 ErrQoSTrs : 0 ErrVLANTrs : 0 ErrEncap : 0 ErrTagVLAN : 0 IfShut : 0 IfErr : 0 # Display the Ethernet statistics on slot 2.
Field Description Total number of received packets: Totalnum • • • • • • ETHIINum—Number of packets encapsulated by using Ethernet-II. • • • • • • ForwardNum—Number of packets forwarded at Layer 2 or sent to the CPU. SNAPNum—Number of packets encapsulated by using SNAP. RAWNum—Number of packets encapsulated by using RAW. ISIS—Number of packets encapsulated by using IS-IS. LLCNum—Number of packets encapsulated by using LLC. UnknownNum—Number of packets encapsulated by using unknown methods.
Field Description Statistics about the error Ethernet packets in the outbound direction on the Ethernet interface module: ETH send error statistics • • • • • • • • NullMbuf—Number of packets with null pointers. ErrAdjFwd—Number of packets with adjacency table errors. ErrPrepend—Number of packets with extension errors. ErrHdrLen—Number of packets with header length errors. ErrPad—Number of packets with padding errors. ErrQoSTrs—Number of packets that failed to be sent by QoS.
description: Displays the full description of the specified interface. If the keyword is not specified, the command displays at most the first 27 characters of the interface description. If the keyword is specified, the command displays all characters of the interface description. Usage guidelines If no interface type is specified, this command displays information about all interfaces.
Field Description Link layer state of the interface. The state is determined through parameter negotiation on the link layer. • UP—The interface is up at the data link layer. • UP (spoofing)—The link layer protocol of an interface is UP, but its link is an on-demand link or not present at all. This attribute is typical of Null interfaces and loopback interfaces. • DOWN—The interface is down at the data link layer.
Ethernet1/1 current state: DOWN Line protocol current state: DOWN IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 000c-2963-b767 Description: Ethernet1/1 Interface Bandwidth: 100000kbps Loopback is not set Unknown-speed mode, unknown-duplex mode Link speed type is autonegotiation, link duplex type is autonegotiation The Maximum Frame Length is 9216 Allow jumbo frame to pass Broadcast MAX-ratio: 100% Multicast MAX-ratio: 100% Unicast MAX-ratio: 100% PVID: 1 Mdi type: automdix Port link-type: access T
Table 5 Command output Field Description State of the Ethernet interface: • Administratively DOWN—The Ethernet interface was shut down with the shutdown command. The interface is administratively down. Current state • DOWN—The Ethernet interface is administratively up but physically down (possibly because no physical link is present or the link has failed). • UP—The Ethernet interface is both administratively and physically up. Link layer state of the interface.
Field Description Link speed type is autonegotiation The interface is configured with the speed auto command. Link speed type is force link The interface is configured with a specific speed, for example, 10 Mbps or 100 Mbps, by using the speed command. link duplex type is autonegotiation The interface is configured with the duplex auto command. link duplex type is force link The interface is configured with a specific duplex mode, for example, half or full, by using the duplex command.
Field Description Input(total): 0 packets, 0 bytes Inbound traffic statistics (in packets and bytes) for the interface. All inbound normal and abnormal packets and normal pause frames were counted. 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses Number of inbound unicast packets, number of inbound broadcasts, number of inbound multicasts, and number of inbound pause frames. A hyphen (-) indicates that the statistical item is not supported.
Field Description Total number of illegal inbound packets: • Fragment frames—CRC error frames shorter than 64 bytes. The length can be an integral or non-integral value. • Jabber frames—CRC error frames greater than the maximum aborts frame length supported on the Ethernet interface (with an integral or non-integral length). For an Ethernet interface that does not permit jumbo frames, jabber frames refer to CRC error frames greater than 1518 bytes (without VLAN tags) or 1522 bytes (with VLAN tags).
Field Description late collisions Number of frames that the interface deferred to transmit after transmitting their first 512 bits because of detected collisions. lost carrier Number of carrier losses during transmission. This counter increases by one when a carrier is lost, and applies to serial WAN interfaces. no carrier Number of times that the port failed to detect the carrier when attempting to send frames.
display interface brief down Brief information on interface(s) under route mode: Link: ADM - administratively down; Stby - standby Interface Link Cause Eth1/1 DOWN Not connected Brief information on interface(s) under bridge mode: Link: ADM - administratively down; Stby - standby Interface Link Cause Eth1/2 DOWN Not connected Eth1/4 DOWN Not connected Eth1/5 DOWN Not connected Eth1/7 DOWN Not connected Table 6 Command output Field Description The brief information of interface(s) u
Field Description If the speed of an interface is automatically negotiated, its speed attribute includes the autonegotiation flag, indicated by the letter a in parentheses. Speed or Duplex: (a)/A - auto; H half; F – full If the duplex mode of an interface is automatically negotiated, its duplex mode attribute includes the following options: • (a)/A—Autonegotiation. • H—Half negotiation. • F—Full negotiation. Type: A - access; T - trunk; H – hybrid Link type options for Ethernet interfaces.
display packet-drop Use display packet-drop to display information about packets dropped on an interface or multiple interfaces. Syntax display packet-drop { interface [ interface-type [ interface-number ] ] | summary } Views Any view Predefined user roles network-admin network-operator Parameters interface-type: Specifies an interface type. If you do not specify an interface type, this command displays information about dropped packets on all the interfaces on the device.
Table 7 Command output Field Description Packets dropped due to full GBP or insufficient bandwidth Packets that are dropped because the buffer is used up or the bandwidth is insufficient. Packets dropped due to Fast Filter Processor FFP Packets that are filtered out. Packets dropped due to STP non-forwarding state Packets that are dropped because STP is in the non-forwarding state. Packets dropped due to rate-limit Packets that are dropped due to the rate limit set on the device.
[Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] duplex full flow-control 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. Syntax flow-control undo flow-control Default Generic flow control is disabled on an Ethernet interface.
Views System view Predefined user roles network-admin Parameters interval: Sets the statistics polling interval, in seconds. The interval is in the range of 5 to 300 and must be a multiple of 5. Usage guidelines Settings in system view take effect on all Ethernet interfaces. Examples # Set the interface statistics polling interval to 100 seconds. system-view [Sysname] flow-interval 100 interface Use interface to enter interface or subinterface view. With the interface-number.
jumboframe enable Use jumboframe enable to allow jumbo frames within the specified length to pass through. Use undo jumboframe enable to prevent jumbo frames from passing through. Syntax jumboframe enable [ value ] undo jumboframe enable Default The device allows jumbo frames within a specified length to pass through. The length of jumbo frames that are allowed to pass through varies by interface type.
Usage guidelines If an Ethernet interface does not work correctly, you can perform an internal loopback test on it to test all on-chip functions related to the interface. An Ethernet interface in a loopback test does not forward data traffic. On a physically down interface (displayed as in DOWN state), you can perform an internal loopback test. On an administratively shut down interface (displayed as in ADM or Administratively DOWN state), you cannot perform an internal loopback test.
[Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] port link-mode bridge reset counters interface Use reset counters interface to clear the Ethernet interface or subinterface statistics. Syntax reset counters interface [ interface-type [ interface-number | interface-number.subnumber ] ] Views User view Predefined user roles network-admin Parameters interface-type: Specifies an interface type. interface-number: Specifies an interface number. interface-number.
reset ethernet statistics slot slot-number Views User view Predefined user roles network-admin network-operator Parameters slot slot-number: Clears the Ethernet statistics on the specified card. The slot-number argument represents the number of the slot that houses the card. (MSR4000) Examples # Clear the Ethernet statistics. (MSR2000/MSR3000) reset ethernet statistics # Clear the Ethernet statistics on slot 2.
shutdown Use shutdown to shut down an Ethernet interface or subinterface. Use undo shutdown to bring up an Ethernet interface or subinterface. Syntax shutdown undo shutdown Default An Ethernet interface or subinterface is in down state. Views Ethernet interface view, Ethernet subinterface view Predefined user roles network-admin Usage guidelines You might need to shut down and then bring up an Ethernet interface to make some interface configurations take effect.
Predefined user roles network-admin Parameters 10: Sets the interface speed to 10 Mbps. 100: Sets the interface speed to 100 Mbps. 1000: Sets the interface speed to 1000 Mbps. 10000: Sets the interface speed to 10000 Mbps. This keyword is supported only on 10-GE interfaces of an MSR4000 router. auto: Enables the interface to negotiate a speed with its peer. Usage guidelines For an Ethernet copper port, use the speed command to set its speed to match the speed of the peer interface.
Parameters ratio: Sets the broadcast suppression threshold as a percentage of the maximum interface rate. The value range for this argument is 0 to 100. The smaller the percentage, the less broadcast traffic is allowed to pass through. pps max-pps: Specifies the maximum number of broadcast packets that the interface can forward per second. The value range for the max-pps argument (in pps) is 1 to 1.4881 × the maximum interface rate.
system-view [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] mac-address 1-1-1 mdix-mode IMPORTANT: Fiber ports do not support this command. Use mdix-mode to configure the Medium Dependent Interface Cross-Over (MDIX) mode of an Ethernet interface. Use undo mdix-mode to restore the default. Syntax mdix-mode { automdix | mdi| mdix } undo mdix-mode Default Ethernet interfaces operate in automdix mode.
Default Ethernet interfaces do not suppress multicast traffic. Views Layer 2 Ethernet interface view Predefined user roles network-admin Parameters ratio: Sets the multicast suppression threshold as a percentage of the maximum interface rate. The value range for this argument (in percentage) is 0 to 100. 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.
Default Ethernet interfaces do not suppress unicast traffic. Views Layer 2 Ethernet interface view Predefined user roles network-admin Parameters ratio: Sets the unicast suppression threshold as a percentage of the maximum interface rate. The value range for this argument (in percentage) is 0 to 100. The smaller the percentage, the less unicast traffic is allowed to pass through. pps max-pps: Specifies the maximum number of unicast packets that the interface can forward per second.
Syntax mac-address mac-address undo mac-address Views Layer 3 Ethernet interface view Predefined user roles network-admin Parameters mac-address: Specifies a MAC address in the format of H-H-H. Usage guidelines When you use the mac-address command to configure a MAC address for a Layer 3 Ethernet subinterface, select a MAC address different from that of the host interface. Do not configure a VRRP-reserved MAC address for a Layer 3 Ethernet subinterface.
Argument MSR2000 MSR3000 size 46 to 1560 46 to 1560 MSR4000 • On Layer 3 Ethernet interfaces and subinterfaces: 46 to 1560 • On 10-GE interfaces: 46 to 9600 Usage guidelines As the MTU size decreases, the number of fragments grows. When you set the MTU for an interface, you should consider QoS queue lengths (for example, the default FIFO queue length is 75) to prevent a too small MTU from causing packet drops in QoS queuing.
WAN interface configuration commands Common WAN interface configuration commands bandwidth Use bandwidth to configure the expected bandwidth of an interface. Use undo bandwidth to restore the default. Syntax bandwidth bandwidth-value undo bandwidth Default The expected bandwidth (in kbps) is the interface baud rate divided by 1000.
Views Serial interface view, serial sub interface view, AM interface view, ISDN BRI interface view, E1-F interface view, T1-F interface view, CE3 interface view, CE1/PRI interface view, CT1/PRI interface view Predefined user roles network-admin Usage guidelines CAUTION: The default command might interrupt ongoing network services. Make sure you are fully aware of the impacts of this command when you perform it on a live network.
[Sysname-Serial2/0] description router-interface shutdown Use shutdown to shut down an interface. Use undo shutdown to bring up an interface. Syntax shutdown undo shutdown Default A WAN interface is up. Views Serial interface view, serial sub interface view, AM interface view, ISDN BRI interface view, E1-F interface view, T1-F interface view, CE3 interface view, CE1/PRI interface view, CT1/PRI interface view Predefined user roles network-admin Examples # Shut down serial interface Serial 2/0.
Usage guidelines If the upper layer protocol of an interface is PPP, FR, or HDLC, the link layer sends keepalive packets to the peer. If it cannot receive any keepalive packets sent by the peer, the link layer considers the peer is faulty and shuts down the interface. You can use this command to modify the interval at which the interface sends keepalive packets. Configure a reasonable value for the interval on a low-speed link.
protocol: Configures the interface to operate in protocol mode. In this mode, the interface uses configured link layer protocol parameters to set up a link with the remote end after its physical link is established. Usage guidelines You can configure this command for a synchronous/asynchronous interface only after you change the mode of the interface to asynchronous mode with the physical-mode async command.
When you specify a baud rate for a synchronous serial interface, you must make sure the baud rate matches the cable type. • For V.24 DTE/DCE, set the baud rate in the range of 1200 bps to 64000 bps. • For V.35 DCE/DCE, X.21 DTE/DCE, EIA/TIA-449 DTE/DCE, and EIA-530 DTE/DCE, set the baud rate in the range of 1200 bps to 4096000 bps. The baud rate adopted by a DCE-DTE pair is determined by the DCE. Examples # Set the baud rate of synchronous serial interface 2/0 at DCE side to 115200 bps.
Usage guidelines A synchronous serial interface can operate as a DCE or DTE. • As a DCE, the interface provides DCEclk clock to the DTE. • As a DTE, 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.
code Use code to configure the digital signal coding format on a synchronous serial interface. Use undo code to restore the default. Syntax code { nrz | nrzi } undo code Default The digital signal coding format is NRZ. Views Synchronous serial interface view Predefined user roles network-admin Parameters nrz: Sets the digital signal coding format to nonreturn to zero (NRZ). nrzi: Sets the digital signal coding format to nonreturn to zero inverted (NRZI).
none: Disables CRC. Examples # Configure synchronous serial interface Serial 2/0 to adopt 32-bit CRC. system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] crc 32 detect dcd Use detect dcd to enable data carrier detection (DCD) on a serial interface. Use undo detect dcd to disable DCD on a serial interface. Syntax detect dcd undo detect dcd Default DCD is enabled on a serial interface.
Default Level detection is enabled on a serial interface. Views Synchronous serial interface view, asynchronous interface view, synchronous/asynchronous interface view Predefined user roles network-admin Usage guidelines 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.
Parameters interface-number: Specifies an asynchronous interface by its 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 physically DOWN state and the causes. If you do not specify this keyword, the command displays information about interfaces in all states. description: Displays complete interface descriptions.
# Display brief information about interface Async 6/4/0. display interface async 6/4/0 brief Brief information on interface(s) under route mode: Link: ADM - administratively down; Stby - standby Protocol: (s) - spoofing Interface Link Protocol Main IP Asy6/4/0 DOWN DOWN Description -- # Display brief information about all asynchronous interfaces in physically DOWN state.
Field Description Last 300 seconds output rate: 0.00 bytes/sec, 0 bits/sec, 0.00 packets/sec Average output rate in the last 300 seconds. Received statistics on the AM interface: • broadcasts—Number of received broadcast packets. • multicasts—Number of received multicast packets. • errors—Number of error packets detected on the physical layer.
Field Description Physical link state of the interface: Link • UP—The link is up. • ADM—The link has been administratively shut down. To recover its physical state, perform the undo shutdown command. Protocol Protocol connection state of the interface: UP or DOWN. Main IP Main IP address of the interface. Description Description of the interface. Cause Cause of a DOWN physical link. If the port has been shut down with the shutdown command, this field displays Administratively.
If you specify the serial keyword without the interface-number argument, this command displays information about all existing serial interfaces. Examples # Display detailed information about serial interface Serial 2/0. display interface serial 2/0 Serial2/0 Current state: UP Line protocol state: UP Description: Serial2/0 Interface Bandwidth: 64kbps Maximum Transmit Unit: 1500 Hold timer: 10 seconds Internet Address: 9.9.9.
Link: ADM - administratively down; Stby - standby Interface Link Cause S2/0 ADM Administratively Table 11 Command output Field Description Current physical and administrative states of the serial interface, which can be one of the following: Serial2/0 Current state • DOWN (Administratively)—The serial interface was shut down with the shutdown command. • DOWN—The serial interface is physically down because no physical link is present or the physical link has failed.
Field Description Last 300 seconds output rate 2.40 bytes/sec, 19 bits/sec, 0.20 packets/sec Average output rate in the last 300 seconds. Received 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. Input: • runts—Number of undersized packets received on the serial interface.
Field Description Physical link state of the interface: Link • UP—The link is up. • ADM—The link has been administratively shut down. To recover its physical state, perform the undo shutdown command. Protocol Protocol connection state of the interface: UP or DOWN. Main IP Main IP address of the interface. Description Description of the interface. Cause Cause of a DOWN physical link. If the port has been shut down with the shutdown command, this field displays Administratively.
system-view [Sysname] interface async 6/4/0 [Sysname-Async6/4/0] eliminate-pulse Related commands physical-mode idle-code Use idle-code to set the line idle code of the synchronous serial interface to 0xFF. Use undo idle-code to restore the default. Syntax idle-code { 7e | ff } undo idle-code Default The line idle code of a synchronous serial interface is 0x7E. Views Synchronous serial interface view Predefined user roles network-admin Parameters 7e: Specifies the 0x7E line idle code.
Predefined user roles network-admin Parameters interface-number: Specifies a serial interface by its number. Examples # Enter view of asynchronous serial interface Async 6/4/0. system-view [Sysname] interface async 6/4/0 [Sysname-Async6/4/0] interface serial Use interface serial to enter serial interface view or serial sub interface view. Before you enter serial sub interface view, if the specified sub interface does not exist, the command creates the sub interface and enters its view.
Default Receive-clock signal inversion is disabled on DTE-side synchronous serial interfaces. Views Synchronous serial interface view Predefined user roles network-admin Usage guidelines You might need to invert the receive-clock signal on a DTE-side serial interface to eliminate the half clock-period delay on the line. This command is necessary only for some special DCE devices. In common applications, do not invert the clock.
[Sysname] interface serial 2/0 [Sysname-Serial2/0] invert transmit-clock Related commands • clock • invert receive-clock • physical-mode itf Use itf to set the number of interframe filling tags. Use undo itf to restore the default. Syntax itf number number undo itf number Default The number of interframe filling tags is 4.
Predefined user roles network-admin Parameters hdlc: Specifies the HDLC link layer protocol. ppp: Specifies the PPP link layer protocol. Examples # Configure the link layer protocol of Serial 2/0 as hdlc. system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] link-protocol hdlc loopback Use loopback to enable loopback on the serial interface. Use undo loopback to restore the default. Syntax loopback undo loopback Default Loopback is disabled.
Syntax mtu size undo mtu Default The MTU of an interface is 1500 bytes. Views Asynchronous interface view, serial sub interface view, synchronous/asynchronous interface view Predefined user roles network-admin Parameters size: Maximum transmission unit (MTU) in the range of 128 to 1650 bytes. Usage guidelines The MTU setting can affect IP packets assembly and fragmentation on the interface.
Parameters mrusize: Maximum receive unit (MRU) to be set, in the range of 4 to 1700 bytes. Usage guidelines This command applies to only interfaces operating in asynchronous flow mode. Examples # Set the MRU of interface Async 6/4/0 operating in flow mode to 1500 bytes. system-view [Sysname] interface async 6/4/0 [Sysname-Async6/4/0] async-mode flow [Sysname-Async6/4/0] phy-mru 1500 # Set the MRU of interface serial 2/0 operating in flow mode to 1500 bytes.
[Sysname-Serial2/0] physical-mode async reset counters interface Use reset counters interface to clear the statistics for a serial interface. Syntax reset counters interface [ serial [ interface-number ] ] Views User view Predefined user roles network-admin Parameters serial interface-number: Specifies a serial interface by its number. Usage guidelines When you collect traffic statistics for a specific period of time on a serial interface, clear the existing statistics on the interface.
Usage guidelines When you collect traffic statistics for a specific period of time on an interface, clear the existing statistics on the interface first. • If you do not specify the async keyword, this command clears statistics on all interfaces. • If you specify the async keyword without the interface-number argument, this command clears statistics on all asynchronous interfaces.
Syntax virtualbaudrate virtualbaudrate undo virtualbaudrate Default The virtual baud rate for a synchronous serial interface is 64000 bps. Views Synchronous serial interface view Predefined user roles network-admin Parameters virtualbaudrate: Baud rate (in bps) to be set, which must be consistent with the one configured at DCE side. It can be 1200, 2400, 4800, 9600, 19200, 38400, 56000, 57600, 64000, 72000, 115200, 128000, 192000, 256000, 384000, 512000, 768000, 1024000, 2048000, or 4096000.
Syntax async-mode { flow | protocol } undo async-mode Default An AM interface operates in flow mode. Views AM interface view Predefined user roles network-admin Parameters flow: Configures the interface to operate in flow mode, or named interactive mode. In this mode, the two ends interact attempting to set up a link after the physical link is set up.
down: Displays information about interfaces in physically DOWN state and the causes. If you do not specify this keyword, the command displays information about interfaces in all states. description: Displays complete interface descriptions. If you do not specify this keyword, the command displays only the first 27 characters of interface descriptions. Usage guidelines If you do not specify the analogmodem keyword, this command displays information about all interfaces on the device.
# Display brief information about all AM interfaces in physically DOWN state and the causes. display interface analogmodem brief down Brief information on interface(s) under route mode: Link: ADM - administratively down; Stby - standby Interface Link Cause Ana6/3/0 ADM Administratively Table 12 Command output Field Description Physical state of the AM interface: • DOWN (Administratively)—The AM interface has been shut Analogmodem6/3/0 Current state down with the shutdown command.
Field Description Received statistics on the AM interface: • broadcasts—Number of received broadcast packets. • multicasts—Number of received multicast packets. • errors—Number of error packets detected on the physical layer. Input: 0 packets, 0 bytes 0 broadcasts, 0 multicasts 0 errors, 0 runts, 0 giants 0 crc, 0 align errors, 0 overruns 0 aborts, 0 no buffers 0 frame errors • runts—Number of undersized packets received on the interface. • giants—Number of oversized packets received on the interface.
Field Description Protocol Protocol connection state of the interface: UP or DOWN. Main IP Main IP address of the interface. Description Description of the interface. Cause Cause of a DOWN physical link. If the port has been shut down with the shutdown command, this field displays Administratively. To restore the physical state of the interface, use the undo shutdown command. Not connected means no physical connection (no cable is available or the cable is faulty).
Views AM interface view Predefined user roles network-admin Usage guidelines Loopback is intended for test use. Disable loopback in other cases. Examples # Enable loopback on interface Analogmodem 6/3/0. system-view [Sysname] interface analogmodem 6/3/0 [Sysname-Analogmodem6/3/0] loopback mtu Use mtu to set the MTU for an AM interface. Use undo mtu to restore the default. Syntax mtu size undo mtu Default The MTU of an AM interface is 1500 bytes.
Syntax phy-mru mrusize undo phy-mru Default The MRU of an AM interface is 1700 bytes. Views AM interface view Predefined user roles network-admin Parameters mrusize: Maximum receive unit (MRU) to be set, in the range of 4 to 1700 bytes. Usage guidelines This command applies to only interfaces operating in asynchronous flow mode. Examples # Set the MRU of interface Analogmodem 6/3/0 operating in flow mode to 1500 bytes.
• If you specify both the analogmodem keyword and the interface-number argument, this command clears statistics on a specified AM interface. Examples # Clear statistics on interface Analogmodem 6/3/0. reset counters interface analogmodem 6/3/0 Related commands display interface analogmodem ISDN BRI interface configuration commands activate Use activate to activate a BRI interface. Syntax activate Default A BRI interface is not activated.
Predefined user roles network-admin network-operator Parameters interface-number: Specifies a BRI interface by its 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 physically DOWN state and the causes. If you do not specify this keyword, this command displays information about interfaces in all states. description: Displays complete interface descriptions.
0 deferred # Display brief information about interface BRI 1/0. display interface bri 1/0 brief Brief information on interface(s) under route mode: Link: ADM - administratively down; Stby - standby Protocol: (s) - spoofing Interface Link Protocol Main IP Bri1/0 ADM UP(s) Description -- # Display brief information about all BRI interfaces in physically DOWN state and the causes.
Field Description Received statistics on the BRI interface: • errors—Number of error packets detected on the physical layer. • runts—Number of undersized packets received on the interface. 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 • giants—Number of oversized packets received on the interface. • crc—Number of normal-sized packets with CRC errors received on the interface.
Field Description Cause Cause of a DOWN physical link. If the port has been shut down with the shutdown command, this field displays Administratively. To restore the physical state of the interface, use the undo shutdown command. Not connected means no physical connection (no cable is available or the cable is faulty). Related commands reset counters interface interface bri Use interface bri to enter BRI interface view.
Parameters b1: Places the B1 channel in external loopback. b2: Places the B2 channel in external loopback. both: Places both B1 and B2 channels in external loopback. Usage guidelines The modules with loopback-supported ISDN interfaces include 4BS (MIM), and 1BS\1BU\2BS\2BU (SIC). In addition, loopback is also supported by the fixed ISDN interfaces on your router, if there is any. ISDN BRI interfaces support B1 external loopback, B2 external loopback, or both.
reset counters interface Use reset counters interface to clear statistics on the specified BRI interface. Syntax reset counters interface [ bri [ interface-number ] ] Views User view Predefined user roles network-admin Parameters bri interface-number: Specifies a BRI interface by its number. Usage guidelines When you collect traffic statistics for a specific period of time on a BRI interface, clear the existing statistics on the interface.
Predefined user roles network-admin Parameters rai: Remote Alarm Indication (RAI). Usage guidelines This command is applicable when the interface operates in CE1 mode. Examples # Enable RAI detection on CE1/PR1 interface E1 2/0. system-view [Sysname] controller e1 2/0 [Sysname-E1 2/0] alarm-detect rai cable (CE1/PRI interface) Use cable to set the cable type for a CE1/PRI interface. Use undo cable to restore the default.
Syntax channel-set set-number timeslot-list list undo channel-set [ set-number ] Default No timeslots are bundled into channel sets. Views CE1/PRI interface view Predefined user roles network-admin Parameters set-number: The number of the channel set formed by bundling timeslots on the interface, in the range of 0 to 30. timeslot-list list: Specifies the timeslots to be bundled. The list argument can contain multiple timeslot numbers, each of which is in the range of 1 to 31.
undo clock Default The clock source is line clock (slave). Views CE1/PRI interface view Predefined user roles network-admin Parameters master: Adopts the internal clock as the clock source. slave: Adopts the line clock as the clock source. Usage guidelines When the CE1/PRI interface is operating as a DCE, select the internal clock (master) for it. When it is operating as a DTE, select the line clock for it. Examples # Use the internal clock as the clock source on CE1/PRI interface E1 2/0.
[Sysname-E1 2/0] clock-change auto Related commands clock code (CE1/PRI interface) Use code to set the line code format for a CE1/PRI interface. Use undo code to restore the default. Syntax code { ami | hdb3 } undo code Default The line code format for a CE1/PRI interface is HDB3 Views CE1/PRI interface view Predefined user roles network-admin Parameters ami: Adopts alternate mark inversion (AMI) line code format. hdb3: Adopts high density bipolar 3 (HDB3) line code format.
Predefined user roles network-admin Parameters number: Specifies a CE1/PRI interface by its number. Examples # Enter E1 2/0 interface view. system-view [Sysname] controller e1 2/0 [Sysname-E1 2/0] data-coding (CE1/PRI interface) Use data-coding to enable user data inversion on a CE1/PRI interface. Use undo data-coding to restore the default. Syntax data-coding { inverted | normal } undo data-coding Default Data inversion is disabled.
detect-ais Use detect-ais to enable alarm indication signal (AIS) test on an interface. Use undo detect-ais to disable AIS test. Syntax detect-ais undo detect-ais Default AIS test is performed. Views CE1 interface view, PRI interface view Predefined user roles network-admin Usage guidelines This command is effective when a CE1/PRI interface operates in E1 mode. Examples # Enable AIS test on E1 2/0 interface.
Description: E1 2/0 Interface Basic Configuration: Work mode: E1 framed, Cable type: 75 Ohm unbalanced Frame-format: no-crc4, Line code: hdb3, Source clock: slave Idle code: 7e, Itf type: 7e, Itf number: 4, Loop back: not set Alarm State: Receiver alarm state is None Historical Statistics: Last clearing of counters: Never Data in current interval (150 seconds elapsed): Loss Frame Alignment: 0 seconds, Framing Error: 0 seconds CRC Error: 0 seconds, Alarm Indication: 0 seconds Loss-of-signals: 0 seconds, Code
Related commands reset counters controller e1 frame-format (CE1/PRI interface) Use frame-format to set the framing format on the CE1 interface. Use undo frame-format to restore the default. Syntax frame-format { crc4 | no-crc4 } undo frame-format Default The framing format on a CE1 interface is no-CRC4. Views CE1/PRI interface view Predefined user roles network-admin Parameters crc4: Sets the framing format to CRC4. no-crc4: Sets the framing format to no-CRC4.
Predefined user roles network-admin Parameters 7e: Sets the line idle code to 0x7E. ff: Sets the line idle code to 0xFF. Usage guidelines The line idle code is sent in timeslots that are not bundled with logical channels. Examples # Set the line idle code to 0x7E on interface E1 2/0. system-view [Sysname] controller e1 2/0 [Sysname-E1 2/0] idle-code 7e itf (CE1/PRI interface) Use itf to set the type of and the number of interframe filling tags on the CE1/PRI interface.
# Set the number of interframe filling tags to 5 on interface E1 2/0. system-view [Sysname] controller e1 2/0 [Sysname-E1 2/0] itf number 5 loopback (CE1/PRI interface) Use loopback to enable loopback and set the loopback mode. Use undo loopback to restore the default. Syntax loopback { local | payload | remote } undo loopback Default Loopback is disabled. Views CE1/PRI interface view Predefined user roles network-admin Parameters local: Sets the interface to operate in local loopback mode.
Default No PRI set is created. Views CE1/PRI interface view Predefined user roles network-admin Parameters timeslot-list list: Specifies the timeslots to be bundled. The list argument can contain multiple timeslot numbers, each of which is in the range of 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 }.
Parameters interface-number: Specifies a CE1/PRI interface by its number. If you do not specify this argument, the command clears the controller counter for all CE1/PRI interfaces. Usage guidelines The reset counters interface command clears the counters of all interfaces. To clear the controller counter of individual CE1/PRI interfaces, use the reset counters controller e1 command. Examples # Clear the controller counter for CE1/PRI interface E1 2/0.
system-view [Sysname] controller e1 2/0 [Sysname-E1 2/0] using e1 Basic CT1/PRI interface configuration commands alarm-detect Use alarm-detect to enable RAI detection on the interface. Use undo alarm-detect to disable RAI detection on the interface. Syntax alarm-detect rai undo alarm-detect rai Default RAI detection is enabled on an interface. Views CT1/PRI interface view Predefined user roles network-admin Parameters rai: Remote Alarm Indication (RAI).
For LOS, the value of pulse-detection is 176 and the value of pulse-recovery is 22. A LOS alarm is created if the number of pulses detected within 176 pulse intervals is less than 22. Views CT1/PRI interface view Predefined user roles network-admin Parameters ais: Sets the alarm threshold of alarm indication signal (AIS), which can be level-1 and level-2. • The level-1 keyword specifies generating 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.
Syntax bert pattern { 2^20 | 2^15 } time minutes [ unframed ] undo bert Default No BERT test is performed. Views CT1/PRI interface view Predefined user roles network-admin Parameters pattern: Sets a bit error rate test (BERT) pattern, which can be 2^15 or 2^20. 2^15: Specifies the length of transmitted BERT pattern, in bits, as two to the fifteenth power.
Views CT1/PRI interface view Predefined user roles network-admin Parameters long: Matches 199.6-meter (655-feet) and longer cable length. The options for this parameter include 0db, -7.5db, -15db, and -22.5db. The attenuation parameter is selected depending on the signal quality received at the receiving end. No external CSU is needed. short: Matches a cable length shorter than 199.6 meters (655 feet). The options for this parameter include 133ft, 266ft, 399ft, 533ft, and 655ft.
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. Usage guidelines A CT1/PRI interface is divided into 24 timeslots numbered 1 through 24. In actual applications, all the timeslots can be bundled into multiple channel sets.
When the CT1/PRI interfaces on two routers are directly connected, one interface must operate in master clock mode to provide the clock source and the other in slave clock mode to accept. When the CT1/PRI interface on your router is connected to a switch, it is operating as a DTE and therefore must be configured with the slave clock mode to accept the line clock provided by the switch operating as a DCE. Examples # Use the internal clock as the clock source on CT1/PRI interface T1 2/0.
controller t1 Use controller t1 to enter CT1/PRI interface view. Syntax controller t1 number Views System view Predefined user roles network-admin Parameters number: Specifies a CT1/PRI interface by its number. Examples # Enter the view of interface T1 2/0. system-view [Sysname] controller t1 2/0 [Sysname-T1 2/0] data-coding (CT1/PRI interface) Use data-coding to enable user data inversion on the CT1/PRI interface. Use undo data-coding to restore the default.
Examples # Enable user data inversion on CT1/PRI interface T1 2/0. system-view [Sysname] controller t1 2/0 [Sysname-T1 2/0] data-coding inverted display controller t1 Use display controller t1 to display information about CT1/PRI interfaces. Syntax display controller t1 [ interface-number ] Views Any view Predefined user roles network-admin network-operator Parameters interface-number: Specifies a CT1/PRI interface by its number.
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): Line Code Violations: 0, Path Code Violations: 0 Ais Alarm: 0 seconds, Los Alarm: 286 seconds Slip: 7 seconds, Fr Loss: 286 seconds Line Err: 0 seconds, Degraded: 0 minutes Errored: 0 seconds, Bursty Err: 0 seconds Severely Err: 0 seconds, Unavail: 286 seconds Data in Interval 1: L
Field Description Source clock Source clock used by the interface: master for the internal clock or slave for the line clock. Data-coding Normal or inverted. Idle code 0x7E or 0xFF. Itf type Type of interframe filling tag: 0x7E or 0xFF. Itf number Number of interframe filling tags. Loop back Loopback setting on the interface: local, payload, remote, or not set. Alarm State Alarm state. Receiver alarm state is Loss-of-Signal Type of received alarm: none, LOS, LOF, RAI, or AIS.
Field Description Data in current interval (285 seconds elapsed): Line Code Violations: 0, Path Code Violations: 0 Ais Alarm: 0 seconds, Los Alarm: 286 seconds Slip: 7 seconds, Fr Loss: 286 seconds Line Err: 0 seconds, Degraded: 0 minutes 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.
Default FDL is disabled (none). Views CT1/PRI interface view Predefined user roles network-admin Parameters ansi: Adopts ANSI T1.403 for facilities data link (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. Usage guidelines Facility Data Link (FDL) is an embedded 4 kbps overhead channel within the ESF format for transmitting alarm information, performance statistics, or loopback code. FDL uses ANSI T1.403 and ATT TR 54016.
Usage guidelines CT1/PRI interfaces support two framing formats, SF and ESF. In SF format, multiple frames can share the same FSC and signaling information, so that more significant bits are available for transmitting user data. The use of ESF allows you to test the system without affecting the ongoing service. Examples # Set the framing format of interface T1 2/0 to SF.
Syntax itf { number number | type { 7e | ff } } undo itf { number | type } Default The interframe filling tag is 0x7E, and the number of interframe filling tags is 4. Views CT1/PRI interface view Predefined user roles network-admin Parameters number number: Sets the number of interframe filling tags (an interframe filling tag is one byte in length), in the range of 0 to 14. type { 7e | ff }: Sets the interframe filling tag to 0x7E by specifying the 7e keyword or to 0xFF by specifying the ff keyword.
Parameters local: Enables the CT1/PRI interface to perform local loopback. payload: Enables the interface to perform external payload loopback. remote: Enables the interface to perform remote loopback. Usage guidelines Loopback is mainly used to check the condition of interfaces or cables. Disable loopback in other cases. You can bundle timeslots on a CT1/PRI interface to form a serial interface and encapsulate it with PPP.
For the PRI set, the system automatically creates a serial interface that is logically equivalent to an ISDN PRI interface. The serial interface is named in the form of 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 the channel-set command is configured.
Default No remote loopback control code is sent. Views CT1/PRI interface view Predefined user roles network-admin Parameters fdl-ansi-llb-down: Sends ANSI-compliant LLB deactivation request code in the FDL to remove loopback. fdl-ansi-llb-up: Sends ANSI-compliant line loopback (LLB) activation request code in the FDL to start remote loopback. fdl-ansi-plb-down: Sends ANSI-compliant PLB deactivation request code in the FDL to remove loopback.
E1-F interface configuration commands clock-change auto Use clock-change auto to enable the automatic clock mode change function on the interface to configure the interface that uses the slave clock mode to automatically switch to the master clock mode when receiving an alarm indication signal (AIS)/loss of signal (LOS)/loss of frame (LOF) alarm. After the alarm is cleared, the interface automatically switches back to the user-configured clock mode.
Predefined user roles network-admin Parameters 16: Adopts 16-bit CRC. 32: Adopts 32-bit CRC. none: Disables CRC. Examples # Adopt 32-bit CRC on E1-F interface Serial 2/0. system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] crc 32 display fe1 Use display fe1 to display information about E1-F interfaces.
Last clearing of counters: Never Data in current interval (19349 seconds elapsed): Loss Frame Alignment: 129 seconds, Framing Error: 0 seconds CRC Error: 0 seconds, Alarm Indication: 0 seconds Loss-of-signals: 129 seconds, Code Violations: 0 seconds Slip: 0 seconds, E-Bit Error: 0 seconds Table 16 Command output Field Description Cable type Cable type of the interface (75-ohm unbalanced/120-ohm balanced). Frame-format Framing format: CRC4 or no-CRC4. Line Code Line code format: AMI or HDB3.
Predefined user roles network-admin Parameters rai: Remote Alarm Indication (RAI). Usage guidelines This command is applicable when the interface operates in framed mode. Examples # Disable RAI detection on interface Serial 2/0. system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] undo fe1 alarm-detect rai Related commands fe1 unframed fe1 cable Use fe1 cable to set the cable length for an E1-F interface. Use undo fe1 cable to restore the default.
Use undo fe1 clock to restore the default. Syntax fe1 clock { master | slave } undo fe1 clock Default The clock source for the E1-F interface is line clock (slave). Views E1-F interface view Predefined user roles network-admin Parameters master: Adopts the internal clock as the clock source. slave: Adopts the line clock as the clock source. Usage guidelines When the E1-F interface is operating as a DCE, choose the internal clock (master) for it.
Parameters ami: Adopts AMI line code format. hdb3: Adopts HDB3 line code format. Usage guidelines Keep the line code format of the interface in consistency with the one used on the remote device. To ensure normal operation of the interface, configure the fe1 data-coding inverted command on it when its line code format is set to AMI. Examples # Set the line code format of E1-F interface Serial 2/0 to AMI.
system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] fe1 data-coding inverted Related commands fe1 code fe1 detect-ais Use fe1 detect-ais to enable AIS test on an interface. Use undo fe1 detect-ais to disable AIS test. Syntax fe1 detect-ais undo fe1 detect-ais Default AIS test is performed. Views E1-F interface view Predefined user roles network-admin Usage guidelines This command is available when the E1-F interface is operating in unframed mode.
Views E1-F interface view Predefined user roles network-admin Parameters crc4: Sets framing format to CRC4. no-crc4: Sets framing format to no-CRC4. Usage guidelines 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. Examples # Set the framing format of E1-F interface Serial 2/0 to crc4.
system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] fe1 idlecode 7e fe1 itf Use fe1 itf to set the type of and the number of interframe filling tags on the E1-F interface. Two types of interframe filling tag are available: 0x7E and 0xFF. Use undo fe1 itf to restore the default. Syntax fe1 itf { number number | type { 7e | ff } } undo fe1 itf { number | type } Default The interframe filling tag is 0x7E and the number of interframe filling tags is 4.
Syntax fe1 loopback { local | payload | remote } undo fe1 loopback Default Loopback is disabled. Views E1-F interface view Predefined user roles network-admin Parameters local: Sets the interface to operate in internal loopback mode. payload: Sets the interface to operate in external payload loopback mode. remote: Sets the interface to operate in external loopback mode. Usage guidelines Loopback checks the condition of interfaces or cables. Disable loopback in other cases.
Parameters list: Specifies timeslots to be bundled. They are numbered 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 number1-number2, or several discrete timeslots by specifying number1, number2-number3. Usage guidelines Timeslot bundling results in interface rate change. For example, after you bundle timeslots 1 through 10 on the interface, the interface rate becomes 10 × 64 kbps.
Examples # Set E1-F interface Serial 2/0 to operate in unframed mode. system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] fe1 unframed Related commands fe1 timeslot-list mtu Use mtu to set the MTU of an E1-F interface. Use undo mtu to restore the default. Syntax mtu size undo mtu Default The MTU of an E1-F interface is 1500 bytes. Views E1-F interface view Predefined user roles network-admin Parameters size: MTU of the current interface, in the range of 128 to 1650 bytes.
Predefined user roles network-admin Parameters serial interface-number: Specifies a serial interface by its number. Usage guidelines When you collect traffic statistics for a specific period of time on a BRI interface, clear the existing statistics on the interface. • If you do not specify the serial keyword, this command clears statistics on all interfaces. • If you specify the serial keyword without the interface-number argument, this command clears statistics on all serial interfaces.
[Sysname-Serial2/0] crc 32 display ft1 Use display ft1 to display information about a T1-F interface. Syntax display ft1 [ serial interface-number ] Views Any view Predefined user roles network-admin network-operator Parameters serial interface-number: Specifies a T1-F interface by its number. If you do not specify any interface, this command displays information about all T1-F interfaces.
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 Fdl-att-plb-up: 0 times, Fdl-att-plb-down: 0 times BERT state: stopped Test pattern: 2^15, Status: Not Sync, Sync Detected: 0 Time: 0 minutes, Time past: 0 minutes 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
Field Description Cable type Cable type of the interface, 100 ohm balanced in this sample output. Frame-format Frame format configured on the interface: ESF or SF. fdl FDL format: ANSI, ATT, or none. Line code AMI or B8ZS. Source Clock Source clock used by the interface: master for the internal clock or slave for the line clock. Data-coding Normal or inverted. Idle code Idle code: 0x7E or 0xFF. Itf type Type of inter-frame filling tags: 0x7E or 0xFF.
Field Description Data in current interval (285 seconds elapsed): Line Code Violations: 0, Path Code Violations: 0 Ais Alarm: 0 seconds, Los Alarm: 286 seconds Slip: 7 seconds, Fr Loss: 286 seconds Line Err: 0 seconds, Degraded: 0 minitues 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.
Views T1-F interface view Predefined user roles network-admin Parameters rai: Remote Alarm Indication (RAI). Usage guidelines This command is applicable when the framing format on the interface is ESF. Examples # Disable RAI detection on interface Serial 2/0. system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] undo ft1 alarm-detect rai Related commands ft1 frame-format ft1 alarm-threshold Use ft1 alarm-threshold to set LOS, AIS, or LFA alarm thresholds on the T1-F interface.
• The level-1 keyword specifies generating an LFA alarm when two of four frame alignment bits are lost. • The level-2 keyword specifies generating an LFA alarm when two of five frame alignment bits are lost. • The level-3 keyword specifies generating an LFA alarm when two of six frame alignment bits are lost. • The level-4 keyword applies only to ESF frames. It specifies generating an LFA alarm when errors are detected in four consecutive ESF frames.
2^20: Specifies the length of transmitted BERT pattern, in bits, as two to the twentieth power. time minutes: Sets the duration (in minutes) of a BERT test. The minute argument is up to 1,440. unframed: Sets the test pattern to cover the overhead bits of the frame. Usage guidelines ITU O.151, ITU O.153, and ANSI T1.403-1999 define many BERT patterns, among which, the T1-F interface supports only 2^15 and 2^20.
Usage guidelines You can use this command to adapt the signal waveform to different transmission conditions such as the quality of the signal received by the receiver. If signal quality is good, use the default setting. Examples # Set the cable length to 133 feet (40.5 meters) on T1-F interface Serial 2/0.
ft1 code Use ft1 code to set the line code format for the T1-F interface. Use undo ft1 code to restore the default. Syntax ft1 code { ami | b8zs } undo ft1 code Default The line code format for the T1-F interface is B8ZS. Views T1-F interface view Predefined user roles network-admin Parameters ami: Adopts AMI line code format. b8zs: Adopts B8ZS line code format. Usage guidelines Keep the line code format of the interface in consistency with the one used on the remote device.
Views T1-F interface view Predefined user roles network-admin Parameters inverted: Enables user data inversion. normal: Disables user data inversion. Usage guidelines To prevent 7e in valid data from being taken for stuffing characters, 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.
Usage guidelines 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. Examples # Set ANSI FDL on T1-F interface Serial 2/0. system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] ft1 fdl ansi Related commands ft1 frame-format ft1 frame-format Use ft1 frame-format to set the framing format on the T1-F interface.
ft1 idle-code Use ft1 idle-code to set the line idle code on the T1-F interface. Two types of line idle code are available: 0x7E and 0xFF. Use undo ft1 idle-code to restore the default. Syntax ft1 idle-code { 7e | ff } undo ft1 idle-code Default The line idle code on the T1-F interface is 0x7E. Views T1-F interface view Predefined user roles network-admin Parameters 7e: Sets the line idle code to 0x7E. ff: Sets the line idle code to 0xFF.
Parameters number number: Sets the number of interframe filling tags (a interframe filling tag is one byte in length), in the range of 0 to 14. type { 7e | ff }: Sets the interframe filling tag to 0x7E by specifying the 7e keyword or to 0xFF by specifying the ff keyword. On a T1-F interface, the default interframe filling tag is 0x7E. Usage guidelines Interframe filling tags are sent when no service data is sent on the timeslots bundled into logical channels on a T1-F interface.
Usage guidelines Loopback is mainly used to check the condition of interfaces or cables. Disable loopback in other cases. The three loopback modes cannot be used simultaneously on a T1-F interface. Examples # Set T1-F interface Serial 2/0 in local loopback mode. system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] ft1 loopback local ft1 sendloopcode Use ft1 sendloopcode to send remote loopback control code.
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/received in the FDL in ESF frames. You can use this command only when the remote T1-F interface can automatically detect loopback request code from the network. Examples # Send in-band LLB activation request code.
[Sysname-Serial2/0] ft1 timeslot-list 1,2,5,10-15,18 mtu Use mtu to set the MTU of a T1-F interface. Use undo mtu to restore the default. Syntax mtu size undo mtu Default The MTU of a T1-F interface is 1500 bytes. Views T1-F interface view Predefined user roles network-admin Parameters size: MTU of the current interface, in the range of 128 to 1650 bytes. Usage guidelines The MTU setting can affect IP packets assembly and fragmentation on the interface.
Usage guidelines When you collect traffic statistics for a specific period of time on a BRI interface, clear the existing statistics on the interface. • If you do not specify the serial keyword, this command clears statistics on all interfaces. • If you specify the serial keyword without the interface-number argument, this command clears statistics on all serial interfaces.
qrss: Specifies the code stream transmitted is the 20th power of 2 bits in length and the number of successive 0s in the code stream is no more than 14. time number: Sets the duration (in minutes) of a BERT teat. The number argument is in the range of 1 to 1,440. unframed: Sets the overhead bits of the padding frames for BERT test. Usage guidelines Multiple BERT test modes exist, as defined in ITU O.151, ITU O.153, and ANSI T1.403-1999. 2^7, 2^11, 2^15, and QRSS are available on a CE3 interface.
Examples # Use the internal clock as the clock source on CE3 interface E3 2/0. system-view [Sysname] controller e3 2/0 [Sysname-E3 2/0] clock master controller e3 Use controller e3 to enter CE3 interface view. Syntax controller e3 interface-number Views System view Predefined user roles network-admin Parameters interface-number: Specifies a CE3 interface by its number. Examples # Enter the view of interface E3 2/0.
Examples # Display information about interface E3 2/0.
E3 2/0 CE1 9: up Frame-format: NO-CRC4, clock: slave, loopback: not set Receiver alarm state: none BERT state: (stopped, not completed) E3 2/0 CE1 10: up Frame-format: NO-CRC4, clock: slave, loopback: not set Receiver alarm state: none BERT state: (stopped, not completed) E3 2/0 CE1 11: up Frame-format: NO-CRC4, clock: slave, loopback: not set Receiver alarm state: none BERT state: (stopped, not completed) E3 2/0 CE1 12: up Frame-format: NO-CRC4, clock: slave, loopback: not set Receiver alarm state:
Field Description Alarm Alarm state. BERT state BERT state: completed, stopped (not completed), or running. Test pattern Test pattern in use: 2^20 or 2^15. Status Whether is being synchronized. Sync Detected Number of detected synchronizations. Time Duration of the BERT test. Time past Time that has elapsed. Bit Errors (since test started) Number of bit errors received since start of the BERT test. Bits Received (since test started) Number of bits received since start of the BERT test.
Predefined user roles network-admin Parameters line-number: E1 channel number in the range of 1 to 16. pattern: Specifies BERT test mode, which can be 2^11, 2^15, 2^20, 2^23, and QRSS. 2^11: Specifies the code stream transmitted is the 11th power of 2 bits in length. 2^15: Specifies the code stream transmitted is the 15th power of 2 bits in length. 2^20: Specifies the code stream transmitted is the 20th power of 2 bits in length.
Views CE3 interface view Predefined user roles network-admin Parameters line-number: E1 line number in the range of 1 to 16. set-number: Number of the channel set formed by a timeslot bundle on the E1 line, in the range of 0 to 30. timeslot-list list: Specifies the timeslots to be bundled. The list argument can contain multiple timeslot numbers, each of which is in the range of 1 to 31.
Parameters line-number: E1 line number in the range of 1 to 16. master: Adopts the internal clock as the clock source. slave: Adopts the line clock as the clock source. Usage guidelines When the CE3 interface is operating in channelized mode, you can set separate clock for each E1 line on it. Examples # Use the internal clock as the clock source on the first E1 line on interface E3 2/0.
Related commands e1 unframed e1 loopback Use e1 loopback to set an E1 line in a loopback mode on the E3 interface. Use undo e1 loopback to restore the default. Syntax e1 line-number loopback { local | payload | remote } undo e1 line-number loopback Default Loopback is disabled on E1 lines. Views CE3 interface view Predefined user roles network-admin Parameters line-number: E1 line number in the range of 1 to 16. local: Sets the E1 line in internal loopback mode.
Views CE3 interface view Predefined user roles network-admin Parameters line-number: E1 line number in the range of 1 to 16. Usage guidelines This command affects not only the specified E1 line but also the serial interfaces formed by E1 line bundling. Performing the e1 shutdown command on the specified E1 line shuts down all these serial interfaces. Data transmission and receiving stop as a result. Likewise, performing the undo e1 shutdown command restarts all these serial interfaces.
[Sysname] controller e3 2/0 [Sysname-E3 2/0] e1 1 unframed Related commands e1 channel-set fe3 Use fe3 to configure a CE3 interface to operate in FE3 mode and set the DSU mode or the subrate. Use undo fe3 to restore the default. Syntax fe3 { dsu-mode { 0 | 1 } | subrate number } undo fe3 { dsu-mode | subrate } Default DSU mode 1 (the Kentrox mode) is adopted, and the subrate is 34010 kbps.
Examples # Configure E3 2/0 interface to operate in the FE3 mode, setting the DSU mode to 1 and the subrate to 3000 kbps. 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 loopback Use loopback to configure the loopback mode of the CE3 interface. Use undo loopback to restore the default. Syntax loopback { local | payload | remote } undo loopback Default Loopback is disabled on the CE3 interface.
Syntax national-bit { 0 | 1 } undo national-bit Default The national bit on the CE3 interface is 1. Views CE3 interface view Predefined user roles network-admin Parameters 0: Sets the national bit to 0 for national communication. 1: Sets the national bit to 1 for international communication. Usage guidelines You need to set the national bit to 0 on an E3 interface only in some special circumstances. Examples # Set the national bit to 0 on interface E3 2/0.
Related commands display controller e3 using Use using to configure the operating mode of the CE3 interface. Use undo using to restore the default. Syntax using { ce3 | e3 } undo using Default A CE3 interface operates in channelized mode. Views CE3 interface view Predefined user roles network-admin Parameters ce3: Sets the CE3 interface to operate in channelized mode. e3: Sets the CE3 interface to operate in unchannelized mode.
POS interface commands The following matrix shows the POS interface commands and router compatibility: Commands MSR2000 MSR3000 MSR4000 POS interface commands No Yes Yes bandwidth Use bandwidth to configure the expected bandwidth of an interface. Use undo bandwidth to restore the default. Syntax bandwidth bandwidth-value undo bandwidth Default The expected bandwidth (in kbps) is the interface baud rate divided by 1000.
undo clock Default The clock mode is slave. Views POS interface view Predefined user roles network-admin Parameters master: Sets the clock mode of the POS interface to master. slave: Sets the clock mode of the POS interface to slave. Usage guidelines POS interfaces support the following clock modes: • Master—Uses internal clock signal. • Slave—Uses line clock signal. If the POS interface is connected to another router, set its clock mode to be different from the mode used by the remote end.
Usage guidelines The CRC length must be the same on both ends. Examples # Set the CRC length on interface Pos 5/1 to 16 bits. system-view [Sysname] interface pos 5/1 [Sysname-Pos5/1] crc 16 default Use default to restore the default settings for the POS interface. Syntax default Views POS interface view Predefined user roles network-admin Usage guidelines CAUTION: The default command might interrupt ongoing network services.
Default The description of a POS interface is interface name Interface, for example, Pos5/0 Interface. Views POS interface view Predefined user roles network-admin Parameters text: Specifies the interface description, a case-sensitive character string of 1 to 255 characters. Examples # Set the description for POS interface POS 5/1 to pos-interface.
Examples # Display detailed information about interface POS 5/1. display interface pos 5/1 Pos5/1 Current state: DOWN Line protocol state: DOWN Description: Pos5/1 Interface Bandwidth: 50kbps Maximum Transmit Unit: 1500 Hold timer: 10 seconds Internet Address: 5.5.5.
# Display brief information about all POS interfaces in the physically DOWN state and the causes. display interface pos brief down Brief information on interface(s) under route mode: Link: ADM - administratively down; Stby - standby Interface Link Cause Pos5/1 ADM Administratively Table 19 Command output Field Description Current physical and admin state of the POS interface: • DOWN (Administratively)—The POS interface has been shut down with the shutdown command.
Field Description Last 300 seconds input rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec Input rate in Bps, bps, and pps in the last 300 seconds. Last 300 seconds output rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec Output rate in Bps, bps, and pps in the last 300 seconds. Count of input traffic in both packets and bytes: • errors—Number of inbound packets with errors detected at the physical layer. • runts—Number of inbound frames shorter than the minimum frame length.
Field Description Main IP Main IP address of the interface. Description Description of the interface configured by using the description command. If the description keyword is not specified in the display interface brief command, the Description field displays at most 27 characters. If the description keyword is specified in the display interface brief command, the field displays the full interface description. Causes for the physical state of an interface to be DOWN.
Parameters c2 flag-value: Path signal flag byte, a higher-order path overhead byte used to indicate the multiplex structure of virtual container (VC) frames and property of payload. It is a hexadecimal number in the range of 0x00 to 0xFF. 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.
Predefined user roles network-admin Parameters sdh: Sets framing format to synchronous digital hierarchy (SDH). sonet: Sets framing format to synchronous optical network (SONET). Usage guidelines When you use the flag command to set the overhead bytes, the settings must match the framing format. Examples # Set the framing format on interface POS 5/1 to SDH.
Syntax link-protocol { hdlc | ppp } Default PPP is used. Views POS interface view Predefined user roles network-admin Parameters hdlc: Specifies High-level Data Link Control (HDLC) as the link layer protocol of the interface. ppp: Specifies the Point-to-Point protocol (PPP) as the link layer protocol of the interface. Examples # Specify HDLC as the link protocol of interface POS 5/1.
Loopback and the clock slave command cannot be set at the same time; otherwise, POS interfaces cannot be connected successfully. Examples # Enable internal loopback on interface POS 5/1. system-view [Sysname] interface pos 5/1 [Sysname-Pos5/1] loopback local Related commands clock mtu Use mtu to set the MTU size of the POS interface. Use undo mtu to restore the default. Syntax mtu size undo mtu Default The MTU of a POS interface is 1500 bytes.
Syntax reset counters interface [ pos [ interface-number ] ] Views User view Predefined user roles network-admin Parameters pos: Clears statistics of POS interfaces. interface-number: Specifies a POS interface by its number. Usage guidelines Before collecting statistics for an interface within a specific period, you need to clear the existing statistics of the interface. • If you do not specify pos, this command clears the statistics of all interfaces.
Examples # Enable payload scrambling on interface POS 5/1. system-view [Sysname] interface pos 5/1 [Sysname-Pos5/1]scramble shutdown Use shutdown to shut down the POS interface. Use undo shutdown to bring up the POS interface. Syntax shutdown undo shutdown Default A POS interface is up. Views POS interface view Predefined user roles network-admin Examples # Shut down the POS interface POS 5/1.
Parameters seconds: Specifies the interval at which the interface sends keepalive packets. The value range for this argument is 0 to 32767 seconds. Usage guidelines The polling interval refers to the interval at which the interface sends keepalive packets. When the link layer protocol of an interface is PPP or HDLC, the link layer periodically sends keepalive packets to the peer end.
Loopback, null, and inloopback interface commands bandwidth Use bandwidth to configure the expected bandwidth of an interface. Use undo bandwidth to restore the default. Syntax bandwidth bandwidth-value undo bandwidth Default The expected bandwidth of a loopback interface is 0 kbps. Views Loopback interface view Predefined user roles network-admin Parameters bandwidth-value: Specifies the expected bandwidth in the range of 1 to 400000000 kbps.
Predefined user roles network-admin Usage guidelines CAUTION: The default command might interrupt ongoing network services. Make sure you are fully aware of the impacts of this command before using it on a live network. This command might fail to restore the default settings for some commands for reasons such as command dependencies and system restrictions.
[Sysname-LoopBack1] description for RouterID display interface inloopback Use display interface inloopback to display information about the inloopback interface. Syntax display interface [ inloopback [ 0 ] ] [ brief [ description ] ] Views Any view Predefined user roles network-admin network-operator Parameters 0: Specifies interface Inloopback 0. brief: Displays brief interface information. If you do not specify this keyword, the command displays detailed interface information.
Table 20 Command output Field Description Current state Physical layer state of the interface, which is always UP, meaning that the inloopback interface can receive and transmit packets. Line protocol state Data link layer protocol state of the interface, which is always UP (spoofing). UP (spoofing) means that the data link layer protocol state of the interface is UP but the link is an on-demand link or not present at all.
InLoop0 UP UP(s) 127.0.0.1 Table 21 Command output Field Description Brief information on interface(s) under route mode: Brief information about the inloopback interface. Link attribute of the interface: Link: ADM - administratively down; Stby - standby • ADM—The interface has been shut down by the network administrator. To recover its physical layer state, run the undo shutdown command. • Stby—The interface is a standby interface. Protocol attribute of the interface.
Parameters interface-number: Specifies a loopback interface by its number, which can be the number of any existing loopback interface. If you do not specify this argument, the command displays information about all existing loopback interfaces on the device. 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.
Table 22 Command output Field Description Physical layer state of the interface: Current state • UP—The loopback interface can receive and transmit packets. • Administratively DOWN—The interface was manually shut down by using the shutdown command. Line protocol state Data link layer protocol state of the interface, which is always UP (spoofing). UP (spoofing) means that the data link layer protocol state of the interface is UP but the link is an on-demand link or not present at all.
Interface Link Protocol Main IP Description Loop1 UP aaaaaaaaaaaaaaaaaaaaaaaaaaa UP(s) -- # Display brief information about all existing loopback interfaces, including the full description of each loopback interface.
Field Description Cause Cause of the interface down event. If the interface has been shut down by using the shutdown command, this field displays Administratively. To restore the physical state of the interface, execute the undo shutdown command. Related commands • interface loopback • reset counters interface loopback display interface null Use display interface null to display information about the null interface.
Last 300 seconds input: Last 300 seconds output: 0 bytes/sec, 0 bits/sec, 0 packets/sec 0 bytes/sec, 0 bits/sec, 0 packets/sec Input: 0 packets, 0 bytes, 0 drops Output: 0 packets, 0 bytes, 0 drops # Display brief information about interface Null 0.
reliability of the connection. For example, you can configure a loopback interface as the source interface for establishing an FTP connection or use the loopback interface address as the Router ID in BGP. Examples # Create interface loopback 1. system-view [Sysname] interface loopback 1 [Sysname-LoopBack1] interface null Use interface null to enter null interface view. Syntax interface null 0 Default A device has only one null interface (Null 0), which cannot be created or deleted.
Usage guidelines To determine whether a loopback interface works correctly within a period by collecting the traffic statistics within that period, first use the reset counters interface [ loopback [ interface-number ] ] command to clear the statistics, and then have the interface automatically collect the statistics. This command is available only if at least one loopback interface has been created. Examples # Clear the statistics on loopback interface Loopback 1.
Default A loopback interface is up. Views Loopback interface view Predefined user roles network-admin Usage guidelines Use the shutdown command with caution, because the command disconnects the connection of the interface and disables the interface from communicating. Examples # Shut down interface loopback 1.
Support and other resources Contacting HP For worldwide technical support information, see the HP support website: http://www.hp.
Conventions This section describes the conventions used in this documentation set. Command conventions Convention Description Boldface Bold text represents commands and keywords that you enter literally as shown. Italic Italic text represents arguments that you replace with actual values. [] Square brackets enclose syntax choices (keywords or arguments) that are optional. { x | y | ... } Braces enclose a set of required syntax choices separated by vertical bars, from which you select one.
Network topology icons Represents a generic network device, such as a router, switch, or firewall. Represents a routing-capable device, such as a router or Layer 3 switch. Represents a generic switch, such as a Layer 2 or Layer 3 switch, or a router that supports Layer 2 forwarding and other Layer 2 features. Represents an access controller, a unified wired-WLAN module, or the switching engine on a unified wired-WLAN switch. Represents an access point.
Index ABCDEFIJLMNPRSTUVW crc,124 A crc,112 activate,76 alarm-detect,82 D alarm-detect,95 data-coding (CE1/PRI interface),87 alarm-threshold,95 data-coding (CT1/PRI interface),101 async-mode,68 default,41 async-mode,44 default,171 B default,6 default,158 bandwidth,41 description,42 bandwidth,5 description,7 bandwidth,156 description,172 bandwidth,171 description,158 baudrate,45 detect dcd,49 bert,141 detect dsr-dtr,49 bert (CT1/PRI interface),96 detect-ais,88 broadcast-suppressio
E I e1 bert,146 idle-code,59 e1 channel-set,147 idle-code (CE1/PRI interface),90 e1 clock,148 idle-code (CT1/PRI interface),107 e1 frame-format,149 interface,28 e1 loopback,150 interface analogmodem,73 e1 shutdown,150 interface async,59 e1 unframed,151 interface bri,80 eliminate-pulse,58 interface loopback,180 F interface null,181 interface pos,165 fdl,105 interface range,1 fe1 alarm-detect,114 interface range name,2 fe1 cable,115 interface serial,60 fe1 clock,115 invert receive-c
multicast-suppression,36 reset ethernet statistics,31 N reset packet-drop interface,32 reverse-rts,67 national-bit,153 S P scramble,168 phy-mru,64 sendloopcode,110 phy-mru,74 shutdown,43 physical-mode,65 shutdown,182 port link-mode,30 shutdown,169 pri-set (CE1/PRI interface),92 shutdown,33 pri-set (CT1/PRI interface),109 speed,33 R Subscription service,184 reset counters controller e1,93 T reset counters controller e3,154 timer-hold,43 reset counters controller t1,110 timer-hold,1