User Manual - Configuration Guide (Volume 1) Versatile Routing Platform
User Manual - Configuration Guide (Volume 1) Versatile Routing Platform
Table of Contents
Table of Contents
Chapter 1 Interface Configuration Overview ....................................................................... 1-1 1.1 Interface Overview .................................................................................................... 1-1 1.2 Interface Configuration.............................................................................................. 1-1 1.2.1 Interface Configuration Mode ........................................................................... 1-1 1.2.2 Set Interface Description.................................................................................. 1-2 1.2.3 Set Time Interval for Flow Control Statistics...................................................... 1-2 1.3 Interface Configuration Method .................................................................................. 1-2 1.4 Interface Monitoring and Maintenance........................................................................ 1-3 Chapter 2 Configuring LAN Interface .................................................................................. 2-1 2.1 Ethernet Interface ..................................................................................................... 2-1 2.1.1 Ethernet Interface Overview............................................................................. 2-1 2.1.2 Configuring Ethernet Interface.......................................................................... 2-1 2.1.3 Monitoring and Maintenance of Ethernet Interface............................................. 2-4 2.1.4 Typical Ethernet Interface Configuration Example ............................................. 2-4 2.1.5 Fault Diagnosis and Troubleshooting of Ethernet Interface................................. 2-5 Chapter 3 Configuring WAN Interface ................................................................................. 3-1 3.1 Asynchronous Serial Port .......................................................................................... 3-1 3.1.1 Asynchronous Serial Ports Overview................................................................ 3-1 3.1.2 Configuring Asynchronous Serial Port .............................................................. 3-1 3.2 AUX Interface........................................................................................................... 3-7 3.2.1 Introduction to AUX Interface ........................................................................... 3-7 3.2.2 AUX Interface Configuration............................................................................. 3-7 3.3 Synchronous Serial Port ............................................................................................ 3-7 3.3.1 Synchronous Serial Ports Overview.................................................................. 3-7 3.3.2 Configuring Synchronous Serial Port ................................................................ 3-8 3.4 ISDN BRI Interface.................................................................................................. 3-13 3.4.1 ISDN BRI Interface Overview......................................................................... 3-13 3.4.2 Configuring ISDN BRI Interface...................................................................... 3-14 3.5 cE1/PRI Interface.................................................................................................... 3-14 3.5.1 cE1/PRI Overview ......................................................................................... 3-14 3.5.2 Configuring cE1/PRI Interface........................................................................ 3-15 3.5.3 Monitoring and Maintenance of cE1/PRI Interface ........................................... 3-19 Chapter 4 Configuring Logic Interface ................................................................................ 4-1 4.1 Dialer Interface ......................................................................................................... 4-1 4.1.1 Dialer Interface Overview................................................................................. 4-1 4.1.2 Configuring Dialer Interface.............................................................................. 4-1
Table of Contents
4.2 Sub-Interface............................................................................................................ 4-1 4.2.1 Sub-Interface Overview ................................................................................... 4-1 4.2.2 Configuring Sub-Interface................................................................................ 4-2 4.3 Backup Center Logic Channel.................................................................................... 4-5 4.3.1 Backup Center Logic Channel Overview........................................................... 4-5 4.3.2 Configuring Backup Center Logic Channel........................................................ 4-5 4.4 Virtual-Template and Virtual Interface......................................................................... 4-5 4.4.1 Virtual-Template and Virtual Interface Overview ................................................ 4-5 4.4.2 Configuring Virtual-Template............................................................................ 4-5 4.4.3 Monitoring and Maintenance of Virtual-Template and Virtual Interface................ 4-7 4.4.4 Fault Diagnosis and Troubleshooting of Virtual-Template................................... 4-7
ii
Chapter 1
Interface Configuration Overview
Examples: Input interface ethernet 0 in the global configuration mode to enter the configuration mode of Ethernet interface numbered 0. Quidway (config)#interface ethernet 0 Quidway (config-if-Ethernet0)#
1-1
Chapter 1
Interface Configuration Overview
& Note: In VRP, the command to enter E1 interface configuration mode is controller e1, which is different from the command of other interfaces.
Chapter 1
Interface Configuration Overview
l l
Configure network protocol (such as IP) address of this interface. Configure the static route that can reach the destination network via this interface, or configure working parameters of the dynamic route protocol on this interface. l If this interface supports dial, please configure dial mapping, DDR working parameters and management to Modem. l If this interface acts as the main interface or backup interface at the backup center, please configure related working parameters of the backup center. l If the firewall is to be established on this interface, please configure parameters about related message filtering or address conversion. There are lots of parameters to be configured in the interface mode. So, this part will mainly introduce configurations of some parameters special for the physical interface, and briefly introduce the logic interface definition. Configurations about the link layer protocol, network layer protocol, parameter and some special functions (such as dial, backup center, and firewall) will be introduced specially in other parts of this manual and no further details are provided here.
These commands are described respectively as follows: 1) show interface command displays current running state and statistic information of the interface If relevant interface name is not specified, the running states and statistic information of all interfaces will be displayed. That is:
To view information of all interfaces, enter: Quidway#show interface To view information of specific interface, such as Serial 0, enter: Quidway#show interface serial 0 For example: after executing the command show interface serial 0, the following information is displayed:
Serial0 is down, line protocol is down Descript: HUAWEI, Quidway Router, Serial Interface The Maximum Transmit Unit is 1500. The keepalive is 10(sec) Internet Address is 10.110.10.15/21 Encapsulation is PPP LCP initial Queueing strategy: FIFO Output queue: (size/max/drops) 0/75/0 Interface is no cable, baudrate is 64000 5 minutes input rate 0 bytes/sec, 0 packets/sec 5 minutes output rate 0 bytes/sec, 0 packets/sec 0 packets input, 0 bytes 0 input error 0 packets output, 0 bytes
1-3
Chapter 1
Interface Configuration Overview
RTS=DOWN CTS=DOWN
DSR=DOWN
The above information includes: l l l l l 2) Physical state and protocol state of the interface. Interface physical features (synchronous/asynchronous, DTE/DCE, clock selection, baud rate and external cable). Interface IP address. Interface-encapsulated link layer protocol, link layer protocol running state and statistic information. Statistic information of input/output message of interface clear port command is used to clear the statistic information of input/output message of the interface. If relevant interface name is not specified, the statistic information of all interfaces will be cleared. shutdown/no shutdown command is used to shut down and restart interface. Sometimes, the modification of interface parameters can not take effect immediately. In this case, the new parameters can not take effect unless the interface is shut down first and then restarted. Automatic output of the interface state information.
3)
4)
When the physical or protocol state of the interface changes, the system will automatically output related prompt information as shown in following table. Table IC-1-5 Interface state information
Interface state information % interface-name is shutdown % interface-name is reset %Interface interface-name changed state to DOWN %Interface interface-name changed state to UP %Line protocol protocol-name on interface interface-name, changed state to DOWN %Line protocol protocol-name on interface interface-name, changed state to UP Meaning The interface is shut down by the user. The interface is restarted by the user. The physical state of the interface is changed to DOWN The physical state of the interface is changed to UP The protocol state of the interface is changed to DOWN The protocol state of the interface is changed to UP
1-4
Chapter 2
Configuring LAN Interface
The specified Ethernet interface can not be configured unless you enter its configuration mode. It's necessary to configure IP address. For other parameters, it's recommended to use default values, which can ensure the system to work normally in most cases.
2-1
Chapter 2
Configuring LAN Interface
When an Ethernet interface is configured with two or more IP addresses, use keyword "secondary" to identify them. Table IC-2-3 Set IPX network protocol address
Operation Specify IPX network node value Delete IPX network node value. Specify IPX network number Delete IPX network number Command ipx routing [node] no ipx routing ipx network network-number no ipx network
node value is the MAC address of the first Ethernet interface in the router by default. The ipx routing command and no ipx routing command should be used in global configuration mode.
2-2
Chapter 2
Configuring LAN Interface
V. Setting MTU
Maximum transmission unit (MTU) will influence the fragmentation and reassembling of network message. Please use the following commands in Ethernet interface configuration mode. Table IC-2-5 Set MTU
Operation Set MTU Recover MTU default value mtu ethernet-mtu no mtu Command
Value ranges and default values of MTUs with different link layer encapsulation formats are different. When Ethernet_II frame format is adopted, MTU value range will be 461500 with default value 1500, and when Ethernet_SNAP frame format is adopted, MTU value range will be 46-1492 with default value 1492.
The default is Auto, i.e. the system automatically chooses an optimum working rate. The user can also specify the interface working rate. But the rate specified must be the same as that of the actually connected network.
The default is Auto, i.e. the system automatically chooses an optimum working mode.
2-3
Chapter 2
Configuring LAN Interface
For example: ! Show the state of Ethernet 0 Quidway#show interface ethernet 0 The system displays:
Ethernet0 is up, line protocol is down Hardware address is 00-e0-fc-00-00-00 Auto-Negotiation is enabled, Duplex AUTO, Speed AUTO Internet address is 10.111.0.8 255.255.0.0 10.111.255.255 Description: Quidway Router, ethernet interface IP Sending Frames' Format is Ethernet_II the Maximum Transmission Unit is 1500 5 minutes input rate 0.00 bytes/sec, 0.00 packets/sec 5 minutes output rate 0.00 bytes/sec, 0.00 packets/sec Input queue: (size/max/drops) 0/1000/0 Queueing strategy: FIFO Output Queue: (size/max/drops) 0/75/0 0 packets input, 0 bytes, 0 no buffers 0 packets output, 0 bytes, 0 no buffers 0 input errors, 0 CRC, 0 frame errors 0 overrunners, 0 aborted sequences, 0 input no buffers
The information displayed above includes the physical state, line state, network protocol address, frame encapsulation format and statistic information about transceiving message of this Ethernet interface.
2-4
Chapter 2
Configuring LAN Interface
Interface address: Interface address : 202.38.165.1 129.102.0. 1 Router B Router C Ethernet Ethernet Network address: 202.38.165.2
2-5
Chapter 2
Configuring LAN Interface
l l
Ping the Ethernet interface from the host located in the same LAN as the router to observe whether the returned messages are correct. View the statistic information of two ends of the connection (such as the router and switch) to observe whether the statistic number of the received error frames increases quickly.
If either test fails to pass, it indicates that the Ethernet interface of the router or the connected Ethernet is abnormal. After confirming the fault, proceed as follows: Step 1: View whether the LAN connection between the host and router is correct. If the Ethernet is connected with HUB or LAN Switch, please check the status of relevant link indicators on HUB or LAN Switch. If the indicators are on, it means that the Ethernet interfaces of the host & router and the network cable are physically correct. Otherwise, please replace such physical equipment as the network adapter, network cable, router or relevant interface module. When the Ethernet is connected with unshielded twisted pair and at least one of the connection parties supports 100Base-TX, rate matching must be taken into consideration. If the working rates of two parties do not match, i.e. one works in 100Mbit/s mode while the other works in 10Mbit/s mode, then the fault is that the party with 100Mbit/s configuration shows no connection, while the party with 10Mbit/s connection shows the connection has been established. Furthermore, the activity indicator of the physical layer blink quickly and messages cant be received or transmitted normally. On checking the connection of fast Ethernet interface of Quidway series router, the following prompt information is very helpful. Both these two pieces of information are output on the control console when the user is executing the rate selection command or connecting the network cable.
Ethernet 0: Warning--the link partner do not support 100M mode Ethernet 0: Warning--the link partner may not support 10M mode
Here, the first piece of prompt information indicates that the opposite end, which is detected by the Ethernet interface of Quidway series router, does not support 100Mbit/s working rate, while the local end is working at 100Mbit/s rate by force. At this time, the user should ensure the opposite has been configured correspondingly and is working in rate of 100Mbit/s. The second prompt information indicates that the opposite, detected by the Ethernet interface of Quidway series router, may not support 10Mbit/s working rate, while the local end is forced to work in 10Mbit/s rate. Now, the user should ensure the opposite end to work at the rate of 10Mbit/s. However, when the Ethernet interface of Quidway series router is connecting 10/100Mbit/s adaptive port of HUB, this information doesnt mean setting is incorrect. Step 2: View whether IP addresses of the Ethernet interfaces of the host and router are within the same sub-net. That is the network addresses must be the same, only the host addresses are different. If they are not in the same sub-net, please re-set the IP address. Step 3: Check whether the link layer protocols match one another. Take for example two link layer protocol standards supporting IP protocol, Ethernet_II and Ethernet_SNAP: these two link layer protocols have different encapsulation formats and MTUs. MTU of the former has 1500 bytes and MTU of the latter has 1492 bytes. Two Ethernet devices cant communicate reliably unless they are connected with the same link layer protocol. The Ethernet interface of Quidway series router can simultaneously receive data frames with Ethernet_II and Ethernet_SNAP formats. However, the format of sending data frame must be in accordance with either Ethernet_II or Ethernet_SNAP specified by the user. Therefore, please confirm
2-6
Chapter 2
Configuring LAN Interface
whether the data frame sending format of the router is the same as that of other hosts. When the protocols do not match, the cables and interfaces are physically normal, but cant be pinged through. Step 4: View whether the working mode of the Ethernet interface is correct. When connecting the Ethernet with unshielded twisted pair or fiber, there are two working modes: full duplex and half duplex, specified in 10Base-T/100BaseTX/100Base-FX standard. When using HUB, the half-duplex working mode should be selected. When using LAN Switch, if LAN Switch works in half duplex mode, the Ethernet interface of the router also works in half duplex mode. If LAN Switch works in full duplex mode, the Ethernet interface of the router works in full duplex mode too. If the working mode is incorrect, i.e. one party of the connection works in full duplex mode while the other party in half duplex mode, fault will occur. That is, when network flow increases, the party working in half duplex mode shows frequent network collisions (for example, if HUB is connected, all the other devices on the whole network segment will show serious network collisions), while the party working in full duplex mode shows large amount of error messages received, accompanied with serious message losses at both parties. In this case, use show interface ethernet command to view the error ratio of transceiving messages of the Ethernet interface. Usually, the collision can be observed through the status indicator of the network interface.
2-7
Chapter 3
Configuring WAN Interface
The asynchronous serial port may also need to be configured with SLIP parameter, PPP parameter, DDR parameter, IP address, firewall and backup center parameter as required. Please see relevant chapters in this manual for details.
3-1
Chapter 3
Configuring WAN Interface
Table IC-3-1 Set the synchronous/asynchronous serial port to work in asynchronous mode
Operation Set the synchronous/asynchronous serial port to work in asynchronous mode. Command physical-layer async
IV. Setting the asynchronous serial port to work in dialup or dedicated line mode.
For special asynchronous serial port or the asynchronous serial port set from synchronous/asynchronous serial port, it is possible to dialup with modem command. Please see DDR Configuration part in this manual for other settings and detailed instructions in dialup mode. In dedicated line mode, ensure that modem command is not configured, i.e. disable dial with no modem command. Please use the following commands in the configuration mode of asynchronous serial port. Table IC-3-3 Set the working mode of asynchronous serial port
Operation Set the asynchronous serial port to work in dial mode. Set the asynchronous serial port to work in dedicated line mode. Command modem {in | out} no modem
The asynchronous serial port works in dial mode by default, i.e. modem command is configured by default. Both calling in and calling out are allowed with modem in and modem out command.
3-2
Chapter 3
Configuring WAN Interface
Default value is 9600bit/s. When the asynchronous serial port is used in dialup mode, the baud rate only refers to the communication rate between the asynchronous serial port of the router and Modem. And the rate between two Modems must be determined according to the line quality after mutual consultation. Therefore, baud rate settings of asynchronous serial ports of two routers at two ends of the line can be inconsistent. When the asynchronous serial port is used in dedicated line mode, the baud rate setting must be consistent with the opposite equipment.
& Note: After the synchronous/asynchronous serial port is set to work in asynchronous mode, the router will automatically change the baud rate to 9600bit/s.
3-3
Chapter 3
Configuring WAN Interface
protocol at the receiving end and then establishes the link. This mode is usually used for such man-machine interactions as dumb terminal and dialing, etc. Please use the following commands in the configuration mode of the asynchronous serial port. Table IC-3-6 Set the link establishment mode of asynchronous serial port
Operation Set the asynchronous serial port to establish the link in dedicated mode Set the asynchronous serial port to establish the link in interactive mode Command async mode dedicate async mode interactive
3-4
Chapter 3
Configuring WAN Interface
Please perform the following configuration in asynchronous serial interface configuration mode. Table IC-3-8 Set the check mode when the async serial port works in interactive mode
Operation Set the check mode when the async serial port works in interactive mode Command parity { even | mark | none | odd | space }
5, 6, 7 and 8 stand for 5, 6, 7 and 8 data bits respectively. By default, there are 8 data bits.
3-5
Chapter 3
Configuring WAN Interface
Please use the following commands in the configuration mode of the asynchronous serial port. Table IC-3-11 Enable or disable the level detection for the asynchronous serial port
Operation Enable the level detection for the asynchronous serial port. Disable the level detection for the asynchronous serial port. Command detect dsr-dtr no detect dsr-dtr
By default the level detection is enabled for the asynchronous serial port.
The unit of mtu is byte, ranging 128 to 1500, with 1500 as default. The asynchronous serial port is used in dialup service or dedicated line service. For details about its monitoring, maintenance, typical configuration example, fault diagnosis and troubleshooting, please see related chapters of 03 WAN Protocol Configuration and 06 DDR Configuration in this manual.
3-6
Chapter 3
Configuring WAN Interface
3)
4)
In addition to the above points, AUX interface is configured in the same way as that of the asynchronous serial interface. For other relevant configurations, refer to Asynchronous Serial Interface Configuration of this manual.
3-7
Chapter 3
Configuring WAN Interface
l l l l
The synchronous serial port can connect multiple cables externally, such as V.24 and V.35. VRP can automatically detect types of cables connected externally and select electrical characters. There is no need to configure manually. The link layer protocols supported by synchronous serial port include PPP, frame relay, LAPB and X.25. It supports IP and IPX network layer protocol. Type of external cable and the working mode (DTE/DCE) of the synchronous serial port can be viewed with show interface serial command.
value the voice output attenuation ranging 14.0 to 14.0 in dB with one digit after the decimal point.
III. Entering the configuration mode of the specified synchronous serial port
In global configuration mode, enter the configuration mode of the specified synchronous serial port with the following command.
3-8
Chapter 3
Configuring WAN Interface
The baud rates supported by the synchronous serial port are: l l l 1200bit/s 4800bit/s 9600bit/s
3-9
Chapter 3
Configuring WAN Interface
l l l l l l l l
For different physical electrical procedure, the range of baud rate supported by the synchronous serial port are different. l l V.24DTE/DCE: 1200bit/s-64000bit/s V.35DCE/DCE, X.21DTE/DCE, EIA/TIA-449DTE/DCE and EIA-530DTE /DCE: 1200bit/s-2048000bit/s When two synchronous serial ports are connected, the baud rate on line is determined at DCE-side. Therefore, when the synchronous serial ports are working in DCE mode, the baud rate is to be set. However, if the ports act as DTE, then the baud rate neednt be configured. Default baud rate of synchronous serial port is 64000bit/s.
& Note: After the synchronous/asynchronous serial port is set to synchronous mode from asynchronous mode, the system will automatically change the default baud rate to 64000bit/s.
3-10
Chapter 3
Configuring WAN Interface
Table IC-3-20 Selection method with synchronous serial port serving as DTE-side clock
Selection method DTE1 DTE2 DTE3 DTE4 Meaning TxClk = TxClk, RxClk = RxClk TxClk = TxClk, RxClk = TxClk TxClk = RxClk, RxClk = TxClk TxClk = RxClk, RxClk = RxClk
& Note: TxClk stands for transmitting clock, RxClk for receiving clock, the clock before = is DTE-side clock, and that behind = is DCE-side clock.
Please use the following commands in the configuration mode of the synchronous serial port. Table IC-3-21 Select working clock
Operation Select DCE-side synchronous serial port clock Select DTE-side synchronous serial port clock. Command clock-select DCEclk clock-select {DTE1 | DTE2 | DTE3 | DTE4}
The clock of DCE-side synchronous serial port is DCEclk by default, and that of DTE side is DTE3 by default.
& Note: This command is only effective to certain clock signals provided by some DCEs. Usually, clock inversion should not be set.
3-11
Chapter 3
Configuring WAN Interface
The unit of mtu is byte, ranging between 128-1500, with 1500 as default. The synchronous serial port is mainly used in dialup service. For details about its monitoring and maintenance, typical configuration example, fault diagnosis and troubleshooting, please see DDR Configuration part in this manual.
3-12
Chapter 3
Configuring WAN Interface
TE1
NT2
NT1
TE2
TA
Figure IC-3-2 Reference configuration of ISDN user-network interface The function group includes: l l l l Network terminal 1 (NT1): it mainly fulfills functions of OSI layer 1, including subscriber line transmission function, loop test and D channel contention. Network terminal 2 (NT2): also called intelligent network terminal, including layer 1-layer 3 of OSI. Type-1 terminal equipment (TE1): also called ISDN standard terminal, which is user equipment conforming to ISDN interface standard (such as digital phone set). Type-2 terminal equipment (TE2): also called non-ISDN standard terminal, which is user equipment not conforming to ISDN interface standard.
3-13
Chapter 3
Configuring WAN Interface
Terminal adapter (TA): it implements adaptation function, making TE2 to access ISDN standard interface. R reference point: it is between non-ISDN equipment and TA S reference point: it is between user terminal and NT2. T reference point: it is between NT1 and NT2. U reference point: it is between NT1 and line terminal.
Please dial before using ISDN BRI interface. See 06 DDR Configuration part in this manual for detailed description of configuration, monitoring and maintenance, typical configuration example, fault diagnosis and troubleshooting of ISDN BRI interface.
3-14
Chapter 3
Configuring WAN Interface
protocols as PPP, frame relay, LAPB and X.25 and such network protocols as IP and IPX. In cE1/PRI mode, it is physically divided into 32 timeslots, respectively corresponding to numbers 0-31. This interface is used in two ways: l When used as cE1 interface, it can divide all timeslots into random groups. Each group of timeslots, whose logic features are the same as those of synchronous serial port, is bound to serve as a channel-group interface, supporting such link layer protocols as PPP, frame relay, LAPB and X.25, and network protocols such as IP and IPX. When used as PRI interface, since the timeslot numbered 16 is used as D channel for signaling transmission, it can only select a group of timeslots out of those timeslots except timeslot 16, and bind this group to serve as a pri-group interface. Its logic features are the same as those of ISDN dialing interface that supports PPP link layer protocol and such network protocols as IP and IPX. In addition, parameters link DDR can also be configured.
3-15
Chapter 3
Configuring WAN Interface
Table IC-3-28 Set the line CODEC format for cE1/PRI interface
Operation Set the line CODEC format of cE1/PRI interface Restore the default line CODEC format of cE1/PRI interface Command linecode { ami | hdb3 } no linecode
By default, Select DTE clock, i.e., the line clock, on cE1/PRI interface.
Chapter 3
Configuring WAN Interface
Here, channel-group-number is the group number of channel, ranging 0 to 30, and number is channel number ranging 1 to 31. On a cE1/PRI interface, up to 31 channel-groups can be bound, but only one pri-group can be bound. When bound as pri-group, if no timeslot is specified, all timeslots except timeslot 16 will be bound, forming an ISDN PRI interface similar to 30B+D. If timeslot 16 is included in the bound timeslots, it will be omitted. If only timeslot 16 is to be bound, binding will be unsuccessful. Besides, only one timeslot binding mode is supported on a cE1/PRI interface on the same time, i.e. there can not be channel-group and pri-group at the same time.
3-17
Chapter 3
Configuring WAN Interface
Here, interface-number stands for the number of Serial interface added in the system when channel-group is set for cE1/PRI interface, and channel-group-number is the set channel group number. The main setting includes: l l l l Working parameters of such link layer protocols as PPP, frame relay, LAPB or X.25. IP address If the interface serves as main interface or backup interface of the backup center, it is necessary to set working parameters of the backup center. To build up firewall on this interface, it is required to set address translation and bit/s filtering rules.
Here, interface-number stands for the number of Serial interface added in the system when pri-group is set for cE1/PRI interface. The main setting includes: l l l l l DDR working parameters Encapsulation link protocol PPP and its authentication parameters IP address If the interface serves as the main interface or backup interface of the backup center, it is necessary to configure working parameters of the backup center. To build up firewall on this interface, it is required to configure the firewall
Here, interface-number stands for the number of Serial interface added in the system when pri-group is set for cE1/PRI interface. The main setting includes:
3-18
Chapter 3
Configuring WAN Interface
l l l l
Working parameters of such link layer protocols as PPP, frame relay, LAPB or X.25. IP address If the interface serves as main interface or backup interface of the backup center, it is necessary to configure working parameters of the backup center. To build up firewall on this interface, it is required to configure address translation and bit/s filtering rules.
Example 1: ! Show the working state of cE1/PRI interface Quidway#show controller e1 1 The system displays:
E1 1-1 is down. Applique type is E1 - 75 OHM unbalanced Framing is NO-CRC4, Line Code is HDB3, Source Clock is Line.
The information displayed above includes the physical state, application mode, frame check mode, line CODEC format, and line clock selection. Example 2: ! Show working state of pri-group Quidway#show interface serial 9:15 The system displays:
Serial9:15 is down, line protocol is down physical layer is E1, baudrate is 1920000 bps Encapsulation is PPP 5 minutes input rate 0.00 bytes/sec, 0.00 packets/sec 5 minutes output rate 0.00 bytes/sec, 0.00 packets/sec Input queue :(size/max/drops) 0/50/0 Queueing strategy: FIFO Output Queue :(size/max/drops) 0/50/0 0 packets input, 0 bytes, 0 no buffers 0 packets output, 0 bytes, 0 no buffers 0 input errors, 0 CRC, 0 frame errors 0 overrunners, 0 aborted sequences, 0 input no buffers Timeslot(s) Used: 1-31
3-19
Chapter 3
Configuring WAN Interface
The information displayed above includes the physical state, line state, frame encapsulation format, application mode and statistic information of transceiving message of pri-group. cE1/PRI interface is usually used in dialup service or dedicated line service. For its typical configuration example, fault diagnosis and troubleshooting, please see related chapters of 03 Link Layer Configuration and 10 DDR Configuration in this manual.
3-20
Chapter 4
Configuring Logic Interface
Please see related chapters in 06 DDR Configuration part in this manual for detailed description, monitoring and maintenance, typical configuration example, fault diagnosis and troubleshooting of the configurations of standard and flexible DDR.
4.2 Sub-Interface
4.2.1 Sub-Interface Overview
VRP provides the concept of sub-interface, which enables user to configure multiple sub-interfaces on single physical interface of Quidway series router. Sub-interface implements multiple logic interfaces on a physical interface, i.e. to associate multiple logic interfaces with one physical interface. The logic interfaces that belong to the same physical interface will share physical configuration parameters during work, and they also have independent link layer and network layer configuration parameters. In Quidway series router, the physical interfaces supporting sub-interface features include: l l Ethernet interface: when the sub-interface of Ethernet has not been configured with VLAN id, it can only support IPX network protocol. After configured with VLAN id, it will be able to support both IPX and IP protocols. WAN interface of encapsulation frame relay: its sub-interface can support IP and IPX network protocols.
4-1
Chapter 4
Configuring Logic Interface
WAN interface of encapsulation X.25: its sub-interface can support IP and IPX network protocols.
When using the above commands, if corresponding Ethernet sub-interface has been created (the same as subinterface-number ), enter the configuration mode of this subinterface directly. Otherwise, first create Ethernet sub-interface with subinterfacenumber as the specified one, and then enter the configuration mode of this subinterface. 2) Configure relevant working parameters If the sub-interface of Ethernet has not been configured with VLAN id, it can only support IPX network protocol. Therefore, only IPX network address and other IPX working parameters can be configured on this sub-interface. The detailed configuration procedure and method are similar to those of the Ethernet interface. Please see LAN interface configuration in Interface Configuration and IPX configuration in Network Protocol Configuration of this manual. After configured with VLAN id, the sub-interface of Ethernet can support IP and IPX. For relevant configuration, refer to LAN interface configuration in Interface Configuration and IP configuration in Network Protocol Configuration of this manual.
4-2
Chapter 4
Configuring Logic Interface
When using the above commands, if corresponding WAN sub-interface has been created (the same as subinterface-number ), enter the configuration mode of this subinterface directly. Otherwise, first create WAN sub-interface with subinterface-number as the specified one, and then enter the configuration mode of this sub-interface. 2) Configure relevant working parameters The following items can be configured on the sub-interface of WAN interface of encapsulation frame relay: l l l l Frame relay address mapping different from the affiliated WAN interface (i.e. the main interface) IP address which is not in the same network segment as the affiliated WAN interface IPX network number different from that of the affiliated WAN interface, and other IPX working parameters Virtual circuit of the sub-interface
Please see chapters in WAN Protocol Configuration and Network Protocol Configuration in this manual for details about the above configurations.
Please see chapters in WAN Protocol Configuration and Network Protocol Configuration in this manual for details about the above configurations, and subinterface monitoring and maintenance. No further details are provided here.
4-3
Chapter 4
Configuring Logic Interface
Figure IC-4-1 Networking diagram of WAN sub-interface configuration example 3) Configuration procedure
! Enter the configuration mode of WAN interface Serial0 of router A Quidway(config)#interface serial 0 ! Select frame relay encapsulation format Quidway(config-if-Serial0)#encapsulation frame-relay ! Specify DTE as its frame relay terminal type Quidway(config-if-Serial0)#frame-relay intf-type dte ! Create sub-interface Serial 0.1 on WAN interface Serial0 of router A in point-to point mode, and enter its configuration mode Quidway(config)#interface serial 0.1 point-to-point ! Set its IP address to 202.38.160.1 and address mask to 255.255.255.0. Quidway(config-if-Serial0.1)#ip address 202.38.160.1 255.255.255.0 ! Allocate a virtual circuit with DLCI 50 to it. Quidway(config-if-Serial0.1)#frame-relay interface-dlci 50 ! Create sub-interface Serial 0.2 on WAN interface Serial0 of router A in point-to point mode, and enter its configuration mode Quidway(config)#interface serial 0.2 point-to-point ! Set its IP address to 202.38,161.1 and address mask to 255.255.255.0. Quidway(config-if-Serial0.2)#ip address 202.38.161.1 255.255.255.0 ! Allocate a virtual circuit with DLCI 60 to it. Quidway(config-if-Serial0.2)#frame-relay interface-dlci 60 ! Configure the static route from router A to LAN2 and LAN3. Quidway(config)#ip route 129.10.0.0 255.255.0.0 202.38.160.2 Quidway(config)#ip route 129.11.0.0 255.255.0.0 202.38.161.2 Configurations of router B and router C are omitted here. For fault diagnosis and troubleshooting of sub-interface, please see chapters in 03-Link Layer Protocol Configuration and 04-Network Protocol Configuration in this manual.
Ethernet 1 129.9.0.0
DLCI=60 202.38.161.1
4-4
Chapter 4
Configuring Logic Interface
4-5
Chapter 4
Configuring Logic Interface
Build up corresponding relation between the virtual-template and relevant physical interface.
Here, number stands for template number of virtual-template ranging 1 to 25, i.e. the user can create up to 25 virtual-templates. In executing interface virtual-template command, if corresponding virtual-template has been created, then directly enter the configuration mode of this virtual-template. Otherwise, first create the virtual-template with specified template number. In deleting the virtual-template, make sure that all of its derived virtual interfaces have been removed and this virtual-template is not in use any more.
IV. Create corresponding relation between the virtual-template and related physical interface.
In VPN application environment, it is necessary to build up corresponding relations between VPDN group and virtual-template. In MP application environment, it is necessary to build up corresponding relations between MP and virtual-template. Please use the following commands in relevant configuration mode. Table IC-4-4 Create corresponding relation between the virtual-template and related physical interface
Operation Build up corresponding relation between VPDN group and virtual-template (in configuration mode of VPDN group) Build up corresponding relation between MP user and virtual-template (in global configuration mode) Command accept dialin l2tp virtual-template virtual-templatenumber [remote remote-name] multilink-user user-name bind virtual-template number
4-6
Chapter 4
Configuring Logic Interface
Please see chapters in VPN Configuration and WAN Protocol Configuration in this manual for details about the above commands.
For example: ! Show the state of Virtual-Template 1. Quidway#show interface virtual-template 1 The system displays:
Virtual- Template1 is up, line protocol is up physical layer is Virtual Template Encapsulation is PPP 0 packets input, 0 bytes 0 input errors, 0 broadcast, 0 drops 0 packets output, 0 bytes 0 output errors, 0 broadcast, 0 no protocol
The information displayed above includes the physical state, circuit state, frame encapsulation format and statistic information of transceiving message of this virtualtemplate. Please see related chapters of VPN Configuration and WAN Protocol Configuration in this manual for typical configuration examples of virtual-template.
4-7
Chapter 4
Configuring Logic Interface
Please see related chapters of VPN Configuration and WAN Protocol Configuration in this manual for more methods of fault diagnosis and troubleshooting of virtualtemplate.
4-8