2621之间的配置

发表于:2007-06-23来源:作者:点击数: 标签:
一、主要配置内容 1. 配置系统管理密码 2. 配置不同3. INTERFACE(接口)IP地址 4. 配置与大学之间的TUNNEL 5. 配置地址翻译NAT 6. 配置静态路由及动态路由协议OSPF 二、主要配置说明 Router2621#show run Building configuration... Current configuration: !

   

一、主要配置内容

1. 配置系统管理密码

2. 配置不同3. INTERFACE(接口)IP地址

4. 配置与大学之间的TUNNEL

5. 配置地址翻译NAT

6. 配置静态路由及动态路由协议OSPF

二、主要配置说明

Router2621#show run

Building configuration...

Current configuration:

!

version 12.1

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname Router2621 //设置主机名,即命令行前提示符,CONFIG T进入配置模式,HOSTNAME +命名即可

!

enable password 123 //设置超级用户密码

!

!

!

!

!

ip subnet-zero

no ip domain-lookup

!

ip inspect name rock ftp alert on audit-trail on timeout 6000

ip inspect name rli http alert on audit-trail on

ip inspect name hong tcp

ip inspect name wang tcp alert on audit-trail on

ip audit notify log

ip audit po max-events 100

isdn voice-call-failure 0

!

!

!

//设置逻辑接口LOOPBACK0的IP 地址,主要为地址翻译用,对外翻译地址为211.67.96.254

interface Loopback0

ip address 211.67.96.254 255.255.255.0

!

//与大学路由器做TUNNEL,并设置地址翻译

interface Tunnel3

bandwidth 10000

ip address 10.10.10.10 255.255.255.252

ip nat outside

tunnel source FastEthernet0/1

tunnel destination 172.17.204.2

原文转自:http://www.ltesting.net