Page 1
H3C MSR 20/30/50 Series Routers Command Reference Manual (v1.00) MSR 20 Series Routers MSR 30 Series Routers MSR 50 Series Routers www.3Com.com Part Number: 10016323 Rev. AA August 2007...
Page 2
LICENSE.TXT or !LICENSE.TXT. If you are unable to locate a copy, please contact 3Com and a copy will be provided to you.
Page 16
MSTP C ONFIGURATION OMMANDS active region-configuration check region-configuration display stp...
Page 17
VLAN C ASED ONFIGURATION OMMANDS port port access vlan port hybrid pvid vlan port hybrid vlan port link-type port trunk permit vlan port trunk pvid vlan VLAN C OICE ONFIGURATION OMMANDS display voice vlan oui...
Page 18
CPOS I NTERFACE ONFIGURATION OMMANDS clock controller cpos display controller cpos display controller cpos e1 display controller cpos t1 e1 channel-set e1 set clock e1 set frame-format e1 set loopback e1 shutdown e1 unframed flag frame-format...
Page 21
DNS C ONFIGURATION OMMANDS display dns domain display dns dynamic-host display dns proxy table display dns server display ip host dns domain dns proxy enable dns resolve dns server ip host reset dns dynamic-host IP A CCOUNTING...
Page 22
IP U NICAST OLICY OUTING ONFIGURATION OMMANDS apply default output-interface apply ip-address default next-hop apply ip-address next-hop apply ip-precedence apply output-interface display ip policy-based-route display ip policy-based-route setup display ip policy-based-route statistics display policy-based-route if-match acl...
Page 25
IP R OUTING ABLE OMMANDS bandwidth-based-sharing display ip routing-table display ip routing-table acl display ip routing-table ip-address display ip routing-table ip-prefix display ip routing-table protocol...
Page 42
1581 display mpls rsvp-te sender 1583 display mpls rsvp-te statistics 1584 display mpls static-cr-lsp 1586 display mpls te cspf tedb 1587 display mpls te link-administration admission-control 1592 display mpls te link-administration bandwidth-allocation 1593 display mpls te tunnel 1594...
Page 43
1628 mpls te priority 1629 mpls te record-route 1629 mpls te reoptimization (user view) 1630 mpls te reoptimization (tunnel interface view) 1630 mpls te resv-style 1631 mpls te retry 1631 mpls te route-pinning 1632 mpls te signal-protocol...
Page 44
1668 vpn-target (MPLS L2VPN view) 1669 MPLS L3VPN C ONFIGURATION OMMANDS apply access-vpn vpn-instance 1671 default local-preference (BGP-VPNv4 subaddress family view) 1671 default med (BGP-VPNv4 subaddress family view) 1672 description (VPN instance view) 1673 display bgp vpnv4 all routing-table 1673...
Page 45
(BGP-VPNv4 subaddress family view) 1700 peer group 1701 peer ip-prefix (BGP-VPNv4 subaddress family view) 1702 peer label-route-capability (BGP view/BGP VPN instance view) 1702 peer next-hop-invariable (BGP-VPNv4 subaddress family view) 1703 peer next-hop-local 1704 peer public-as-only (BGP-VPNv4 subaddress family view)
Page 57
2160 encryption-algorithm 2160 exchange-mode 2161 id-type 2161 ike dpd 2162 ike local-name 2162 ike next-payload check disabled 2163 ike peer (system view) 2164 ike proposal 2164 ike sa keepalive-timer interval 2165 ike sa keepalive-timer timeout 2165 ike sa nat-keepalive-timer interval...
Page 60
2262 temperature-alarm enable 2263 temperature-limit 2264 NQA C LIENT ONFIGURATION OMMANDS data-fill 2265 data-size 2266 description (any NQA test type view) 2266 destination ip 2267 destination port 2267 display nqa 2268 filename 2271 frequency 2271 history-records 2272...
Page 61
NQA S ERVER ONFIGURATION OMMANDS display nqa server status 2289 nqa server enable 2290 nqa server tcp-connect 2290 nqa server udp-echo 2291 TREAM ONFIGURATION OMMANDS display ip netstream cache 2293 display ip netstream export 2294 enable 2295 ip netstream 2295...
(+), for example: Press Ctrl+Alt+Del The words “enter” and “type” When you see the word “enter” in this guide, you must type something, and then press Return or Enter. Do not press Return or Enter when an instruction simply says “type.”...
Convention Description Words in italics Italics are used to: Emphasize a point. Denote a new term at the place where it is defined in the text. Identify menu names, menu commands, and software button names. Examples: From the Help menu, select Contents.
[ interface-number ] View Any view Parameter interface-number: Interface number. If no interface is specified, the configuration and status information about all ATM/DSL interfaces and channels on them is displayed. Description Use the display interface atm command to display the configuration and status information about an ATM interface or a DSL interface.
If you execute this command with an ATM interface specified, this command ■ displays the statistics on the PVCs created on the ATM interface. If you execute this command with no ATM interface specified, the statistics on ■ the PVCs created on all the ATM interfaces are cleared.
Long haul mode, with a cable length in the range 151 to 500 m (495 to 1640 ft.). short: Short haul mode, with a cable length in the range 0 to 150 m (0 to 495 ft.). Description Use the command to set the cable length of the ATM E1 interface.
DTEa, set the clock mode to slave. When the ATM interfaces on two routers are connected directly through a fiber-optic cable, set the clock mode to master at one end and to slave at the other end.
By default, the line coding format of an ATM E1 interface is HDB3, and that of an ATM T1 interface is B8ZS. Example # Set the line coding format to AMI for ATM 5/0 interface. <Sysname> system-view [Sysname] interface atm 5/0...
Sets the ATM over E1 framing format to no-CRC4 ADM. esf-adm: Sets the ATM over T1 framing format to extended super frame ADM (ESF ADM). sf-adm: Sets the ATM over T1 framing format to super frame ADM (SF ADM). Description Use the...
128 ATM undo frame-length cells in an IMA frame. Example # Set the number of ATM cells in an IMA frame to 64 on IMA group interface 1. <Sysname> system-view [Sysname] interface atm 5/0 [Sysname-Atm5/0] ima ima-group 1...
IP address assigned to the interface by using the undo ip address command. The first link in the IMA group is the primary link. You can remove it only when you remove the IMA group.
View IMA group interface view Parameter link-number number: Specifies the number of the E1/T1 link to be tested. pattern-id id: Specifies the test mode, a hexadecimal number in the range 0x00 to 0xFE. Description Use the command to specify the E1/T1 link to be tested and the test ima-test mode for IMA group interface test.
■ the default test mode (that is, 0xAA) 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 the active links at the far end and back to the transmitter.
Use the command to restore the default, that is, 1. undo min-active-links Example # Set the minimum number of links required for IMA group 1 to operate to 2. <Sysname> system-view [Sysname] interface atm 5/0 [Sysname-Atm5/0] ima ima-group 1 [Sysname-Atm5/0] interface ima-group 5/1...
Page 122
This, however, does not affect cell headers. Use the command to disable payload scrambling. undo scramble By default, payload scrambling is enabled on an ATM E1/T1 interface. Example # Enable payload scrambling on ATM interface 5/0. <Sysname> system-view [Sysname] interface atm 5/0...
Long haul mode, with a cable length in the range 151 to 500 m (495 to 1640 ft.). short: Short haul mode, with a cable length in the range 0 to 150 m (0 to 495 ft.). Description Use the command to configure the cable length of the ATM T3 interface.
View ATM E3/T3 interface view Parameter g751-adm: Sets the framing format of ATM E3 to G.751 ATM direct mapping (G.751 ADM). g751-plcp: Sets the framing format of ATM E3 to G.751 physical layer convergence protocol (G.751 PLCP). g832-adm: Sets the framing format of ATM E3 to G.832 ADM.
View ATM E3/T3 interface view Parameter cell: Internal cell loopback, used to check whether the local end physical chipset is working properly local: Internal loopback, used to check whether the local service chip is working properly. payload: External payload loopback, used to check whether payload framing is normal.
Page 126
3: ATM E3/T3 I HAPTER NTERFACE ONFIGURATION OMMANDS Example # Disable payload scrambling on ATM E3/T3 interface 5/0. <Sysname> system-view [Sysname] interface atm 5/0 [Sysname-Atm5/0] undo scramble...
DTE, set its clock mode to slave. When the ATM interfaces on two routers are connected directly through a fiber-optic cable, set the clock mode to master at one end and to slave at the other end.
4: ATM OC-3 /STM-1 I HAPTER NTERFACE ONFIGURATION OMMANDS sonet: Sets the framing format to SONET OC-3, the optical carrier level three (OC-3 of synchronous optical network (SONET). Description Use the frame-format command to set the framing format for an ATM OC-3c/STM-1 interface.
Page 129
OC-3c/STM-1 interface. This, however, does not affect cell headers. Use the undo scramble command to disable payload scrambling. By default, payload scrambling is enabled on the ATM OC-3c/STM-1 interface. Example # Enable payload scrambling on ATM interface 5/0. <Sysname> system-view...
Since a G.SHDSL interface is always on, it transits to the active state automatically at boot and remains in this state as long as the link is in good condition. The router tests the performance of the line regularly. Once it finds that the line performance is deteriorating, it automatically deactivates, retrains, and then reactivates the line.
Table 1 Description on the fields of the display dsl configuration command Field Description Target Margin Target margin Line Rate Line rate PSD Mode Power spectral density mode: symmetric or asymmetric Power-Backoff Power compensation LinkCheck State of link check: enable or disable...
Page 134
Rmt Provider Code: GSPN Rmt Vendor Data: 0x12 0x34 0x56 0x78 0x12 0x34 0x56 0x78 # Display status information about ATM 5/0, which is a four-wire G.SHDSL interface that is up. <Sysname> display dsl status interface atm 5/0 Operating Mode: DSL Mode:...
Page 135
0x00b5 Rmt Provider Code: GSPN Rmt Vendor Data: 0x12 0x34 0x56 0x78 0x12 0x34 0x56 0x78 Table 2 Description on the fields of the display dsl status command Field Description Operating Mode CPE or CO DSL Mode Annex standard used on the interface: Annex A or Annex...
Hardware Version: ITU G991.2 ANNEX A: Supported ITU G991.2 ANNEX B: Supported Table 3 Description on the fields of the display dsl version interface atm command Field Description Dsl line Type Type of the user access line ATM SAR Device...
Annex B. undo shdsl annex Annex A is dominant in North America while Annex B is dominant in Europe. When setting annex standard, you must 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.
(PSD) are set for the central office (CO) and the customer premises equipment (CPE). symmetry: Specifies the symmetric mode, where the same PSD is set for the CO and CPE. Power spectral density (PSD) is the amount of power per unit (density) of frequency (spectral) as a function of the frequency.
In actual applications, likelihood exists that the maximum downlink rate could not 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 commensurate with the current line condition during the activating process.
OMMANDS Setting margin can affect maximum rate of the line. When line condition is good, you can set a small margin to obtain higher rate. When much noise is around the line, this may cause disconnection however. By default, current-margin-value is set to 2 and snext-margin-value is set to 0.
Since an ADSL interface is always on, it transits to the active state automatically at boot and remains in this state as long as the link is in good condition. The router tests the performance of the line regularly. Once it finds that the line performance is deteriorating, it automatically deactivates, retrains, and then reactivates the line.
The upgradeable software includes Boot ROM and ADSL2+ card software. Before you do that, you first need to FTP or load the new software file by other means to the Flash or CF card on your device and save it. Before performing an upgrade, you need to shut down the interface with the shutdown command if the interface is up.
In case failure occurs, recovery is difficult and troublesome. Note that: Only distributed devices support the slot slot-no-list option. ■ The subslot subslot-no-list option is not available if the device does not ■ support the sub-card-level maintenance. Example # Upgrade software for an ADSL2+ card.
NTERFACE ONFIGURATION OMMANDS Current Rate(kbps): Latency: Intl Intl Table 5 Description on the fields of the display dsl status command Field Description Line Status Line status of the ADSL interface, which can be: No Defect, indicating the normal state ■...
Page 149
ANSI T1.413 Issue 2 ITU G992.1(G.dmt) ITU G992.2(G.lite) ITU G992.3(Adsl2) ITU G992.3(ReAdsl2) ITU G992.5(Adsl2p) Table 6 Description on the fields of the display adsl version command Field Description Adsl board chipset and The components of the interface board and the version version info...
Page 150
6: ADSL I HAPTER NTERFACE ONFIGURATION OMMANDS...
■ Similar to the DTE/DCE model of synchronous serial interfaces, POS interfaces need to choose a clock mode. When a POS interface on the router is directly connected to another router, the only requirement is that the two sides use different clock modes.
CRC length on the POS interface. Use the undo crc command to restore the default, that is, 32 bits. Example # Set the CRC length on interface POS 1/0 to 16 bits. <Sysname> system-view [Sysname] interface pos 1/0 [Sysname-Pos1/0] crc 16 display interface pos...
Page 153
Table 7 Description on the fields of the display interface pos command Field Description Internet protocol processing IP protocol processing capability, enabled or disabled Link layer protocol is PPP Link layer protocol of the POS interface and loopback detection state...
IP-related configuration display ip interface pos and status information of the specified POS interface. Example # Display IP-related status and configuration information about the interface POS 1/0. <Sysname> display ip interface pos 1/0 Pos1/0 current state :UP Line protocol current state :UP Internet Address is 13.13.13.13/8 Primary...
Sets framing format to SDH. sonet: Sets framing format to SONET. CAUTION: When the length of the string configured for J0 or J1 is less than 15 or 62 characters, the system automatically pad it with hexadecimal 0x0.
(SONET): 0x01 ■ j1 (SONET): 62 hexadecimal numbers, each of which has the value of 0x0 ■ Inconsistency between the c2 and j0 settings of a sending POS interface and the receiving POS interface causes alarms. Related command: display interface pos.
The MTU setting of the POS interface can affect the assembly and fragmentation of IP packets on it. In QoS, the length of queues is limited. If MTU on the interface is too small, there is likelihood for a large packet to be fragmented into so many fragments that the queue cannot hold them and as such discard them.
If you execute the threshold command with the value argument set to X, the value of the threshold specified can be obtained using this expression: 10e-X. By default, SD threshold is 10e-6 (that is, X is 6), and SF threshold is 10e-3 (that is, X is 3).
Page 160
7: POS I HAPTER NTERFACE ONFIGURATION OMMANDS Example # Set the SD threshold to 10e-4 for POS 1/0. <Sysname> system-view [Sysname] interface pos 1/0 [Sysname-Pos1/0] threshold sd 4...
# Specify to enable the electrical port of Gigabit Ethernet 1/0 and use double-twisted pair cable. <Sysname> system-view [Sysname] interface gigabitethernet 1/0 [Sysname-GigabitEthernet1/0] combo enable copper # Specify to enable the optical port of Gigabit Ethernet 1/0 and use optical fiber cable. <Sysname> system-view [Sysname] interface gigabitethernet 1/0 [Sysname-GigabitEthernet1/0] combo enable fiber...
<Sysname> system-view [Sysname] interface ethernet 1/0 [Sysname-Ethernet1/0] description lan-interface display brief interface Syntax display brief interface [ interface-type [ interface-number ] ] [ | { begin | include | exclude } text ] View Any view Parameter interface-type: Type of a specified interface.
Page 163
If neither interface type nor interface number is specified, all interface ■ information will be displayed; If only interface type is specified, then only information of this particular type ■ of interface will be displayed. If both interface type and interface number are specified, then only information ■...
DOWN ETHERNET Eth0/1 DOWN ETHERNET NULL0 UP(spoofing) NULL Table 9 Description on the fields of the display brief interface command. Field Description The brief information of interface(s) under Brief information of interface(s) in route mode route mode: Interface Interface name...
Page 165
Output:0 packets, 0 bytes, 0 buffers 0 broadcasts, 0 multicasts, 0 pauses 0 errors, 0 underruns, 0 collisions 0 deferred, 0 lost carriers Table 11 Description on the fields of the display interface (in route mode) command. Field Description Ethernet1/0 current state...
Page 166
HAPTER ENERAL THERNET NTERFACE ONFIGURATION OMMANDS Table 11 Description on the fields of the display interface (in route mode) command. Field Description Output queue (FIFO queuing : Output queue (current message number in Size/Length/Discards) the FIFO queue/ maximum number of...
Page 167
Table 12 Description on the fields of the display interface command (in bridge mode) Field Description Unknown-speed mode Unknown-speed mode, in which mode speed is negotiated between the current host and the peer unknown-duplex mode unknown-duplex mode, in which mode speed is...
8: G HAPTER ENERAL THERNET NTERFACE ONFIGURATION OMMANDS Table 12 Description on the fields of the display interface command (in bridge mode) Field Description Input (total): Error statistics on the interface inbound and outbound packets, underscore indicates that the Input (normal):...
Interface is identified by slot number/interface number, for example, Ethernet ■ 1/0 can be represented as 1/0. For ease of user input, interface type can be abbreviated so long as it does not ■ cause any confusion, for example, interface Ethernet 1/0 can be abbreviated as e1/0.
Ethernet interfaces can work in bridge or route mode. For a device, some interfaces can work only in bridge mode, some can work only in route mode, and others can work in bridge mode or route mode. This command is only applicable to Ethernet interfaces whose working mode can be changed.
Only 4SIC-FSW interface cards, 9DSIC-FSW interface cards, and the fixed ■ switching interfaces of 20-21 routers support work mode switching. On an MSR series router, you can change the working mode to route mode for ■ up to two Ethernet interfaces.
Ethernet interface. undo shutdown In certain circumstances, modification to the interface parameters does not immediately take effect, and therefore, you need to shut down the relative interface to make the modification work. Example # Shut down the interface Ethernet 1/0.
Page 173
The Combo port does not support the speed command. ■ The speed 1000 command is only applicable to Gigabit Ethernet interface. ■ Related command: duplex. Example # Configure data rate for the interface Ethernet 1/0 to 100 Mbps. <Sysname> system-view [Sysname] interface ethernet 1/0 [Sysname-Ethernet1/0] speed 100...
Page 174
8: G HAPTER ENERAL THERNET NTERFACE ONFIGURATION OMMANDS...
By default, all broadcast traffic is allowed to go through an Ethernet interface, that is, broadcast traffic is not suppressed. If you execute this command in Ethernet interface view, the configuration takes effect only on the current interface.
Use the command to display information on the current ports of a display port specified type, including port name, default VLAN ID, and the VLAN ID of VLANs that the ports can pass through. Example # Display the current Hybrid port(s).
[ all | name port-group-name ] View Any view Parameters all: Specifies all the manual port groups. name port-group-name: Specifies the name of a manual port group, a string of 1 to 32 characters. Description Use the command to display the information display port-group manual about a manual port group or all the manual port groups.
View System view Parameter interval: Time interval at which interface statistics is collected, in the range of 5 to 300 seconds, a multiple of 5. The system default is 300 seconds. Description Use the command to configure the time interval for collecting flow-interval interface statistics.
When the loopback detection is enabled, if a port has been detected with ■ loopback, it will be shutdown. A Trap message will be sent to the terminal and the corresponding MAC address forwarding entries will be deleted. When the loopback detection is disabled, if a port has been detected with ■...
By default, loopback detection is disabled for an Access, Trunk, or Hybrid port. If an Access port has been detected with loopback, it will be shutdown. A Trap ■ message will be sent to the terminal and the corresponding MAC address If a Trunk port or Hybrid port has been detected with loopback, a Trunk message will be sent to the terminal.
Parameter time: Time interval in seconds for port loopback detection, in the range of 5 to 300. Description Use the command to configure time loopback-detection interval-time interval for port loopback detection. Use the command to restore the undo loopback-detection interval-time default time interval for port loopback detection, which is 30 seconds.
Parameter ratio: Maximal ratio of multicast traffic to the total transmission capability of an Ethernet interface, in the range of 1 to 100. Currently, this argument can only be set to 100. pps max-pps: Specifies the maximal number of multicast packets passing an Ethernet interface per second, in pps, representing packets per second.
By default, all multicast traffic is allowed to go through an Ethernet interface, that is, multicast traffic is not suppressed. If you execute this command in Ethernet interface view, the configuration takes effect only on the current interface.
Parameter ratio: Maximal ratio of unicast traffic to the total transmission capability of an Ethernet interface, in the range of 1 to 100. The smaller the ratio is, the less unicast traffic is allowed through the interface. pps max-pps: Specifies the maximal number of unknown unicast packets passing through an Ethernet interface per second.
Page 185
The optical interface of a Combo port does not support this command. ■ A link in the up state goes down and then up automatically if you execute this ■ command on one of the Ethernet interfaces forming the link.
Page 186
9: C HAPTER ONFIGURATION OMMANDS FOR THERNET NTERFACES IN RIDGE...
Limited to the QoS queue length (for example, the default length of an FIFO queue is 75), too small an MTU will result in too many fragments, which will be discarded from the QoS queue. In this case, you can increase MTU or QoS queue length properly.
Page 188
OMMANDS FOR THERNET NTERFACES IN OUTE Parameter seconds: Time interval in seconds for link suppression, in the range of 0 to 32,767. A value 0 represents the link test is disabled. Description Use the timer hold command to configure Layer 3 Ethernet interface link-layer-state change suppression time.
Flow mode, also known as interactive mode. In this mode, the two ends interact attempting 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 baud rate adopted by a DCE-DTE pair is determined by the DCE. ■ Example # Set the baud rate of synchronous serial interface 1/0 at DCE side to 115,200 bps. <Sysname> system-view [Sysname] interface serial 1/0...
Page 191
TxClk = RxClk, RxClk = TxClk DTEclk4 TxClk = RxClk, RxClk = RxClk In the table, the clock ahead of the equal sign (=) is the DTE clock and the one behind is the DCE clock. Example # Set the synchronous serial interface working as DTE to use the clock selection option dteclk2.
(NRZI) on the synchronous serial interface. Use the command to restore the default, that is, NRZ. undo code Example # Set the digital signal coding format to NRZI on synchronous serial interface 1/0. <Sysname> system-view [Sysname] interface serial 1/0 [Sysname-Serial1/0] code nrzi country-code...
Use the undo crc command to restore the default. By default, 16-bit CRC is adopted. These two commands are not available to sub-serial interfaces and synchronous/asynchronous serial interfaces operating as asynchronous interfaces. Example # Configure to adopt 32-bit CRC. <Sysname> system-view...
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.
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 (high level of all ones) as line idle code.
By default, receive-clock signal inversion is disabled on DTE-side synchronous serial interfaces. Sometimes, you may 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, clock must not be inverted.
By default, the MTU of a serial interface is 1,500 bytes. Due to the length of Qos queue, a packet may be discarded if the MTU is relatively small and the packet is segmented into too many fragments. You can increase the Qos queue length to avoid this situation.
View Asynchronous serial interface view, AUX interface view Parameter size: Maximum receive unit (MRU) to be set, in the range 4 to 1,700 (in bytes). Description Use the command to set the MRU for an asynchronous serial interface phy-mru operating in flow mode.
Example # 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...
11: F HAPTER UNDAMENTAL ERIAL NTERFACE ONFIGURATION OMMANDS Example # Set the link state polling interval to 20 seconds for interface serial 1/0. <Sysname> system-view [Sysname] interface serial 1/0 [Sysname-Serial1/0] timer hold 20 virtualbaudrate Syntax virtualbaudrate virtualbaudrate undo virtualbaudrate View...
Specifies timeslots to be bundled. The list argument is timeslot numbers, in the range of 1 to 31. You may specify a single timeslot by specifying a number, a range of timeslots by specifying a range in the form of number1-number2, or several discrete timeslots by specifying number1, number2-number3.
In other words, this command cannot be used together with the pri-set command. Example # 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.
Use the command to restore the default, that is, HDB3. undo code Keep the line code format of the interface in consistency with that used by the remote device. Example # Set the line code format of interface E1 2/0 to AMI.
Use the command to restore the default, that is, 16-bit CRC. undo crc Example # 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...
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.
By default, the error packet detect timer is set to 30 seconds, the renew timer is set to 600 seconds, and the error packet ratio threshold is 20. The setting of renew timer must be at least four times that of the error packet detect timer.
These two commands apply to CT1/PRI interfaces and CE1/PRI interfaces only. ■ Example # Set the error packet detect timer to 100 seconds, the renew timer to 2400 seconds, and the error packet ratio threshold to 15. <Sysname> system-view [Sysname] error-diffusion restraint config 100 2400 15...
■ This command applies to CT1/PRI interfaces and CE1/PRI interfaces only. ■ Example # restart channel serial 2/0:0 that has been shut down due to error packets diffusion. <Sysname> system-view [Sysname] error-diffusion restraint restart-channel serial 2/0:0 frame-format (CE1/PRI interface view)
Sets the number of interframe filling tags, which ranges from 0 to 14. type { 7e | ff }: Sets the type of interframe filling tag to 0x7E by specifying the 7e argument or to 0xFF by specifying the ff keyword.
Specifies timeslots to be bundled. The list argument is timeslot numbers, in the range of 1 to 31. You may specify a single timeslot by specifying a number, a range of timeslots by specifying a range in the form of number1-number2, or several discrete timeslots by specifying number1, number2-number3.
(FSC), timeslot 16 as the D channel for signaling transmission, and other timeslots as B channels for data transmission. You can create only one PRI set on a CE1/PRI interface. This PRI set can include any timeslots except timeslot 0 and must include timeslot 16. Note that timeslot 16 cannot form a bundle that includes itself only.
In CE1/PRI mode, it is physically divided into 32 timeslots numbered 0 through 31, where timeslot 0 is used for FSC. This interface can work as either a CE1 interface or a PRI interface.
CT1/PRI interface supports only 2^15 and 2^20 at present. When running a BERT test, the local end sends out a pattern, which is to be looped over somewhere on the line and back to the local end. The local end then checks the received pattern for bit error rate, and by so doing helps you identify the condition of the line.
{ 56k | 64k }: Speed of the timeslot bundle (the channel set) in kbps. If 56k is selected, the timeslots is bundled into N × 56 kbps bundles. If 64k, the default, is selected, the timeslots is bundled into N ×...
Use the undo code command to restore the default, that is, B8ZS. Keep the line code format of the interface in consistency with the one used on the remote device. Example # Set the line code format of the interface T1 2/0 to AMI.
Use the command to restore the default, that is, 16-bit CRC. undo crc Example # 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...
Then, HDLC inverts every one bit into a zero and every zero bit into a one. This ensures at least one out of every eight bits is a one. When AMI encoding is adopted on a T1 interface, the use of data inversion can eliminate the presence of multiple consecutive zeros.
Page 220
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...
Page 221
Table 18 Description on the fields of the display controller t1 command Field Description 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...
View System view Parameter detect-timer: Setting of the error packet detect timer, in the range 30 to 600 (in seconds). renew-timer: Setting of the renew timer, in the range 120 to 2400 (in seconds). threshold: Error packet ratio threshold, in the range 5 to 100 (in percentage).
By default, the error packet detect timer is set to 30 seconds, the renew timer is set to 600 seconds, and the error packet ratio threshold is 20. The setting of renew timer must be at least four times that of the error packet detect timer.
This command applies to CT1/PRI interfaces and CE1/PRI interfaces only. ■ Example # Bring up channel Serial 2/0:0 (assuming that the channel is shut down by the error packet diffusion restraint function). <Sysname> system-view [Sysname] error-diffusion restraint restart-channel serial 2/0:0...
CT1/PRI interfaces support two framing formats, that is, 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.
The number argument ranges from 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 CT1/PRI interfaces, the default interframe filling tag is 0x7E.
Loopback is intended for checking the condition of interfaces or cables. Disable it otherwise. You can bundle timeslots on a CT1/PRI interface to form a serial interface and encapsulate it with PPP. After you enable loopback on this serial interface, it is normal that the state of the link layer protocol is reported down.
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. Example # Bundle timeslots 1, 2, and 8 through 12 into a PRI set on CT1/PRI interface T1 2/0. <Sysname> system-view...
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 can be compliant with ANSI T1.403 or AT&T TR 54016.
Page 230
CT1/PRI I HAPTER UNDAMENTAL NTERFACE ONFIGURATION OMMANDS The sending of remote loopback control code lasts five minutes without affecting the operation of other interfaces. Example # Send in-band LLB activation request code. <Sysname> system-view [Sysname] controller t1 2/0 [Sysname-T1 2/0] sendloopcode inband-llb-up...
E1-F interfaces. If the specified interface is a common serial interface rather than an E1-F interface, the system will display the prompt. Example # Display the information about an E1-F interface.
Use the command to restore the default. undo cable By default, the long keyword applies. Example # 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...
Use the undo fe1 code command to restore the default, that is, HDB3. Keep the line code format of the interface in consistency with that used by the remote device. Example # Set the line code format of interface Serial 2/0 to AMI.
Use the command to restore the default, that is, undo fe1 frame-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 while no-CRC4 does not. Example # Set the framing format of E1-F interface Serial 2/0 to CRC4.
Use the undo fe1 timeslot-list command to restore the default. By default, all the timeslots on the E1-F interface are bundled to form a 1984 kbps interface. 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.
ONFIGURATION OMMANDS 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 may create multiple channel sets; for each of them, the system automatically creates a synchronous serial interface.
The number argument ranges from 0 to 14. type { 7e | ff }: Sets the type of interframe filling tag to 0x7E by specifying the 7e keyword or to 0xFF by specifying the ff keyword. The default is 0x7E.
Page 238
NTERFACE ONFIGURATION OMMANDS When the E1-F interface is working in unframed mode, it is a 2048 kbps interface without timeslot division and is logically equivalent to a synchronous serial interface. When it works in framed mode, it is physically divided into 32 timeslots numbered 0 through 31, where timeslot 0 is used for synchronization.
T1-F interface. If the specified interface is a common serial interface rather than a T1-F interface, the system will display the prompt. Example # Display information about T1-F interface Serial 2/0.
Page 240
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...
Page 241
Sync Detected: 0 synchronization state, and the number of detected synchronizations Time: 0 minute(s), Time past: 0 minute(s) The duration of the BERT test and the time that has elapsed Bit Errors (since test started) Number of bit errors received since the start of the...
T1-F interface view Parameter pattern: Sets a bit error rate test (BERT) pattern, which could be 2^15 or 2^20. 2^15: Two to the fifteenth power, length of transmitted BERT pattern in bits. 2^20: Two to the twentieth power, length of transmitted BERT pattern in bits.
T1-F interface supports only 2^15 and 2^20 at present. When running a BERT test, the local end sends out a pattern, which is to be looped over somewhere on the line and back to the local end. The local end then checks the received pattern for bit error rate, and by so doing helps you identify the condition of the line.
ONFIGURATION OMMANDS You may use this command to adapt signal waveform to different transmission conditions such as the quality of the signal received by the receiver. If the signal quality is good, you can just use the default setting. Example # Set the cable length to 40.5 meters (133 feet) on T1-F interface Serial 2/0.
Then, HDLC inverts every one bit into a zero and every zero bit into a one. This ensures at least at least one out of every eight bits is a one. When AMI encoding is adopted on a T1-F interface, the use of data inversion can eliminate presence of multiple consecutive zeros.
FDL is an embedded 4 kbps overhead channel within the ESF format for transmitting performance statistics or loopback code. You can however change the setting depending on the setting at the far end. Example # Implement ANSI T1.403 FDL on T1-F interface Serial 2/0.
Use the command to restore the default, that is, 0x7E. undo ft1 idlecode The line idle code is sent in the timeslots that are not bundled into the logical channels on the interface. Example # Set the line idle code to 0x7E on T1-F interface Serial 2/0.
NTERFACE ONFIGURATION OMMANDS 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.
{ 56k | 64k }: Time slot bundling speed in kbps. If 56k applies, timeslots are bundled into an N × 56 kbps bundle. If 64k (the default) applies, timeslots are bundled into an N ×...
You may configure loopback on the far-end T1-F interface by sending 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.
Page 252
54016. 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 far-end CT1/PRI interface can automatically detect loopback request code from the network.
You can use the bert command to set the test mode and the test duration. During the process of a BERT test, you can check the state and the result of the test. For more information, refer to “display controller e1” on page 205.
HAPTER UNDAMENTAL NTERFACE ONFIGURATION OMMANDS Example # Perform BERT test in QRSS mode on CE3 2/0 interface, setting the duration to ten minutes. <Sysname> system-view [Sysname] interface E3 2/0 [Sysname-E3 2/0] bert pattern qrss time 10 clock (CE3 interface view)
16-bit CRC. Related command: e1 channel-set, e1 unframed, using (CT3 interface view). Example # 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...
Page 256
CE3 interfaces. In addition to the state information of the CE3 interface, the command displays information about each E1 line on the CE3 interface if the interface is working in CE3 mode. Example # Display information about interface E3 2/0.
You can use the bert command to set the test mode and the test duration. During the process of a BERT test, you can check the state and the result of the test. For more information, refer to “display controller e1” on page 205.
Specifies timeslots to be bundled. The list argument is timeslot numbers, in the range of 1 to 31. You may specify a single timeslot by specifying a number, a range of timeslots by specifying a range in the form of number1-number2, or several discrete timeslots by specifying number1, number2-number3.
When the CE3 interface is working in channelized mode, you can set separate clock for each E1 line on it. Example # 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...
By default, loopback is disabled on E1 lines. If an E1 line encapsulated with PPP is in loopback mode, it is normal that the state of the link layer protocol is reported down. Example # Set the first E1 line on interface E3 2/0 in internal loopback mode.
2048 kbps and is logically equivalent to a synchronous serial interface on which you can make other configurations. Related command: e1 channel-set. Example # 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 Syntax...
Page 262
FE3 mode. This keyword can be followed by 0 or 1 keyword, as described below:. 0: Specifies the Digital Link mode, where the subrate is a multiple of 358 kbps and ranges from 358 to 34010 kbps (that is, up to 95 rate levels are available).
By default, loopback is disabled on the CE3 interface. Loopback is intended for test use. Disable it otherwise. If a CE3 interface encapsulated with PPP is placed in a loopback, it is normal that the state of the link layer protocol is reported down.
CE3 I HAPTER UNDAMENTAL NTERFACE ONFIGURATION OMMANDS You need to set the national bit to 0 on an E3 interface only in some special circumstances. Related command: controller e3. Example # Set the national bit to 0 on interface E3 2/0.
If connected to a CT3 interface on another router, the local end can use whichever clock so long as it is different from the one adopted at the remote end.
17: F CT3 I HAPTER UNDAMENTAL NTERFACE ONFIGURATION OMMANDS Example # Use the internal clock as the clock source on CT3 interface T3 2/0. <Sysname> system-view [Sysname] interface t3 2/0 [Sysname-T3 2/0] clock master controller t3 Syntax controller t3 interface-number View...
Example # 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.
Page 270
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 Table 21 Description on the fields of the display controller t3 command Field Description T3 2/0 current state...
Page 271
Message data elements MDL data elements EIC: line, LIC: line, FIC: line, UNIT: line 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: line, PORT_NO: line, GEN_NO: line FI is found in MDL path messages, PORT_NO in MDL idle signal messages, and GEN_NO in MDL test signal messages.
Page 272
CT3 I HAPTER UNDAMENTAL NTERFACE ONFIGURATION OMMANDS Table 21 Description on the fields of the display controller t3 command Field Description Data in current interval: Statistics spanning the current 15-minute interval, coving the counts of these items: Line Code Violations...
# Sends DS3 LOS signal on CT3 interface T3 2/0. <Sysname> system-view [Sysname] interface t3 2/0 [Sysname-T3 2/0] feac generate ds3-los # On CT3 interface T3 2/0, send loopback code to the far end to place the far end in a line loopback. <Sysname> system-view [Sysname] interface t3 2/0...
Page 275
Parameters dsu-mode: Specifies the FT3 (Fractional T3) DSU mode for a CT3 interface operating in FT3 mode. This keyword can be followed by 0, 1, 2, 3, and 4, as described below. 0: Specifies the Digital Link mode, where the subrate is a multiple of 300746 bps and ranges from 300 to 44210 kbps (that is, up to 147 rate levels are available).
Page 277
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, and its data frame format is LAPD.
At the startup of the router, periodical 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 report for the interface is real time; you may view that with the display controller t3 command.
{ 56k | 64k }: Speed of the timeslot bundle (the channel set) in kbps. If 56k is selected, the timeslots is bundled into an N × 56 kbps bundle. If 64k, the default, is selected, the timeslots is bundled into an N ×...
193 bits of T1) or the FDL in ESF frames. Example # 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.
When a CT3 interface is working in channelized mode, its T1 lines may use separate clocks. Example # Use the internal clock as the clock source on the first T1 line on interface T3 2/0. <Sysname> system-view [Sysname] interface t3 2/0...
By default, loopback is disabled on T1 lines. Loopback is intended for test use. Disable it otherwise. 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.
These two commands only apply to channelized T1 lines with their T1 frame format being ESF. Example # Set the FDL to be ANSI T1.403 compliant for T1 line 1 on CT3 interface T3 2/0. <Sysname> system-view [Sysname] interface t3 2/0...
Example # 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...
This interface operates at 1544 kbps and is logically equivalent to a synchronous serial interface on which you can make other configurations. Related command: t1 channel-set. Example # Set the first T1 line on interface T3 2/0 to work in unframed mode.
You can configure T1 lines on CT3 interfaces operating in channelized mode only. When a CT3 interface operates in unchannelized mode, the system automatically creates a serial interface numbered serial number/0:0 for it. This interface operates at 44.736 Mbps and is logically equivalent to a synchronous serial...
Page 288
17: F CT3 I HAPTER UNDAMENTAL NTERFACE ONFIGURATION OMMANDS...
Use the loopback command to sets the B1, B2, or both channels on the ISDN BRI interface in external loopback. This can send data from a line back to the line. Use the undo loopback command to restore the default.
Page 290
18: ISDN BRI I HAPTER NTERFACE ONFIGURATION OMMANDS...
Use the command to delete the specified ATM class. undo atm class An ATM class is a group of predefined parameters that can be used for ATM interface or PVC. Related command: atm-class. Example # Create an ATM class named “main” and enter ATM class view.
This command applies only to ATM P2P sub-interfaces. Example # Enable the protocol state of ATM P2P sub-interface 4/0.1 to change depending on whether the physical interface is up and whether a PVC is configured on the sub-interface. <Sysname> system-view [Sysname] interface atm 4/0.1 p2p...
Use the command to restore the default. undo clock By default, ATM interface uses line clock signal (slave). This clock signal is usually provided by device which provides ATM interfaces. When two network devices are connected back-to-back through their ATM interfaces, you need to configure one interface to adopt the signal of the internal transmission clock.
Note that: If you provide the interface-number argument, this command displays the information about the ATM interface identified by the argument. If you do not provide the argument, this command displays the information about all the ATM interfaces. Example # Display the information about ATM 4/0 interface.
Parameter interface-type interface-number: Specifies an interface by its type and number. pvc-name: PVC name, a unique string of 1 to 16 characters on ATM interface, not case-sensitive. The name cannot be the same as a valid VPI/VCI value pair. For example, the name 1/20 is not allowed.
Parameter interface-type interface-number: Interface type and interface number. pvc-name: PVC name, a unique string of 1 to 16 characters on ATM interface, not case-sensitive. The name cannot be the same as a valid VPI/VCI value pair. For example, the name 1/20 is not allowed.
Parameter interface-type interface-number: Interface type and number. pvc-name: PVC name, a unique string of 1 to 16 characters on ATM interface, not case-sensitive. The name cannot be the same as a valid VPI/VCI value pair. For example, the name 1/20 is not allowed.
(one or more of IPoA, IPoEoA, PPPoA and PPPoEoA). When such cases occur, the system gives a prompt. Example # Specify the AAL5 encapsulation of PVC 1/32 on ATM 1/0 interface to aal5snap. <Sysname>system-view [Sysname] interface atm 1/0 [Sysname-Atm1/0] pvc 1/32...
For details regarding the value range, refer to Table 28. min: Minimum precedence of IP packets carried by the PVC, in the range 0 to 7. max: Maximum precedence of IP packets carried by the PVC, in the range 0 to 7.
A mapping with the default route property is set. If a packet cannot find a mapping with the same address of next hop at the interface, but one PVC has the default mapping, the packet can be sent over the PVC.
Page 303
FIFO queue is 75), MTU which is too small may cause numerous fragments and thus be dropped by the QoS queue. In this case, the length of the QoS queue can be increased appropriately. The default queue dispatching...
Note that the oam ais-rdi command is not applicable to the secondary PVCs of a PVC group. The primary PVC of a PVC group is the PVC based on which the PVC group is ■ created.
Parameter frequency: Time interval to send operations, administration, and maintenance (OAM) F5 Loopback cells, in seconds, and the range of the value is 1 to 600. up-count: Number of OAM F5 Loopback cells. A PVC goes up only when the number of the OAM F5 Loopback cells successively and correctly received reaches the number specified by this argument.
OAM cells over the specified PVC on the specified ATM interface so as to check the link state. If no response is received within the specified time, this means that the link is bad, or too busy that packets are lost.
Page 307
Parameter pvc-name: PVC name, a unique string of 1 to 16 characters on ATM interface, not case-sensitive. The name cannot be the same as a valid VPI/VCI pair value. For example, the name 1/20 is not allowed. vpi/vci: VPI/VCI pair. VPI is short for virtual path identifier; its value ranges from 0 to 255.
The encapsulation command and the oam-related commands are not applicable to secondary PVCs. The configurations corresponding to these commands on the primary PVC of a PVC group apply to all the secondary PVCs in the PVC group. Related command: ip-precedence, pvc.
Maximum number of PVCs allowed. The value range varies by the type of physical interface, as shown in the following table. Table 29 The maximum number of PVCs supported on different types of ATM interfaces Interface type Maximum number...
By default, the service type is UBR after creating a PVC. You can use this command to set the PVC service type and the rate parameter. The newly specified PVC service type will replace the existing service type. You are recommended to create the PVC with larger bandwidth first and then the one with smaller bandwidth.
# Create a PVC named “a” with the VPI/VCI value of 1/101. <Sysname> system-view [Sysname] interface atm 1/0 [Sysname-Atm1/0] service pvc aa 1/101 # Specify the service type of the PVC as ubr and the peak cell rate of ATM cell as 100,000 kbps. [Sysname-atm-pvc-Atm1/0-1/101-aa] service ubr 100000 service vbr-nrt...
[Sysname] interface atm 1/0 [Sysname-Atm1/0] pvc aa 1/101 # Specify the service type of the PVC as VBR-NRT and set the peak bit rate of ATM cell to 100,000 kbps, the sustainable bit rate to 50,000 kbps and the maximum burst size to 320 cells.
[Sysname] interface atm 1/0 [Sysname-Atm1/0] pvc aa 1/101 # Specify the service type of the PVC as VBR-RT and set the peak cell rate of ATM to 100,000 kbps, the sustainable cell rate to 50,000 kbps, and the maximum burst size to 320 cells.
By default, the transmission priority of UBR service, VBR-NRT service, and VBR-RT service are 0, 5, and 8. If you change the service type of a PVC, the transmission priority of the PVC changes to the default for the current service.
By default, dialer interfaces are not associated with any dialer bundle in RS-DCC. This command applies only to dialer interfaces. In addition, a dialer interface can be associated with only one dialer bundle.
Related command: dialer bundle. Example # Assign interface BRI 1/0 to Dialer bundle 1 and Dialer bundle 2, with a priority of 50 in both. <Sysname> system-view [Sysname] interface bri 1/0 [Sysname-Bri1/0] dialer bundle-member 1 priority 50...
Related command: ppp callback in PPP Commands in Access Volume. Example # Specify the device as the PPP callback server, and set the callback reference to user mode. <Sysname> system-view [Sysname] interface serial2/0 [Sysname-Serial2/0] ppp callback server [Sysname-Serial2/0] dialer callback-center user [Sysname-Serial2/0] dialer route ip 1.1.1.2 user Sysnameb 8810052...
By default, a dialer circular group does not include any physical interfaces. In C-DCC, you can assign a physical interface to a dialer interface by assigning it to the dialer circular group associated with the dialer interface. While a physical interface can belong to only one dialer interface, a dialer interface includes all physical interfaces assigned to its associated dialer circular group.
Use the command to disable C-DCC. undo dialer enable-circular By default, C-DCC is enabled on ISDN BRI and PRI interfaces but disabled on other interfaces. You need to enable C-DCC before you can use it. To use resource-shared DCC (RS-DCC) on a dialer interface, you need to configure...
View Dial interface (Physical interface) view Parameter number: Number of the ISDN B channel for leased line connection. It ranges from 0 to 1 for a BRI interface, and 0 to 30 (with 15 excluded for the control channel)
PRI interface, and 0 to 23 (with 23 excluded for the control channel) for a CT1/PRI interface. Description Use the command to configure an ISDN B channel for leased dialer isdn-leased line connection. Use the command to remove the configuration.
View Dial interface (physical) view Parameter priority: Priority of the physical interface in a dialer circular group, in the range 1 to 127. Description Use the command to assign a priority to the physical interface in dialer priority its dialer circular group in C-DCC approach.
Optional, mask length of the IP address of the dialed destination, in the range 0 to 32. If no mask length is specified, the default, 32, applies, where the next-hop-address argument is handled as a host address. If you want to set the next-hop-address argument to a network address, you must specify its mask length.
If the user keyword is used, PPP authentication must be configured. You may configure multiple dialer routes on a dial interface or for a destination address for the backup purpose. If the dialer-group command is not configured, DCC will not dial.
By default, MP flow control is not enabled. In DCC applications, you may configure load thresholds for links. If you set a link load threshold in the range 1 to 99, MP tunes allocated bandwidth according to actual traffic percentage as follows: When the percentage of traffic on a link to bandwidth exceeds the defined ■...
In the auto-dial approach, dial attempts to set up connection are not traffic triggered; once a connection is set up, it will not disconnect for idle-timeout. The use of auto-dial thus voids the dialer timer idle command.
By default the link holddown timer is five seconds A holddown timer starts upon disconnection of a link. The call attempt to bring up this link can be made only after the timer expires. This is to prevent a remote PBX from being overloaded.
A link idle-timeout timer starts upon setup of a link. If no interesting packets are present before the timer expires, DCC disconnects the link. If the timer is set to 0, the link will never be disconnected, regardless of whether there are interesting packets on the link or not.
View Dial interface (physical or dialer) view Parameter group-number: Number of a dialer access group, in the range 1 to 255. You may define it with the dialer-rule command. Description Use the command to assign the interface to a dialer access group.
Specifies an ACL by its ACL number. The acl-number argument ranges from 2000 to 3999. An ACL number in the range 2000 to 2999 identifies a basic ACL; an ACL number in the range 3000 to 3999 identifies an advanced ACL.
For DCC to send packets normally, you must configure a dial ACL and associate it with the concerned dial interface (physical or dialer) by using the dialer-group command.
Use the command to display the information about a display interface dialer dialer interface. If you do not provide this argument, this command displays the information about all the dialer interfaces. Examples # Display the information about all the dialer interfaces.
Therefore, authentication must be configured on these physical interfaces, so as to use the username of a dial-in party to locate the corresponding dialer interface for the call. In this mode, physical interfaces and dialer interfaces are dynamically bound.
If a return call is needed, the callback server disconnects and then originates a return call according to the information such as username or callback number. This is useful for saving cost in the case that the call rates in two directions are different. Example # Configure interface Serial 2/0 as the PPP callback server to accept callback requests.
Page 335
Windows NT Server requires PPP callback clients to send callback numbers. Related command: ppp callback. Example # Set the dial string for a Windows NT server to call back the router to 1234567. <Sysname> system-view [Sysname] interface dialer 1 [Sysname-Dialer1] ppp callback ntstring 1234567...
Syntax display dlsw circuits [ circuit-id ] [ verbose ] View Any view Parameter circuit-id: Specifies the ID of a DLSw virtual circuit, in the range of 0 to 0xFFFFFFFF. verbose: Displays the detailed information of the virtual circuits.
[ local | ip-address ] View Any view Parameter local: Displays the local information about capabilities exchange. ip-address: Specifies the IP address of the remote peer to display the capabilities exchange information about. Description Use the command to display the DLSw capabilities display dlsw information exchange information.
Syntax display dlsw remote [ ip-address ] View Any view Parameter ip-address: Specifies the IP address of the remote peer to display the information about. Description Use the display dlsw remote command to display the information of a remote peer or all remote peers.
■ Total peers number Total number of remote peers IP address Remote peer IP address (if preceded by a *, this remote peer can establish a connection; otherwise, this remote peer is inactive and only serves as a backup) frame-in...
Syntax display llc2 [ circuit circuit-id ] View Any view Parameter circuit-id: ID of an LLC2 virtual circuit, in the range of 0 to 4294967295. Description Use the command to display LLC2 statistics. display llc2 Example # Display the statistics of the LLC2 virtual circuit by the ID of 46465025.
View System view Parameter bridge-set: ID of the bridge set to be mapped to DLSw, in the range of 1 to 63. Description Use the command to map the specified bridge set to DLSw. dlsw bridge-set...
Description Use the dlsw ethernet-frame-filter command to configure the DLSw router to filter Ethernet frames from or to the local SNA device by applying the specified ACL for inbound or outbound traffic. Use the command to remove the ACL undo dlsw ethernet-frame-filter applied for the inbound or outbound traffic.
40 (frames). keepalive-interval: Interval between keepalive messages, in seconds. The effective range is 0 to 1,200, and the default is 30 seconds. A value of 0 indicates that no keepalive message will be sent. max-frame-size: Maximum frame size in bytes. Effective values include 516, 1,470, 1,500, 2,052, 4,472, 8,144, 11,407, 11,454, and 17,800, and the default is 1,500 bytes.
List of local reachable SAP addresses of the router, in the form of saps-list=saps-value&<1-120>, where saps-value must be an even number in the range of 0x10 to 0xFE and &<1-120> means that you can specify up to 120 SAP addresses or SAP address ranges with this argument.
By default, no remote reachability information is configured. This configuration allows the router to send frames to a remote peer without first polling it. When changes occur to the network of the remote peer, the configured reachability information needs to be updated.
Page 347
Interval in seconds between keepalive messages, in the range of 0 to 1,200. The default is 30 seconds. A value of 0 indicates no keepalive will be sent. minutes: Timeout time of the backup connection after the primary remote peer is disconnected, in units of minutes.
If the remote SNA device uses an SDLC link, specify a compound MAC address, ■ in which the first five bytes are from the virtual MAC address configured in the sdlc mac-map local command on the remote router, and the last byte is the SDLC address of the local router.
Each time the origin DLSw v2.0 router sends an explorer frame in a UDP multicast or unicast, an explorer timer starts. If no acknowledgment is received before the explorer timer times out, the router retransmits the explorer frame and resets the explorer timer, until it receives an acknowledgment or the maximum number of explorer frame retries is reached.
SDLC as link layer encapsulation protocol. By default, the default link layer protocol is PPP. For SNA, SDLC is a link layer protocol, working very similarly as HDLC. To ensure that DLSw works normally, you need to enable SDLC as the link layer...
HAPTER ASIC ONFIGURATION OMMANDS Note that you need to remove all IP related configurations on the interface before enabling SDLC, because SDLC cannot underlie the IP protocol. For example, you need to delete the IP address of the interface. Example # Configure Serial 2/0 to use SDLC as the link layer encapsulation protocol.
View Ethernet interface view Parameter length: The length of the LLC2 output queue, in the range of 20 to 200. Description Use the llc2 max-send-queue command to configure the length of the LLC2 output queue.
When the frame number reaches the configured value (referred to as “modulus value”), subsequent frames are numbered from 1 again. For example, if the modulus value is set to 8, frames are numbered ...4, 5, 6, 7, 0, 1, ...
Parameter length: The maximum number of consecutive information frames the router can send before receiving an acknowledgment from the peer, in the range of 1 to 127. Description Use the command to configure the maximum number of llc2 receive-window consecutive information frames the router can send before receiving an acknowledgment from the peer.
LLC2 local llc2 timer ack-delay acknowledgment delay time, namely the maximum length of time the device waits before sending an acknowledgment to the peer end upon receiving an LLC2 frame. Use the command to restore the default setting.
When a router sends a frame that requires an acknowledgment, the frame is sent with a poll bit set. This frame is known as a P frame. Once the router sends a P frame, it cannot send any other P frame until it receives an acknowledgment, namely a frame with a final bit set, or until the LLC2 P/F waiting time expires.
View Ethernet interface view Parameter mseconds: LLC2 REJ status time in milliseconds. The effective range is 1 to 60,000. Description Use the command to configure the LLC2 REJ status time, llc2 timer reject namely the amount of time the router waits for the expected frame after it receives an unexpected frame and sends a reject frame.
DLSw_TCP 4.4.4.2:The remote peer is learned dynamically ,it will be deleted DLSW_TCP 4.4.4.3:Rebulid tcp with the peer # Reset the TCP connection with a remote peer with the IP address of 4.4.4.2. <Sysname> reset dlsw tcp 4.4.4.2 DLSw_TCP 4.4.4.2:The remote peer is learned dynamically ,it will be deleted...
SDLC station connected with the serial interface. An SDLC address ranges from 0x01 to 0xFE. The SDLC address of a router is valid on only one physical interface. That is, the SDLC addresses configured on different...
By default, DLSw forwarding is not enabled on the serial interface. Before enabling DLSw forwarding on the serial interface, enable SDLC as the link layer protocol on the interface. With DLSw forwarding enabled on the SDLC interface, all local SNA devices connected to the interface will be able to communicate with the remote device through DLSw.
MAC address during the conversion of SDLC frames to LLC2 frames. Note that the sixth byte of the MAC address should be set to 0x00. The system will combine the first five bytes of this virtual MAC address with the SDLC address into a new MAC address, which will serve as the source MAC address in SDLC-to-LLC2 frame format conversion.
By default, the maximum SDLC PDU size is 265 bytes. The maximum PDU size of some PU2.0 devices is 265 bytes, while that of an IBM AS/400 is 521 bytes. Typically, this maximum PDU size should be configured be the same as on the peer SDLC device.
By default, the length of the SDLC output queue is 50. Example # Set the length of the SDLC output queue to 30 on Serial 2/0. <Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] sdlc max-send-queue 30...
When the frame number reaches the configured value (referred to as “modulus value”), subsequent frames are numbered from 1 again. For example, if the modulus value is set to 8, frames are numbered ...4, 5, 6, 7, 0, 1, ...
By default, the SAP address of the remote DLSw device used in SDLC-to-LLC2 frame format conversion is 0x04. When an SDLC frame is converted to an LLC2 frame, a SAP address is needed in addition to the MAC address. Generally speaking, the SAP address used by the SNA protocol is 0x04, 0x08 or 0x0C.
SDLC synchronous serial sdlc simultaneous interface to work in two-way simultaneous mode, so that the primary SDLC station can send data to and receive data from a secondary station at the same time. Use the undo sdlc simultaneous command to restore the default mode.
HAPTER ASIC ONFIGURATION OMMANDS Example # Set the role of the SDLC device connected with Serial 2/0 to primary, and the role of the local interface to secondary. <Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] sdlc status secondary sdlc timer ack...
View Synchronous serial interface view Parameter mseconds: SDLC polling interval in milliseconds. The effective range is 1 to 10,000. Description Use the sdlc timer poll command to configure the SDLC polling interval, namely the amount of time the primary station waits between polling two secondary stations.
PU2.1 devices, but it is required on PU2.0 devices to specify an XID. Example # Set the XID of the device whose SDLC address is 0x05 to 0x2000 on Serial 2/0. <Sysname> system-view [Sysname] interface serial 2/0...
By default, a DLCI interface does operate in the Annex G DCE mode. ANSI T1.617 Annex G defines the way to transmit X.25 packets using FR virtual circuits. Similar to normal X.25 interface, an Annex G interface transmits/receives X.25 PVC and X.25 SVC packets and can operate as an X.25 switching interface.
Use the command to display the information about the display fr dlci-switch configured FR switching to check if the frame relay switching of a user is correctly configured. The interface specified by interface-type interface-number can only be a main interface. If no interface is specified, this command displays the information about all the main interfaces.
Use the command to display statistics about frame relay display fr inarp-info inverse ARP (INARP) packets, including requests and replies, for the specified or all interfaces. You may use this command to diagnose whether INARP is operating normally. Related command: fr inarp.
You can specify a main interface or a subinterface by providing the interface-type { interface-number | interface-number.subnumber } argument combination. Example # Display information about all frame relay interfaces.
Table 43 Description on the fields of the display fr lmi-info command Field Description Frame relay LMI statistics for interface Terminal type and LMI protocol type for the frame Serial2/1 (DTE, Q933) relay interface T391DTE = 10 (hold timer 10) DTE-side T.391 setting...
Parameter interface interface-type { interface-number | interface-number.subnumber }: Specifies an interface by its type and number. It can be a main or subinterface. The interface-type argument is an interface type. The interface-number argument is a main interface number. The subnumber argument is a subinterface number, in the range 0 to 1023.
Parameter interface interface-type { interface-number | interface-number.subnumber }: Specifies an interface by its type and number. It can be a main or subinterface. The interface-type argument is an interface type. The interface-number argument is a main interface number. The subnumber argument is a subinterface number, in the range 0 to 1023.
Parameter interface interface-type { interface-number | interface-number.subnumber }: Specifies an interface by its type and number. It can be a main or subinterface. The interface-type argument is an interface type. The interface-number argument is a main interface number. The subnumber argument is a subinterface number, in the range 0 to 1023.
You may use this command to check frame relay traffic statistics and diagnose problems. Example # Display frame relay statistics about received and transmitted packets.
MFR interface or an MFR sub-interface, including configuration, state, and packet statistics. If you do not specify an MFR interface or an MFR sub-interface, this command displays the information about all the MFR interfaces. Example # Display the configuration and status information about interface MFR4.
Use the display mfr command to display configuration and statistics information of multilink frame relay bundle and bundle link. If no bundle or bundle link is specified, information about all bundles and bundle links is displayed. Example # Display configuration and state information about all frame relay bundles and frame relay bundle links.
Page 382
Operating state of the bundle interface. Bundle class Class A indicates if there is one bundle link is in up state, the bundle is flagged as up. Moreover, all bundle links should be tagged as down before the bundle is down.
Table 51 Description on the fields of the display mfr verbose command Field Description Hello(TX/RX) Number of the transmitted and received Hello messages. Hello messages are sent for maintaining link state. Hello_ack(TX/RX) Number of transmitted and received Hello acknowledgement messages.
Page 384
22: F HAPTER RAME ELAY ONFIGURATION OMMANDS If you do not specify the name argument, this command displays the information of all the X.25 templates. Related command: x25 template, x25-template. Example # Display the configuration of the X.25 template named “vofr”.
This command is only valid for data messages and IARP messages but not LMI messages. Only when the frame relay packets type of the interface is IETF, can frame relay compression take effect. When this command is configured, the system will automatically change the packet type of the interface into IETF if the frame relay packets type of an interface is not IETF.
View Interface view Parameter dlci-number: Virtual circuit number allocated for the frame relay interface, in the range 16 to 1007. The range 0 to 15 and 1008 to 1023 are reserved for special purposes. Description Use the command to configure the virtual circuit for frame relay interface fr dlci and enter the corresponding virtual circuit view on the frame relay.
IP networks. Related command: fr switching. Example # Configure a static route, allowing the packets on the link with DLCI of 100 on Serial 2/0 to be forwarded over the link with DLCI of 200 on interface Serial 2/1.
[Sysname-Serial2/0] fr dlci-switch 100 interface serial 2/1 dlci 200 # Configure a static route, allowing the packets on the link with DLCI of 200 on Serial 2/1 to be forwarded over the link with DLCI of 300 on tunnel interface 4.
NNI view or DCE mode. The system supports the three modes. While configuring the frame relay interface type as DCE or NNI, it is unnecessary to perform the fr switching command in the System view. Please note that this is different from the mainstream equipment in the communications field.
Nonstandard compatible compression format. rtp-connections number1: The number of RTP compression connections, in the range 3 to 1000. By default, the number of RTP compression connections is 16. tcp-connections number2: The number of TCP compression connections, in the range 3 to 256. By default, the number of TCP compression connections is 16.
N392 defines the error threshold of that number (N393). That is, if number of errors that occurred to the DCE reaches N392 in N393 events, DCE will consider the errors have reached the threshold and declare the physical channels and all DLCIs to be unavailable.
HAPTER RAME ELAY ONFIGURATION OMMANDS Example # Set frame relay interface Serial 2/0 to operate in DCE mode and set N392 to 5 and N393 to 6. <Sysname> system-view [Sysname] interface serial2/0 [Sysname-Serial2/0] link-protocol fr [Sysname-Serial2/0] fr interface-type dce [Sysname-Serial2/0] fr lmi n392dce 5...
View Interface view Parameter n393-value: The value of N392 parameter at the DTE side. It ranges from 1 to 10. Description Use the command to set the N393 parameter at the DCE side. fr lmi n393dce...
View Interface view Parameter t392-value: Value of T392 at the DCE side. The range of the value is 5 to 30, in seconds. Description Use the command to set T392 parameter at the DCE side.
Example # Set the frame relay interface Serial 2/0 to operate in DCE mode and set T392 to 10s. <Sysname> system-view [Sysname] interface serial2/0 [Sysname-Serial2/0] link-protocol fr [Sysname-Serial2/0] fr interface-type dce [Sysname-Serial2/0] fr lmi t392dce 10 fr lmi type Syntax...
DLCI (corresponds to an Frame Relay PVC) to a PPP link, so the PPPoFR link is established, and thus PPP packets can be sent/received on FR PVC. The configuration parameter of this PPP link is up to the parameters configured on the interface specified by interface virtual-template interface-number.
PVC. Before you can enter frame relay switching view, the PVC must have existed. Example # Create a PVC named pvc1 on the DCE serving as the switch, which is from the DLCI 100 of serial interface 2/0 to the DLCI 200 of serial interface 2/1. <Sysname> system-view...
MFR interface. For MFR interface, if there is one bundle link is in up state, the MFR physical state is up. Moreover, all bundle links should be tagged as down before the bundle is down.
By default, the link-layer protocol encapsulated on the interface is PPP. The frame relay encapsulation can be either ietf or nonstandard. IETF encapsulation conforms to RFC 1490, that is, it supports the IETF standard and is compatible with dedicated encapsulation format of mainstream routers.
FIFO (first in first out) only even if the other queue types have been encapsulated on the interface, they would be converted to FIFO type by force. Example # Configure Serial 2/0 as a bundle link and add it onto the Frame Relay bundle interface MFR4. <Sysname> system-view...
Each MFR bundle has a BID, which only has local significance. Therefore, the same BID can be used at both ends of the link. Note that: In spite of the default BID, you cannot configure a BID as a string in the form of ■ mfr + number.
The peer equipment identifies a frame relay bundle link via LID or associates the bundle link with a frame relay bundle by using LID. LID is locally valid; therefore, the LIDs at both ends of a link can be the same.
22: F HAPTER RAME ELAY ONFIGURATION OMMANDS Example # Set the bundle LID of the multilink frame relay bundle link Serial 2/0 to be bl1. <Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] mfr link-name bl1 mfr retry Syntax mfr retry number...
By default, an MFR interface does not respond to ADD_LINK requests received even if it is in protocol up state. This causes the peer port cannot be in protocol up state. Example...
By default, the interval for a frame relay bundle link to send hello message is 10 seconds. Only after the link-protocol fr mfr command is used to associate a frame relay bundle link interface with a frame relay bundle, can this command be configured.
Example # Set the size of the sliding window of the MFR bundle interface MFR4 to be 8. <Sysname> system-view [Sysname] interface mfr 4 [Sysname-MFR4] mfr window-size 8 shutdown Syntax shutdown undo shutdown View Frame relay switching view Parameter None...
Interface number. dlci dlci-number: DLCI assigned to an FR interface. The dlci-number argument is in the range 16 to 1007. Note that DLCI 0 through 15 and 1008 through 1023 are reserved for special use and are thus unavailable.
VC. Annex G implements X.25 over FR. You can configure X.25 parameters for an X.25 over FR DLCI using the x25 template command and apply the template in DLCI interface view. Example # Apply the X.25 template named “vofr” to DLCI 100.
Specifies an Ethernet port list, in the format of { interface-type interface-number [ to interface-type interface-number ] }&<1-10>, where &<1-10> indicates that you can specify up to 10 port ranges. A port range defined without the to interface-type interface-number portion comprises only one port.
GARP timer. This undo garp timer may fail if the default does not satisfy the dependencies shown in Table 53. By default, the hold timer, the join timer, and the leave timer are set to 10 centiseconds, 20 centiseconds, and 60 centiseconds.
When configuring GARP timers, note that their values are dependent on each other and must be a multiplier of five centiseconds. If the value range for a timer is not desired, you may change it by tuning the value of another timer as shown in...
ONFIGURATION OMMANDS Each time a device on the network receives a LeaveAll message, it resets its leaveall timer. Therefore, a GARP application entity may send LeaveAll messages at the interval set by its leaveall timer or the leaveall timer on another device on the network, whichever is smaller.
Specifies an Ethernet port list, in the format of { interface-type interface-number [ to interface-type interface-number ] }&<1-10>, where &<1-10> indicates that you can specify up to 10 port ranges. A port range defined without the to interface-type interface-number portion comprises only one port.
By default, GVRP is disabled. Configured in system view, the setting is globally effective; configured in Ethernet interface view, the setting is effective on the current port only; configured in port group view, the setting is effective on all ports in the port group.
The default GVRP registration type is normal. Configured in Ethernet interface view, the setting is effective on the current port only; configured in port group view, the setting is effective on all ports in the port group. GVRP provides the following three registration types on a port: Normal -- Enables the port to dynamically register/deregister VLANs, and to ■...
Page 418
24: GVRP C HAPTER ONFIGURATION OMMANDS...
Use the command to configure HDLC encapsulation on the link-protocol hdlc interface. As a data link layer protocol, HDLC can carry network layer protocols, such as IP and IPX. By default, PPP encapsulation is configured on an interface. Related command:...
Page 420
HAPTER ONFIGURATION OMMANDS You should set the same polling interval on both the local and remote devices. Setting it to zero disables link status check. Example # Set the link status polling interval to 100 seconds on interface Serial 2/0.
Parameter interface interface-type interface-number: Specifies an interface by its type and number. dlci dlci-number: Specifies an FR DLCI. The dlci-number argument is in the range of 16 to 1007. xot ip-address: Specifies the IP address of the peer XOT host.
OMMANDS [Sysname-Serial2/1] quit [Sysname] x25 hunt-group hg1 round-robin [Sysname-hg-hg1] channel interface serial 2/1 dlci 100 # Add the XOT channel with a destination of 10.1.1.2 to hunt group hg1. <Sysname> system-view [Sysname] x25 hunt-group hg1 round-robin [Sysname-hg-hg1] channel xot 10.1.1.2...
Page 423
DCD=UP DTR=UP DSR=UP RTS=UP CTS=UP Table 55 Description on the fields of the display interface command Field Description Link-protocol is X.25 DCE Ietf Current encapsulation protocol of this interface is X.25 protocol that works in DCE mode, and the data packet encapsulation format is IETF.
26: LAPB X.25 C HAPTER ONFIGURATION OMMANDS Table 55 Description on the fields of the display interface command Field Description window-size 7 Window size of this interface LAPB is 7. max-frame 12056 The maximum length of frame sent by the interface LAPB is 12056 bits.
2 <-> network-cug 5 , preferentiallocal-cug <-> network-cug 5 , preferential Table 56 Description on the fields of the display x25 cug command Field Description X.25 Serial2/0, 2 CUGs subscribed Name of the interface, where two CUG mappings are...
X.25 hunt group. You can use this command to learn the hunt group of the Router and the information about the interfaces and XOT channel inside the hunt group. Related command: x25 hunt-group.
0 to 255. Description Use the display x25 pad command to display X.25 PAD connection information. If no pad ID is specified, all PAD connection information will be displayed. Example # Display all X.25 PAD connection information. <Sysname> display x25 pad UI-INDEX130: From remote 22 connected to local 11, State: Normal X.3Parameters(In):...
# Display X.25 PVC switching table. <Sysname> display x25 switch-table pvc (In: Serial1/1-vc1024)<- ->(Out: Serial1/0-vc1) (In: Serial1/0-vc1024)<- ->(Out: Serial1/1-vc1) Table 60 Description on the fields of the display x25 switch-table pvc command Field Description (In: Serial1/1-vc1024)<- ->(Out: Serial1/0-vc1) Data is exchanged between PVC 1024 of Serial 1/1 and PVC 1 of Serial 1/0.
Syntax display x25 vc [ lci ] View Any view Parameter lci: Logical channel identifier in the range 1 to 4095. If not specified, all VCs will be displayed. Description Use the display x25 vc command to display X.25 virtual circuit information.
Page 430
A PVC is configured manually and exists regardless of the data transmission ■ requirement. When the device works in X.25 switching mode, virtual circuits will be set up in ■ order to transfer data. Information about the three types of virtual circuits can be shown with this command, and only some fields of their outputs differ.
Page 431
Input/Output: DATA 9/11 INTERRUPT 0/0 RR 6/2 RNR 0/0 REJ 0/0 Bytes 53/363 Send Queue(Current/Max): 0/200 Table 62 Description on the fields of the display x25 vc command Field Description Interface: Serial2/0 Interface name SVC 1 SVC number State: P4(transmit) SVC state: P4 (transmission state) Map: ip 10.1.1.2 to 130...
X2T (X.25 to display x25 x2t switch-table TCP) switching table. The entry exists when the router sets up an XOT connection and is deleted after the connection is closed. Example # Display the X2T switching table on the router.
MTU 1500, so the default value of N1 is (1500+4)*8 = 12032. If the modulo is set to 128, then the default value of N1 is (1500+5)*8 = 12040. You can use the undo lapb max-frame command to restore the new default. For the same reason, N1 changes with the change of MTU.
The default is modulo 8. There are two LAPB frame numbering modes: modulo 8 and modulo 128. Each frame (I frame) is numbered in sequence, in the range 0 to the modulo minus 1. Sequence numbers will cycle within the range.
3000 milliseconds. t2 t2-value: Value of the timer T2, in the range 1 to 32000 milliseconds. The default is 1500 milliseconds. t3 t3-value: Value of the timer T3, in the range 0 to 255 seconds. The default is 0 seconds. Description Use the command to configure the LAPB timers T1, T2 and T3.
Maximum number of sequence numbered frames to be acknowledged by DTE or DCE during any specified time. If the modulo is 8, the value of the window parameter K ranges 1 to 7. If the modulo is 128, the value of the window parameter K ranges 1 to 127.
Example # Configure the link layer protocol and operating mode of Serial 2/0 as LAPB and DCE. <Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] link-protocol lapb dce link-protocol x25 Syntax link-protocol x25 [ dce |dte ] [ ietf | nonstandard ]...
For SVC, use the reset xot command to clear an XOT link. For PVC, use the reset xot command to reset an XOT link. When you clear or reset the XOT link, you can obtain the required ports using the display x25 xot or display tcp status command.
Specifies an interface by its type and number. vc-number: Virtual circuit number of PVC or SVC, in the range 1 to 4095. Description Use the command to reset X.25 protocol statistics or X.25 virtual circuit reset x25 on the specified interface.
When a host in the IP network sends packets to the specified IP address and port number of the device, the device will translate these IP packets to X.25 ones and then forward them to the specified X.121 address or PVC in the X.25 network.
(that is, the called DTE address) carried by this call packet, for example, regularly adding or deleting the prefix and suffix. In this case, you need to set an interface alias for the router to...
[Sysname-Serial2/0] x25 alias-policy left $20112451 With the above configurations, a call whose destination address is 20112451 can be accepted as long as it can reach the local X.25 interface Serial2/0, no matter whether the network is performing the prefix adding operation or suffix adding operation.
It needs two parameters: input window size and output window size. When the modulo is 8, the size is in the range 1 to 7; when the modulo is 128, it is in the range 1 to 127.
If the incoming-access parameter is chosen, the system suppresses incoming ■ calls. That is, it suppresses the incoming calls that has CUG facilities but has no CUG mapping rules allowing them to pass, and lets the incoming calls without CUG facilities pass through.
By default, no upper-layer protocol is specified. During X.25 SVC setup, the called device will check the call user data field of X.25 call request packet. If it is an unidentifiable one, the called device will deny the setup of the call connection.
Related command: x25 response called-address, x25 response calling-address, x25 ignore calling-address. Example # Specify the call request packet from the X.25 interface Serial 2/0 not to carry the called DTE address. <Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] x25 ignore called-address...
Related command: x25 response called-address, x25 response calling-address, x25 ignore called-address. Example # Specify the call request packet from the X.25 interface Serial 2/0 not to carry the calling DTE address. <Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] x25 ignore calling-address...
DTE with CUG number as 10 wants to call the DTE with CUG number as 20 in the network, the device will first find the map in the map table. If the map is found, change the CUG number of the calling packet to 20 and forward the packet;...
Page 449
When the modulo is 8, the size is in the range 1 to 7; when the modulo is 128, it is in the range 1 to 127. Description...
The default is modulo 8 mode. The slip window is the basis for X.25 traffic control, and the key about the slip window is that the sent packets are numbered cyclically in order and are to be acknowledged by the peer end.
DTE shall not exceed this size (otherwise it will trigger the reset of the VC). In this way, the DTE devices at sending end and receiving end are required to have datagram fragmentation and reassembly functions.
Specifies the input and output window sizes of the PVC. When input-window-size the modulo is 8, it is in the range 1 to 7; when the modulo is 128, output-window-size it is in the range 1 to 127. Description Use the command to configure a PVC route.
By default, no PVC is created. When creating such a PVC, if you do not set the relevant attributes for the PVC, its flow control parameters will be the same as that of the X.25 interface (the flow control parameters on an X.25 interface can be set by the x25 packet-size and x25 window-size commands).
Number of packets that can be received before acknowledgement, in the range 0 to input window size. If it is set to 0 or the input window size, this function will be disabled. If it is set to 1, X.25 of the device will send an acknowledgement for each correctly received packet.
Related command: x25 response calling-address, x25 ignore called-address, x25 ignore calling-address. Example # Specify that the call receiving packet of a call sent from the X.25 interface Serial 2/0 carries the called DTE address. <Sysname> system-view [Sysname] interface serial 2/0...
ONFIGURATION OMMANDS According to X.25, the call reception packet of a call may or may not carry an address code group, depending on the specific network requirements. This command enables users to easily specify whether the call reception packet carries the calling DTE address.
Related command: x25 call-facility, x25 map. Example # Define two ROA lists, and apply them to the interfaces Serial 2/0 and Serial 2/1 respectively. <Sysname> system-view [Sysname] x25 roa-list list1 11 23 45...
Page 458
Specifies the input and ■ output window sizes of the VC. When the modulo is 8, it is in the range 1 to 7; when the modulo is 128, it is in the range 1 to 127.
<Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] x25 switch pvc 1 interface serial 2/1 pvc 2 # Perform the packet switching from Annex G DLCI PVC1 on the Serial2/1 to PVC1 on the Serial2/0. <Sysname> system-view [Sysname] x25 template switch...
Page 460
Replaces the source X.121 address, an alphanumeric string of 1 to 15 characters. The system replaces the source DTE address in the call request packet with the source-address. interface interface-type interface-number: Interface type and interface number.
Serial2/0. <Sysname> system-view [Sysname-Serial2/0] x25 switch svc 20112451 interface serial 2/0 # Configure an SVC to forward the packet to the address 3 through the Annex G DLCI 100 of interface Serial 2/0. <Sysname> system-view [Sysname] interface serial 2/0...
■ With destination address replacement, you can hide X.121 address of DTE inside the hunt group so that the outside DTE knows only the X.121 address of the hunt group, therefore enhancing network security inside the hunt group. With source address replacement, you can hide X.121 address of DTE outside the hunt group so that the inside DTE knows only the source X.121 address...
By default, no X.25 switching route is configured. After configuring the XOT switching command of X.25 SVC, a user can cross IP network from the local X.25 network to implement the interconnection with the remote X.25 network. If a user configures the keepalive attribute, the link detection for XOT will be supported.
X.25 would not send calls to such a destination again within the specified time. If this parameter is set to 0, it is equal to disabling the function. In addition, this function is only effective to the calls originating from the local. That is to say, this parameter is meaningless when the X.25 operates in the switching mode.
SVC related to the address mapping and the priority is higher than the configuration of the interface. If the value is set to 0, this SVC will be reserved no matter how long it stays ■...
By default, the timer time on a DTE is 200 seconds, and that on a DCE is 180 seconds. According to X.25, a timer should be started when the DTE sends a call request (or the DCE sends a call indication).
By default, the timer on a DTE is 180 seconds, and that on a DCE is 60 seconds. According to X.25, a timer should be started when a DTE sends a reset request (or a DCE sends a reset indication).
If the parameter is greater than 1, and the sending window and the sending queue of VC are filled full, the system will create a new VC to the same destination. If the new VC cannot be created, packets will be discarded.
By default, the upper and lower limits of two-way channel are 1 and 1024, of incoming-only channel are both 0, and of outgoing-only channel are both 0. By default, X.25 bans the incoming-only and outgoing-only channel sections and reserves only the double direction channel section (in the range 1 to 1024).
Please consult your ISP about the input and output window sizes. Unless supported by the network, do not set these two parameters to different values. Example # Set the input and output window sizes on the X.25 interface Serial 2/0 to 5. <Sysname> system-view [Sysname] interface serial 2/0...
Page 471
Specifies the input and output window sizes of the VC. If the modulo of the PVC’s interface is 8, the values are in the range 1 to 7; if the modulo is 128, the values are in the range 1 to 127.
The server of X.25 PAD may send an Invite Clear message to the client, for example, after receiving a quit request from client or in order to release the link. At the same time, a timer is started. If no response is received upon expiration of the timer, the server clears the link.
] View Any view Parameter interface interface-type interface-number [ to interface-type interface-number ]: Specifies a port range or a port if the to keyword and the second port are not specified. Description Use the command to display detailed display link-aggregation interface information about link aggregation for the specified port or ports.
HAPTER GGREGATION ONFIGURATION OMMANDS Example # Display detailed information about link aggregation for port Ethernet 1/1 in a manual aggregation group. <Sysname> display link-aggregation interface ethernet 1/1 Flags: A -- LACP_Activity, B -- LACP_timeout, C -- Aggregation, D -- Synchronization, E -- Collecting, F -- Distributing,...
■ sending system is in the expired state, 1 for true and 0 for false. If a flag bit is set to 1, the corresponding English letter that otherwise is not output displays. Selected AggID ID of the link aggregation group of which this port is a...
You may find that information about the remote system for a manual link aggregation group is either replaced by none or not displayed at all. This is normal because this type of aggregation group has no knowledge of its partner.
Page 477
32768 {AG} Remote: Actor Partner Priority Oper-Key SystemID Flag ------------------------------------------------------------------------- GE2/1 32768 0x8000,0000-0000-0000 {EF} Table 75 Description on the fields of display link-aggregation verbose Field Description Loadsharing Type Load sharing type, either shar for loadsharing or NonS for non-load sharing...
1 for true, and 0 for false E indicates whether the sending system considers that collection ■ of incoming frames is enabled on the link, 1 for true and 0 for false F indicates whether the sending system considers that ■...
View System view Parameter agg-id: Link aggregation group ID, in the range 1 to 144. agg-name: Link aggregation group name, a string of 1 to 32 characters. Description Use the link-aggregation group description command to configure a name...
{ manual | static } undo link-aggregation group agg-id View System view Parameter agg-id: Link aggregation group ID, in the range 1 to 144. manual: Creates a manual link aggregation group. static: Creates a static LACP link aggregation group. Description Use the...
[ interface interface-type interface-number [ to interface-type interface-number ] ] View User view Parameter interface interface-type interface-number [ to interface-type interface-number ]: Specifies an interface range or an interface if the to keyword and the second interface are not specified.
Page 482
HAPTER GGREGATION ONFIGURATION OMMANDS Description Use the reset lacp statistics command to clear statistics about LACP on a specified port or ports. Related command: display link-aggregation interface. Example # Clear statistics about LACP on all ports. <Sysname> reset lacp statistics...
Default Level 1: Monitor level Parameters interface-type interface-number: Port type and port number. to: Specifies the ports with their port type and port number within the port range enclosed by the two interface-type-interface-number argument pairs around this keyword. Description Use the...
Page 484
The length of the Terminator field. ■ Examples # Enable debugging for LACP protocol packets on Ethernet 1/1 to view the information about LACP protocol packet sending/receiving of the port.
Page 485
// The device sent an LACP protocol packet through Ethernet 1/1. *0.60323 Sysname LAGG/8/Pkt: size=128, subtype =1, version=1 // The length of the LACP packet was 128 bytes, the protocol sub type was 1, and the version number was 1. Actor: tlv=1, len=20, sys-pri=0x8000, sys-mac=00e0-fc02-0300, key=0x...
Page 486
// The device received an LACP protocol packet through Ethernet 1/1. *0.1221133 Sysname LAGG/8/Pkt: size=128, subtype =1, version=1 // The length of the LACP packet was 128 bytes, the protocol sub type was 1, and the version number was 1. Actor: tlv=1, len=20, sys-pri=0x8000, sys-mac=00e0-fc00-0000, key=0x...
Port Ethernet1/2: FSM Rx transfers from state RESERVE to state INITIALIZE by the stimulation Begin_True // RX state machine was initiated and then transited to the INITIALIZE state. The event that triggered the transition was the startup of the state machine (Begin_True).
File e:v500d05sp1softwarelacplacp_agm.c, Line: 1200 ERROR------ Portindex: 1 LACP_SendLACPPacket ,g_ucLacpSysMAC NULL ! // File e:v500d05sp1softwarelacplacp_agm.c has a running error, which occurs at line 1200. The ERROR field indicated that the system MAC address obtained is null. debugging link-aggregation event Syntax debugging link-aggregation event...
Page 490
HAPTER GGREGATION EBUGGING OMMANDS Examples # Enable debugging for link aggregation events to view the information about the events concerning link aggregation groups. <Sysname> debugging link-aggregation event <Sysname> display link-aggregation summary Aggregation Group Type: S -- Static , M -- Manual...
Use the command to disable modem call-in or call-out. undo modem By default, both modem call-in and call-out are disabled on the interface. Example # Enable receiving incoming Modem calls on User-interface 1. <Sysname> system-view...
By default, the connected external modem is set to non-auto answer mode. Use this command depending on the answer state of the connected external modem. When the modem is in auto-answer mode (AA LED of the modem lights), configure the modem auto-answer command to prevent the router from sending an answer command after the modem answers automatically.
If you specify to display the executed commands, The AT commands executed are displayed as well. To accept AT commands from the modem, you must first put the modem in AT ■ command mode. So sending commands in transmitting mode is invalid.
Page 494
The n argument ranges from 0 to 3. M0 sets a speaker to be off. M1 sets a speaker to be on before carrier signal is detected, M1 is a default setting. M2 sets a speaker to be on when modem is disconnected.
N1 adopts the transmission speed specified by S37 register and ATB commands to negotiate. Forces a modem to be in the online mode. The n argument can be 0, 1 or 3. O0 sets a modem to be in online mode.
Page 496
By default, the callback function of modems is disabled. When a modem line is active, that is, when the modem detects the carrier or data is being received, you may enable callback. As the service modem-callback command uses modem scripts to implement callback before entering PPP, it enables callback before accounting is started.
View Any view Parameter groupid: Port mirroring group number. The value range is 1 to 5 for MSR 20 and BSR 30 series routers and 1 to 10 for MSR 50 series routers. local: Specifies local port mirroring groups. Description...
System view Parameter groupid: Port mirroring group number. The value range is 1 to 5 for MSR 20 and BSR 30 series routers and 1 to 10 for MSR 50 series routers. local: Creates a local port mirroring group/removes all local port mirroring groups.
System view Parameter groupid: Port mirroring group number. The value range is 1 to 5 for MSR 20 and BSR 30 series routers and 1 to 10 for MSR 50 series routers. monitor-port-id: Port index, in the form of interface-type interface-number.
View Interface view Parameter groupid: Port mirroring group number. The value range is 1 to 5 for MSR 20 and BSR 30 series routers and 1 to 10 for MSR 50 series routers. both: Mirrors both inbound and outbound packets.
[ mirroring-group groupid ] monitor-port View Interface view Parameter groupid: Port mirroring group number. The value range is 1 to 5 for MSR 20 and BSR 30 series routers and 1 to 10 for MSR 50 series routers. Description Use the...
Page 502
30: P HAPTER IRRORING ONFIGURATION OMMANDS...
Use the command to view the information about display interface mp-group an existing MP-group interface. If the mp-number argument is not specified, the information about all existing MP-group interfaces is displayed. Example # View the information about the interface MP-group 12.
Virtual template (VT) number, which can be the number of any existing Description Use the command to view the information display interface virtual-template about a VT. If you do not provide the number argument, this command will display the information about all the existing VTs. Related command: interface virtual-template. Example # View the information about VT 1.
Serial1/1:21 (inactive) Serial1/1:22 (inactive) Serial1/1:23 (inactive) Serial1/1:24 (inactive) Table 83 Description on the fields of the display ppp mp command Field Description Mp-group is Mp-group0 The MP-group interface is MP-group0. max-bind Maximum number of links in a MP bundle min-fragment...
Parameter va-number: VA interface number, in the range 0 to 128. dial dialer-number: Specifies a dialer interface number, which is in the range of 0 to 1023. peer peer-address: Specifies the IP address of the peer of the VA interface, expressed in dotted decimal notation.
VA interfaces. VA interfaces are created automatically by the system, and they adopt the settings of specific VTs. A VA interface can be removed due to failures of lower layer connections or user intervention. Example # Display the information about all the VA interfaces adopting the settings of VT 1.
Use the command to remove a VT. undo interface virtual-template To remove a VT, make sure that all the relevant VA interfaces are removed and the VT is not being used. Example # Create VT 10 interface. <Sysname> system-view...
Use the link-protocol ppp command to configure the link-layer protocol encapsulated on the interface as PPP. By default, all interfaces except the Ethernet interface are encapsulated with PPP. Example # Configure interface Serial 1/0 to encapsulate PPP. <Sysname> system-view [Sysname] interface serial 1/0...
In addition, you can also adopt the AAA authentication algorithm list (if defined) to perform authentication. CHAP or PAP is just an authentication process. It is AAA that decides whether the authentication is successful or not. AAA uses a local authentication database or a AAA server to perform authentication.
When the cipher keyword is used, this password can either be in ciphertext or in plain text. The plain text is a string of no more than 16 characters, like aabbcc. The ciphertext has a fixed length of 24 characters, like _(TT8F]Y5SQ=^Q‘MAF4<1!!.
By default, the device does not allocate DNS server addresses for its peer. When connected using PPP, a device can assign a DNS server address to its peer after negotiation (usually based on the request of the peer), allowing the peer to...
If a PC is connected to the device using PPP, you can use the winipcfg command or the ipconfig/all command to view its DNS server address assigned by the device. A sysname device can provide a primary DNS server address and a secondary DNS server address.
By default, a device does not request its peer for the DNS server address actively. You can configure a device to request its peer (especially in cases where a device is connected to the operator’s access server through a dialup link) for the DNS server address during PPP negotiation, after which domain names can be resolved on the device.
Example # Configure the interface serial 1/0 to allocate the IP address 10.0.0.1 to the peer. The peer may accept this assigned address, or use its self-configured address, or have no IP address. <Sysname> system-view [Sysname] interface serial 1/0 [Sysname-Serial1/0] remote address 10.0.0.1 # Configure the interface serial 1/0 to allocate the IP address 10.0.0.1 to the peer.
DCC would disconnect the dial-up line, causing LQC not to work. It is not until there are data to transmit, will DDC brings the dial-up line up again and LQC resumes to work.
MP undo ppp mp binding-mode binding mode. By default, MP binding is based on both the PPP authentication username and the endpoint descriptor. The username is the peer’s username received while performing PAP or CHAP authentication.
By default, the minimum number of PPP links in an MP bundle is 0, which means that MP dial-up relies on traffic detection. In dial-up application, you sometimes need multiple links to bear services simultaneously to guarantee the minimum bandwidth in transmitting a packet.
Specifies the minimum MP outgoing packet size to be fragmented, in bytes. The value ranges from 128 to 1500. If the MP outgoing packet is smaller than this value, it will not be fragmented. If the MP packet is larger than or equal to this value, it will be fragmented.
With the two commands, you can create an MP-group interface first and then add an interface to the MP-group. It does not matter if you reverse the two steps. Note that only physical interfaces can be added to an MP group. Logical interfaces such as Tunnel interfaces do not support this command.
Related command: ppp mp and ppp mp max-bind. Example # Specify the VT interface that corresponds to user 1 as 1, and configure the IP address of the VT as 202.38.60.1. <Sysname> system-view [Sysname] ppp mp user user1 bind virtual-template 1 [Sysname] interface virtual-template 1 [Sysname-Virtual-Template1] ip address 202.38.60.1 255.255.255.0...
When the cipher keyword is used, this password can be either in ciphertext or plain text. The plain text is a string of no more than 16 characters, like aabbcc. The ciphertext has a fixed length of 24 characters, like _(TT8F]Y5SQ=^Q‘MAF4<1!!.
CAUTION: This command allows the peer device to configure its IP address by itself even if it has received an IP address allocated by the local device. If you do not want this to happen, you must configure the ppp ipcp remote-address forced command to forbid the peer device to configure its own IP address.
Interface view Parameter seconds: Time interval for the interface to send keepalive packet in seconds. The value ranges from 0 to 32767 and defaults to 10. If the value is set to 0, keepalive packet will not be sent. Description Use the command to set the timer to send keepalive packet.
When IPHC RTP header compression is applied on an MP link, the compression ■ is performed on the VA (virtual access) interfaces. In this case, you can check the compression information on MP templates, such as VT or Dialer. When IPHC RTP header compression is applied on a normal PPP link, the ■...
When IPHC TCP header compression is applied on an MP link, the compression ■ is performed on the VA (virtual access) interfaces. In this case, you can check the compression information on MP templates, such as VT or Dialer. When IPHC TCP header compression is applied on a normal PPP link, the ■...
VJ TCP header. By default, the VJ TCP header compression is disabled on PPP interfaces. If a PPP interface is enabled to perform VJ TCP header compression, so should the interface at the opposite end. Example # Enable VJ TCP header compression on interface Serial 1/0.
HAPTER FFICIENCY ECHANISM ONFIGURATION OMMANDS If the configuration is applied on a MP bundle, you need to shut down and ■ then bring up all the member interfaces of the MP bundle for the configuration to take effect. Related command: ppp compression iphc rtp-connections, ppp compression iphc tcp-connections.
16. TCP is connection oriented; the number of TCP connections that a link can accommodate is relatively large. The use of compression however requires the router to maintain some information for each connection when compressing headers.
If the configuration is applied on a MP bundle, you need to shut down and ■ then bring up all the member interfaces of the MP bundle for the configuration to take effect.
View Virtual template interface view, MP-group interface view, dialer interface view Parameter time: Maximum time delay of LFI fragment in ms, in the range 1 to 1000. Description Use the command to set the maximum time delay ppp mp lfi delay-per-frag for transmitting a LFI fragment.
Page 532
32: PPP L HAPTER FFICIENCY ECHANISM ONFIGURATION OMMANDS...
SID Intf State OIntf RemMAC LocMAC Virtual-Template1:0 Ethernet1/0 0050.ba22.7369 00e0.fc08.f4de Table 84 Description on the fields of the display pppoe-server session all command Field Description PPPoE session identifier Intf The corresponding Virtual-Template interface State State PPPoE of sessions OIntf corresponding Ethernet interface...
33: PPP HAPTER ERVER ONFIGURATION OMMANDS Table 85 Description on the fields of the display pppoe-server session packet command Field Description In Packets, Packages received In Octets, Bytes received In Discards, Received and then discarded packages OutP Out Packets, Packages sent...
By default, the value of number is 100. Example # Set the maximum number of PPPoE sessions that can be established at a local MAC address to 50. <Sysname> system-view [Sysname] pppoe-server max-sessions local-mac 50...
By default, the value of number is 100. Example # Set the maximum number of PPPoE sessions that can be established by the system with regard to a peer MAC address to 50. <Sysname> system-view [Sysname] pppoe-server max-sessions remote-mac 50...
Page 537
Specifies a virtual template interface. Description Use the command to terminate a PPPoE session on the reset pppoe-server server side. Example # Terminate the session established on virtual template interface 1 on the server side. <Sysname> reset pppoe-server virtual-template 1...
Displays the summary of PPPoE session. dial-bundle-number number: Displays the statistics of the specified PPPoE session, in the range 1 to 255. If PPPoE session is not specified, the system will display the statistics of all PPPoE sessions. Description...
Ethernet interface. Each PPPoE session correspond to one dialer bundle. If a dialer bundle at a certain dialer interface has had one Ethernet interface been used by PPPoE, other interfaces cannot be added to this...
PPPoE call to establish PPPoE session unless it has data to transmit. If there is no data transmission on the PPPoE link within seconds, the device will automatically terminate PPPoE session. Only after it has new data to transmit, PPPoE session will be re-established.
Page 542
ONFIGURATION OMMANDS The difference between the reset pppoe-client command and the undo pppoe-client command lies in: the former only temporarily terminates a PPPoE session, while the latter permanently deletes a PPPoE session. Example # Clear all PPPoE sessions, and re-initiate PPPoE session later.
Page 544
Use the command to disable PPP debugging. undo debugging ppp By default, all PPP debugging is disabled. The following tables describe some significant output fields of PPP debugging commands. Table 88 Description on the fields of the debugging ppp event command...
Page 545
Table 88 Description on the fields of the debugging ppp event command Field Description Timeout(T0+,T0-) A timeout event occurred. T0+ indicates that the restart counter is greater than 0; thus, retransmission is required. T0- indicates that the restart counter is less than 0;...
Page 546
PPP Event: Serial2/0 LCP Lower Up Event state starting // A lower layer up event was reported for LCP. The LCP state machine was in the starting state. *0.784906 Sysname PPP/8/debug2: PPP State Change: Serial2/0 LCP : starting --> reqsent // LCP moved from the starting state to the reqsent state.
Page 547
(the TLV length is four bytes and the desired MRRU is 05dc); and the endpoint discriminator of MP (the TLV length is 9 bytes, and the value is 01fa4d432c8451.)
Use the bridge-set enable command to remove a bridge set. undo bridge Before you can enable the bridge set feature, you need to enable bridging first. ■ Other related configurations can take effect only if the bridging and bridge set ■...
By default, bridging of all network layer protocols is enabled. Note that non-routable packets will be discarded if bridging of IP or IPX is disabled in a bridge set. Example # Disable IP bridging on bridge set 1.
By default, bridging is disabled. Other related configurations can take effect only if the bridging and bridge set features are enabled. This command is required for bridge configuration. Example # Enable bridging.
By default, routing of network layer protocols is disabled. If the bridge set is configured to route the specified protocol, the packets of the protocol that need to be routed will be routed. Example # Enable IP routing in bridge set 1.
Use the undo bridge routing-enable command to disable bridge routing. By default, bridge routing is disabled. Routing of a particular protocol can be implemented only if bridge routing is enabled. Example # Enable bridge routing. <Sysname> system-view [Sysname] bridge routing-enable...
View Any view Parameters bridge-set: Bridge set number, an integer in the range of 1 to 255. dlsw: Displays the bridge table information about DLSw. interface-type interface-number : Specifies an interface by its name and number. mac-address: MAC address, in the format of H-H-H dynamic: Displays the information about dynamically learned addresses in the bridge table.
Syntax display bridge information [ bridge-set bridge-set ] View Any view Parameters bridge-set: Bridge set number, an integer in the range of 1 to 255. Description Use the display bridge information command to view the information about the specified bridge set or all bridge sets.
Bridging is possible only between active interfaces in the same bridge set. As shown above, bridge set 1 and bridge set 2 in the system are active. The information of each bridge set includes two parts: configure and interface.
0 by import filter, 0 by outport filter, 0 by ip filter , 0 other Table 92 Description on the fields of the display bridge traffic command Field Description Input Indicates what kinds of and how many frames were received on this interface.
Syntax fr map bridge dlci broadcast undo fr map bridge dlci View Interface view Parameters dlci: Local virtual circuit number, in the range of 16 to 1007...
By default, no FR-to-bridging mappings exist. Related command: display fr map-info on page 376. Example # Create an FR-to-bridging mapping on the virtual circuit by the DLCI of 50 on Serial2/0. <Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] link-protocol fr...
By default, if a bridge set contains Ethernet interfaces, its bridge-template interface will use the MAC address of a random Ethernet interface. If the bridge set contains no Ethernet interfaces, its bridge-template interface will use the system default MAC address.
By default, bridging over a PVC is disabled. If you configure both the map bridge virtual-ethernet and map bridge-group commands, only the map bridge virtual-ethernet takes effect. Example # Enable bridging over PVC 32/102. <Sysname> system-view [Sysname] interface atm 1/0...
View ISDN BRI interface view Parameter 128k: 128 kbps ISDN leased line connection. number: 64 kbps ISDN leased line connection. It can be 0 for the first B channel or 1 for the second B channel. Description Use the command to configure 128 kbps leased line dialer isdn-leased 128k connection.
ISDN interfaces. If no interface has been specified, the system will display the active call information on all the ISDN interfaces. The displayed information can help you with ISDN call troubleshooting.
Page 565
If no interface has been specified, the system will display the current states of all the ISDN interfaces. Executing this command will output the state of each layer of the ISDN protocol on one or all interfaces, including the information of Q.921, Q.931 and CC modules.
Table 95 Description on the fields of the display isdn call-info command Field Description CCIndex Index of the call at the CC layer State Current state of the layer 3 link of the BRI interface. It can be one of the following: NULL CALL_INITIATED OVERLAP_SENDING OUTGOING_CALL_PROCEEDING...
2 and 3 of the ISDN protocol, such as the durations of system timers and frame size. If only ISDN protocol is specified, the system will display the default system parameters of ISDN.
NI protocol. You may execute this command to view the SPID type, SPID value and some other information when ISDN is running. Executing this command without specifying an interface, you may view information on SPI on all the SPID-supported BRI interfaces.
By default, the local ISDN B channel management is not enabled but is in the charge of ISDN switch. It is very important to put appropriate control on the B channels used for calls in process, especially in the PRI mode. Proper channel management can improve call efficiency and reduce call loss.
HAPTER ONFIGURATION OMMANDS the router selected for a call is different from the one indicated by the exchange, the one indicated by the exchange is used for communication. Configured with the isdn bch-local-manage exclusive command, the router operates in exclusive local B-channel management mode. In this mode, the B channel selected by the router must be adopted for communication.
Example # Configure the message from a calling party to a called party on interface BRI 1/0 to carry calling number. <Sysname> system-view [Sysname] interface bri 1/0...
With ISDN call checking enabled, the system checks to see whether or not the call control blocks of the CC module and the Q.931 module are synchronized by checking all the ISDN call records on the set time point every day. The ISDN calls whose call control blocks are not synchronized are released.
You are not allowed to configure this command on an ISDN interface if there is still a call on it. This command can take effect only if it is configured when there is no call on the interface. Alternatively you can manually disable the interface by executing the shutdown command, configure the command, and then enable the interface by executing the undo shutdown command.
You are not allowed to configure this command on an ISDN interface if there is ■ still a call on it. This command can take effect only if it is configured when there is no call on the interface. Alternatively, you can manually disable the interface by executing the shutdown command, configure the command, and then enable the interface by executing the undo shutdown command.
You are not allowed to configure this command on an ISDN interface if there is ■ still a call on it. This command can take effect only if it is configured when there is no call on the interface. Alternatively, you can manually disable the interface by executing the shutdown command, configure the command, and then enable the interface by executing the undo shutdown command.
You are not allowed to configure this command on an ISDN interface if there is still a call on it. This command can take effect only if it is configured when there is no call on the interface. Alternatively, you can manually disable the interface by...
ISDN interface view Parameter timer-name: Name of a L3 timer of the ISDN protocol. time-interval: Timer duration, which can take on one of the values listed in the following table. all: Restores the default durations of all the L3 timers.
Type and number scheme of ISDN numbers. The argument takes on a hex value in the range of 0 to 7F. When it is expressed in 8 bits, bits 1 through 4 represent the code scheme, bits 5 through 7 represent the code type, and bit 8 is...
Page 579
The following table lists the possible number types and code schemes. For more information, see the related protocol reference manual. Table 100 Types and code schemes of ISDN numbers Protocol Field (Bit) value Definition Type Code scheme Type Code scheme...
Page 580
37: ISDN C HAPTER ONFIGURATION OMMANDS Table 100 Types and code schemes of ISDN numbers Protocol Field (Bit) value Definition Type Code scheme Abbreviated number Reserved for extension Unknown ISDN/telephony numbering plan (Recommendation E.164) Data numbering plan (Recommendation X.121) Telex numbering plan (Recommendation F.69)
Page 581
The specified number property is for calling numbers. called: The specified number property is for called numbers. in: The specified number property is for calling numbers and called numbers in incoming ISDN calls. out: The specified number property is for calling numbers and called numbers in outgoing ISDN calls.
Example # On interface BRI 1/0, set both number type and code scheme of calling numbers in incoming ISDN calls to unknown. <Sysname> system-view [Sysname] interface bri 1/0...
You are not allowed to configure this command on an ISDN interface if there is still a call on it. This command can take effect only if it is configured when there is no call on the interface. Alternatively, you can manually disable the interface by executing the shutdown command, configure the command, and then enable the interface by executing the undo shutdown command.
View Interface view Parameter mode: ISDN protocol mode to be set, which can be network (for network side mode) and user (for user side mode). Description Use the command to set the protocol mode for an ISDN isdn protocol-mode interface.
You are not allowed to configure this command on an ISDN interface if there is still a call on it. This command can take effect only if it is configured when there is no call on the interface. Alternatively, you can manually disable the interface by executing the shutdown command, configure the command, and then enable the interface by executing the undo shutdown command.
After the function is enabled, PRI interfaces actively send RESTART messages. to clear calls of the remote end before maintaining B channels. By default, the PRI interface actively sends RESTART messages to the remote end before maintaining B channels. Example # Enable the PRI interface to send RESTART messages before maintaining B channels.
When the router is communicating with an NI-compliant exchange that does not support SPID negotiation, you can use this command to set the SPID processing mode on the router to NIT and the ISDN will ignore ISPID negotiation and initialization.
OMMANDS View ISDN BRI interface view Parameter seconds: Duration of the SPID timer, which is in the range of 1 to 255 seconds, and defaults to 30 seconds. Description Use the command to set the duration of the timer TSPID for an isdn spid timer NI-compliant BRI interface to seconds.
INFORMATION message retransmission attempts on the interface. On a BRI interface compliant with the ISDN protocol in North America, calls can be placed only after the SPID negotiation or initialization is finished. The timer TSPID is started when the terminal originates a negotiation or initialization request by sending the INFORMATION message.
# Set SPID to “012345” for the B1 channel on the interface BRI 1/0. <Sysname> system-view [Sysname] interface bri 1/0 [Sysname-Bri1/0] isdn spid1 012345 # Assign the SPID 012345 and the LDN 54321 to the B1 channel on the BRI 1/0 interface. <Sysname> system-view [Sysname] interface bri 1/0...
DMS100 for example) in North America, you must use this command to configure a unique SPID and LDN for each B channel to ensure a successful MP channel call. Otherwise, only one B channel can be brought up. Also note that both SPID and LDN are provided by your service provider and the configuration of LDN voids the configuration of the ISDN calling command.
ISDN interface. By default, no statistics is made on the information transmitted and received at interfaces. Use the command in the view of an interface to start isdn statistics start making statistics on the messages received and transmitted at the interface.
ISDN NI compliant switch (the DMS100 for example) in North America. In this case, you must ensure that the TEI value assigned to each B channel is unique to ensure a successful MP channel call. Otherwise, only one B channel can be brought up and calling for MP fails.
In this case, the interface remains in the active state if it is up and the physical link operates smoothly. The permanent-active command functions differently comparing with the ■...
ISDN interface view Parameters None Description Use the shutdown command to shut down an ISDN interface. Use the command to bring up an ISDN interface. undo shutdown By default, an ISDN interface is up. Examples # Shut down BRI 2/0.
Page 596
37: ISDN C HAPTER ONFIGURATION OMMANDS...
MST region active region-configuration configuration. When you carry out this command, MSTP will replace the currently running MST region-related parameters with the parameters you have just configured, and will perform spanning tree computing again. Related commands: instance, region-name, revision-level, vlan-mapping modulo, and check region-configuration.
MSTP revision level setting. A device will not be in a different region if it is different in any of these three settings. You can view all the MST region-related configuration information by using this command and determine the MST region the device is currently in, or check whether the MST region configuration is correct.
Page 599
MSTP is working normally. Note that: If you do not specify any MST instance ID or port list, this command will display ■ the MSTP information on all ports. The displayed information is sequenced by MST instance ID and by port name in each MST instance.
Description Use the command to view the information about display stp abnormal-port abnormally blocked ports. Any of the following reasons may cause a port to be abnormally blocked: Root guard action ■ Loop guard action ■ MSTP BPDU format compatibility protection action ■...
Table 104 Description on the fields of the display stp abnormal-port command Field Description MSTID MST instance ID Blocked Port Name of blocked port, which corresponds to the related MST instance Reason Reason that caused abnormal blocking of the port.
Examples # View the historic port role calculation information of the card on slot 1 in MSTP instance 2. <Sysname> display stp instance 2 history slot 1...
:hello Revision level Instance Vlans Mapped 21 to 4094 1 to 10 11 to 20 Table 107 Description on the fields of the display stp region-configuration command Field Description Format selector MSTP-defined format selector Region name MST region name Revision level...
TC BPDUs received and sent by all ports in the specified spanning tree instance, in port name order. Examples # View the statistics of TC BPDUs received and sent by all ports on the card on slot 1 in MSTP instance 0. <Sysname> display stp instance 0 tc slot 1...
= { vlan-id [ to vlan-id ] }&<1-10>, where, vlan-id is in the range of 1 to 4094, and &<1-10> means that you can specify up to 10 VLANs or VLAN ranges for this argument.
Clears the spanning tree statistics information on one or multiple ports. You can provide up to 10 port lists, by each of which you can specify an individual port in the form of interface-type interface-number, or a port...
Syntax revision-level level undo revision-level View MST region view Parameters level: MSTP revision level, in the range of 0 to 65535. The system default is 0. Description Use the command to configure the MSTP revision level of your region-level device.
■ configured in Ethernet interface view, the setting is effective on the current port only; configured in port group view, the setting is effective on all the ports in the port group. To control MSTP flexibly, you can disable the MSTP feature for certain ports so ■...
You can set these three timers indirectly by setting the network diameter. Based on the network diameter you configured, MSTP automatically sets an optimal hello time, forward delay, and max age for the device. With the network diameter set to 7 (the default), the three timer are also set to their defaults.
BPDUs or 802.1s-compliant BPDUs, and sends, when needed, compatible-format or 802.1s-compliant BPDUs. If the mode is set to legacy or dot1s, on a port, the port can only receive and ■ send BPDUs of the specified format. If the port is configured not to detect the...
Sets the path cost of the port(s) in a particular MST instance. The minimum value of instance-id is 0, representing the CIST, and the maximum value of instance-id is 15. cost: Path cost of the port, the effective range of which depends on the path cost calculation standard adopted. Description...
If you set instance-id to 0, you are setting the path cost of the port in the CIST. ■ The path cost setting of a port can affect the role selection of the port. Setting...
Before the BPDU guard function is enabled, if a port receives a configuration BPDU, the port is working actually as a non-edge port even if you have configured in as an edge port. Examples # Configure port Ethernet 1/1 as a non-edge port.
1 whenever it passes a device. When its hop count reaches 0, it will be discarded by the device that has received it. As a result, devices beyond the maximum hop count are unable to take part in spanning tree computing, and thereby the size of the MST region is limited.
{ stp | rstp | mstp } undo stp mode View System view Parameters stp: Configures the MSTP-compliant device to work in STP-compatible mode. rstp: Configures MSTP-compliant device to work in RSTP mode. mstp: Configures MSTP-compliant device to work in MSTP mode. Description Use the command to configure the MSTP work mode of the device.
The default standard used by the device is legacy. Note that if you change the standard that the device uses in calculating the default path cost, the port path cost value set through the stp cost command will be out of effect.
802.1T takes the number of ports in the aggregated link into account. The calculation formula is: Path Cost = 200,000,000/link speed (in 100 kbps), where link speed is the sum of the link speed values of the non-blocked ports in the aggregated link.
When connecting to a non-point-to-point link, a port is incapable of rapid state ■ transition. If the current port is the master port of aggregated ports or if it works in full ■ duplex mode, the link to which the current port connects is a point-to-point link.
The minimum value of instance-id is 0, representing the CIST, and the maximum value of instance-id is 15. priority: Port priority, in the range of 0 to 240 at the step of 16 (0, 16, 32..., for example).
38: MSTP C HAPTER ONFIGURATION OMMANDS If you set instance-id to 0, you are setting the priority of the port in the CIST. ■ The priority of a port can affect the role selection of the port in the specified MST instance.
[ instance instance-id ] root View System view Parameters instance instance-id: MST instance ID, in the range of 0 to 15. MST instance 0 represents the CIST. Description Use the command to specify the current device as the root stp root primary bridge of the specified MST instance.
If you do not provide instance instance-id, your configuration will take effect ■ in the CIST instance only. There is only one root bridge in effect in a spanning tree instance. If two or ■ more devices have been designated to be root bridges of the same spanning tree instance, MSTP will select the device with the lowest MAC address as the root bridge.
By default, the root guard function is disabled. Note that, configured in Ethernet interface view, the setting is effective on the current port only; configured in port group view, the setting is effective on all the ports in the port group.
View System view Parameters number: Maximum number of times the device deletes forwarding address entries within a certain period of time immediately after it receives TC-BPDUs, in the range of 1 to 255. Description Use the command to configure the maximum...
The forward delay timer set on the root bridge determines the time interval of state transition. If the current device is the root bridge, the state transition interval of the device depends on the set forward delay value; for a secondary root bridge, its state transition interval is determined by the forward delay timer set on the root bridge.
In the CIST, the device determines whether a configuration BPDU received on a port has expired based on the max age timer. If a port receives a configuration BPDU that has expired, that MST instance needs to re-computed.
In this case, you can avoid such unwanted spanning tree computing by lengthening the timeout time (by setting the timeout factor to 4 or more). We recommend that you set the timeout factor to 5, or 6, or 7 for a stable network.
Configured in Ethernet interface view, the setting is effective on the current ■ port only; configured in port group view, the setting is effective on all the ports in the port group. A larger maximum transmission rate value represents more MSTP packets that ■...
Page 629
(VLAN ID-1). If the modulo value is 15, for example, then VLAN 1 will be mapped to MSTI 1, VLAN 2 to MSTI 2, VLAN 16 to MSTI 1, VLAN 17 to MSTI 2, and so on.
Page 630
38: MSTP C HAPTER ONFIGURATION OMMANDS...
Use the undo description command to restore the default. By default, the descriptive string for a VLAN is the VLAN ID, for example, “VLAN 0001"; for a VLAN interface is name of the current VLAN interface, for example, “Vlan-interface1 Interface”...
Page 632
Last 300 seconds output: 0 bytes/sec 0 packets/sec 0 packets input, 0 bytes, 0 drops 0 packets output, 0 bytes, 0 drops Table 111 Description on the fields of the display interface vlan-interface command Field Description Vlan-interface2 current state The physical state of a VLAN interface...
Syntax display vlan [ vlan-id1 [ to vlan-id2 ] | all | dynamic | interface interface-type interface-number.subnumber | reserved | static] View Any view Parameter vlan-id1: Displays the information of a VLAN specified by VLAN ID in the range of 1 to 4,094.
VLAN broadcast suppression ratio (available only on the device supporting the broadcast-suppression command) IP Address IP address of the VLAN interface (not display if the VLAN interface has no IP address configured) Subnet Mask Subnet mask of the IP address (not display if the VLAN interface...
32 IP addresses can be configured on a VLAN interface, in which one is the primary IP address and all the rest are secondary IP addresses. The total number of IP addresses on a VLAN interface varies by device. Their relationship is illustrated as follows: A newly configured main IP address will replace the original one, if there is one.
VLAN interface. undo shutdown By default, the VLAN interface is down if all ports in the VLAN are down, as long as one port in the VLAN is up, the VLAN interface will be up You can use the undo shutdown command to bring up a VLAN interface after configurations of the related parameter and protocol.
Page 637
If a specified VLAN exists, the command places you into its view. Use the command to delete specified VLAN(s). undo vlan Note that: As the default VLAN, VLAN 1 cannot be created or removed. ■ You cannot create/remove reserved VLANs that are reserved for specific ■...
Page 638
39: VLAN C HAPTER ONFIGURATION OMMANDS...
Use the command to add one Access port or a group of Access ports to a port VLAN. Use the undo port command to remove one Access port or a group of Access ports from a VLAN. Note: This command is only applicable to Access ports.
Configured in Ethernet interface view, the setting is effective on the current port only; configured in port group view, the setting is effective on all ports in the port group. Make sure that the VLAN identified by the vlan-id argument exists before issuing the port access vlan command.
Related command: port link-type. Example # Add the Hybrid port Ethernet 1/0 to VLAN 2, VLAN 4, and the range of VLANs from VLAN 50 to VLAN 100. Tag all packets of these VLANs. <Sysname> system-view [Sysname] vlan all Please wait...
Configured in Ethernet interface view, the setting is effective on the current port only; configured in port group view, the setting is effective on all ports in the port group. Refer to “Link Aggregation Configuration Commands” on page 473 for information about port groups.
Related command: port link-type. Example # Add the Trunk port Ethernet 1/0 to VLAN 2, VLAN 4, and the range of VLANs from VLAN 50 to VLAN 100. <Sysname> system-view [Sysname] vlan all Please wait... Done.
Page 644
Refer to “Link Aggregation Configuration Commands” on page 473 for information about port groups. You must configure the same default VLAN ID for the Trunk port of both the local device and remote device. Otherwise, the packets cannot be transmitted correctly.
Related command: voice vlan, voice vlan enable. As the first 24 bits of a MAC address (in binary format), an OUI address is a globally unique identifier assigned to a vendor by IEEE. Example # Display the OUI address of a voice VLAN.
41: V VLAN C HAPTER OICE ONFIGURATION OMMANDS Table 113 Description on the fields of the display voice vlan oui command Field Description Description Description of the OUI addresses that are allowed to pass display voice vlan state Syntax display voice vlan state...
View System view Parameter vlan-id: ID of the VLAN to be enabled with the voice VLAN feature, in the range of 2 to 4,094. Description Use the command to enable the voice VLAN feature globally. voice vlan...
■ the voice VLAN feature. The Access port cannot be configured with this feature. Before enabling the voice VLAN feature on a port, ensure that its is enabled ■ globally first Only after the voice VLAN feature is enabled under both system view and ■...
Page 649
Example # Configure the OUI address as 1234-1234-1234, the mask as ffff-ff00-0000, and the descriptive string as phone A, that is, voice packets from Phone A with source MAC address being 1234-1234-1234 can pass through the voice VLAN. <Sysname> system-view...
The voice VLAN working mode of a port is independent of those of other ports. Note that: if a port is enabled with voice VLAN in manual mode, you need to add the port to the voice VLAN manually to validate the voice VLAN.
Page 651
By default, the security mode of voice VLAN is enabled. The voice vlan security enable and undo voice vlan security enable commands take effect only after the voice VLAN attribute is enabled globally. Example # Disable the security mode of the voice VLAN.
Page 652
41: V VLAN C HAPTER OICE ONFIGURATION OMMANDS...
<Sysname> display port-isolate group Port-isolate group information: Uplink port support: NO Group ID: 1 Ethernet1/1 Ethernet1/2 Table 116 Description on the output information of the display port-isolate group command Field Description Port-isolate group information Information of the isolation group Uplink port support...
Page 654
Configured in Ethernet interface view, the setting is effective on the current port only; configured in port group view, the setting is effective on all ports in the port group. Refer to “Link Aggregation Configuration Commands” on page 473 for information about port groups.
By default, no dynamic route backup group is created. Up to 255 monitored network segments can be added to a dynamic route backup group. The primary link is considered to be disconnected when there is no valid route to any of the monitored network segments in a dynamic route backup group.
Parameter number: Maximum number of links that can send multicast or broadcast packets in a VT. This argument ranges from 0 to 128 and defaults to 30. The value 0 indicates that multicast packets or broadcast packets cannot be sent.
Use the display interface loopback command to view the relevant information about the existing Loopback interfaces. If you do not provide a Loopback interface number, this command will display the relevant information about all the existing Loopback interfaces. Related command: interface loopback.
Page 659
Use the command to view the state information about display interface mfr the existing MFR interfaces. If you do not provide an MFR interface number, this command will display the state information about all the existing MFR interfaces. Related command: interface mfr.
44: L HAPTER OGICAL NTERFACE ONFIGURATION OMMANDS Table 118 Description on the fields of the display interface mfr command Field Description Output queue : (Urgent queue : Statistics on packets sent/received over the physical Size/Length/Discards) layer Output queue : (Protocol queue :...
The “Hold timer” field of the display interface mp-group command represents the hold time of the link state (up/down) of the current interface, and the “LCP initial” field indicates that the link control protocol (LCP) is initialized. Refer to Table 117 for the description on the other fields.
Description Use the display interface virtual-template command to view the state information about the existing VTs. If you do not provide a VT number, this command will display the state information about all the existing VTs. Related command: interface virtual-template.
0 packets input, 0 bytes, 0 drops 0 packets output, 0 bytes, 0 drops The “LCP initial” field of the display interface virtual-template command indicates that LCP is initialized. Refer to Table 117 for the description on the other fields. display mfr...
VA interfaces. When necessary, the system will automatically create VA interfaces, which will adopt the parameters defined in a specific VT. You need not create and configure VA interfaces manually. VA interfaces will be removed due to underlying layer disconnection or user intervention.
By default, no VLAN is associated to an Ethernet sub-interface. Note that the VLAN associated with the Ethernet sub-interface of the local device must be the same as the VLAN associated to the Ethernet sub-interface of the peer device. Otherwise, packets cannot be transmitted properly. A Layer 3 Ethernet interface can accommodate 1 to 4,096 sub-interfaces.
Parameter interface-number.subnumber: Interface number. The interface-number argument is the primary interface number, and the subnumber argument is the sub-interface number, ranging from 0 to 1023. Description Use the command to create an MFR interface or an MFR interface mfr sub-interface and enter the specified MFR interface view or MFR sub-interface view.
OMMANDS Description Use the interface null command to enter null interface view. Only one null interface (Null 0) exists. Null 0 is always up, and cannot be brought down or removed. Related command: display interface null. Example # Enter Null 0 interface view.
Page 669
Use the command to remove the specified undo interface virtual-template Before removing a VT, make sure that all the relevant VA interfaces are removed and this virtual interface is not being used. Example # Create VT 10. <Sysname> system-view [Sysname] interface virtual-template 10...
Page 670
44: L HAPTER OGICAL NTERFACE ONFIGURATION OMMANDS...
When connected to a SONET/SDH device, the CPOS interface must use the slave clock because the SONET/SDH network clock is more precise. When the interface is directly connected to another CPOS interface with fiber-optic, you only need to configure them with different clock modes.
45: CPOS I HAPTER NTERFACE ONFIGURATION OMMANDS Before you can configure a CPOS physical interface, you must enter its CPOS interface view. Example # Enter the interface view of CPOS 1/0. <Sysname> system-view [Sysname] controller cpos 1/0 [Sysname-Cpos1/0] Syntax crc { 16 | 32 | none }...
Page 673
CPOS display controller cpos interfaces, such as state of E1/T1 channels, and alarms, and errors occurred to the regeneration section, multiplex section, and higher-order path. The following table lists possible error types in the displayed information:...
View Any view Parameter cpos-number: CPOS interface number. e1-number: Number of an E1 channel on a CPOS interface, in the range 1 to 63. Description Use the command to display the physical layer display controller cpos e1 configuration information of the specified E1 channel on the specified CPOS interface.
View Any view Parameter cpos-number: CPOS interface number. t1-number: Number of a T1 channel on a CPOS interface, in the range 1 to 84. Description Use the command to display the physical layer display controller cpos t1...
Page 676
Different from the display controller cpos command, this command can display the error and alarm information of lower-order paths and T1 frames. Example # Display the status information of T1 channel 2 on interface CPOS 4/0. <Sysname> display controller cpos 4/0 t1 2 Cpos4/0 current state : UP...
1 to 31. While specifying timeslots, you can specify a single timeslot in the form of a number, or timeslots in a range in the form of number1-number2, or multiple timeslots in the form of number1, number2-number3.
CPOS interface view Parameter e1-number: Number of an E1 channel on the CPOS interface, in the range 1 to 63. master: Sets the clock mode of the E1 channel to master. slave: Sets the clock mode of the E1 channel to slave.
View CPOS interface view Parameter e1-number: Number of an E1 channel on the CPOS interface, in the range 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.
View CPOS interface view Parameter e1-number: Number of an E1 channel on the CPOS interface, in the range 1 to 63. Description Use the command to shut down an E1 channel. e1 shutdown Use the command to bring up an E1 channel.
256 serial interfaces are allowed on one CPOS physical interface. Example # Set E1 channel 3 on interface CPOS 1/0 to operate in unframed mode. <Sysname> system-view [Sysname] controller cpos 1/0 [Sysname-Cpos 1/0] e1 3 unframed...
View CPOS interface view Parameter local: Internal loopback, used for testing the physical interface itself. remote: External loopback, used for testing the cable connected to the interface. Description Use the command to configure the loopback mode on the CPOS loopback interface.
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 the multiplex mode command. When the CPOS interface is operating in SONET mode, AUG can be multiplexed only to AU-3 and the multiplex mode command is invalid in this case.
1 to 24. While specifying timeslots, you can specify a single timeslot in the form of a number, or timeslots in a range in the form of number1-number2, or multiple timeslots in the form of number1, number2-number3.
CPOS interface view Parameter t1-number: Number of a T1 channel on the CPOS interface, in the range 1 to 84. esf: Sets the T1 channel to use the extended super frame (ESF) format. sf: Sets the T1 channel to use the super frame (SF) format.
View CPOS interface view Parameter t1-number: Number of a T1 channel on the CPOS interface, in the range 1 to 84. local: Enables internal loopback. payload: Enables external payload loopback. remote: Enables external loopback. Description...
View CPOS interface view Parameter t1-number: Number of a T1 channel on the CPOS interface, in the range 1 to 84. Description Use the t1 unframed command to set a T1 channel on the CPOS interface to operate in unframed mode.
Page 688
45: CPOS I HAPTER NTERFACE ONFIGURATION OMMANDS...
MAC addresses. After the ARP entry check is disabled, the device can learn the ARP entry with a multicast MAC address, and you can also configure such a static ARP entry on the device.
IP address in an ARP entry. mac-address: MAC address in an ARP entry, in the format H-H-H. vlan-id: ID of a VLAN to which a static ARP entry belongs to, in the range 1 to 4094. interface-type interface-number: Interface type and interface number.
Syntax display arp { { all | dynamic | static } | vlan vlan-id | interface interface-type interface-number } [ [ verbose ] [ | { begin | exclude | include } string ] | count ] View Any view Parameter all: Displays all ARP entries.
Page 692
Displays detailed information about ARP entries. |: Uses a regular expression to specify the ARP entries to be displayed. begin: Displays ARP entries from the first one containing the specified string. exclude: Displays the ARP entries that do not contain the specified string.
Syntax display arp ip-address [ verbose ] [ | { begin | exclude | include } string ] View Any view Parameter ip-address: Displays the ARP entry for the specified IP address. verbose: Displays the detailed information about ARP entries.
Use the command to restore the default. undo naturemask-arp enable By default, the support for ARP requests from a natural network is disabled. Example # Enable the support for ARP requests from a natural network. <Sysname> system-view [Sysname] naturemask-arp enable...
Use the command to restore the undo gratuitous-arp-sending enable default. By default, a device cannot send gratuitous ARP packets when receiving ARP requests from another network segment. Example # Disable a device from sending gratuitous ARP packets <Sysname> system-view...
Page 698
47: G ARP C HAPTER RATUITOUS ONFIGURATION OMMANDS By default, the function is disabled. Example # Enable the gratuitous ARP packet learning function. <Sysname> system-view [Sysname] gratuitous-arp-learning enable...
View System view Parameter limit-value: Specifies the maximum number of packets with the same source IP address but unresolvable destination IP addresses that a port can receive in five seconds. It ranges from 2 to 1,024.
Related command: display arp source-suppression. Example # Set to 100 the maximum number of packets with the same source address but unresolvable destination IP addresses that a port can receive in five seconds. <Sysname> system-view [Sysname] arp source-suppression limit 100...
Use the command to disable authorized ARP on undo arp authorized enable the interface, which at the same time is enabled to learn dynamic ARP entries. By default, authorized ARP is not enabled on the interface. Example # Enable authorized ARP on Ethernet 1/0.
Page 702
ARP entries. Use the command to restore the default. undo arp authorized time-out By default, the aging time for authorized ARP entries is 1200 seconds. Example # Configure the aging time for authorized ARP entries. <Sysname> system-view [Sysname] interface ethernet 1/0...
ARP. Related command: local-proxy-arp enable. Example # Display the status of the local proxy ARP on VLAN-interface 2. <Sysname> display local-proxy-arp interface vlan-interface 2 Interface Vlan-interface2 Local Proxy ARP status: enabled...
Specifies the IP address of a BIMS server. port port-number: Specifies a port number for the BIMS server in the range 1 to 65534. sharekey key: Specifies a shared key for the BIMS server, which is a string of 1 to 16 characters. Description...
DHCP. dhcp enable Use the command to disable DHCP. undo dhcp enable By default, DHCP is disabled. You need to enable DHCP before performing DHCP server and relay agent configurations. Example # Enable DHCP. <Sysname> system-view [Sysname] dhcp enable...
Parameter subaddress: Supports subaddress allocation. That is, the DHCP server and clients are on the same network segment, and the server allocates IP addresses from the address pool containing the network segment of the first subaddress if several subaddresses exist.
Start IP address of the IP address range to be excluded from dynamic allocation. high-ip-address: End IP address of the IP address range to be excluded from dynamic allocation. The end IP address must have a higher sequence than the start one. Description...
View System view Parameter number: Number of ping packets, in the range of 0 to 10. If the ping timeout time is set to 0, the DHCP server will not perform any ping collision detection. Description Use the...
System view Parameter milliseconds: Response timeout value for ping packets in milliseconds, in the range of 0 to 10,000. If the ping timeout time is set to 0, the DHCP server will not perform any ping collision detection. Description Use the...
Discover Time Time when the conflict was discovered display dhcp server expired Syntax display dhcp server expired { all | ip ip-address | pool [ pool-name ] } View Any view Parameter all: Displays the lease expiration information of all DHCP address pools.
[ pool-name ]: Displays the lease expiration information of a specified address pool. The pool name is a string of 1 to 35 characters. If the pool name is not specified, the lease expiration information of all address pools is displayed.
Displays the binding information of a specified IP address. pool [ pool-name ]: Displays the binding information of a specified address pool. The pool name is a string of 1 to 35 characters. If no pool name is specified, the binding information of all address pools is displayed.
51: DHCP S HAPTER ERVER ONFIGURATION OMMANDS Table 128 Description on fields of the display dhcp server ip-in-use command Field Description Type Binding types, including Manual, Auto:OFFERED and Auto:COMMITTED. Manual: Static binding ■ Auto:OFFERED: The binding sent in the DHCP-OFFER ■...
[ pool-name ]: Displays the tree organization information of a specified address pool. The pool name is a string of 1 to 35 characters. If no pool name is specified, the tree organization information of all address pools will be displayed.
The IP address and MAC address of the static binding 10.10.1.2 mask 255.0.0.0 static-bind mac-address 00e0-00fc-0001 Sibling node The sibling node of the current node, nodes of this kind in the output are: Child node: The child node (subnet segment) address pool ■ of the current node Parent node: The parent node (nature network segment) ■...
<Sysname> system-view [Sysname] dhcp server ip-pool 0 [Sysname-dhcp-pool-0] domain-name mydomain.com expired Syntax expired { day day [ hour hour [ minute minute ] ] | unlimited } undo expired View DHCP address pool view Parameter day day: Specifies the number of days, in the range of 0 to 365.
DHCP undo expired address pool. The lease duration defaults to one day. Note that if the lease duration you specified is beyond the year 2106, the system regards the lease as expired. Related command: dhcp server ip-pool.
The destination returns the name-to-IP mapping to the client after receiving the message. p-node: Peer-to-peer node. A p-node client sends the destination name in a unicast message to the WINS server, and the WINS server returns the mapping to the client.
Hybrid node, a combination of a p-node first and b-node second. An h-node is a p-node with the peer-to-peer communication mechanism. An h-node client unicasts the destination name to the WINS server, if there is no response, and then broadcasts it to get the mapping from the destination.
Specifies an ASCII string with 1 to 63 characters. hex hex-string&<1-16>: Specifies hex digit strings. &<1-16> indicates you can specify up to 16 hex digit strings, separated by spaces. Each string contains 2, 4, 6 or 8 hex digits.
[ pool-name ]: Clears the dynamic binding information of a specified address pool. The pool name is a string of 1 to 35 characters. If no pool name is specified, the dynamic binding information of all address pools is cleared.
■ static-bind ip-address command to accomplish a static binding configuration. The ID of the static binding of a client must be identical to the ID displayed by ■ using the display dhcp client verbose command on the client. Otherwise, the client cannot obtain an IP address.
IP address of a static binding, if no mask and mask length is specified, the natural mask is used. mask-length: Mask length of the IP address, that is, the number of digit 1 in the mask. mask mask: Specifies the IP address mask.
Relate command: dhcp server ip-pool, static-bind client-identifier and static-bind ip-address. Example # Bind the client MAC address 0000-e03f-0305 to the IP address 10.1.1.1 with the mask 255.255.255.0 in DHCP address pool 0. <Sysname> system-view [Sysname] dhcp server ip-pool 0 [Sysname-dhcp-pool-0] static-bind ip-address 10.1.1.1 mask 255.255.255.0...
By default, no TFTP server name is specified. Using the tftp-server domain-name command repeatedly will overwrite the previous configuration. Example # Specify the TFTP server name as aaa in DHCP address pool 0. <Sysname> system-view [Sysname] dhcp server ip-pool 0 [Sysname-dhcp-pool-0] tftp-server domain-name aaa...
Page 727
Specifies the failover IP address and dialer string. The dialer-string is a string of 1 to 39 characters, which can be 0 to 9, and “*”. ncp-ip ip-address: Specifies IP address for the primary network calling processor.
Page 728
51: DHCP S HAPTER ERVER ONFIGURATION OMMANDS...
DHCP R ELAY GENT ONFIGURATION OMMANDS The DHCP relay agent configuration is supported only on the Layer 3 Ethernet ■ interface (or subinterface), virtual Ethernet interface, VLAN interface, and serial interface. DHCP Snooping cannot be configured on the DHCP relay agent.
By default, the function is disabled. Note that this command can be executed only on Layer 3 Ethernet interfaces (including sub-interfaces) and VLAN interfaces. Example # Enable IP address match checking on the DHCP relay agent.
Specifies the verbose padding format. node-identifier { mac | sysname | user-defined node-identifier }: Specifies access node identifier. By default, the node MAC address is used as the node identifier. mac indicates using MAC address as the node identifier.
DHCP server for releasing a specified client IP address. Example # Send a release request to the DHCP server for releasing the IP address 1.1.1.1. <Sysname> system-view [Sysname] dhcp relay release ip 1.1.1.1 dhcp relay security static...
No manual IP-to-MAC binding is configured on the DHCP relay agent by default. Note that: When using the dhcp relay security static command to bind an interface to a static binding entry, make sure that the interface is configured as a DHCP relay agent;...
Use the undo dhcp relay security tracker command to restore the default interval. The default handshake interval is auto, the value of 60 seconds divided by the number of binding entries. Example # Set the handshake interval as 100 seconds.
DHCP server undo dhcp relay server-group from a DHCP server group, if no ip ip-address is specified, all servers in the DHCP server group and the server group itself will be removed. By default, no DHCP server is specified for a DHCP server group.
After DHCP is enabled, the DHCP server is enabled on an interface by default. That is, upon receiving a client’s request from the interface, the DHCP server allocates an IP address from the DHCP address pool to the client.
Displays information about static bindings. Description Use the command to display information about display dhcp relay security bindings of DHCP relay agents. If no parameter is specified, information about all bindings will be displayed. Example # Display information about all bindings.
View Any view Parameter group-id: Specifies a server group number in the range of 0 to 19 about which to display DHCP packet statistics. all: Specifies all server groups about which to display DHCP packet statistics. Information for each group will be displayed.
Page 740
DHCPNAK packets received: BOOTPREPLY packets: DHCP packets sent to servers: DHCP packets sent to clients: # Display DHCP packet statistics related to every server group on the relay agent. <Sysname> display dhcp relay statistics server-group all DHCP relay server-group Packet type Packet number Client ->...
[ server-group group-id ] View User view Parameter server-group group-id: Specifies a server group ID in the range of 0 to 19 about which to remove statistics from the relay agent. Description Use the reset dhcp relay statistics command to remove statistics from the relay agent.
Page 742
52: DHCP R HAPTER ELAY GENT ONFIGURATION OMMANDS...
The DHCP client configuration is supported only on the Layer 3 Ethernet ■ interface (or subinterface) and VLAN interface. When multiple VLAN interfaces having the same MAC address use DHCP for IP ■ address acquisition via a relay agent, the DHCP server cannot be the Windows 2000 Server or Windows 2003 Server.
View Interface view Parameter client-identifier mac interface-type interface-number: Specifies the MAC address of an interface using which as the client ID to obtain an IP address. Description Use the command to configure an interface to use DHCP ip address dhcp-alloc for IP address acquisition.
Page 745
The DHCP snooping enabled device does not work if it is between the DHCP ■ relay agent and DHCP server, and it can work when it is between the DHCP client and relay agent or between the DHCP client and server.
Page 746
53: DHCP C HAPTER LIENT ONFIGURATION OMMANDS...
Use the command to disable DHCP snooping. undo dhcp-snooping With DHCP snooping disabled, all ports can forward responses from any DHCP servers and does not record binding information about MAC addresses of DHCP clients and the obtained IP addresses. By default, DHCP snooping is disabled.
==== =============== =============== ========== ==== ================= 10.1.1.1 00e0-fc00-0006 Ethernet1/0 1 dhcp-snooping item(s) found Table 136 Description on fields of the display dhcp snooping command Field Description Type Binding type IP Address IP address assigned to the DHCP client MAC Address...
Page 749
# Display information about trusted ports. <Sysname> display dhcp-snooping trust DHCP Snooping is enabled. DHCP Snooping trust becomes active. Interface Trusted ========================= ============ Ethernet1/0 Trusted The above output shows that DHCP snooping is enabled, DHCP snooping trust is active, and port Ethernet 1/0 is trusted.
Page 750
54: DHCP S HAPTER NOOPING ONFIGURATION OMMANDS...
If several VLAN interfaces sharing the same MAC address obtain IP addresses ■ through a BOOTP relay agent, the BOOTP server cannot be a Windows 2000 Server or Windows 2003 Server. You are not recommended to enable both the DHCP client and the DHCP ■...
BOOTP server while the BOOTP client sends a BOOTP request to the BOOTP server. If the values of the XID field are different in the BOOTP response and request, the BOOTP client will drop the BOOTP response.
EBUGGING OMMANDS debugging dhcp server Syntax debugging dhcp server { all | error | event | packet } undo debugging dhcp server { all | error | event | packet } View User view Default Level 1: Monitor level Parameters all: All types of debugging for DHCP server.
Page 754
56: DHCP D HAPTER EBUGGING OMMANDS Table 138 Description on the fields of the debugging dhcp server packet command Field Description Broadcast flag: BroadcastFlag DHCP broadcast flag: 1 refers to broadcast, and 0 refers to unicast. Your IP address: YourIPAddress...
Page 755
Examples # Configure DHCP server on the device, and enable all types of debugging for DHCP server. The DHCP client applies for IP address from the DHCP sever via a DHCP relay agent. <Sysname> terminal debugging <Sysname> debugging dhcp server all *0.263828 Sysname DHCPS/7/DHCPS_DEBUG_COMMON:...
Page 756
56: DHCP D HAPTER EBUGGING OMMANDS // The DHCP server receives a response from a client at 22.0.0.1, which indicates the IP address is in use. *0.278406 Sysname DHCPS/7/DHCPS_DEBUG_COMMON: DHCPServer: Sending ICMP ECHOREQUEST to target IP: 22.0.0.2. // Checking whether the IP address 22.0.0.2 is in use *0.278406 Sysname DHCPS/7/DHCPS_DEBUG_COMMON:...
Syntax debugging dhcp relay { all | error | event | packet [ client mac mac-address ] } undo debugging dhcp relay { all | error | event | packet [ client mac mac-address ] } View User view...
Page 758
Examples # The DHCP client obtains IP address from the DHCP server via a DHCP relay agent. Enable all types of debugging for the DHCP relay agent. <Sysname> terminal debugging <Sysname>...
Page 759
CHardAddr: 00e0.fc14.1601, server-group: 0 // The DHCP relay agent received a DHCP-DISCOVER message from the DHCP client, and forwarded it to the DHCP server at 11.0.0.1 in DHCP server group 0. *0.230891 Sysname DHCPR/7/DHCPR_DEBUG_EVENT: Begin to deal with DHCP Offer packet.
DHCP message type: DHCP Ack *0.231063 Sysname DHCPR/7/DHCPR_DEBUG_RELAYPKT: Pkt Sent: send reply interface Vlan-interface22, dest IP: 255.255.255.255, CHardAddr: 00e0.fc14.1601, server-group: 0 // The DHCP relay agent received a DHCP-ACK message from the DHCP server, and then broadcast it. debugging dhcp client Syntax...
Page 761
Table 144 Description on the fields of the debugging dhcp client packet command Field Description Decode option 43: Original data in Option 43 of the received DHCP message type(DHCPmessagetype) DHCP message type, which can be: DHCP Offer ■ DHCP ACK ■...
Page 764
*0.111421 Sysname DHCPC/7/DHCP_Client: Vlan-interface2: Move to BOUND state in 1 seconds if no arp reply is received. // If no ARP reply is received, the state of the DHCP client will be changed to BOUND state after 1 second. *0.112375 Sysname DHCPC/7/DHCP_Client: Vlan-interface2: Receive no arp reply for 22.0.0.2, begin to use the address.
DNS C ONFIGURATION OMMANDS This document only covers IPv4 DNS configuration commands. For IPv6 DNS configuration commands, refer to “IPv6 Basics Configuration Commands” on page 829. display dns domain Syntax display dns domain [ dynamic ] View Any view Parameter dynamic: Displays the domain name suffixes dynamically obtained through DHCP or other protocols.
Time a mapping can be stored in the cache (seconds). The domain-name field in the display dns dynamic-host command contains 21 characters at most. If a resolved domain name consists of more than 21 characters, only the first 21 characters are displayed.
Use the command to display the host names and corresponding display ip host IP addresses in the static DNS database. Example # Display the host names and corresponding IP addresses in the static DNS database. <Sysname> display ip host Host Flags...
Domain name suffix, which is case-insensitive and consists of character strings separated by a dot (for example, aabbcc.com). Each separated string contains no more than 63 characters. The length of a domain name suffix with dots included is up to 238 characters. Character strings can contain letters, digits, hyphens (-), underscores (_), and dots (.).
IP address of the DNS server. Description Use the dns server command to configure an IP address for the DNS server. Use the to remove the IP address. undo dns server No IP address is configured for the DNS server by default.
System view Parameter Hostname: Host name, consisting of 1 to 20 characters, including case-insensitive letters, numbers, hyphens (-), or dots (.). The host name must include at least one letter. ip-address: IP address of the specified host in dotted decimal notation.
Page 771
Description Use the command to clear the information in the reset dns dynamic-host dynamic domain name cache. Related command: display dns dynamic-host. Example # Clear the information in the dynamic domain name cache. <Sysname> reset dns dynamic-host...
Displays information about the IP packets in the interior table. The interior table records rule-compliant packets. If no firewall is configured on the interface, packets refer to all incoming and outgoing IP packets. If a firewall is configured, only those valid packets can pass the firewall.
58: IP A HAPTER CCOUNTING ONFIGURATION OMMANDS Table 152 Description on the fields of the display ip count command Field Description Protocol Protocol carried in a packet Pkts Number of packets Bytes Number of bytes of packets display ip count rule...
IP packets are counted in the firewall-denied table. If the source or destination IP address of the IP packets passing the interface (in ■ this case, a firewall may be configured or not) matches a network address in the IP accounting rule, the packets are recorded in the interior table.
# Count the outgoing IP packets denied by the firewall on Ethernet1/0. <Sysname> system-view [Sysname] interface ethernet 1/0 [Sysname-Ethernet1/0] ip count firewall-denied outbound-packets # Specify not to count the outbound IP packets denied by the firewall on Ethernet1/0. <Sysname> system-view [Sysname] interface ethernet 1/0...
If no firewall is configured on the interface, valid packets refer to all incoming and outgoing IP packets. If a firewall is configured, valid packets refer to only those passing the firewall. Example # Count incoming IP packets on Ethernet1/0.
All IP accounting rules will be deleted if no parameter is specified. Each IP accounting rule consists of an IP address and its mask, namely, a network address, which is the result of ANDing the IP address with its mask. IP packets are sorted as follows:...
IP packets are counted in the firewall-denied table. If the source or destination IP address of the IP packets passing the interface (in ■ this case, a firewall may be configured or not) matches a network address in the rule, the packets are counted in the interior table.
Page 780
OMMANDS View User view Parameter all: Clears all statistics. firewall: Clears the statistics from the firewall-denied table. exterior: Clears the statistics from the exterior table. interior: Clears the statistics from the interior table. Description Use the command to clear the statistics of IP packets.
Syntax display ip interface [ interface-type interface-number ] View Any view Parameter interface-type interface-number: Specifies an interface by its type and number. Description Use the command to display information about a specified display ip interface or all Layer 3 interfaces.
Page 782
DDRESSING ONFIGURATION OMMANDS Unknown type: DHCP packet deal mode: global Table 154 Description on fields of the display ip interface command Field Description current state Current physical state of an interface Line protocol current state Current state of the network layer protocol...
Note that: If you have configured the time slots of a CE1/PRI or CT1/PRI interface as an ISDN PRI group using the pri-set command, then executing the display ip interface brief command only displays the time slot used by the control channel (D channel), instead of the ones used by the user channels (B channels).
The primary and secondary IP addresses can be located in the same network ■ segment. Before removing the primary IP address, remove all secondary IP addresses. ■ You can assign a secondary IP address only when the interface is not ■...
Page 786
59: IP A HAPTER DDRESSING ONFIGURATION OMMANDS...
ERFORMANCE ONFIGURATION OMMANDS display fib Syntax display fib [ | { begin | include | exclude } string | acl acl-number | ip-prefix ip-prefix-name ] View Any view Parameter | { begin | include | exclude } string: Displays FIB information in the buffer related to the specified string according to a regular expression.
Page 788
10.2.0.0/16 10.2.1.1 t[1150900568] Eth1/0 invalid 10.2.1.1/32 127.0.0.1 t[1150900568] InLoop0 invalid # Display all entries that contain the string “127” and start from the first one. <Sysname> display fib | begin 127 Flag: U:Useable G:Gateway H:Host B:Blackhole D:Dynamic S:Static R:Reject L:Generated by ARP or ESIS...
Displays FIB entries that match the specified address/mask and have masks longer than or equal to the mask that a user enters. If no masks are specified, FIB entries that match the natural network address and have the masks longer than or equal to the natural mask will be displayed.
Example # Display statistics about the FIB entries. <Sysname> display fib statistics Route Entry Count Table 157 Description on the fields of the display fib statistics command Field Description Route Entry Count Number of FIB entries display icmp statistics...
Displays the socket information of this type. The sock type is in the range 1 to 3, corresponding to TCP, UDP and raw IP respectively. task-id: Displays the socket information of this task. Task ID is in the range 1 to 100.
Fragment:input output dropped fragmented couldn’t fragment 0 Reassembling:sum timeouts Table 160 Description on the fields of the display ip statistics command Field Description Input: Total number of packets received local Total number of packets with destination being local bad protocol...
Page 794
0, window update packets: 0 checksum error: 0, offset error: 0, short error: 0 duplicate packets: 4 (88 bytes), partially duplicate packets: 5 (7 bytes) out-of-order packets: 0 (0 bytes) packets of data after window: 0 (0 bytes)
Page 795
Table 161 Description on the fields of the display tcp statistics command Field Description Received packets: Total Total number of packets received packets in sequence Number of packets arriving in sequence window probe packets Number of window probe packets received...
60: IP P HAPTER ERFORMANCE ONFIGURATION OMMANDS Table 161 Description on the fields of the display tcp statistics command Field Description Packets dropped with MD5 authentication Number of packets dropped with MD5 authentication Packets permitted with MD5 authentication Number of packets permitted with MD5...
Interface view Parameter acl acl-number: Number of an ACL from 2000 to 3999. From 2000 to 2999 are numbers for basic ACLs, and from 3000 to 3999 are numbers for advanced ACLs. Only directed broadcasts permitted by the ACL can be forwarded.
ICMP timeout packets. undo ip ttl-expires Sending ICMP timeout packets is enabled by default. If the feature is disabled, the device will not send TTL timeout ICMP packets, but still send “reassembly timeout” ICMP packets. Example # Disable sending ICMP timeout packets.
ICMP destination unreachable packets. Sending ICMP destination unreachable packets is enabled by default. If the feature is disabled, the device will not send network unreachable and source route failure ICMP packets, but still send other destination unreachable ICMP packets.
Naptha attack. By default, the protection against Naptha attack is disabled. Note that the configurations of the tcp state and tcp timer check-state command will be deleted after the protection against Naptha attack is disabled. The support for this command varies with devices.
By default, the maximum size of a TCP packet is 1460 bytes. As the default MTU on an interface is 1500 bytes, and there are link layer cost and IP packet head, so the recommended maximum size of TCP packets is about 1200 bytes.
You can respectively configure the maximum number of TCP connections in ■ each state. If the maximum number of TCP connections in a state is 0, the aging of TCP ■ connections in this state will not be accelerated. Related command: tcp anti-naptha enable.
View System view Parameter time-value: TCP connection state check interval in seconds, in the range of 1 to Description Use the tcp timer check-state command to configure the TCP connection state check interval.
By default, the length of the TCP finwait timer is 675 seconds. Note that the actual length of the finwait timer is determined by the following formula: Actual length of the finwait timer = (Configured length of the finwait timer - 75) + configured length of the synwait timer Related command: tcp timer syn-timeout and tcp window.
Syntax tcp window window-size undo tcp window View System view Parameter window-size: Receiving/sending buffer size of TCP connection in KB, ranging from 1 to 32. Description Use the command to configure the receiving/sending buffer size of tcp window TCP connection.
Page 806
60: IP P HAPTER ERFORMANCE ONFIGURATION OMMANDS...
Use the command to remove the undo apply default output-interface configuration. Using this command can set two outgoing interfaces at most for load-sharing. Related commands: apply ip-precedence, apply ip-address next-hop, apply output-interface, and apply ip-address default next-hop. Examples # Set the default outgoing interface for matched packets to Serial2/0.
Use the command to remove the undo apply ip-address next-hop configuration. You can specify up to two next hops in one command line for load-sharing. Related commands: apply ip-precedence, apply output-interface, apply default output-interface, and apply ip-address default next-hop.
Parameters type: Specifies the precedence type of IP packets. value: Specifies a precedence value. There are eight precedences (0 to 7) for an IP packet, each corresponding to a keyword. The precedences are listed in the following table:...
Use the command to remove the configuration. undo apply output-interface This command is used to specify interfaces (two interfaces at most) to send the matched IP packets. Note that: Two outgoing interfaces at most can be specified for matched IP packets.
Interface Ethernet1/0 policy based routing configuration information: policy-based-route pr01 permit node 1 if-match acl 3101 apply output-interface Ethernet1/0 Table 166 Description on fields of the display ip policy-based-route setup command Field Description Interface Ethernet1/0 policy based routing Configuration information of policy...
61: IP U HAPTER NICAST OLICY OUTING ONFIGURATION OMMANDS Table 166 Description on fields of the display ip policy-based-route setup command Field Description policy-based-route pr01 The referenced policy name is pr01. permit node 1 The match mode is permit and the policy consists of only node 1.
View policy-based-route view Parameters acl-number: ACL number, in the range of 2000 to 3999. The number of a basic ACL ranges from 2000 to 2999 and that of an advanced ACL ranges from 3000 to 3999. Description Use the command to define an ACL match rule.
Parameters min-len: Minimum IP packet length in bytes, in the range of 0 to 65535. max-len: Maximum IP packet length in bytes, in the range of 1 to 65535. max-len must be no less than min-len. Description Use the...
Interface policy routing is disabled by default. Note that: You can only reference one policy when enabling policy routing on an ■ interface. The referenced policy filters incoming packets on the interface. ■...
There is an AND relationship between the if-match clauses of a node. That is to say, a packet must satisfy all matching rules specified by all if match clauses for the node before the action specified by the apply clause is taken.
Page 817
If no policy name is specified, this command clears all the policy routing statistics. Examples # Clear all the policy routing statistics. <Sysname> reset policy-based-route statistics...
Page 818
61: IP U HAPTER NICAST OLICY OUTING ONFIGURATION OMMANDS...
Packets sent Ethernet1/0 192.1.1.2 The information above shows that the IP address of the destination server corresponding to the interface Ethernet 1/0 is 192.1.1.2, and that no packets are forwarded to the destination server. reset udp-helper packet Syntax reset udp-helper packet...
By default, the UDP Helper enabled device forwards broadcast packets with any of the six destination port numbers 69, 53, 37, 137, 138 and 49. The configured UDP port numbers (including the default UDP port numbers) will all be removed if UDP Helper is disabled.
Page 822
62: UDP H HAPTER ELPER ONFIGURATION OMMANDS...
484 :0 8.0.0.1 7.0.0.13 Eth1/1 Eth1/0 819 :0 8.0.0.1 7.0.0.13 Eth1/2 Eth1/0 Table 169 Description on the fields of the display ip fast-forwarding cache command Field Description Index Unique entry index Source IP address SPort Source port number Destination IP address...
Page 826
Enables or disables fast forwarding only in the inbound direction. outbound: Enables or disables fast forwarding only in the outbound direction. If no parameter is specified, fast forwarding is enabled or disabled in both the inbound and outbound directions.
View User view Parameter None Description Use the reset ip fast-forwarding cache command to clear the information in the fast forwarding cache. Example # Clear the information in the fast forwarding cache. <Sysname> reset ip fast-forwarding cache...
Time an entry can be cached in seconds For a domain name displayed with the display dns ipv6 dynamic-host command, no more than 21 characters can be displayed. If the domain name exceeds the maximum length, the first 21 characters will be displayed.
DNS server, and “D” represents a DNS server obtained dynamically through DHCP. IPv6 Address IPv6 address of the DNS server Interface Name Name of the interface on the DNS server whose IP address is an IPv6 link-local address. display ipv6 fib Syntax display ipv6 fib [ ipv6-address ]...
Parameter None Description Use the command to display the mappings between host display ipv6 host names and IPv6 addresses in the static DNS database. Example # Display the mappings between host names and IPv6 addresses in the static DNS database.
Note that: If you have configured the time slots of a CE1/PRI or CT1/PRI interface as an ISDN PRI group using the pri-set command, then executing the display ip interface brief command only displays the time slot used by the control channel (D channel), instead of the ones used by the user channels (B channels).
Page 833
ND DAD is enabled, number of DAD attempts: 1 ND reachable time is 30000 milliseconds ND retransmit interval is 1000 milliseconds Hosts use stateless autoconfig for addresses Table 174 Description on fields of the display ipv6 interface command (on a router) Field Description Ethernet1/0 current state...
Type of neighbor information, including static configuration and dynamic acquisition. For a static entry, a hyphen “-” is displayed. For a dynamic entry, the reachable time (in seconds) elapsed is displayed, and if it is never reachable, “#” is displayed (for a neighbor acquired dynamically).
Parameter socktype socket-type: Displays the socket information of this type. The socket type is in the range of 1 to 3. The value “1” represents a TCP socket, “2” a UDP socket, and “3” a raw IP socket. task-id: Displays the socket information of the task. The task ID is in the range 1 to...
Displays the information of the socket. The socket ID is in the range 0 to 3072. Description Use the command to display socket information. display ipv6 socket Example # Display the information of all sockets. <Sysname> display ipv6 socket...
Page 838
Deliver failed: bad length: ratelimited: Table 179 Description on fields of the display ipv6 statistics command Field Description IPv6 Protocol: Statistics of IPv6 packets...
Page 839
Table 179 Description on fields of the display ipv6 statistics command Field Description Sent packets: Statistics of sent IPv6 packets, including: Total: 0 Total number of sent packets ■ Local sent out: 0 forwarded: Number of packets sent locally ■...
65: IP HAPTER ASICS ONFIGURATION OMMANDS Table 179 Description on fields of the display ipv6 statistics command Field Description Received packets: Statistics of received ICMPv6 packets, including Total: 0 Total number of received packets ■ checksum error: 0 too Number of packets with checksum errors ■...
Page 841
Keepalive timeout: 0, keepalive probe: 0, keepalive timeout, so connections di sconnected : 0 Initiated connections: 0, accepted connections: 0, established connections: 0 Closed connections: 0 (dropped: 0, initiated dropped: 0) Table 180 Description on fields of the display tcp ipv6 statistics command Field Description Received packets:...
65: IP HAPTER ASICS ONFIGURATION OMMANDS Table 180 Description on fields of the display tcp ipv6 statistics command Field Description Sent packets: Statistics of sent packets, including Total: 0 1 Total number of packets urgent packets: 0 2 Number of packets containing an...
Table 181 Description on fields of the display tcp ipv6 status command Field Description TCP6CB IPv6 address of the TCP control block (hexadecimal) Local Address Local IPv6 address Foreign Address Remote IPv6 address State IPv6 TCP connection status, including Closed ■...
65: IP HAPTER ASICS ONFIGURATION OMMANDS Table 182 Description on fields of the display udp ipv6 statistics command Field Description shorter than header Total number of UDP packets whose total length is less than specified by the packet header data length larger than packet...
Note that except the link-local address automatically configured and the one generated through stateless autoconfiguration, all IPv6 addresses will be removed from the interface if you carry out the undo ipv6 address command without any parameter specified. Example # Set the aggregatable global IPv6 unicast address of Ethernet1/0 to 2001::1/64.
By default, a link-local address will automatically be generated after a site-local or global IPv6 unicast address is configured for an interface. Example # Configure Ethernet1/0 to automatically generate a link-local address.
IPv6 FIB. By default, the caching function of the IPv6 FIB is disabled. Note that the caching function of the IPv6 FIB is valid only for packets to be forwarded. Example # Enable the caching function of the IPv6 FIB.
By default, the load sharing based on polling is adopted, that is, each ECMP route is used in turn to forward packets. Example # Specify the load sharing mode based on the HASH algorithm for packet forwarding.
Parameter bucket bucket-size: Number of tokens in a token bucket, in the range of 1 to 200. ratelimit interval: Update period of the token bucket in milliseconds, in the range of 0 to 2,147,483,647. The update period “0” indicates that the number of ICMPv6 error packets sent is not restricted.
Use the command to undo ipv6 nd autoconfig managed-address-flag restore the M flag to the default value “0” so that the host can acquire an IPv6 address through stateless autoconfiguration. By default, the M flag is set to 0. Example # Configure the host to acquire an IPv6 address through stateful autoconfiguration.
View Interface view Parameter value: Number of attempts to send an NS message for DAD, in the range of 0 to 600. The default value is “1”. When it is set to 0, the DAD is disabled. Description Use the...
OMMANDS Parameter value: Number of hops, in the range of 0 to 255. When it is set to 0, the Cur Hop Limit field in RA messages sent by the device is 0. That is, the number of hops is determined by the host itself, but not specified by the device.
200 seconds. Note the following: The minimum interval should be three-fourths of the maximum interval or less. ■ The maximum interval for sending RA messages should be less than or equal to ■ the router lifetime in RA messages. Example # Set the maximum interval for advertising RA messages to 1,000 seconds and the minimum interval to 700 seconds.
View Interface view Parameter time: Router lifetime in seconds, in the range of 0 to 9,000. When it is set to 0, the device does not serve as the default router. Description Use the command to configure the router lifetime in ipv6 nd ra router-lifetime RA messages.
Note that you can adopt the IPv6 address and link layer address of the Layer 3 VLAN interface or those of the VLAN port to configure a static neighbor entry.
View System view Parameter ipv6-address: Specified IPv6 address. value: PMTU of a specified IPv6 address in bytes, in the range of 1,280 to 10,000. Description Use the command to configure a static PMTU for a specified IPv6 ipv6 pathmtu address.
View System view Parameter age-time: Aging time for PMTU in minutes, in the range of 10 to 100. Description Use the ipv6 pathmtu age command to configure the aging time for a dynamic PMTU.
Use the command to clear the statistics of IPv6 packets and reset ipv6 statistics ICMPv6 packets. Example # Clear the statistics of IPv6 packets and ICMPv6 packets. <Sysname> reset ipv6 statistics reset tcp ipv6 statistics Syntax reset tcp ipv6 statistics...
By default, the length of the synwait timer of TCP connections is 75 seconds. Example # Set the synwait timer length of TCP connections to 100 seconds.
View System view Parameter size: Size of the TCP sending/receiving buffer in KB (kilobyte), in the range of 1 to Description Use the tcp ipv6 window command to set the size of the TCP sending/receiving buffer.
# Display the configuration information of a NAT-PT address pool. <Sysname> display natpt address-group NATPT IPv4 Address Pool Information: 1: from 1.1.1.1 to 1.1.1.4 Table 183 Description on fields of the display natpt address-group command Field Description Address pool number from 1.1.1.1 Start address in an address pool to 1.1.1.4...
Type Indicates whether the connection is initiated by an IPv6 host or an IPv4 host. If initiated by an IPv6 host, the IPv6 address is the source address. Otherwise, it is the destination address. In the example, 3001::0001 is the source address and 2.2.2.2 is the destination address.
Table 185 Description on fields of the display natpt aging-time command Field Description icmp -------aging-time value is 20 The timeout time for an ICMP packet is 20 seconds. dns -------aging-time value is 10 The timeout time for a DNS packet is 10 seconds.
Total Address Mapping: 0 (static: 0 dynamic: 0 ) Total V6Server Mappings: 0 NATPT Interfaces: Ethernet1/0 For the explanations to the information displayed above, see the descriptions of related commands. display natpt frag-sessions Syntax display natpt frag-sessions View Any view...
Syntax display natpt session { all | icmp | tcp | udp } View Any view Parameter all: Displays the information of all sessions. icmp: Displays the information of ICMP sessions. tcp: Displays the information of TCP sessions.
View System view Parameter group-number: Number of an address pool, in the range of 1 to 31. start-ipv4-address: Start IPv4 address in a pool. end-ipv4-address: End IPv4 address in a pool. Description Use the command to configure a NAT-PT address pool.
■ 86,400 seconds for a TCP packet ■ Example # Set the NAT-PT session timeout time to 30 seconds for UDP packets and to 45 seconds for ICMP packets. <Sysname> system-view [Sysname] natpt aging-time udp 30 [Sysname] natpt aging-time icmp 45...
Prefix of an IPv6 address, 96 bits in length. interface-type interface-number: Interface from which an IPv6 packet is forwarded if the prefix of the destination address of the packet complies with the format of the natpt-prefix argument during a dynamic mapping on the IPv6 network side.
Traffic Class field in an IPv6 packet translated from an IPv4 packet to the value of the ToS field in the IPv4 packet. By default, the value of the Traffic Class field in an IPv6 packet translated from an IPv4 packet is the same as that of the ToS field in the IPv4 packet.
For a packet from an IPv4 host to an IPv6 host, if the source IPv4 address complies with the specified ACL rule, a NAT-PT prefix will be added to translate the source IPv4 address into an IPv6 address.
View System view Parameter acl-number: IPv6 access control list (ACL) number, in the range of 2000 to 2999. natpt-prefix: NAT-PT prefix, 96 bits in length. address-group: IPv4 address pool number, in the range of 1 to 31. interface-type: IPv4 interface type.
Example # Translate the source address of an IPv6 packet that matches IPv6 ACL 2001 into an IPv4 address in address pool 1. <Sysname> system-view [Sysname] natpt address-group 1 2.3.4.5 2.3.4.10...
[ ipv6-address prefix-length | ipv6-address/prefix-length ] View Interface view Parameter ipv6-address: IPv6 address for the interface. prefix-length: Length of the prefix in bits, in the range of 1 to 128. Description Use the ipv6 address command to configure a site-local address or global unicast address for an interface.
View Ethernet interface view Parameter ipv6-address/prefix-length: IPv6 address and prefix length. They together specify the prefix of an IPv6 address in the EUI-64 format. The prefix length of an EUI-64 address ranges from 1 to 64.
Interface view Parameter ipv6-address: IPv6 link-local address. The high-order ten bits of an IPv6 link-local address must be 1111111010 (binary), that is to say, the first group of the IPv6 link-local address must range from FE80 to FEBF (hexadecimal). Description...
Page 880
67: D HAPTER TACK ONFIGURATION OMMANDS...
UNNELING ONFIGURATION OMMANDS A tunnel interface number is in the X format, where X ranges from 0 to 1023. destination Syntax destination { ip-address | ipv6-address } undo destination View Tunnel interface view Parameter ip-address: Destination IPv4 address of a specified tunnel interface.
Syntax display interface tunnel [ number ] View Any view Parameter number: Tunnel interface number. If the number argument is not specified, the information of all tunnel interfaces will be displayed. Description Use the display interface tunnel command to display related information of a specified tunnel interface, such as source address, destination address, and encapsulation mode.
Description Use the command to display related IPv6 display ipv6 interface tunnel information of a specified tunnel interface, including link state, IPv6 protocol state, and IPv6 address. Example # Display information of the interface tunnel 0. <Sysname> display ipv6 interface tunnel 0...
[ number ] undo encapsulation-limit View Tunnel interface view Parameter number: Number of nested encapsulations in a tunnel, in the range of 1 to 10. The default value is 4. Description Use the command to configure the maximum number of encapsulation-limit nested encapsulations of a packet.
View System view Parameter number: Tunnel interface number, in the range of 0 to 1023. The number of tunnels that can be created is restricted by the total number of interfaces and the memory. Description Use the command to create a tunnel interface and enter tunnel interface tunnel interface view.
By default, no source address is configured for a tunnel interface. Note that: The source address of a tunnel interface is the address of the interface sending ■ packets and is usually the destination address of the peer tunnel interface.
This command only applies to packets not finding a match in the routing table. You can specify up to five default outgoing interfaces, implementing load balancing based on data streams.
This command only applies to packets not finding a match in the routing table. You can specify up to five default next hops, implementing load balancing based on data streams. The interface to reach the next hop must be a P2P interface rather than a broadcast interface.
The next hop must be adjacent to the device. You can specify up to five next hops, implementing load balancing based on data streams. Related command: apply ipv6-precedence, apply output-interface, apply default output-interface and apply ipv6-address default next-hop.
Note that: Five outgoing interfaces at most can be specified, and load balancing based on ■ data streams can be implemented. For non-P2P interfaces (broadcast and NBMA interfaces) such as Ethernet ■...
Example # Specify the interface Serial 2/0 as the outgoing interface for matched IPv6 packets. <Sysname> system-view [Sysname] ipv6 policy-based-route aa permit node 11 [Sysname-pbr6-aa-11] apply output-interface serial 2/0 display ipv6 config policy-based-route Syntax display ipv6 config policy-based-route policy-name View...
Node permit : if-match acl6 2000 Node permit : apply destination-based-forwarding Table 194 Description on fields of the display ipv6 policy-based-route setup command Field Description ipv6 policy-based-route : test Name of the referenced policy Node 6 permit The match mode of Node 6 is permit.
View IPv6 policy-based-route view Parameter acl6-number: IPv6 ACL number, in the range 2000 to 3999. The number of a basic IPv6 ACL ranges from 2000 to 2999 and that of an advanced IPv6 ACL ranges from 3000 to 3999. Description...
Minimum IPv6 packet length in bytes, in the range of 0 to 65535. max-len: Maximum IPv6 packet length in bytes, in the range of 1 to 65535. The value of max-len must be no less than that of min-len.
Parameter policy-name: Policy name, a string of 1 to 19 characters. deny: Specifies the match mode of the policy node as deny. When a packet satisfies all rules defined by the if-match clauses, the packet will be denied by the...
Page 898
There is an OR relationship between nodes of the policy. That is, if a packet ■ passes a node, it passes the policy. A packet passing a node of a policy will not go to the next node of the policy ■ for a match.
The terminal access feature supports the automatic link teardown function. You can enable the function and configure the teardown time in terminal template view. With this function enabled, if a terminal is disconnected from the router, the terminal enters the state of DOWN, and the router will automatically tear down the TCP connection to the front-end processor (FEP) after the specified time period.
(manual link establishment is the default mode). The router establishes a TCP connection to the FEP only after a user enters a character on the terminal, except the special characters for hotkeys and terminals. Special characters are the characters that the terminals process directly, such as <Shift+F2>.
By default, data read blocking is disabled. Note that, if data read blocking is enabled, when the router fails to send data from the terminal, the router stops receiving data from the terminal until the data is...
By default; the data send delay is 0 milliseconds, namely, there is no data send delay. A router configured with data send delay begins to send the data received from a terminal to an FEP after the configured data send delay time expires.
Page 903
Encrypt Now: no Receive remote buffer address: 593c904 Receive buffer head: 499 Receive buffer tail: 499 Time from APP is linked till now: 00h00m00s Table 196 Description on the fields of the display rta terminal-number vty-number command Field Description APP Index...
Page 904
Receive buffer head: 2032 Receive buffer tail: 2032 ------------------------------------ Type State Kept Table 197 Description on the fields of the display rta terminal-number brief command Field Description TTY 1 TTY" indicates the terminal access type and “1” the terminal number.
Page 905
Table 197 Description on the fields of the display rta terminal-number brief command Field Description Current VTY Send Data, in bytes, sent by the current VTY Current APP Recv Data, in bytes, received by the current application Current APP Send...
Use the command to restore the default. undo driverbuf save By default, the router clears the terminal receive buffer after the TCP connection is established. Terminal receive buffer is the buffer used on a router to store terminal data. Example...
By default, the terminal access idle timeout time is 0 seconds; that is, the TCP connection never times out. With the idle timeout time configured, if no data is transmitted over the terminal access connection in the specified period of time, the connection is automatically torn down.
■ configured on the device. Otherwise, hotkey conflicts will occur. For example, the hotkey value cannot be set to 17 or 19 because these two values are used for the hotkeys of flow control. Using the hotkey may not get a response rapidly when the terminal displays ■...
Note that this function requires terminal support and the screen code configured on the router and that specified on the terminal must be the same. Screen codes vary with terminal types. For details, refer to the corresponding terminal manuals.
By default, the router can print characters on the terminal. You can use this command when the terminal is connected to a printer for printing. Related command: print connection-info and print menu.
By default, terminal menu information is printed. This command takes effect only in TTY and Telnet terminal access. Make sure you enable the router to print characters on the terminal before using this command. Related command: print information.
■ that of any other hotkey configured on the device. Otherwise, hotkey conflicts will occur. For example, the hotkey value cannot be set to 17 or 19 because these two values are used for the hotkeys of flow control. Using the hotkey may not get a response rapidly when the terminal displays ■...
Otherwise, hotkey conflicts will occur. For example, the hotkey value cannot be set to 17 or 19 because these two values are used for the hotkeys of flow control. Using the hotkey may not get a response rapidly when the terminal displays too much data.
FEP are consistent), the connection is established; otherwise, no connection can be established between the router and the FEP. Only a MAC address or a character string can be configured at a time, and the ■...
By default, terminal access is disabled on the router. Note that, after terminal access is disabled, the settings of template, terminal, and VTY will be kept. Example # Enable terminal access.
TCP connection source IP address for dial-up backup and address hiding. If a source IP address is also configured in a terminal template, this address is ■ preferred as the source IP address for the corresponding terminal to establish TCP connections.
By default, the maximum size of data to be sent to the terminal at one time is 500 byes. The router sends data in packets to the terminal. The sizes of the sent packets are different.
By default, no threshold is configured. The send buffer is used to store the data that the router is to send to the terminal. The threshold specifies the maximum data in bytes that the send buffer can store.
TCP settings. undo tcp By default, receive buffer size is 2,048 bytes, send buffer size is 2,048 bytes, delay is enabled, keepalive interval is 50 seconds, and the number of keepalives is 3. If you specify the nodelay keyword, the TCP Nagle algorithm will not be used.
■ other hotkey configured on the device. Otherwise, hotkey conflicts will occur. For example, the hotkey value cannot be set to 17 or 19 because these two values are used for the hotkeys of flow control. Using the hotkey may not get a response rapidly when the terminal displays ■...
VTY. undo vty description By default, no description is configured for a VTY. For a VTY of a service, you are recommended to use the service name as the description information of the VTY for convenience. Example # Set the description information of VTY 1 to chuxu.
Otherwise, hotkey conflicts will occur. For example, the hotkey value cannot be set to 17 or 19 because these two values are used for the hotkeys of flow control. Using a hotkey may not get a response rapidly when the terminal displays too much data.
Example # Create VTY 1 to serve as an RTC client, setting the IP address of the corresponding RTC server to 1.1.1.1, the listening port of the RTC server to 9010, and the source IP address to be used for establishing TCP connections to 2.2.2.2.
Note that, after this configuration, no more Telnet VTYs, TTY VTYs, or RTC client VTYs can be configured in the template of the VTY. Example # Create a VTY to serve as the RTC server, setting the IP address of the RTC client to 2.2.2.2 and the terminal number to 1. <Sysname> system-view [Sysname] rta template abc [Sysname-rta-template-abc] vty 1 rtc-server remote 2.2.2.2 1...
Terminal template view Parameters vty-number: VTY number, ranging 0 to 7. ip-address: FEP IP address. port-number: Listening Telnet port on the FEP. It ranges 1 to 50000 and defaults to source source-ip: Source IP address bound. Description Use the vty telnet remote command to create a VTY for Telnet terminal access.
Note that, after this configuration, no more RTC client VTYs or RTC server VTYs can be configured in the template of the VTY. Example # Create VTY 1 for TTY terminal access, setting FEP IP address to 1.1.1.1, listening port number to 9010, and source IP address to 2.2.2.2. <Sysname> system-view [Sysname] rta template abc [Sysname-rta-template-abc] vty 1 tty remote 1.1.1.1 9010 source 2.2.2.2...
Page 927
RTC client needs to initiate a connection to an RTC server, it first initiates a connection to the RTC server with the lowest VTY number. If the number of connection failures exceeds the threshold, the RTC client initiates a connection to the RTC server with the second lowest VTY number.
Page 928
70: T HAPTER ERMINAL CCESS ONFIGURATION OMMANDS...
(the number of packets already forwarded through these interfaces is considered). Examples # Enable bandwidth-based load sharing. <Sysname> system-view [Sysname] bandwidth-based-sharing display ip routing-table Syntax display ip routing-table [ vpn-instance vpn-instance-name ] [ verbose ] | { begin | exclude | include } regular-expression ] View Any view...
Page 930
With this argument absent, the command displays only summary information about active routes. |: Uses a regular expression to filter output information. begin: Displays routing table entries starting from the one specified by the regular expression. include: Displays routing table entries specified by the regular expression.
Page 931
127.0.0.1 InLoop0 192.168.80.0/24 Direct 0 192.168.80.10 Eth0/1 192.168.80.10/32 Direct 0 127.0.0.1 InLoop0 Table 202 Description on the fields of the display ip routing-table command Field Description Destinations Number of destination addresses Routes Number of routes Destination/Mask Destination address/mask length Proto...
Label State Status of the route, which could be Active, Inactive, Adv, or NoAdv. Time that the route has been in the routing table, in the sequence of hour, minute, and second from left to right. Route tag display ip routing-table acl...
Page 933
This command is intended for the follow-up display of routing policies. For more information about routing policy, refer to “Routing Policy Common Configuration Commands” on page 1187. If the specified ACL does not exist or it has no rules configured, the entire routing table is displayed. Examples # Define basic ACL 2000 and set the route filtering rules.
Page 934
Interface: InLoop0 RelyNextHop: 0.0.0.0 Neighbour: 0.0.0.0 Tunnel ID: 0x0 Label: NULL State: Active NoAdv Age: 00h05m32s Tag: 0 Table 204 Description on the fields of the display ip routing-table command Field Description Destination Destination address Mask Mask Protocol Routing protocol that discovered the route...
A Static route are not lost when you perform the save operation and then restart the router. Routes configured manually are marked as static. Unicast Unicast routes Age of the route in the routing table, in the form of hh:mm:ss. Cost Route cost display ip routing-table ip-address Syntax...
Page 936
ANDs the destination IP address in each route entry with its corresponding subnet mask. If the two operations yield the same result for an entry and this entry is active, it is displayed. display ip routing-table ip-address mask ■...
Page 937
Static 60 0.0.0.0 NULL0 11.1.1.0/24 Static 60 0.0.0.0 NULL0 # Display route entries by specifying a destination IP address and mask and the longer-match keyword. [Sysname] display ip routing-table 11.1.1.1 24 longer-match Routing Table : Public Summary Count : 1 Destination/Mask...
(without the verbose keyword) is displayed. Examples # Configure a prefix list named test, permitting routes with a prefix of 2.2.2.0 and a mask length between 24 and 32. <Sysname> system-view [Sysname] ip ip-prefix test permit 2.2.2.0 24 less-equal 32...
Parameters protocol: Displays the routes of a routing protocol, not including routes redistributed into the protocol. It can be bgp, direct, isis, ospf, rip, or static. inactive: Displays only inactive routes. With this argument absent, the command displays information about both active and inactive routes.
[ vpn-instance vpn-instance-name ] statistics View Any view Parameters vpn-instance vpn-instance-name: Displays routing table information for a VPN instance. The VPN instance name is a string of 1 to 31 characters. Description Use the command to display statistics display ip routing-table statistics about the public network routing table or a VPN routing table.
Table 205 Description on the fields of the display ip routing-table statistics command Field Description deleted Number of routes marked as deleted, which will be freed after a period. freed Number of routes that got freed, that is, got removed permanently...
10.1.2.2 1193501 155000 Atm1/0/0 10.1.3.2 15914 2048 Serial2/0/0 Table 208 Description on the fields of the display load-sharing ip address command Field Description Nexthop Nexthop address Packet Total number of packets forwarded through the outbound interface Bandwidth Bandwidth of the outbound interface used for load sharing...
IPv6 ACL. If the specified IPv6 ACL is not available, all routing information is displayed. Examples # Display brief routing information permitted by ACL 2000. <Sysname> display ipv6 routing-table acl 2000...
ANDs the destination IPv6 address in each route entry with the input prefix length. If the two operations yield the same result for an entry and the entry is active with a prefix length less than or equal to the input prefix length, the entry is displayed.
[ verbose ] View Any view Parameters ipv6-prefix-name: Name of the IPv6 prefix list, in the range 1 to 19 characters. verbose: Displays both active and inactive verbose routing information. Without this keyword, only brief active routing information is displayed. Description...
DIRECT STATIC RIPng OSPFv3 IS-ISv6 BGP4+ Total Table 210 Description on the fields of the display ipv6 routing-table statistics command Field Description Protocol Routing protocol route Route number of the protocol active Active route number added Routes added after the last startup of the router...
State : Active NoAdv Cost Tunnel ID : 0x0 Label : NULL : 22161sec Table 211 Description on the fields of the display ipv6 routing-table verbose command Field Description Destination Destination IPv6 address PrefixLength Prefix length of the address Nexthop...
<Sysname> display ipv6 relay-route Total Number of relay-route is: 1 Dest/Mask: 192::1/64 Related instance id(always 0): 0(1) Table 212 Description on the fields of the display ipv6 relay-route command Field Description Total Number of Relay-route Total number of recursive routes...
Use the command to restore the default. undo load-bandwidth The load sharing bandwidth of an interface defaults to the physical bandwidth of the interface. Examples # Configure the load sharing bandwidth of the interface. <Sysname> system-view...
Parameters vpn-instance-name: VPN instance name, a string of 1 to 31 characters. all: Clears the routing statistics of all the routing protocols in the IPv4 routing table. protocol: Clears the routing statistics of the specified routing protocol in the IPv6 routing table.
Page 952
71: IP R HAPTER OUTING ABLE OMMANDS Examples # Clear the routing statistics of all the routing protocols in the routing table. <Sysname> reset ipv6 routing-table statistics protocol all...
Creates a summary with AS set. attribute-policy route-policy-name: Sets the attributes of the summary route according to the routing policy, the name of which is a string of 1 to 19 characters. detail-suppressed: Only advertises the summary route. suppress-policy route-policy-name: Suppresses specific routes defined in the routing policy, the name of which is a string of 1 to 19 characters.
View BGP view/VPN instance view Parameters number: Number of BGP routes for load balancing, in the range 1 to 8. When it is set to 1, no load balancing is available. Description Use the balance command to configure the number of BGP routes for load balancing.
Related commands: display bgp routing-table. Examples # In BGP view, set the number of routes participating in BGP load balancing to 2. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] balance 2 # In BGP-VPN instance view, set the number of routes participating in BGP load balancing to 2 (the VPN has been created).
This comparison is not enabled by default. Examples # In BGP view, enable the comparison of MEDs for paths from each AS when selecting the best route. <Sysname> system-view [Sysname] bgp 100...
The system only compares MED values for paths from peers within the confederation. Paths from external ASs are advertised throughout the confederation without MED comparison. Examples # In BGP view, enable the comparison of the MED for paths from peers within the confederation. <Sysname> system-view [Sysname] bgp 100...
Do not use this command unless associated ASs adopt the same IGP protocol and routing selection method. Examples # In BGP view, enable to compare the MED for paths from peers in different ASs. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] compare-different-as-med # In BGP-VPN instance view, enable to compare the MED for paths from peers in different ASs (The VPN has been created).
Examples # Confederation 9 consists of four sub-ASs, namely, 38, 39, 40 and 41. The peer 10.1.1.1 is a member of the confederation while the peer 200.1.1.1 is outside of the confederation. Take sub AS 41 as an example.
Specifies a half-life for suppressed routes from 1 to 45 minutes. By default, the value is 15 minutes. reuse: Specifies a reuse threshold value for suppressed routes from 1 to 20000. A suppressed route whose penalty value decreases under the value is reused. By...
Specifies a suppression threshold from 1 to 20000. The route with a penalty value higher than the threshold is suppressed. The default value is 2000. ceiling: Specifies a ceiling penalty value from 1001 to 20000. The value must be bigger than the suppress value. By default, the value is 16000.
# In BGP view, set the default local preference to 180. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] default local-preference 180 # In BGP-VPN instance view, set the default local preference to 180 (the VPN has been created). <Sysname> system-view [Sysname] bgp 100...
Multi-exit discriminator (MED) is an external metric for routes. Different from local preference, MED is exchanged between ASs and will stay in the AS once it enters the AS. The route with a lower MED is preferred. When a router running BGP obtains several routes with an identical destination but different next-hops from various external peers, it will select the best route depending on the MED value.
Table 215 Description on the fields of the display bgp group command Field Description Configured hold timer value Holdtime interval Keepalive timer value Keepalive interval Minimum time between advertisement Minimum time between advertisement runs runs Peer Preferred Value Preferred value of the routes from the peer...
Short for INCOMPLETE. It indicates that the origin of a route is unknown and the route is learned by other means. display bgp peer Syntax display bgp peer [ ip-address { log-info | verbose } | group-name log-info | verbose ] View Any view Parameters...
Page 967
Name of a peer group to be displayed, a string of 1 to 47 characters. log-info: Displays the log information of the specified peer. verbose: Displays the detailed information of the peer/peer group. Description Use the command to display peer/peer group information.
Table 219 Description on the fields of the display bgp routing command Field Description BGP Local router BGP Local router ID Status codes Status codes: * - valid > - best d - damped h - history i - internal (IGP)
OMMANDS <Sysname> display bgp routing-table as-path-acl 1 BGP Local router ID is 20.20.20.1 Status codes: * - valid, > - best, d - damped, h - history, i - internal, s - suppressed, S - Stale Origin : i - IGP, e - EGP, ? - incomplete...
View Any view Parameters aa:nn: Community number. Both aa and nn are in the range 0 to 65535. &<1-13>: Argument before it can be entered up to 13 times. no-advertise: Displays BGP routes that are not advertised to any peer.
HAPTER ONFIGURATION OMMANDS whole-match: Displays routes exactly matching the specified basic-community-list. &<1-16>: Specifies the argument before it can be entered up to 16 times. Description Use the command to display BGP display bgp routing-table community-list routing information matching the specified BGP community list.
Table 220 Description on the fields of the display bgp routing-table dampened command Field Description From IP address from which the route was received Reuse Reuse time of the route Refer to Table 219 for description on the other fields above.
Matches the longest prefix. Description Use the command to display BGP route display bgp routing-table flap-info flap statistics. If no parameter is specified, this command displays all BGP route flap statistics. Examples # Display BGP route flap statistics. <Sysname> display bgp routing-table flap-info BGP Local router ID is 2.2.2.2...
Table 222 Description on the fields of the display bgp routing flap-info command Field Description From Source IP address of the route Flaps Number of routing flaps Duration Duration time of the flap route Reuse Reuse time of the flap route Refer to Table 219 for description on the other fields above.
Examples # Display BGP routing statistics. <Sysname> display bgp routing-table statistic Total Number of Routes: 4 Table 223 Description on the fields of the display bgp routing-table statistic command Field Description Total number of routes Total number of routes...
Use the command to disable the function. undo ebgp-interface-sensitive This function is enabled by default. Examples # In BGP view, enable the clearing of EBGP session on any interface that becomes down. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ebgp-interface-sensitive # In BGP-VPN instance view, enable the clearing of EBGP session on any interface that becomes down (the VPN has been created).
72: BGP C HAPTER ONFIGURATION OMMANDS rip process-id: Filters outgoing routes redistributed from a RIP process. The ID is in the range 1 to 65535. static: Filters static routes. If no routing protocol is specified, all outgoing routes are filtered.
<Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] graceful-restart graceful-restart timer restart Syntax graceful-restart timer restart timer undo graceful-restart timer restart View BGP view Parameters timer: Maximum time for a peer to reestablish a BGP session, in the range 3 to 600 seconds.
Use the command to restore the default. undo graceful-restart timer restart By default, the maximum time for a peer to reestablish a BGP session is 150 seconds. Examples # Configure the maximum time for a peer to reestablish a BGP session as 300 seconds.
Redistributes routes from the specified routing protocol, which can be direct, isis, ospf, rip, or static at present. process-id: Process ID, in the range 1 to 65535. The default is 1. It is available only when the protocol is isis, ospf, or rip.
Mask of the network address, in dotted decimal notation. mask-length: Mask length, in the range 0 to 32. short-cut: Specifies the route to use the local preference. If the route is an EBGP route whose preference is higher than the local one, using this keyword can configure the EBGP route to use the local preference, so the route is hard to become the optimal route.
{ group-name | ip-address } advertise-community View BGP view/BGP-VPN instance view Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer. Description Use the command to advertise the community peer advertise-community attribute to a peer/peer group.
By default, the local AS number is allowed. Related commands: display bgp routing-table peer. Examples # In BGP view, configure the repeating times of the local AS number as 2 for routes from peer 1.1.1.1. <Sysname> system-view [Sysname] bgp 100...
# In BGP view, specify the AS number of the peer group test as 100. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer test as-number 100 # In BGP-VPN instance view, specify the AS number of the peer group test as 100 (the VPN has been created). <Sysname> system-view [Sysname] bgp 100...
By default, no AS path ACL filtering is configured. Related commands: ip as-path acl, if-match as-path and apply as-path. Examples # In BGP view, reference the AS path ACL 1 to filter routes outgoing to the peer group test. <Sysname> system-view [Sysname] bgp 100...
{ group-name | ip-address } capability-advertise route-refresh View BGP view/BGP-VPN instance view Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer. Description Use the peer capability-advertise route-refresh command to enable the BGP route refresh capability.
TCP connections to the peers when using the outbound interfaces of the best routes as the source interfaces. Examples # In BGP view, specify loopback 0 as the source interface for routing updates to the peer group test. <Sysname> system-view...
# In BGP view, advertise a default route to peer group test. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer test default-route-advertise # In BGP-VPN instance view, advertise a default route to peer group test (the VPN has been created). <Sysname> system-view [Sysname] bgp 100...
Create a peer/peer group before configuring a description for it. Related commands: display bgp peer. Examples # In BGP view, configure the description information of the peer group test as ISP1. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer test description ISP1 # In BGP-VPN instance view, configure the description information of the peer group test as ISP1(the VPN has been created).
[Sysname] bgp 100 [Sysname-bgp] peer test ebgp-max-hop # In BGP-VPN instance view, allow establishing the EBGP connection with the peer group test that is on an indirectly connected network (the VPN has been created). <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1...
By default, no fake local AS number is configured for a peer or peer group. The peer fake-as command is only applicable to an EBGP peer or peer group. Examples # In BGP view, configure a fake AS number of 200 for the peer group test. <Sysname> system-view [Sysname] bgp 100...
72: BGP C HAPTER ONFIGURATION OMMANDS Examples # In BGP view, apply the ACL 2000 to filter routes advertised to the peer group test. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer test filter-policy 2000 export # In BGP-VPN instance view, apply the ACL 2000 to filter routes advertised to the peer group test (the VPN has been created).
After the peer ignore command is executed, the system disables the session with the specified peer or peer group and clears all the related routing information. For a peer group, this means all sessions with the peer group will be tore down. Examples # In BGP view, disable session establishment with peer 10.10.10.10.
By default, no IP prefix list is specified. Examples # In BGP view, use the IP prefix list list 1 to filter routes advertised to the peer group test. <Sysname> system-view [Sysname] bgp 100...
The logging is enabled by default. Examples # In BGP view, enable the logging of session state and event information for peer group test. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer test log-change # In BGP-VPN instance view, enable the logging of session state and event information for peer group test (the VPN has been created).
IBGP peer/peer group do not take the local router as the next hop. Examples # In BGP view, set the next hop of routes advertised to peer group test to the router itself. <Sysname> system-view...
Otherwise, the TCP connection will not be set up. Examples # In BGP view, perform MD5 authentication on the TCP connection set up between the local router 10.1.100.1 and the peer router 10.1.100.2. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer 10.1.100.2 password simple aabbcc...
Note that: If you both reference a routing policy and use the peer { group-name | ip-address } preferred-value value command to set a preferred value for routes from a peer, the routing policy sets a specified non-zero preferred value for routes matching it.
The command does not take effect if the BGP update has both public and private AS numbers. The range of private AS number is from 64512 to 65535. Examples # In BGP view, carry no private AS number in BGP updates sent to the peer test. <Sysname> system-view [Sysname] bgp 100...
Need help?
Do you have a question about the MSR 20-20 and is the answer not in the manual?
Questions and answers