Cisco 2811 Routers Detailed configuration

Source: Internet
Author: User
Tags imap port cisco 2811

Cisco 2811 Routers Detailed configuration

Router>enable

Router#configure Terminal

Router (config) #hostname cisco2811//define router name

2811 (config) #enable password 124563831//Set Login password

2811 (config) #line vty 0 4

2811 (config-line) #password 124563831//Set Telnet password

2811 (Config-line) #login

2811 (Config-line) #exit

2811 (config) #interface fastethernet 0/0//Set Intranet interface

2811 (config-if) #ip address 192.168.1.254 255.255.255.0

2811 (config-if) #no shutdown

2811 (config-if) #exit

2811 (config) #interface fastethernet 0/1//Set up an external network interface

2811 (config-if) #ip address 125.89.61.94 255.255.255.0

2811 (config-if) #no shutdown

2811 (config-if) #exit

2811 (config) #ip Route 0.0.0.0 0.0.0.0 125.89.61.1//configure default route

2811 (config) #ip Route 192.168.2.0 255.255.255.0 192.168.1.1

2811 (config) #ip Route 192.168.3.0 255.255.255.0 192.168.1.1

2811 (config) #ip Route 192.168.4.0 255.255.255.0 192.168.1.1

2811 (config) #ip Route 192.168.5.0 255.255.255.0 192.168.1.1

2811 (config) #access-list permit 192.168.1.0 0.0.0.255//Access Control List settings

2811 (config) #access-list permit 192.168.2.0 0.0.0.255//Access Control List settings

2811 (config) #access-list permit 192.168.3.0 0.0.0.255//Access Control List settings

2811 (config) #access-list permit 192.168.4.0 0.0.0.255//Access Control List settings

2811 (config) #access-list permit 192.168.5.0 0.0.0.255//Access Control List settings

2811 (config) #ip NAT inside Source list interface F0/1 overload

2811 (config) #ip NAT inside Source list interface F0/1 overload

2811 (config) #ip NAT inside Source list interface F0/1 overload

2811 (config) #ip NAT inside Source list interface F0/1 overload

2811 (config) #ip NAT inside Source list interface F0/1 overload

2811#configure Terminal

2811 (config) #interface fastethernet 0/0

2811 (config-if) #ip nat inside

2811 (config-if) #exit

2811 (config) #interface fastethernet 0/1

2811 (config-if) #ip Nat outside

2811 (config-if) #exit

2811 (config) #ip nat inside source static TCP 192.168.1.13 125.89.61.92//OSG FTP

2811 (config) #ip nat inside source static TCP 192.168.1.10 125.89.61.92//CA certificate Request

2811 (config) #ip nat inside source static TCP 192.168.1.12 125.89.61.93//ftp Port

2811 (config) #ip nat inside source static TCP 192.168.1.21 125.89.61.93 8080//oa http port

2811 (config) #ip nat inside source static TCP 192.168.1.21 1935 125.89.61.93 1935//oa Video port

2811 (config) #ip nat inside source static TCP 192.168.1.21 2397 125.89.61.93 2397//oa Dingshi Task port

2811 (config) #ip nat inside source static UDP 192.168.1.21 1188 125.89.61.93 1188//oa im Port

2811 (config) #ip nat inside source static TCP 192.168.1.21 125.89.61.93//oa Mail Port

2811 (config) #ip nat inside source static TCP 192.168.1.21 125.89.61.93//oa Mail Port

2811 (config) #ip nat inside source static TCP 192.168.1.21 8000 125.89.61.93 8000//oa RTX Port

2811 (config) #ip nat inside source static TCP 192.168.1.102 125.89.61.93//XX Office Web Monitoring

2811 (config) #ip nat inside source static TCP 192.168.1.102 37777 125.89.61.93 37777//xx Office Real-time monitoring

2811 (config) #ip nat inside source static TCP 192.168.1.189 125.89.61.94//exchange SMTP port

2811 (config) #ip nat inside source static TCP 192.168.1.189 125.89.61.94//exchange POP3 Port

2811 (config) #ip nat inside source static TCP 192.168.1.189 125.89.61.94//exchange http port

2811 (config) #ip nat inside source static TCP 192.168.1.189 143 125.89.61.94 143//exchange IMAP port

2811 (config) #ip nat inside source static TCP 192.168.1.189 993 125.89.61.94 993//exchange Imap4/ssl Port

2811 (config) #ip nat inside source static TCP 192.168.1.189 995 125.89.61.94 995//exchange Pop3/ssl Port

2811 (config) #ip nat inside source static TCP 192.168.1.189 443 125.89.61.94 443//exchange RPC Port

2811 (config) #ip nat inside source static TCP 192.168.1.189 587 125.89.61.94 587//exchange Smtp/ssl Port

2811 (config) #ip nat inside source static TCP 192.168.1.150 125.89.61.95//CRM http port

2811 (config) #ip nat inside source static TCP 192.168.1.13 80 125.89.61.190 80///Friends Day Wing remote access

2811 (config) #ip nat inside source static TCP 192.168.1.13 5872 125.89.61.190 5872///Friends Day Wing remote access

2811 (config) #ip nat inside source static TCP 192.168.1.150 125.89.61.190//ftp Port

Routerconfig #no IP dhcp conflict logging de-address conflict logging

Routerconfig #ip DHCP excluded-address 192.168.1.1 192.168.1.99//settings cannot be used for dynamically assigned IP addresses

Routerconfig #ip DHCP Pool dhcp_pool1//Configure an address pool

Routerdhcp-config #network 192.168.1.0 255.255.255.0//dynamically assigned address segment

Routerdhcp-config #domain-name trsa.com.cn//To configure the domain suffix for the client

Routerdhcp-config #dns-server 192.168.1.10 192.168.1.30 Configuring DNS servers for clients

Routerdhcp-config #netbios-name-server 192.168.1.10 192.168.1.30 To configure a WINS server for a client

Routerdhcp-config #netbios-node-type H-node Configure the node mode for the client (which affects the success of name interpretation, as H-node is explained first through the WINS server)

Routerdhcp-config #lease 15 Address rental period is 15 days

Routerdhcp-config #default-router 192.168.1.1 To configure the default gateway for the client, which is the IP address of VLAN1

Routerconfig #ip DHCP Pool dhcp_pool2//Configure an address pool

Routerdhcp-config #network 192.168.2.0 255.255.255.0//dynamically assigned address segment

Routerdhcp-config #domain-name trsa.com.cn//To configure the domain suffix for the client

Routerdhcp-config #dns-server 192.168.1.10 192.168.1.30 Configuring DNS servers for clients

Routerdhcp-config #netbios-name-server 192.168.1.10 192.168.1.30 To configure a WINS server for a client

Routerdhcp-config #netbios-node-type H-node Configure the node mode for the client (which affects the success of name interpretation, as H-node is explained first through the WINS server)

Routerdhcp-config #lease 15 Address rental period is 15 days

Routerdhcp-config #default-router 192.168.2.1 To configure the default gateway for the client, which is the IP address of VLAN2

Routerconfig #ip DHCP Pool DHCP_POOL3//Configure an address pool

Routerdhcp-config #network 192.168.3.0 255.255.255.0//dynamically assigned address segment

Routerdhcp-config #domain-name trsa.com.cn//To configure the domain suffix for the client

Routerdhcp-config #dns-server 192.168.1.10 192.168.1.30 Configuring DNS servers for clients

Routerdhcp-config #netbios-name-server 192.168.1.10 192.168.1.30 To configure a WINS server for a client

Routerdhcp-config #netbios-node-type H-node Configure the node mode for the client (which affects the success of name interpretation, as H-node is explained first through the WINS server)

Routerdhcp-config #lease 15 Address rental period is 15 days

Routerdhcp-config #default-router 192.168.3.1 To configure the default gateway for the client, which is the IP address of VLAN3

Routerconfig #ip DHCP Pool DHCP_POOL4//Configure an address pool

Routerdhcp-config #network 192.168.4.0 255.255.255.0//dynamically assigned address segment

Routerdhcp-config #domain-name trsa.com.cn//To configure the domain suffix for the client

Routerdhcp-config #dns-server 192.168.1.10 192.168.1.30 Configuring DNS servers for clients

Routerdhcp-config #netbios-name-server 192.168.1.10 192.168.1.30 To configure a WINS server for a client

Routerdhcp-config #netbios-node-type H-node Configure the node mode for the client (which affects the success of name interpretation, as H-node is explained first through the WINS server)

Routerdhcp-config #lease 15 Address rental period is 15 days

Routerdhcp-config #default-router 192.168.4.1 To configure the default gateway for the client, which is the IP address of VLAN4

Routerconfig #ip DHCP Pool DHCP_POOL5//Configure an address pool

Routerdhcp-config #network 192.168.5.0 255.255.255.0//dynamically assigned address segment

Routerdhcp-config #domain-name trsa.com.cn//To configure the domain suffix for the client

Routerdhcp-config #dns-server 192.168.1.10 192.168.1.30 Configuring DNS servers for clients

Routerdhcp-config #netbios-name-server 192.168.1.10 192.168.1.30 To configure a WINS server for a client

Routerdhcp-config #netbios-node-type H-node Configure the node mode for the client (which affects the success of name interpretation, as H-node is explained first through the WINS server)

Routerdhcp-config #lease 15 Address rental period is 15 days

Routerdhcp-config #default-router 192.168.5.1 To configure the default gateway for the client, which is the IP address of VLAN5

VPN PPTP

Interface Virtual-template1

Nat IP Inside

Peer default IP address pool vpndhcp
PPP Encrypt MPPE Auto
PPP Authentication MS-CHAP
IP address 192.168.0.100 255.255.255.0

2811#copy running-config startup-config//Save Configuration

This article is from the "Zhou Ping Microsoft Technology Exchange Platform" blog, please be sure to keep this source http://yuntcloud.blog.51cto.com/1173839/1601586

Cisco 2811 Routers Detailed configuration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.