1. Set vro Management Information
1. Connect the 9-hole connector with the flat control line, connect the CONSOLE to the terminal or PC serial port, and set the parameters of the terminal or the Super Terminal directly connected to the serial port: the BAND rate is 9600, no parity, 8-Bit Data bit, 1-bit stop bit.
2. When the router is powered on, the terminal screen displays the power-on process.
3. Set the password in privileged Mode
Line vty 0 4
Password bc123
Exit
Enable secret bc123fzq123
Exit
4. Set vro information in privileged mode:
Hostname bc3640
Ip domain-list jzl. cq
Ip domain-list jz2.cq
Ip domain-name jzl. cq
Ip name-sever 10.54.34.1
5. Go to global mode and configure the ethernet address
Configure timinal
Interface fastethernet 0/0
Ip address 192.168.254.254 255.255.255.0
No shutdown
Exit
Interface fastethernet 1/0
Ip address 10.154.34.253 255.255.255.252
Noshut down
Exit
Enable IP routing
Ip routing
Set the dial-in customer name and password
Username user1 password 123
Set the dialing group parameters to specify the IP address for the dialing customer
Line 65 72
Autoselect ppp
Modem inout
Transport inputall
Exit
Interface group-async1
Ip unnumbered fastethernet 1/0
Encapsulation ppp
Dialer in band
Dialer map ip 10.154.34.247 name user 1
Async default routing
Anync mode interactive
Peer default ip address pool default
Ppp authentication chap pap
Group-ranger 65 72; vro remote dial-in Port
Set the internal ospf route protocol and static route
Access-list 77 permit 10.154.34.0 0.0.1.255
Router ospf 110
Redistribute connected subnets
Redistribute static subnets
Passive-interface fastethernet 0/0
Network 10.154.34.0 0.0.255 area 0
Network 10.154.35.0 0.0.0.255 area 0
Distribute-list 77 out
Exit
Ip default-gateway 10.154.34.254
Ip router 0.0.0.0 0.0.0.0 10.154.34.254
Ip router 10.0.0.0 255.0.0.0 10.154.34.254
Ip router 192.168.0.0 255.255.0.0 192.168.254.1
Set NAT Translation
Access-list 99 deny 192.168.3.1
Access-list 99 permit 192.168.3.0 0.0.255
Access-list 99 permit 192.168.0.0 0.255.255
Ip nat pool netdyn 10.154.35.1 10.154.35.126 netmask 255.255.255.0
Ip nat inside source list 99 pool netdyn overload
Ip nat inside source static 192.168.3.1 10.154.35.1
Interface fastethernet1/0
Ip nat outside
Exit
Interface group-async1
Ip nat outside
Exit
Interface fastethernet 0/0
Ip nat insider
Exit
Write memory
Ii. CISCO router Wan Configuration Wizard
1. dial-on demand routing (ddr) is a network connection provided by a public telephone network. Generally, most WAN connections use leased lines. routers connect to DCE devices similar to modem or isdntas. They support synchronous V.25BITS protocol. You can use the scripts and dialer commands to set the dial-up string.
DDR is suitable for scenarios where the user's log rate is not high and sometimes there is data transmission or data is transmitted only at a specific time, such as when the bank transfers reports every night.
When a packet arrives at the vro, a DDR request is generated. The vro sends the call establishment information to the DCE device of the specified serial port, this call connects the local device to a remote device. Once no data is transmitted, the idle time starts to record the time. The connection is terminated when the specified time is exceeded. DDR now uses static routes to transmit data, avoiding DDR dialing caused by route switching.
And XNS can be configured to one or more destinations through DDR routing addressing, synchronous serial port, asynchronous serial port and ISDN port.
Below is a typical DDR connection:
In the DDR configuration process, we can configure one or more physical ports as a logical dialing interface, which can be synchronous to V.25 mode, synchronous to DYR to start dialing or asynchronous CHATSCRIPT mode.
In Port Configuration Mode:
Activate DIAL-ON-demand routing on a port
Command: dialer in-band
Specify a port as a dial-up access group: dialer-group-number
Specify a single phone number: dialer string dialer-string
Unprecedented waiting time before disconnection: dialer idle-time seconds
Define one or more target phone numbers:
Dialer map protocol net-hop-address dialer-string
Restrict the transmitted access-list table or specific protocol:
Dialer-list dialer-group list access-list-number or
Dialer-list dialer-group protocol name (permit/deny/list access-list-number)
Specific Configuration:
!
Interface serial 0
Ip address 131.108.126.1 255.255.255.0
Dialer in-band
Dialer-group 1
!
Dialer map ip Address: 131.108.126.2 55551234
!
Dialer idle-timeout 300
Dialer backup example
A) Synchronous V.25bits Mode
Configuration for routeconfig:
Interface serial 10: 0
Backup delay 0 10
Backup interface serial 110
Ip address 16.217.30.2 255.255.255.252
!
Interface serial 110
Ip address 16.30.16.81 255.255.255.25.0
Encapsulation ppp
Dialer in-band
Dialer string 8292
Dialer-group 1
Pulse-time 1
!
Dilar-list 1 protocol ip permit
B) Auxiliary port for dial-up backup
Configuration for routeconfig:
Chat-script mydial "" atdt 8292 "timeout 60" connect"
!
Interface serial 0
Backup delay 0 0
Backup interface async1
Ip address 16.3.1.1 255.255.255.0
Encapsulation ppp
!
Interface async1
Ip address 16.3.2.1 255.255.255.0
Encapsulation ppp
Keepalive 9
Async default routing
Async dynamic address
Async dynamic routing
Async mode dedicated
Dialer string 8292
Dialer-group 1
!
Dialer-list 1 protocol ip permit
!
Line aux 0
Script dialer mydial
Modeinout
Transport output none
Stopbits 1
Flowcontrol hardware
Speed9600
Subinterface example (frame realay)
Configuration for routeconfig:
Interface serial 0
Encapsulation frame-relay
Interface serial 0.1 multipoint
Ip address 11.10.11.1 255.255.255.0
Frame-relay interface-dlci 41
Frame-relay interface-dlci42
[1] [2] [3] Next page
Article entry: csh responsible editor: csh
Configuration for routerC:
Interface serial 0
Encapsulation frame-relay
Interface serial 0.1 point-point
Ip address 11.10.16.2 255.255.255.0
Frame-realy interface-dlci 46
Configuration for routerB:
Interface serial 0
Encapsulation frame-relay
Interface serial 0.1 multipoint
Ip address 11.10.11.3 255.255.255.0
Frame-relay interface-dlci 43
Frame-relay interface-dlci 44
!
Interface serial 0.2 point-point
Ip address 11.10.13.1 255.255.255.0
Frame-realy interface-dlci 48
Frame relay switching example
Configuration for routeconfig:
Frame-relay switching
No ip address
Frame-relay encapsulation
Frame-relay route 163 tun0 43
Frame-relay intf-type dce
!
Interface serial0
Ip address 131.108.100.1 255.255.255.0
!
Interface tu 0
Tunnel source serial 1
Tunnel destintion 131.108.13.2
Configuration for routerB:
Frame-relay switching
!
Interface serial 0
No Ip address
Frame-relay encapsulation
Frame-relay router 9 tun0 43
Frame-relay interface-type dce
!
Int tu 0
Tunnel source serial 1
Tunnel destination 131.108.100.1
Previous Page [1] [2] [3] Next page
Article entry: csh responsible editor: csh
Channelized E1interface example
Assume that it is a 7500 series router, and the E1 interface (MIP Board) is located on slot 4.
A channel-GROUP can correspond to multiple time slots. In this example, SERIAL4/has a rate of 5*64.
Configuration for router:
Controller e1 0
Framing no-crc4
Chanel-group 0 timeslots1
Channel-group 1 timeslots 2, 7-9, 20 speed 64
!
Interface serial4/0: 0
Ipaddress 16.217.30.2 255.255.255.252
Encapsulation ppp
!
Interface serial 4/0: 1
Ip address 16.205030.5 255.255.255.252
X.25 EXAMPLE
When X.25 is configured, Static Routing is usually used to reduce the call caused by route switching. When one-to-many requests are configured, subinface is not used in one subnet.
Configuration for router:
Interface serial 0
Ip address 131.108.100.1 255.255.255.0
Encapsulation X.25
X.25 address 041673226839
X.25 htc 16
X.25 map ip address 131.108.100.2 041675222222
Ints 0.1
Ip address 131.108.101.1 255.255.255.0
X.25 mapip 131.108.101.2 041674222222
!
Ip router 131.108.100.0 255.255.255.0 131.108.100.2
Ip router 131.108.101.0 255.255.255.0 131.108.101.2
Previous Page [1] [2] [3]
Article entry: csh responsible editor: csh