1 . Configure Ethernet (Ethernet) port: # conf TA router from the terminal. # INT E0 Specifies E0 port. # ip addr abcd xxxx abcd is an Ethernet address, XXXX is a subnet mask. # ip addr abcd xxxx Secondary E0 port supports two address types. If the first is a class A address, the second is the B or C address. # no shutdown activates E0 port. # exit 2. X.25 Configuration # Conf T # int S0 Specifies S0 port. # Ip addr abcd xxxx abcd is an IP address of Ethernet S0, XXXX is a subnet mask .. # ENCAP X25-ABC Package X.25 protocol. ABC specifies that X.25 is DTC or DCE operation, default is DTE. # x25 addr ABCD ABCD is the X.25 port address of S0, provided by the Posts and Telecommunications Bureau. # x25 MAP IP ABCD XXXX BR map X.25 address. ABCD is an IP address of the other party router (such as: S0), XXXX is an X.25 port address of the other party router (e.g.,: S0). # x25 HTC X Configure the highest bidirectional channel number. X of the value range 1-4095, to be configured according to the actual digital configuration provided by the Posts and Telecommunications. # x25 NVC X Configure the number of virtual circuits. X must not exceed the number actually provided by the Posts and Telecommunications, otherwise it will affect the normal transmission of the data. # exit ---- 3. Configuration of the special line: # conf T # int S2 Specifies the S2 port. # ip addr abcd xxxx ABCD is the IP address of S2, XXXX is a subnet mask. # exit 4. Frame Relay Configuration # conf T # int S0 # ip addr abcd xxxx abcd is the IP address of S0, XXXX is a subnet mask. # ENCAP FRANTE_RELAY Package Frante_Relay Protocol. # no nrzi_encoding nrzi = no # frame_relay lmi_type Q933A LMI uses the Q933A standard. LMI (LOCAL Management Interface) has three: ANSI: T1.617; CCITTY: Q933A and Cisco unique standards. # FRAM-Relay INTF-TYP ABC ABC is a frame relay device type, which is supported by DTE devices, DCE switches, or NNI (network contact interface). # frame_relay interface_dlci 110 BR configuration DLCI (Data Link Connection Identifier). # Frame-Relay Map IP Abcd XXXX Broadcast establishes a frame relay mapping. ABCD is the other party IP address, XXXX is a local DLCI number, and Broadcast allows broadcast forward or update the route. # no shutdown Activate this port. # exit ---- 5. The configuration of the frame relay sub-interface: # Conf T # int S0.1 Point-to-Point corresponds to the sub-interface 1 of S0, point-to-point mode. # ip addr abcd xxxx abcd is the IP address of the subhead 1, XXXX is a subnet mask. # frame-relay intreface-dlci 100 br 6. Configure dial backup (1). Configure the backup main port # conf T # Int S0 S0 is the main port. # Backup int start 1 A1 port is a backup port. # Backup delay 0 1 delay 1 second. (2). Configuring virtual interface # ip addr abcd xxxx abcd for virtual interface IP address, xxxx is a subnet mask.
# ENCAP PPP Package PPP Protocol. # Dialer In-Band Activate the on-calling function. # Dialer IDLE-TIMEOUT 7200 # Dialer MAP IP Abcd Modem-Script Call Broadcast 6225481 BR mapping the corresponding dial port. The ABCD is the IP address of the other side dial port, 6225481 is the corresponding phone number. # DIALER_GROUP 1 Define the dial-up group member. (3). Configuring Firewall # DIALER_LIST 1 Pro IP Permit Allow IP protocols to pass. (4). Configure the connection password # user name abcd pass xxxx abcd to the other host name, XXXX is a connection password. (5). Configuring Dial String # Conf T # chat-script call abort busy abort error "" ATDT 6335481 TIMEOUT 45 "Connect" 6335481 is the other party's phone number. (6). Configuring Dial-up Password # conf T # usrname rou1 pass xxxx rou1 is the other party router name, xxxx is a connection password. (7). Configure the line # conf T # Line aux 0 # modem inout modem two-way transmission. # Modem AutoConfigure Discovery # Transport Input All # RXSPEED 51200 MODEM speeds 51200. # exit 7. Configure synchronous / asynchronous port (for 2522) # conf T # int S2 # ph asynynchrographic configuration S2 is asynchronous. # pH SYNC, configure S2 as the synchronization port. 8. Dynamic Routing Configuration # conf T # Router EIGRP 20 uses the EIGRP routing protocol. Common route protocols include RIP, IGRP, IS-IS, etc. # Passive-Interface Serial0 If S0 is connected to X.25, enter this article instruction. # Passive-Interface Serial1 If S1 is connected to X.25, enter this article. # NetWork ABCD ABCD is the Ethernet address of this unit. # Network xxxx xxxx is the IP address of S0. # no auto-summary # exit 9. Static route configuration # ip router abcd xxxx yyyy 90 ABCD is the Ethernet address of the other party router; xxxx is a subnet mask.; YYYY is a wide area network port address corresponding to the other party. # Dialer-List 1 Protocol IP Permail 10. Backup profiles to hard disk # Copy Run TFTP Create an empty file on the hard disk and have read and write permissions to back up success. 11. Restore the backup configuration file to the router # Copy TFTP RUN 12. Built a backup on the router # Copy Run Start9cbs ID Yishao (Dragon) (WWW.94888.NET)