Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Collection of typical Cisco network configuration commands

2025-02-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Cisco Firewall

3. Enter the command: enable, enter privileged mode, and the prompt is pixfirewall#.

4. Enter the command: configure terminal to initialize the system.

5. Configure etheric port parameters:

Interface ethernet0 auto (the auto option indicates the system adaptive Nic type)

Interface ethernet1 auto

6. Configure the IP address of the internal and external network card:

Ip address inside ip_address netmask

Ip address outside ip_address netmask

7. Specify an external address range:

Global 1 ip_address-ip_address

8. Specify the internal address to be translated:

Nat 1 ip_address netmask

9. Set default routes to intranets and extranets

Route inside 0 0 inside_default_router_ip_address

Route outside 0 0 outside_default_router_ip_address

10. Configure static IP address mapping:

Static outside ip_address inside ip_address

11. Set some control options:

Conduit global_ip port [- port] protocol foreign_ip [netmask]

Global_ip refers to the address to be controlled.

Port refers to the port being used, where 0 represents all ports

Protocol refers to connection protocols, such as TCP, UDP, etc.

Foreign_ip represents the external ip that can access the global_ip, where all ip are represented.

twelve。 Set the telnet options:

Telnet local_ip [netmask]

Local_ip indicates that the ip address of the pix is allowed to be accessed through telnet (if this is not set

The matching of PIX

Setting can only be done by consle).

13. Save the configuration:

Wr mem

14. Several common network test commands:

# ping

# show interface to view port status

# show static View static address Mapping

2900XL VLAN config

Switch# vlan database

Switch (vlan) # vtp domain domain-name

Switch (vlan) # vtp domain domain-name password password-value

Switch (vlan) # vtp server

Switch (vlan) # show vtp status

To Disable VTP, simply change the VTP mode to transparent

Namely Switch (vlan) # vtptransparent

two。 Activate VTP V2 (the switch defaults to VTP V1).

Switch# vlan database

Switch (vlan) # vtp v2-mode

Switch# show vtp status

3. Add VLAN. Catalyst 2900XL series switches support up to 64 active VLAN

VLAN ID number from 1Mel 1005.

Switch# vlan database

Switch (vlan) # vlan vlan-id name vlan-name

Switch# show vlan name vlan-name

Switch (vlan) # no vlan vlan-id / / Delete VLAN

4. Add the port to the VLAN.

Switch# configure terminal

Switch (config) # interface interface

Switch (config-if) # switchport mode access

Switch (config-if) # switchport access vlan vlan-id

Switch (config-if) # show interface interface-id switchport

5. Configure the trunk port.

Switch# configure terminal

Switch (config) # interface interface

Switch (config-if) # switchport mode trunk

Switch (config-if) # switchport trunk encapsulation isl

Switch (config-if) # end

Switch# show interface interface switchport

Switch# copy running-config startup-config

6. Configure the VLAN allowed on the trunk.

Switch (config) # interface interface

Switch (config-if) # switchport mode trunk

Switch (config-if) # switchport trunk allowed vlan remove vlan-id-range

Switch (config-if) # switchport trunk allowed vlan add vlan-id-range

Switch (config-if) # end

Switch# show interface interface switchport allowed-vlan

To cancel the trunk port, simply

Switch (config-if) # no switchport mode

7. Use STP to implement the load.

There are two ways to achieve load sharing:

1) use port priority.

Configuration:

Switch_1 (config-if) # interface fa0/1

Switch_1 (config-if) # spanning-tree vlan 8 9 10 port-priority 10

Switch_1 (config) # interface fa0/2

Switch_1 (config-if) # spanning-tree vlan 3 4 5 6 port-priority 10

2) use the path value. For example:

Switch_1 (config) # interface fa0/1

Switch_1 (config-if) # spanning-tree vlan 2 3 4 cost 30

Switch_1 (config) # interface fa0/2

Switch_1 (config-if) # spanning-tree vlan 8 9 10 cost 30

--

Configuration of Cisco HSRP

-

Version 12.0

Service timestamps debug uptime

Service timestamps log uptime

No service password-encryption

!

Hostname r1

!

Enable password cisco

!

Ip subnet-zero

!

!

!

!

Interface Ethernet0

Ip address 136.147.107.101 255.255.0.0

No ip redirects

No ip directed-broadcast

Standby 150 timers 5 15 / * define 150 groups to exchange hello messages once in 5 seconds, but not received in 15 seconds

The hello message starts to switch * /

Standby 150 priority 110 / * defines the weights of 150 groups of primary routers. The higher the value, the primary route.

The greater the hope * /

Standby 150preempt / * hsrp preemption of enable 150group * /

Standby 150 authentication cisco / * set 150 groups of router authentication strings * /

Standby 150 ip 136.147.107.100 / * defines the floating address of 150 groups, which is also this router

Gateway of the connected network * /

Standby 150 track Ethernet0 / * define the port for monitoring * /

!

Interface Serial0

No ip address

No ip directed-broadcast

No ip mroute-cache

Shutdown

No fair-queue

!

Ip classless

!

!

Line con 0

Transport input none

Line 1 16

Line aux 0

Line vty 0 4

Password cisco

Login

!

End

--

Now the three places are interconnected with three Cisco, which can work normally.

But now it is necessary to back up the communication line between the central point and the two remote ends.

Plan to use ISDN dial-up backup.

Sample Configuration for C2503

C2503#wr t

#

Current configuration:

!

Version 10.2

!

Hostname C2503

!

Enable password test

!

Username C4000 password cisco (See username explanation in the followi

Ng

Section.)

Isdn switch-type basic-dms100

!

Interface Ethernet0

Ip address 172.16.10.1 255.255.255.0

!

Interface Serial0

No ip address

Shutdown

!

Interface Serial1

No ip address

Shutdown

!

Interface BRI0

Ip address 172.16.20.1 255.255.255.0

Encapsulation ppp

Bandwidth 56

Dialer idle-timeout 300

Dialer map ip 172.16.20.2 name C4000 speed 56 broadcast 14155551234

Dialer map ip 172.16.20.2 name C4000 speed 56 broadcast 14155556789

Dialer hold-queue 5

Dialer load-threshold 100

Dialer-group 1

Isdn spid1 408555432101 5554321

Isdn spid2 408555987601 5559876

Ppp authentication chap

!

Router igrp 1

Network 172.16.0.0

!

Ip route 192.168.24.0 255.255.255.0 172.16.20.2

Access-list 100 deny ip 0.0.0.0255.255.255.255 255.255.255.255 0.0.0.

0

Access-list 100 permit ip 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.

two hundred and fifty five

!

!

Dialer-list 1 list 100

!

Line con 0

Line aux 0

Line vty 0 4

Password test

Login

!

End

Explanation of C2503 Configuration

C2503#wr t

#

Current configuration:

!

Version 10.2

!

Hostname C2503

!

Enable password test

!

Username C4000 password cisco

The username "C4000" is the hostname of the remote router and is used

By the dialer map command below. The username is case sensitive and mu

St match the remote router's hostname exactly.

The password, which is used by the CHAP authentication process, is cas

E sensitive and must match the remote router's password exactly.

Note: To avoid confusion, the unencrypted form of the password cisco i

S shown in this sample configuration. In the actual configuration, the

Password would appear in its encrypted form: 7 13061E010803, where 7

Denotes the encryption type and 13061E010803 is the encrypted form of

The password cisco. When entering or making changes to the username co

Mmand, always type the password in its unencrypted form and do not ent

Er the encryption type (7). It is set automatically.

Isdn switch-type basic-dms100

The ISDN switch type must match your carrier's equipment. If you chang

E the switch-type, you must reload the router for the new switch type

To take effect.

Interface Ethernet0

Ip address 172.16.10.1 255.255.255.0

Interface Serial0

No ip address

Shutdown

!

Interface Serial1

No ip address

Shutdown

!

Interface BRI0

Ip address 172.16.20.1 255.255.255.0

Encapsulation ppp

PPP encapsulation is recommended over HDLC in order to allow the use o

F CHAP authentication.

Bandwidth 56

The default bandwidth setting for a BRI interface is 64k. If you confi

Gured your dialer map statements with the speed 56 option, you should

Include the bandwidth statement.

Note: This command does not control the speed of your ISDN line. It se

Ts the correct reference point for the BRI port's show interface stati

Stics, for the dialer load-threshold command, and for IGRP/EIGRP routi

Ng metrics.

Dialer idle-timeout 300

This command sets the number of seconds the ISDN connection will remai

N open if no interesting traffic is being routed. The timer is reset e

Ach time an interesting packet is forwarded.

Dialer map ip 172.16.20.2 name C4000 speed 56 broadcast 14155551234

Dialer map ip 172.16.20.2 name C4000 speed 56 broadcast 14155556789

The dialer map command is used with CHAP authentication to place the i

Nitial call to the remote router when interesting traffic is forwarded

To the BRI interface. Once the connection is active, the dialer idle-

Timeout command determines how long it will remain active. A dialer ma

P statement is required for each ISDN phone number that will be called

. Be aware though, that two dialer map statements pointing to the same

Location might activate both B channels when you may only want to use

One channel.

Note: The command parameters for this example are:

172.16.20.2 = the IP address of the remote router's BRI interface. To

Determine this address, type show interface bri 0 at the remote router

's console prompt.

Name C4000 = the hostname of the remote router. The name is case sensi

Tive and should match the name configured for the username command abo

Ve.

Speed 56 = sets the dialer speed to 56k for ISDN circuits that are not

64k end-to-end, and should be included in both routers' dialer map st

Atements. Most installations in North Americamust be configured for 5

6K.

Broadcast = allows the forwarding of broadcast packets. Unless broadca

St packets are specified as interesting packets by the dialer-list com

Mand, they will only be forwarded when the ISDN link is active.

14155551234

14155556789 = the remote router's ISDN telephone numbers.

Dialer hold-queue 5

This command allows interesting packets to be queued until the ISDN co

Nnection is established. In this example, five interesting packets wil

L be queued.

Dialer load-threshold 100

This command is used to configure bandwidth on demand by setting the m

Aximum load before the dialer places another call through the second B

Channel. The load is the calculated weighted average load value for t

He interface, where 1 is unloaded and 255 is fully loaded. The actual

Load value you should configure depends on the characteristics of your

Particular network. In this example, the second B channel will be act

Ivated when the load reaches 39% of maximum utilization, which is 100

Divided by 255.

Dialer-group 1

The dialer-group 1 command enables the dialer-list 1 on the BRI interf

Ace, which determines which packets will be interesting and activate t

He ISDN connection.

Isdn spid1 408555432101 5554321

Isdn spid2 408555987601 5559876

The isdn spid commands are used if your carrier assigns spids to your

ISDN lines.

Ppp authentication chap

This command enables CHAP authentication.

Router igrp 1

Network 172.16.0.0

Ip route 192.168.24.0 255.255.255.0 172.16.20.2

This IP route command creates a static route to the remote router's ne

Twork via the remote router's BRI interface. This is required because

Dynamic routes are lost when the ISDN link is down.

Note: The command parameters for this example are:

192.168.24.0 = the target network.

255.255.255.0 = the target network mask. A 255 in an octet's position

Specifies an exact match for that octet is required, and a 0 in an oct

Et's position specifies any value will match.

172.16.20.2 = the address of the next hop that can be used to reach th

E target network.

Access-list 100 deny ip 0.0.0.0 255.255.255.255 255.255.255.255 0.0.0.

0

Access-list 100 permit ip 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.

two hundred and fifty five

This access list determines which IP packets will be interesting and a

Ctivate the ISDN link. The access-list you should create depends on yo

Ur particularnetwork design.

Note: The command parameters for this example are:

Access-list 100 deny ip 0.0.0.0 255.255.255.255 255.255.255.255 0.0.0.

0

Defines all broadcast packets as uninteresting.

Access-list 100 permit ip 0.0.0.0255.255.255.255 0.0.0.0255.255.255.255

Defines all other IP packets as interesting.

Dialer-list 1 list 100

This command points to access-list 100, which determines which IP pack

Ets will be interesting.

Line con 0

Line aux 0

Line vty 0 4

Password test

Login

!

End

Sample Configuration for C4000

C4000#wr t

#

Current configuration:

!

Version 10.2

!

Hostname C4000

!

Enable password test

!

Username C2503 password cisco (See username explanation in the followi

Ng

Section.)

Isdn switch-type basic-dms100

!

Interface Ethernet0

Ip address 192.168.24.65 255.255.255.0

!

Interface Serial0

No ip address

Shutdown

!

Interface Serial1

No ip address

Shutdown

!

Interface BRI0

Ip address 172.16.20.2 255.255.255.0

Encapsulation ppp

Bandwidth 56

Dialer idle-timeout 300

Dialer map ip 172.16.20.1 name C2503 speed 56 broadcast 14085554321

Dialer map ip 172.16.20.1 name C2503 speed 56 broadcast 14085559876

Dialer hold-queue 5

Dialer load-threshold 100

Dialer-group 1

Isdn spid1 415555123401 5551234

Isdn spid2 415555678901 5556789

Ppp authentication chap

!

Router igrp 1

Network 172.16.0.0

Network 192.168.24.0

!

Ip route 172.16.10.0 255.255.255.0 172.16.20.1

Access-list 100 deny ip 0.0.0.0 255.255.255.255 255.255.255.255 0.0.0.

0

Access-list 100 permit ip 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.

two hundred and fifty five

!

!

Dialer-list 1 list 100

!

Line con 0

Line aux 0

Line vty 0 4

Password test

Login

!

End

Explanation of C4000 Configuration

C4000#wr t

#

Current configuration:

!

Version 10.2

!

Hostname C4000

!

Enable password test

!

Username C2503 password cisco

The username "C2503" is the hostname of the remote router and is used

By the dialer map command below. The username is case sensitive and mu

St match the remote router's hostname exactly.

The password, which is used by the CHAP authentication process, is cas

E sensitive and must match the remote router's password exactly.

Note: To avoid confusion, the unencrypted form of the password cisco i

S shown in this sample configuration. In the actual configuration, the

Password would appear in its encrypted form: 7 13061E010803, where 7

Denotes the encryption type and 13061E010803 is the encrypted form of

The password cisco. When entering or making changes to the username co

Mmand, always type the password in its unencrypted form and do not ent

Er the encryption type (7). It is set automatically.

Isdn switch-type basic-dms100

The ISDN switch type must match your carrier's equipment. If you chang

E the switch-type you must reload the router for the new switch type t

O take effect.

Interface Ethernet0

Ip address 192.168.24.65 255.255.255.0

Interface Serial0

No ip address

Shutdown

!

Interface Serial1

No ip address

Shutdown

!

Interface BRI0

Ip address 172.16.20.2 255.255.255.0

Encapsulation ppp

PPP encapsulation is recommended over HDLC in order to allow the use o

F CHAP authentication.

Bandwidth 56

The default bandwidth setting for a BRI interface is 64k. If you confi

Gured your dialer map statements with the speed 56 option, you should

Include the bandwidth statement.

Note: This command does not control the speed of your ISDN line. It se

Ts the correct reference point for the BRI port's show interface stati

Stics, for the dialer load-threshold command, and for IGRP/EIGRP routi

Ng metrics.

Dialer idle-timeout 300

This command sets the number of seconds the ISDN connection will remai

N open if no interesting traffic is being routed. The timer is reset e

Ach time an interesting packet is forwarded.

Dialer map ip 172.16.20.1 name C2503 speed 56 broadcast 14085554321

Dialer map ip 172.16.20.1 name C2503 speed 56 broadcast 14085559876

The dialer map command is used with CHAP authentication to place the i

Nitial call to the remote router when interesting traffic is forwarded

To the BRI interface. After the connection is active, the dialer idle

-timeout command determines how long it will remain active. A dialer m

Ap statement is required for each ISDN phone number that will be calle

D. Be aware though, that two dialer map statements pointing to the sam

E location might activate both B channels when you may only want to us

E one channel.

Note: The command parameters for this example are:

172.16.20.1 = the IP address of the remote router's BRI interface. To

Determine this address, type show interface bri 0 at the remote router

's console prompt.

Name C2503 = the hostname of the remote router. The name is case sensi

Tive and should match the name configured for the username command abo

Ve.

Speed 56 = sets the dialer speed to 56k for ISDN circuits that are not

64k end-to-end, and should be included in both routers' dialer map st

Atements. Most installations in North Americamust be configured for 5

6K.

Broadcast = allows the forwarding of broadcast packets. Unless broadca

St packets are specified as interesting packets by the dialer-list com

Mand, they will only be forwarded when the ISDN link is active.

14085554321

14085559876 = the remote router's ISDN telephone numbers.

Dialer hold-queue 5

This command allows interesting packets to be queued until the ISDN co

Nnection is established. In this example, five interesting packets wil

L be queued.

Dialer load-threshold 100

This command is used to configure bandwidth on demand by setting the m

Aximum load before the dialer places another call through the second B

Channel. The load is the calculated weighted average load value for t

He interface, where 1 is unloaded and 255 is fully loaded. The actual

Load value you should configure depends on the characteristics of your

Particular network. In this example, the second B channel will be act

Ivated when the load reaches 39% of maximum utilization, which is 100

Divided by 255.

Dialer-group 1

The dialer-group 1 command enables the dialer-list 1 on the BRI interf

Ace, which determines which packets will be interesting and activate t

He ISDN connection.

Isdn spid1 415555123401 5551234

Isdn spid2 415555678901 5556789

The isdn spid commands are used if your carrier assigns spids to your

ISDN lines.

Ppp authentication chap

This command enables CHAP authentication.

Router igrp 1

Network 172.16.0.0

Network 192.168.24.0

Ip route 172.16.10.0 255.255.255.0 172.16.20.1

This ip route command creates a static route to the remote router's ne

Twork via the remote router's BRI interface. This is required because

Dynamic routes are lost when the ISDN link is down.

Note: The command parameters for this example are:

172.16.0.0 = the target network.

255.255.0.0 = the target network mask. A 255 in an octet's position sp

Ecifies an exact match for that octet is required, and a 0 in an octet

's position specifies any value will match.

172.16.20.1 = the address of the next hop that can be used to reach th

E target network.

Access-list 100 deny ip 0.0.0.0 255.255.255.255 255.255.255.255 0.0.0.

0

Access-list 100 permit ip 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.

two hundred and fifty five

This access list determines which IP packets will be interesting and a

Ctivate the ISDN link. The access-list you should create depends on yo

Ur particularnetwork design.

Note: The command parameters for this example are:

Access-list 100 deny ip 0.0.0.0 255.255.255.255 255.255.255.255 0.0.0.

Defines all broadcast packets as uninteresting.

Access-list 100 permit ip 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.

two hundred and fifty five

Defines all other IP packets as interesting.

Dialer-list 1 list 100

This command points to access-list 100, which determines which IP pack

Ets will be interesting.

Line con 0

Line aux 0

Line vty 0 4

Password test

Login

!

End

-

For backup, static routing is enough! Currentconfig

Uration:

!

Version 11.3

Service timestamps debug uptime

Service timestamps log uptime

Service password-encryption

!

Hostname feihua

!

Enable secret 5 $1 $011Y$UBLyBOlDTa6ZKRnMnoyU0.

Enable password 7 011F0F110A5A565B

!

Username feihua password 7 141B1B1E5D557A7F

Username jianhua1 password 7 00081A13550A5B52

No ip source-route

Isdn switch-type basic-net3

!

!

!

Interface Ethernet0

Ip address 10.10.0.1 255.255.255.0

!

!

Interface Serial0

Backup delay 5 30

Backup interface BRI0

Ip address 10.10.10.1 255.255.255.0

!

Interface Serial1

No ip address

Shutdown

!

Interface BRI0

Ip address 10.10.20.1 255.255.255.0

Encapsulation ppp

Dialer idle-timeout 300

Dialer map ip 10.10.20.2 name jianhua1broadcast 86521075

Dialer load-threshold 128 outbound

Dialer-group 1

Isdn switch-type basic-net3

Ppp authentication chap

Ppp multilink

Hold-queue 75 in

!

Ip classless

Ip route 10.10.1.0 255.255.255.0 10.10.10.2

Ip route 10.10.1.0 255.255.255.0 10.10.20.2

Ip route 10.10.2.0 255.255.255.0 10.10.10.2

Ip route 10.10.2.0 255.255.255.0 10.10.20.2

!

Dialer-list 1 protocol ip permit

!

Line con 0

Line aux 0

Line vty 0

Password 7 045702135E701C1A

Login

Line vty 1 4

Login

!

End

Configuration of the called end:

Urrent configuration:

!

Version 11.3

Service timestamps debug uptime

Service timestamps log uptime

Service password-encryption

!

Hostname jianhua1

!

Enable secret 5 $1 $011Y$UBLyBOlDTa6ZKRnMnoyU0.

Enable password 7 011F0F110A5A565B

!

Username feihua password 7 141B1B1E5D557A7F

Username jianhua1 password 7 00081A13550A5B52

No ip source-route

Isdn switch-type basic-net3

!

!

!

Interface Ethernet0

Ip address 10.10.1.1 255.255.255.0

!

!

Interface Serial0

Ip address 10.10.10.2 255.255.255.0

!

Interface Serial1

No ip address

Shutdown

!

Interface BRI0

Ip address 10.10.20.2 255.255.255.0

Encapsulation ppp

Dialer idle-timeout 300

Dialer map ip 10.10.20.1 name feihuabroadcast

Dialer load-threshold 128 outbound

Dialer-group 1

Isdn switch-type basic-net3

Ppp authentication chap

Ppp multilink

Hold-queue 75 in

!

Ip classless

Ip route 10.10.0.0 255.255.255.0 10.10.10.1

Ip route 10.10.0.0 255.255.255.0 10.10.20.1

Ip route 10.10.2.0 255.255.255.0 10.10.1.2

!

Dialer-list 1 protocol ip permit

!

Line con 0

Line aux 0

Line vty 0

Password 7 045702135E701C1A

Login

Line vty 1 4

Login

!

End

16AM configuration

-

Set up a 16-port Modem dialing module to assign addresses to dial-in users using internal DHCP services

Cisco2620 (config) # interface Group-Async1

Cisco2620 (config-if) # ip unnumbered FastEthernet0/0

Cisco2620 (config-if) # encapsulation ppp

Cisco2620 (config-if) # ip tcp header-compression passive: enable passive IP header compression

Cisco2620 (config-if) # async mode dedicated: works only in asynchronous mode

Cisco2620 (config-if) # peer default ip address dhcp: forwards the IP address request to the DHCP server

Cisco2620 (config-if) # ppp authentication chap: set authentication to CHAP

Cisco2620 (config-if) # group-range 33 48: dial group includes 16 ports

Cisco's 16AM module provides high-density analog circuit access. Employees who are not in the office building can use Modem to dial into the local area network and log on to the server to achieve telecommuting.

The peer default ip address dhcp command enables the dialed workstation to obtain the IP address dynamically through the DHCP server in the local area network, which saves the IP address resources. At the same time, it also receives the parameters configured on the DHCP server, such as the IP address of the DNS server, and cooperates with the static route to the firewall configured in the global mode, so that the workstation can also access the Internet through the firewall.

Cisco2620 (config) # ip route 0.0.0.0 0.0.0.0 192.168.1.4: set a static route to the firewall

(5) setting the physical characteristics of 16AM module.

Cisco2620 (config) # line 33 48: enter Modem port mode

Cisco2620 (config-line) # session-timeout 30: timeout set to 30 minutes

Cisco2620 (config-line) # autoselect during-login: automatic login

Cisco2620 (config-line) # autoselect ppp: automatically select PPP protocol

Cisco2620 (config-line) # login local: allow local password checking

Cisco2620 (config-line) # modem InOut: allow dial in and out

Cisco2620 (config-line) # transport input all: specify the transport protocol

Cisco2620 (config-line) # stopbits 1: set a stop bit

Cisco2620 (config-line) # flowcontrol hardware: set hardware flow control

(6) add the user name and password of the dial-up user

Cisco2620 (config) # username shixuegang password abc123: add user name shixuegang and password abc123

-

Configuration of a voip

Building configuration...

Current configuration: 10640 bytes

!

Version 12.1

No service single-slot-reload-enable

Service timestamps debug uptime

Service timestamps log uptime

No service password-encryption

!

Hostname ahu_router

!

Boot system slot0:aaa0202.bin

Logging rate-limit console 10 except errors

Enable secret 5

Enable password 7

!

Username hfe_router password 7

Username whu_router password 7

Username aqi_router password 7

Username bbu_router password 7

Username czh_router password 7

Username xch_router password 7

Username chu_router password 7

Username hbe_router password 7

Username mas_router password 7

Username txi_router password 7

Username lan_router password 7

Username chz_router password 7

Username szh_router password 7

Username fya_router password 7

Username tli_router password 7

Username bzh_router password 7

Username hna_router password 7

Username swe_router password 7

Username zji_router password 7

Username tester password 7

Username shsh password 7

Username test password 7

Username hwh password 0

Voice-card 2

!

Ip subnet-zero

!

!

No ip finger

No ip domain-lookup

Ip host hbsy.domain 10.184.80.10

Ip name-server 10.184.80.10

!

Isdn voice-call-failure 0

Chat-script default "" ATDT\ T "TIMEOUT 60 CONNECT\ c

Call rsvp-sync

!

!

!

!

!

!

!

Controller E1 2/0

Framing NO-CRC4

Ds0-group 1 timeslots 1-15 type r2-digital r2-compelled ani 17-31

Cas-custom 1

Unused-abcd 0 1 1 1

Country china use-defaults

Answer-signal group-b 1

!

Controller E1 3/0

Channel-group 0 timeslots 1

Channel-group 1 timeslots 2

Channel-group 2 timeslots 3

Channel-group 3 timeslots 4

Channel-group 4 timeslots 5

Channel-group 5 timeslots 6

Channel-group 6 timeslots 7

Channel-group 7 timeslots 8

Channel-group 8 timeslots 9

Channel-group 9 timeslots 10

Channel-group 10 timeslots 11

Channel-group 11 timeslots 12

Channel-group 12 timeslots 13

Channel-group 13 timeslots 14

Channel-group 14 timeslots 15

Channel-group 15 timeslots 16

!

!

Interface Ethernet0/0

Ip address 10.184.1.2 255.255.255.0

Half-duplex

!

Interface Serial0/0

No ip address

No ip mroute-cache

Shutdown

!

Interface Serial0/1

No ip address

Shutdown

!

Interface Serial3/0:0

Ip address 10.184.252.5 255.255.255.252

Fair-queue 64 256 0

!

Interface Serial3/0:1

Description ppp channel 1_anqing

Ip address 10.184.252.9 255.255.255.252

Ip mroute-cache

No cdp enable

Ip rsvp bandwidth 48 48

!

Interface Serial3/0:2

Description ppp channel 2_bengbu

Ip address 10.184.252.13 255.255.255.252

Ip mroute-cache

No cdp enable

Ip rsvp bandwidth 48 48

!

Interface Serial3/0:3

Description ppp channel 3_chizhou

Ip address 10.184.252.17 255.255.255.252

Ip mroute-cache

No cdp enable

Ip rsvp bandwidth 48 48

!

Interface Serial3/0:4

Description ppp channel 4_xuancheng

Ip address 10.184.252.21 255.255.255.252

Ip mroute-cache

No cdp enable

Ip rsvp bandwidth 48 48

!

Interface Serial3/0:5

Description ppp channel 5_caohu

Ip address 10.184.252.25 255.255.255.252

Ip mroute-cache

No cdp enable

Ip rsvp bandwidth 48 48

!

Interface Serial3/0:6

Description ppp channel 6_huaibei

Bandwidth 128

Ip address 10.184.252.29 255.255.255.252

Ip mroute-cache

No cdp enable

Ip rsvp bandwidth 48 48

!

Interface Serial3/0:7

Description ppp channel 7_maanshan

Ip address 10.184.252.33 255.255.255.252

Ip mroute-cache

No cdp enable

Ip rsvp bandwidth 48 48

!

Interface Serial3/0:8

Description ppp channel 8_huangshan

Ip address 10.184.252.37 255.255.255.252

Ip mroute-cache

No cdp enable

Ip rsvp bandwidth 48 48

!

Interface Serial3/0:9

Description ppp channel 9_liuan

Ip address 10.184.252.41 255.255.255.252

Ip mroute-cache

No cdp enable

Ip rsvp bandwidth 48 48

!

Interface Serial3/0:10

Description ppp channel 10_chuzhou

Ip address 10.184.252.45 255.255.255.252

Ip mroute-cache

No cdp enable

Ip rsvp bandwidth 48 48

!

Interface Serial3/0:11

Description ppp channel 11_suzhou

Ip address 10.184.252.49 255.255.255.252

Ip mroute-cache

No cdp enable

Ip rsvp bandwidth 48 48

!

Interface Serial3/0:12

Description ppp channel 12_fuyang

Ip address 10.184.252.53 255.255.255.252

Ip mroute-cache

No cdp enable

Ip rsvp bandwidth 48 48

!

Interface Serial3/0:13

Description ppp channel 13_tongling

Ip address 10.184.252.57 255.255.255.252

Ip mroute-cache

No cdp enable

Ip rsvp bandwidth 48 48

!

Interface Serial3/0:14

Description ppp channel 14_bozhou

Ip address 10.184.252.61 255.255.255.252

Ip mroute-cache

No cdp enable

Ip rsvp bandwidth 48 48

!

Interface Serial3/0:15

Description ppp channel 15_huainan

Ip address 10.184.252.65 255.255.255.252

Ip mroute-cache

No cdp enable

Ip rsvp bandwidth 48 48

!

Interface Async39

Ip address 10.2.1.19 255.255.255.192

Encapsulation ppp

Dialer in-band

Dialer map ip 10.2.1.1 name shsh 01064998899

Dialer map ip 10.184.1.40 name test 2867839

Dialer map ip 10.184.1.252 name hwh 2867639

Dialer hold-queue 10

Dialer-group 1

Async dynamic routing

Async mode dedicated

Pulse-time 3

Ppp authentication chap

!

Interface Async40

Ip unnumbered Ethernet0/0

Encapsulation ppp

Async mode dedicated

Peer default ip address 10.184.1.254

Ppp authentication chap

!

Interface Group-Async1

No ip address

Dialer in-band

Dialer rotary-group 1

Async default routing

Async dynamic routing

Async mode dedicated

Fair-queue 64 16 0

Group-range 33 38

!

Interface Dialer0

No ip address

No cdp enable

!

Interface Dialer1

Ip address 10.184.254.225 255.255.255.224

Encapsulation ppp

Dialer in-band

Dialer map ip 10.184.254.226 name hfe_router

Dialer map ip 10.184.254.227 name whu_router

Dialer map ip 10.184.254.228 name aqi_router

Dialer map ip 10.184.254.229 name bbu_router

Dialer map ip 10.184.254.230 name czh_router

Dialer map ip 10.184.254.231 name xch_router

Dialer map ip 10.184.254.232 name chu_router

Dialer map ip 10.184.254.233 name hbe_router

Dialer map ip 10.184.254.234 name mas_router

Dialer map ip 10.184.254.235 name txi_router

Dialer map ip 10.184.254.236 name lan_router

Dialer map ip 10.184.254.237 name chz_router

Dialer map ip 10.184.254.238 name szh_router

Dialer map ip 10.184.254.239 name fya_router

Dialer map ip 10.184.254.240 name tli_router

Dialer map ip 10.184.254.241 name bzh_router

Dialer map ip 10.184.254.242 name hna_router

Dialer-group 1

Pulse-time 3

No cdp enable

Ppp authentication chap

!

Router rip

Version 2

Redistribute connected

Network 10.0.0.0

No auto-summary

!

Ip classless

Ip route 0.0.0.0 0.0.0.0 10.184.1.30

Ip route 10.0.0.0 255.0.0.0 10.184.1.1

Ip route 10.184.10.0 255.255.255.0 10.184.254.226 150

Ip route 10.184.20.0 255.255.255.0 10.184.254.227 150

Ip route 10.184.30.0 255.255.255.0 10.184.254.228 150

Ip route 10.184.40.0 255.255.255.0 10.184.254.229 150

Ip route 10.184.50.0 255.255.255.0 10.184.254.230 150

Ip route 10.184.60.0 255.255.255.0 10.184.254.231 150

Ip route 10.184.70.0 255.255.255.0 10.184.254.232 150

Ip route 10.184.80.0 255.255.255.0 10.184.254.233 150

Ip route 10.184.90.0 255.255.255.0 10.184.254.234 150

Ip route 10.184.100.0 255.255.255.0 10.184.254.235 150

Ip route 10.184.110.0 255.255.255.0 10.184.254.236 150

Ip route 10.184.120.0 255.255.255.0 10.184.254.237 150

Ip route 10.184.130.0 255.255.255.0 10.184.254.238 150

Ip route 10.184.140.0 255.255.255.0 10.184.254.239 150

Ip route 10.184.150.0 255.255.255.0 10.184.254.240 150

Ip route 10.184.160.0 255.255.255.0 10.184.254.241 150

Ip route 10.184.170.0 255.255.255.0 10.184.254.242 150

No ip http server

!

Dialer-list 1 protocol ip permit

Dialer-list 1 protocol ipx permit

Snmp-server engineID local 000000090200003019237741

Snmp-server community RO

!

Voice-port 2/0:1

Timeouts interdigit 3

!

Dial-peer cor custom

!

!

!

Dial-peer voice 1 pots

Answer-address + 51

Destination-pattern 51....

Direct-inward-dial

Port 2/0:1

!

Dial-peer voice 14 voip

Answer-address + 64

Destination-pattern + 64

Session target ipv4:10.184.110.2

Codec g729r8 pre-ietf

Ip precedence 5

!

Dial-peer voice 15 voip

Answer-address + 65

Destination-pattern + 65

Session target ipv4:10.184.70.2

Codec g729r8 pre-ietf

Ip precedence 5

!

Dial-peer voice 2 voip

Answer-address + 52

Destination-pattern + 52

Session target ipv4:10.184.40.2

Codec g729r8 pre-ietf

Ip precedence 5

!

Dial-peer voice 3 voip

Answer-address + 53

Destination-pattern + 53

Session target ipv4:10.184.20.2

Codec g729r8 pre-ietf

Ip precedence 5

!

Dial-peer voice 4 voip

Answer-address + 54

Destination-pattern + 54

Session target ipv4:10.184.170.2

Codec g729r8 pre-ietf

Ip precedence 5

!

Dial-peer voice 5 voip

Answer-address + 55

Destination-pattern + 55

Session target ipv4:10.184.90.2

Codec g729r8 pre-ietf

Ip precedence 5

!

Dial-peer voice 6 voip

Answer-address + 56

Destination-pattern + 56

Session target ipv4:10.184.30.2

Codec g729r8 pre-ietf

Ip precedence 5

!

Dial-peer voice 7 voip

Answer-address + 57

Destination-pattern + 57

Session target ipv4:10.184.130.2

Codec g729r8 pre-ietf

Ip precedence 5

!

Dial-peer voice 8 voip

Answer-address + 58

Destination-pattern + 58

Session target ipv4:10.184.140.2

Codec g729r8 pre-ietf

Ip precedence 5

!

Dial-peer voice 9 voip

Answer-address + 59

Destination-pattern + 59

Session target ipv4:10.184.100.2

Codec g729r8 pre-ietf

Ip precedence 5

!

Dial-peer voice 10 voip

Answer-address + 50

Destination-pattern + 50

Session target ipv4:10.184.120.2

Codec g729r8 pre-ietf

Ip precedence 5

!

Dial-peer voice 11 voip

Answer-address + 61

Destination-pattern + 61

Session target ipv4:10.184.80.2

Codec g729r8 pre-ietf

Ip precedence 5

!

Dial-peer voice 12 voip

Answer-address + 62

Destination-pattern + 62

Session target ipv4:10.184.150.2

Codec g729r8 pre-ietf

Ip precedence 5

!

Dial-peer voice 13 voip

Answer-address + 63

Destination-pattern + 63

Session target ipv4:10.184.60.2

Codec g729r8 pre-ietf

Ip precedence 5

!

Dial-peer voice 16 voip

Answer-address + 66

Destination-pattern + 66

Session target ipv4:10.184.50.2

Codec g729r8 pre-ietf

Ip precedence 5

!

Dial-peer voice 17 voip

Answer-address + 60

Destination-pattern + 60

Session target ipv4:10.184.160.2

Codec g729r8 pre-ietf

Ip precedence 5

!

!

Line con 0

Transport input none

Line 33 39

No exec

Script dialer default

Login local

Modem InOut

Modem autoconfigure discovery

Rotary 1

Transport input all

Stopbits 1

Flowcontrol hardware

Line 40

Login local

Modem InOut

Modem autoconfigure discovery

Transport input all

Stopbits 1

Flowcontrol hardware

Line aux 0

Line vty 0 4

Password 7

Login

!

End

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report