王牌CISCO2800电话交换机说明书
发布网友
发布时间:2022-04-20 19:08
我来回答
共4个回答
热心网友
时间:2023-07-18 20:28
配置特权密码:aaa123456
c2800#conf t
c2800(config)#enable secret aaa123456
配置打开telnet功能,登陆密码设置为123456
c2800(config)#line vty 0 4
c2800(config-line)#password 123456
c2800(config-line)#login
c2800(config-line)#exit
配置路由器接口地址及NAT接口角色:
c2800(config)#interface serial 1/1 --本例中以serial 1/1为连接服务商的接口
c2800(config-if)#ip add 219.250.73.194 255.255.255.240
c2800(config-if)#no shut
c2800(config-if)#ip nat outside
c2800(config-if)#interface serial 1/0 --本例中以serial 1/0为连接内网的接口
c2800(config-if)#ip add 192.168.100.3 255.255.255.0
c2800(config-if)#no shut
c2800(config-if)#ip nat inside
c2800(config-if)#exit
c2800(config)#ip route 0.0.0.0 0.0.0.0 192.168.100.1 --定义一条默认路由到达内网,下一跳为:192.168.100.1
定义地址池:
c2800(config)#ip nat pool poolname 219.250.73.200 219.250.73.200 netmask 255.255.255.240
定义允许的流量:
c2800(config)#access-list 10 permit 192.168.102.0 0.0.0.255
c2800(config)#access-list 10 permit 192.168.103.0 0.0.0.255
c2800(config)#access-list 10 permit 192.168.104.0 0.0.0.255
c2800(config)#access-list 10 permit 192.168.105.0 0.0.0.255
c2800(config)#access-list 10 permit 192.168.106.0 0.0.0.255
c2800(config)#access-list 10 permit 192.168.107.0 0.0.0.255
配置PAT:
c2800(config)#c2800(config)#ip nat inside source list 10 pool poolname overload
c2800(config)#snmp-server community aaa ro 配置本路由器的只读字串为aaa
c2800(config)#
热心网友
时间:2023-07-18 20:29
en
conf t
int fa 0/1 //wan口
ip add 219.250.73.194 255.255.255.240
ip nat out
no sh
exit
acc 1 per 192.168.1.1 0.0.0.127
ip nat in s li 1 int fa 0/0 over
int fa 0/0
no ip add
no sh
int fa 0/0.1
enc dot1q 102
ip add 192.168.102.0 255.255.255.0
ip nat in
int fa 0/0.2
enc dot1q 103
ip add 192.168.103.0 255.255.255.0
ip nat in
int fa 0/0.3
enc dot1q 104
ip add 192.168.104.0 255.255.255.0
ip nat in
int fa 0/0.4
enc dot1q 105
ip add 192.168.105.0 255.255.255.0
ip nat in
int fa 0/0.5
enc dot1q 106
ip add 192.168.106.0 255.255.255.0
ip nat in
int fa 0/0.6
enc dot1q 107
ip add 192.168.107.0 255.255.255.0
ip nat in
exit
ip route 0.0.0.0 0.0.0.0 219.250.73.193 //出街的默认路由
//以上是配置各内网的网关,注意.路由器下带的交换机必须配置vlan102~107,对应enc dot1q [vlan id]来配置并且与路由器连接的是trunk口.封装IEEE 802.1q协议
router(config)#ena sec aaa123456
line vty 0 4
pass 123456
logi
//以上是telnet
另外声明一点.SNMP管理我不会配.!!
热心网友
时间:2023-07-18 20:29
acc 1 per 192.168.1.1 0.0.0.127
ip nat in s li 1 int fa 0/0 over
这个地方不大对,楼主要的是地址池
access-list 100 permit 192.168.100.0 0.0.0.255 any
access-list 100 permit 192.168.102.0 0.0.0.255 any
access-list 100 permit 192.168.103.0 0.0.0.255 any
access-list 100 permit 192.168.104.0 0.0.0.255 any
access-list 100 permit 192.168.105.0 0.0.0.255 any
ip nat pool 100 219.250.73.200 netmask 255.255.255.0
ip nat inside srouce list 100 pool 100 overload
热心网友
时间:2023-07-18 20:30
2 3 点我没看懂 。你能画个拓扑出来吗?马上给你敲出来,不是很难。