跳至正文

Command Line – configuration – Cisco 800 series Router

When you first boot up your Cisco router, some basic configuration has already been performed. All of the LAN and WAN interfaces have been created, console and vty ports are configured, and the inside interface for Network Address Translation (NAT) has been assigned. Use the show running-config command to view the initial configuration,

Pppoe configuration cisco 800 series router

Config)interface dialer 1

Config-if)ip address negotiated

Config-if)encapsulation ppp

Config-if)ppp authentication pap calling

Config-if)ppp pap sent-username abc password abc123

Config-if)ppp ipcp route default

Config-if)dialer pool 10 Config-if)no sh Exit Config)interfacer fa0/4 (wan)

Config-if)pppoe enable Config-if)pppoe-client dial-pool-number 10 Config-if)no shutdown

Config)ip dhcp pool wifi

Config-Dhcp)network 192.168.1.0 /24

Config-dhcp)default-router 192.168.1.254

Config-dhcp)dns-server 213.42.20.20 4.2.2.2

exit

Config)ip dhcp excludded address 192.168.1.1 192.168.1.50

Config)interdace fa0/1 ( lan)

Config-if)ip address 192.168.1.254 255.255.255.0

Config-if)ip nat inside

Config-if) no shutdown

Exit

Config)interface dialer 1

Config)mtu 1492

Config-if) ip address negotiated

Config-if)encapsulation ppp

Config-if)ppp authentication pap callin

Config-if) ppp pap sent-username admin password Pass12345

Config-if)ppp ipcp route default

Config-if)dialer pool 1

Config-if)ip nat outside

Config-if) dialer-group 1

Config-if) no shutdown

Exit

Config)interface fa0/4 (wan)

Config-if)no ip address

Config-if)pppoe enable

Config-if)pppoe-client dial-pool-number 1

Config-if)no shutdown

Exit

Config)access-list 1 permit any

Config)ip nat inside source list 1 interface dialer 1 overload

Config)ip route 0.0.0.0 0.0.0.0 dialer 1

Config)vpdn enable

Config)exit

Config) speed auto

Config)duplex auto

Config)dialer-list 1 protocol ip permit

Wr mem

Port fowarding

Server ip address -192.169.1.200 port-3389 i want to access from outside.

Config)ip nat inside source static tcp 192.168.1.200 3389 interface fastethernet4 3389

Wr mem

Previous Next
Close
Test Caption
Test Description goes like this
error: Content is protected !!
zh_CN简体中文