最新文章专题视频专题问答1问答10问答100问答1000问答2000关键字专题1关键字专题50关键字专题500关键字专题1500TAG最新视频文章推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37视频文章20视频文章30视频文章40视频文章50视频文章60 视频文章70视频文章80视频文章90视频文章100视频文章120视频文章140 视频2关键字专题关键字专题tag2tag3文章专题文章专题2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章专题3
问答文章1 问答文章501 问答文章1001 问答文章1501 问答文章2001 问答文章2501 问答文章3001 问答文章3501 问答文章4001 问答文章4501 问答文章5001 问答文章5501 问答文章6001 问答文章6501 问答文章7001 问答文章7501 问答文章8001 问答文章8501 问答文章9001 问答文章9501
当前位置: 首页 - 科技 - 知识百科 - 正文

Cisco小型局域网配置

来源:懂视网 责编:小采 时间:2020-11-09 08:22:50
文档

Cisco小型局域网配置

Cisco小型局域网配置:cisco2811主要 配置 如下: ! interface FastEthernet0/0 description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-FE 0/0$ ip address 172.17.10.10 255.255.255.248 ip nat outside ip virtual-reassemb
推荐度:
导读Cisco小型局域网配置:cisco2811主要 配置 如下: ! interface FastEthernet0/0 description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-FE 0/0$ ip address 172.17.10.10 255.255.255.248 ip nat outside ip virtual-reassemb

cisco2811主要 配置 如下: ! interface FastEthernet0/0 description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-FE 0/0$ ip address 172.17.10.10 255.255.255.248 ip nat outside ip virtual-reassembly duplex auto speed 100 ! interface FastEthernet0/1 ip

cisco2811主要配置如下:
!
interface FastEthernet0/0
description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-FE 0/0$
ip address 172.17.10.10 255.255.255.248
ip nat outside
ip virtual-reassembly
duplex auto
speed 100
!
interface FastEthernet0/1
ip address 172.18.1.1 255.255.255.252
ip nat inside
ip virtual-reassembly
duplex full
speed 100
!
router rip
version 2
network 172.17.0.0
network 172.18.0.0
neighbor 172.18.1.2
!
ip route 0.0.0.0 0.0.0.0 172.17.10.9
!
ip nat pool ippool1 172.17.10.10 172.17.10.10 netmask 255.255.255.248
ip nat inside source list 1 pool ippool1 overload
!
access-list 1 permit 172.18.10.0 0.0.0.255 //只允许vlan10用户访问外部网络
!
Cisco3560主要配置如下:
!
no aaa new-model
ip subnet-zero
ip routing //启用vlan路由
no ip domain-lookup
ip dhcp excluded-address 172.18.20.254
ip dhcp excluded-address 172.18.10.254
!
ip dhcp pool vlan20
import all
network 172.18.20.0 255.255.255.0
default-router 172.18.20.254
dns-server 58.193.192.1 58.193.192.2
domain-name njust.edu.cn
lease 6 23
!
ip dhcp pool vlan10
import all
network 172.18.10.0 255.255.255.0
default-router 172.18.10.254
dns-server 58.193.192.1 58.193.192.2
domain-name njust.edu.cn
lease 6 23
!
!
interface FastEthernet0/1
switchport access vlan 10
!
interface FastEthernet0/2
switchport access vlan 20
!
interface FastEthernet0/3
switchport access vlan 20
!
interface FastEthernet0/4
switchport access vlan 20
!
!
interface FastEthernet0/23
description trunk_link cisco2950_fe0/24
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/24
description uplink cisco2811_fe0/1
switchport access vlan 100
speed 100
duplex full
!
!
interface Vlan1
ip address 1.0.0.1 255.255.255.0
!
interface Vlan10
ip address 172.18.10.254 255.255.255.0
!
interface Vlan20
ip address 172.18.20.254 255.255.255.0
!
interface Vlan100
ip address 172.18.1.2 255.255.255.252
!
router rip
version 2
network 1.0.0.0 //方便从路由器直接登录交换机
network 172.18.0.0
neighbor 172.18.1.1
!
ip classless
ip route 0.0.0.0 0.0.0.0 172.18.1.1
ip http server
!
Cisco2950主要配置如下:
!
interface FastEthernet0/1
switchport access vlan 10
!
interface FastEthernet0/2
switchport access vlan 10
!
interface FastEthernet0/3
switchport access vlan 20
!
interface FastEthernet0/4
switchport access vlan 20
!

interface FastEthernet0/24
switchport mode trunk
!
interface Vlan1
ip address 1.0.0.2 255.255.255.0
no ip route-cache
!
ip default-gateway 1.0.0.1 //添加默认网关
ip http server
!
Cisco3560 vtp 配置为server ,Cisco2950 vtp 配置为client,vtp domain name与password相同。因为Cisco2950 trunk端口不支持ISL封装,因此两端都要dot1q。
作者“小李飞刀”

声明:本网页内容旨在传播知识,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。TEL:177 7030 7066 E-MAIL:11247931@qq.com

文档

Cisco小型局域网配置

Cisco小型局域网配置:cisco2811主要 配置 如下: ! interface FastEthernet0/0 description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-FE 0/0$ ip address 172.17.10.10 255.255.255.248 ip nat outside ip virtual-reassemb
推荐度:
标签: 主要 配置 局域网
  • 热门焦点

最新推荐

猜你喜欢

热门推荐

专题
Top