欢迎来到千学网!
您现在的位置:首页 > 实用文 > 其他范文

Cisco2610C的配置实例网络知识

时间:2023-06-02 09:11:15 其他范文 收藏本文 下载本文

以下是小编为大家准备的Cisco2610C的配置实例网络知识,本文共9篇,希望对大家有帮助。

Cisco2610C的配置实例网络知识

篇1:Cisco2610C的配置实例网络知识

version 11.2 service udp-small-servers service tcp-small-servers ! hostname 2610C ! enable secret cisco ! ip su .net -zero no ip domain-lookup ! ip address-pool local isdn switch-type basic-net3 interface Ethernet0 ip address 10.2.0.11 255

version 11.2

service udp-small-servers

service tcp-small-servers

!

hostname 2610C

!

enable secret cisco

!

ip su.net-zero

no ip domain-lookup

!

ip address-pool local

isdn switch-type basic-net3

interface Ethernet0

ip address 10.2.0.11 255.255.0.0

!

interface Serial0

no ip address

encapsulation frame-relay

frame-relay lmi-type ansi

!

interface Serial0.1 point-to-point

description Frame. Relay to bluestudy1

ip unnumbered Ethernet0

frame-relay interface-dlci 10

!

interface Serial0.2 point-to-point

description Frame. Relay to bluestudy2

ip unnumbered Ethernet0

frame-relay interface-dlci 11

!

interface BRI1/0

no ip address

shutdown

isdn switch-type basic-net3

!

interface BRI1/1

ip address 192.168.3.1 255.255.255.240

encapsulation ppp

timeout absolute 60 0

dialer idle-timeout 3600

dialer-group 1

isdn switch-type basic-net3

peer default ip address pool default

ppp authentication chap pap callin

!

interface BRI1/2

no ip address

encapsulation ppp

shutdown

isdn switch-type basic-net3

!

interface BRI1/3

no ip address

encapsulation ppp

shutdown

isdn switch-type basic-net3

no peer default ip address

!

ip local pool default 192.168.3.3 192.168.3.14

ip http server

ip classless

ip route 192.168.5.0 255.255.255.0 serial0.1

ip route 192.168.4.0 255.255.255.0 serial0.2

ip route 0.0.0.0 0.0.0.0 10.2.0.1

!

aclearcase/“ target=”_blank“ >ccess-list 1 permit any

dialer-list 1 protocol ip list 1

line con 0

password console

login

line aux 0

line vty 0 4

password telnet

login

!

end

原文转自:www.ltesting.net

篇2:Cisco3640Voip配置实例解析网络知识

下面是一个Cisco 3640的VOIP配置,对方的结构是台北和上海两地做VOIP,后接阿尔卡特的PBX,这是我亲手做的,里面有很多有注意的地方,与大家一起分享快乐! 如有看不懂的地方请问我,还有我加的注解: Taipei#sh run Building configuration... Current config

下面是一个Cisco 3640的VOIP配置,对方的结构是台北和上海两地做VOIP,后接阿尔卡特的PBX,这是我亲手做的,里面有很多有注意的地方,与大家一起分享快乐!

如有看不懂的地方请问我,还有我加的注解:

Taipei#sh run

Building configuration...

Current configuration:

!

version 12.0

service timestamps debug uptime(设定Debug跟踪日志显示其时间)

service timestamps log uptime(设定看Log时显示其时间)

no service password-encryption(口令不加密)

!

hostname Taipei(主机名)

!

enable secret 5 $1$R.66$z.BUjhNsJcIr8KCcS9uxG.

!

!

!

!

!

voice-card 1(定义语音卡1)

!

voice-card 3(定义语音卡3)

!

ip su.net-zero

no ip domain-lookup

!

isdn voice-call-failure 0

!

!

!

!

controller E1 1/0(配置 E1语音卡)

framing NO-CRC4

ds0-group 0 timeslots 1-15,17-31 type e&m-wink-start(定义语音卡的类型为E&M卡)

cas-custom 0

!

controller E1 3/0(配置 E1语音卡)

framing NO-CRC4

ds0-group 0 timeslots 1-15,17-31 type e&m-wink-start(定义语音卡的类型为E&M卡)

cas-custom 0

!

!

!

interface BRI0/0

no ip address

no ip directed-broadcast

shutdown

isdn guard-timer 0 on-expiry aclearcase/” target=“_blank” >ccept

!

interface FastEthernet0/0

no ip address

no ip directed-broadcast

shutdown

duplex auto

speed auto

!

interface Serial0/0

description “Link to MainLand_ShangHai by NCIC lease line”

ip address 192.168.1.1 255.255.255.252

no ip directed-broadcast

no ip mroute-cache

no fair-queue

!

interface Serial0/1

no ip address

no ip directed-broadcast

shutdown

clockrate 000

!

ip classless

no ip http server

!

!

voice-port 1/0:0(配置模拟语音端口)

compand-type a-law

!

voice-port 3/0:0(配置模拟语音端口)

compand-type a-law

!

dial-peer voice 1 voip (定义拨号对等体到语音)

destination-pattern +445...(为拨号对等体分配电话号码,其中.为通配符)

session target ipv4:192.168.1.2(定义Voip路由,为对端的IP地址)

req-qos guaranteed-delay (语音数据流RVSP的保证,其中Guaranteed-dealy可用于保证整个网络的延时)

ip precedence 5(IP优先级,5为关键)

!

dial-peer voice 2 pots(定义拨号对等体到语音物理端口)

destination-pattern +3...(定义电话话码以3开头的)

port 1/0:0(定义语音端口)

!

dial-peer voice 3 pots(定义拨号对等体到语音物理端口)

destination-pattern +3...(定义电话话码以3开头的)

port 3/0:0(定义语音端口)

!

!

line con 0(设定登陆)

transport input none

line aux 0

line vty 0 4(允许用Telnet)

password cisco(口令为Cisco)

login

!

end

Taipei#

上海一方的3640配置

ShangHai#sh run

Building configuration...

Current configuration:

!

version 12.0

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname ShangHai

!

enable secret 5 $1$dB/c$tnrMU9IxFCJdix5ssHAdH/

!

!

!

!

!

voice-card 1

!

voice-card 2

!

ip subnet-zero

no ip domain-lookup

!

isdn voice-call-failure 0

!

!

!

!

controller E1 1/0

framing NO-CRC4

ds0-group 0 timeslots 1-15,17-31 type e&m-immediate-start

cas-custom 0

!

controller E1 2/0

framing N

ds0-group 0 timeslots 1-15,17-31 type e&m-immediate-start

cas-custom 0

!

!

!

interface BRI0/0

no ip address

no ip directed-broadcast

encapsulation ppp

isdn guard-timer 0 on-expiry accept

ppp multilink

!

interface FastEthernet0/0

no ip address

no ip directed-broadcast

shutdown

duplex auto

speed auto

!

interface Serial0/0

no ip address

no ip directed-broadcast

no ip mroute-cache

shutdown

no fair-queue

clockrate 2000000

!

interface Serial0/1

ip address 192.168.1.2 255.255.255.252

no ip directed-broadcast

!

ip classless

!

no ip http server

!

!

voice-port 1/0:0

compand-type a-law

!

voice-port 2/0:0

compand-type a-law

!

dial-peer voice 20 voip

destination-pattern +3...

session target ipv4:192.168.1.1

req-qos guaranteed-delay

ip precedence 5

!

dial-peer voice 10 pots

destination-pattern +448...

port 1/0:0

!

dial-peer voice 30 voip

destination-pattern +4...

session target ipv4:192.168.1.1

req-qos guaranteed-delay

ip precedence 5

!

dial-peer voice 40 pots

destination-pattern +449...

port 2/0:0

!

!

line con 0

transport input none

line aux 0

line vty 0 4

password cisco

login

!

end

ShangHai#

原文转自:www.ltesting.net

篇3:Cisco2610A的配置实例网络知识

Current configuration: ! version 11.3 service timestamps debug uptime service timestamps log uptime service password-encryption ! hostname 2610A ! enable password password ! username bluestudy password password no ip domain-lookup! ! inter

Current configuration:

!

version 11.3

service timestamps debug uptime

service timestamps log uptime

service password-encryption

!

hostname 2610A

!

enable password password

!

username bluestudy password password

no ip domain-lookup!

!

interface Ethe.net0/0

ip address 192.168.0.2 255.255.255.252

no shut

!

interface Serial0/0

ip address 192.168.0.5 255.255.255.252

no shut

!

interface Serial0/1

no ip address

shutdown

!

ip route 0.0.0.0 0.0.0.0 192.168.0.1

ip route 192.168.2.0 255.255.255.0 192.168.0.6

!

snmp-server community public RO

snmp-server community private RW

!

line con 0

line aux 0

line vty 0 4

login local

!

no scheduler allocate

end

原文转自:www.ltesting.net

篇4:Cisco2610B的配置实例网络知识

Current configuration: ! version 11.3 service timestamps debug uptime service timestamps log uptime service password-encryption ! hostname 2610B ! enable password password ! username bluestudy password password no ip domain-lookup! ! inter

Current configuration:

!

version 11.3

service timestamps debug uptime

service timestamps log uptime

service password-encryption

!

hostname 2610B

!

enable password password

!

username bluestudy password password

no ip domain-lookup!

!

interface Ethe.net0/0

ip address 202.108.66.98 255.255.255.248

no shut

!

interface Serial0/0

ip address 202.108.8.1 255.255.255.252

no shut

!

interface Serial0/1

no ip address

shutdown

!

ip route 0.0.0.0 0.0.0.0 202.108.8.2

!

snmp-server community public RO

snmp-server community private RW

!

line con 0

line aux 0

line vty 0 4

login local

!

no scheduler allocate

end

原文转自:www.ltesting.net

篇5:Cisco3550交换机配置DHCP服务器实例网络知识

网络 环境:一台3550E MI 交换机,划分三个vlan,vlan2 为 服务器 所在网络,命名为server,IP地址段 为192.168.2.0,子网掩码:255.255.255.0,网关:192.168.2.1,域服务器为 windows advance server,同时兼作DNS服务器,IP地址为192.168.2.10,vlan3为客户机

网络环境:一台3550EMI交换机,划分三个vlan,vlan2 为服务器所在网络,命名为server,IP地址段

为192.168.2.0,子网掩码:255.255.255.0,网关:192.168.2.1,域服务器为windows2000 advance server,同时兼作DNS服务器,IP地址为192.168.2.10,vlan3为客户机1所在网络,IP地址段为192.168.3.0,子网掩码:255.255.255.0,网关:192.168.3.1命名为work01,vlan4为客户机2所在网络,命名为work02,IP地址段为192.168.4.0,子网掩码:255.255.255.0,网关:192.168.4.1,3550作DHCP服务器,端口1-8划到VLAN 2,端口9-16划分到VLAN 3,端口17-24划分到VLAN 4.

DHCP服务器实现功能:

各VLAN保留2-10的IP地址不分配置,例如:192.168.2.0的网段,保留192.168.2.2至192.168.2.10的IP地

址段不分配.

安全要求:

VLAN 3和VLAN 4 不允许互相访问,但都可以访问服务器所在的VLAN 2,

默认访问控制列表的规则是拒绝所有包,

配置命令及步骤如下:

第一步:创建VLAN:

Switch>en

Switch#Vlan Database

Switch(Vlan)>Vlan 2 Name server

Switch(Vlan)>Vlan 3 Name work01

Switch(vlan)>Vlan 4 Name work02

第二步:设置VLAN IP地址:

Switch#Config T

Switch(Config)>Int Vlan 2

Switch(Config-vlan)Ip Address 192.168.2.1 255.255.255.0

Switch(Config-vlan)No Shut

Switch(Config-vlan)>Int Vlan 3

Switch(Config-vlan)Ip Address 192.168.3.1 255.255.255.0

Switch(Config-vlan)No Shut

Switch(Config-vlan)>Int Vlan 4

Switch(Config-vlan)Ip Address 192.168.4.1 255.255.255.0

Switch(Config-vlan)No Shut

Switch(Config-vlan)Exit

/*注意:由于此时没有将端口分配置到VLAN2,3,4,所以各VLAN会DOWN掉,待将端口分配到各VLAN后,VLAN会起来*/

第三步:设置端口全局参数

Switch(Config)Interface Range Fa 0/1 - 24

Switch(Config-if-range)Switchport Mode Aclearcase/“ target=”_blank“ >ccess

Switch(Config-if-range)Spanning-tree Portfast

第四步:将端口添加到VLAN2,3,4中

/*将端口1-8添加到VLAN 2*/

Switch(Config)Interface Range Fa 0/1 - 8

Switch(Config-if-range)Switchport Access Vlan 2

/*将端口9-16添加到VLAN 3*/

Switch(Config)Interface Range Fa 0/9 - 16

Switch(Config-if-range)Switchport Access Vlan 3

/*将端口17-24添加到VLAN 4*/

Switch(Config)Interface Range Fa 0/17 - 24

Switch(Config-if-range)Switchport Access Vlan 4

Switch(Config-if-range)Exit

/*经过这一步后,各VLAN会起来*/

第五步:配置3550作为DHCP服务器

/*VLAN 2可用地址池和相应参数的配置,有几个VLAN要设几个地址池*/

Switch(Config)Ip Dhcp Pool Test01

/*设置可分配的子网*/

Switch(Config-pool)Network 192.168.2.0 255.255.255.0

/*设置DNS服务器*/

Switch(Config-pool)Dns-server 192.168.2.10

/*设置该子网的网关*/

Switch(Config-pool)Default-router 192.168.2.1

/*配置VLAN 3所用的地址池和相应参数*/

Switch(Config)Ip Dhcp Pool Test02

Switch(Config-pool)Network 192.168.3.0 255.255.255.0

Switch(Config-pool)Dns-server 192.168.2.10

Switch(Config-pool)Default-router 192.168.3.1

/*配置VLAN 4所用的地址池和相应参数*/

Switch(Config)Ip Dhcp Pool Test03

Switch(Config-pool)Network 192.168.4.0 255.255.255.0

Switch(Config-pool)Dns-server 192.168.2.10

Switch(Config-pool)Default-router 192.168.4.1

第六步:设置DHCP保留不分配的地址

Switch(Config)Ip Dhcp Excluded-address 192.168.2.2 192.168.2.10

Switch(Config)Ip Dhcp Excluded-address 192.168.3.2 192.168.3.10

Switch(Config)Ip Dhcp Excluded-address 192.168.4.2 192.168.4.10

第七步:启用路由

/*路由启用后,各VLAN间主机可互相访问*/

Switch(Config)Ip Routing

第八步:配置访问控制列表

Switch(Config)access-list 103 permit ip 192.168.2.0 0.0.0.255 192.168.3.0 0.0.0.255

Switch(Config)access-list 103 permit ip 192.168.3.0 0.0.0.255 192.168.2.0 0.0.0.255

Switch(Config)access-list 103 permit udp any any eq bootpc

Switch(Config)access-list 103 permit udp any any eq tftp

Switch(Config)access-list 103 permit udp any eq bootpc any

Switch(Config)access-list 103 permit udp any eq tftp any

Switch(Config)access-list 104 permit ip 192.168.2.0 0.0.0.255 192.168.4.0 0.0.0.255

Switch(Config)access-list 104 permit ip 192.168.4.0 0.0.0.255 192.168.2.0 0.0.0.255

Switch(Config)access-list 104 permit udp any eq tftp any

Switch(Config)access-list 104 permit udp any eq bootpc any

Switch(Config)access-list 104 permit udp any eq bootpc any

Switch(Config)access-list 104 permit udp any eq tftp any

第九步:应用访问控制列表

/*将访问控制列表应用到VLAN 3和VLAN 4,VLAN 2不需要*/

Switch(Config)Int Vlan 3

Switch(Config-vlan)ip access-group 103 out

Switch(Config-vlan)Int Vlan 4

Switch(Config-vlan)ip access-group 104 out

第十步:结束并保存配置

Switch(Config-vlan)End

Switch#Copy Run Start

原文转自:www.ltesting.net

篇6:Cisco 6509为主网络配置实例

配置上完全没有问题,已经运行近半年了,主旨是大家能共同学习,用实践来巩固自己学习的成果。有什么问题尽管跟帖,相信大家一起讨论,一定能解决一切问题。

一、Catalyst 6509交换机配置方案

1.1、配置6509二层交换

Console>(enable) set system name bg-sw-01 /设备名称

Bg-sw-01>(enable ) set password

Enter old password:

Enter new password: test /设备口令

Retype new password: test

Bg-sw-01>(enable) set enablepass

Enter old password:

Enter new password: test /设备口令

Retype new password: test

Bg-sw-01>(enable) set banner motd % Welcome to the c6509 in the office % /提示文本

Bg-sw-01>(enable) set interface sc0 10.234.180.21 255.255.255.0 /设置管理接口 #sh int

Bg-sw-01>(enable) set ip route default 10.234.180.234 /设置默认网关 #sh ip route

Bg-sw-01>(enable) set vtp mode server /设置VTP模式 #sh vtp domain

Bg-sw-01>(enable) set vtp domain Core_Net /设置VTP域名

Bg-sw-01>(enable) set vlan 31 name ZhongSanLu /创建VLAN #sh vlan

Bg-sw-01>(enable) set vlan 32 name YiYang

Bg-sw-01>(enable) set vlan 33 name JianXiu

Bg-sw-01>(enable) set vlan 34 name RaoDian

Bg-sw-01>(enable) set vlan 35 name JinSanLou

Bg-sw-01>(enable) set vlan 36 name WuZi

Bg-sw-01>(enable) set port channel 1/1-2 on /设置Channel #sh port channel

Bg-sw-01>(enable) set trunk 1/1 on dot1q 1-1005

Bg-sw-01>(enable) set trunk 2/2 on dot1q 1-1005 /设置trunk口 #sh trunk #

Bg-sw-01>(enable) set trunk 2/3 on dot1q 1-1005

Bg-sw-01>(enable) set trunk 2/4 on dot1q 1-1005

Bg-sw-01>(enable) set trunk 2/5 on dot1q 1-1005

Bg-sw-01>(enable) set trunk 2/6 on dot1q 1-1005

Bg-sw-01>(enable) set trunk 2/7 on dot1q 1-1005

Bg-sw-01>(enable) set spantree root 1-40 dia 4 /设为spantree的根 #sh spantree

Bg-sw-01>(enable) set spantree portfast 1/1-2 enable /设spantree端口快速启用

Bg-sw-01>(enable) set spantree portfast 2/1-8 enable

Bg-sw-01>(enable) set spantree uplinkfast enable /设spantree端口快速切换

Bg-sw-01>(enable) set spantree backbonefast enable /设spantree端口快速定位根

1.2、配置路由

Console>(enable) session 15 /进入路由子卡

Router(config)# hostname c6509-msfc /设备名

c6509-msfc (config)# enable password test /设口令

c6509-msfc (config)# enable secret test

C6509-msfc(config)# banner motd % Welcome to the c6509-msfc in the Office % /设提示文本

c6509-msfc (config)# line vty 0 4 / 进入VTY模式

c6509-msfc (config-line)#login / 登入提示

c6509-msfc (config-line)#password test / 设用户级口令

c6509-msfc (config-line)# end

C6509-msfc#configure terminal / 进入全局模式

Enter configuration commands, one per line. End with CNTL/Z.

C6509-msfc(config)# interface vlan 1 /进入虚子接口

C6509-msfc(config-if)# ip address 10.234.180.232 255.255.255.0 /加ip地址

C6509-msfc(config-if)# no shutdown /开启端口

C6509-msfc(config-if)# standby 1 ip 10.234.180.234 /建HSRP组并设虚IP地址

C6509-msfc(config-if)# standby 1 priority 110 /设优先级

C6509-msfc(config-if)# standby 1 preempt /设切换许可

C6509-msfc(config-if)# interface vlan 31

C6509-msfc(config-if)# ip address 10.234.181.60 255.255.255.192

C6509-msfc(config-if)# no shutdown

C6509-msfc(config-if)# standby 31 ip 10.234.181.62

C6509-msfc(config-if)# standby 31 priority 110

C6509-msfc(config-if)# standby 31 preempt

C6509-msfc(config-if)# interfacevlan 32

C6509-msfc(config-if)# ip address 10.234.181.124 255.255.255.192

C6509-msfc(config-if)# no shutdown

C6509-msfc(config-if)# standby 32 ip 10.234.181.126

C6509-msfc(config-if)# standby 32 priority 110

C6509-msfc(config-if)# standby 32 preempt

C6509-msfc(config-if)# interface vlan 33

C6509-msfc(config-if)# ip address 10.234.181.188 255.255.255.192

C6509-msfc(config-if)# no shutdown

C6509-msfc(config-if)# standby 33 ip 10.234.181.190

C6509-msfc(config-if)# standby 33 priority 110

C6509-msfc(config-if)# standby 33 preempt

C6509-msfc(config-if)# interface vlan 34

C6509-msfc(config-if)# ip address 10.234.181.220 255.255.255.224

C6509-msfc(config-if)# no shutdown

C6509-msfc(config-if)# standby 34 ip 10.234.181.222

C6509-msfc(config-if)# standby 34 priority 110

C6509-msfc(config-if)# standby 34 preempt

C6509-msfc(config-if)# interface vlan 35

C6509-msfc(config-if)# ip address 10.234.181.254 252.255.255.224

C6509-msfc(config-if)# no shutdown

C6509-msfc(config-if)# standby 35 ip 10.234.181.254

C6509-msfc(config-if)# standby 35 priority 110

C6509-msfc(config-if)# standby 35 preempt

C6509-msfc(config-if)# interface vlan 36

C6509-msfc(config-if)# ip address 10.234.182.28 255.255.255.224

C6509-msfc(config-if)# no shutdown

C6509-msfc(config-if)# standby 36 ip 10.234.182.30

C6509-msfc(config-if)# standby 36 priority 110

C6509-msfc(config-if)# standby 36 preempt

C6509-msfc(config-if)# exit

篇7:CiscoHSRP的配置网络知识

version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname r1 ! enable password cisco ! ip su .net -zero ! ! ! ! interface Ethernet0 ip address 136.147.107.101 255.255.0.0 no ip red

version 12.0

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname r1

!

enable password cisco

!

ip su.net-zero

!

!

!

!

interface Ethernet0

ip address 136.147.107.101 255.255.0.0

no ip redirects

no ip directed-broadcast

standby 150 timers 5 15 /* 定义150组5秒交换一次hello信息,15秒没收到

hello信息就开始切换 */

standby 150 priority 110 /* 定义150组的主路由器权值,值越大,为主路由

器希望越大 */

standby 150 preempt /* enable 150组的hsrp抢占功能 */

standby 150 authentication cisco /* 设置150组的router身份验证串 */

standby 150 ip 136.147.107.100 /* 定义150组的浮动地址,也是这台router

连接的网络的网关 */

standby 150 track Ethernet0 /* 定义监控的端口 */

!

interface Serial0

no ip address

no ip directed-broadcast

no ip mroute-cache

shutdown

no fair-queue

!

ip classless

!

!

line con 0

transport input none

line 1 16

line aux 0

line vty 0 4

password cisco

login

!

end

原文转自:www.ltesting.net

篇8:4006s2配置清单网络知识

作3层交换 Enter password: ZX_WS4006_1>(enable) sh mod Mod Slot Ports Module-Type Model Sub Status --- ---- ----- ------------------------- ------------------- --- -------- 1 1 2 1000BaseX Supervisor WS-X4013 no ok 3 3 6 1000BaseX Ethernet

作3层交换

Enter password:

ZX_WS4006_1>(enable) sh mod

Mod Slot Ports Module-Type Model Sub Status

--- ---- ----- ------------------------- ------------------- --- --------

1 1 2 1000BaseX Supervisor WS-X4013 no ok

3 3 6 1000BaseX Ethernet WS-X4306 no ok

4 4 34 Router Switch Card WS-X4232-L3 no ok

Mod Module-Name Serial-Num

--- -------------------- --------------------

1 JAE060906GZ

3 JAE04470A10

4 JAB052105F2

Mod MAC-Address(es) Hw Fw Sw

--- -------------------------------------- ------ ---------- -----------------

1 00-08-e3-86-06-00 to 00-08-e3-86-09-ff 3.2 5.4(1) 6.3(1)

3 00-04-27-55-93-2c to 00-04-27-55-93-31 2.0

4 00-04-9a-50-16-4c to 00-04-9a-50-16-6d 1.7 12.0(7)W5( 12.0(10)W5(18f)

ZX_WS4006_1>(enable) sh config

This command shows non-default configurations only.

Use 'show config all' to show both default and non-default configurations.

.............

..................

..................

....................

..

begin

!

# ***** NON-DEFAULT CONFIGURATION *****

!

!

#time: Tue Mar 18 , 23:11:06

!

#version 6.3(1)

!

!

#system web interface version(s)

set password $2$ZtNY$yuqPHi7CpjwCs0blr9mxG0

set enablepass $2$rY7u$b9D5DEa661dt46OwWq5ts/

!

#test

set test diaglevel minimal

!

#system

set system name ZX_WS4006_1

set system contact Center-sw

!

#frame. distribution method

set port channel all distribution mac both

!

#vtp

set vtp domain cs1yhis

set vlan 1 name default type ethernet mtu 1500 said 100001 state active

set vlan 2 name JiGuan type ethernet mtu 1500 said 100002 state active

set vlan 3 name YeWu type ethernet mtu 1500 said 100003 state active

set vlan 4 name XXZX type ethernet mtu 1500 said 100004 state active

set vlan 100 name yibao type ethernet mtu 1500 said 100100 state active

set vlan 1002 name fddi-default type fddi mtu 1500 said 101002 state active

set vlan 1004 name fddinet-default type fddinet mtu 1500 said 101004 state activ

e stp ieee

set vlan 1005 name trnet-default type trbrf mtu 1500 said 101005 state active st

p ibm

set vlan 5-20

set vlan 1003 name token-ring-default type trcrf mtu 1500 said 101003 state acti

ve mode srb aremaxhop 0 stemaxhop 0 backupcrf off

!

#ip

set interface sc0 1 192.168.1.250/255.255.255.0 192.168.1.255

set interface sl0 192.168.168.1 255.255.255.0

set interface sl0 down

set interface me1 192.0.2.1 255.255.255.0 192.0.2.255

set ip route 0.0.0.0/0.0.0.0 192.168.1.254

!

#dns

set ip dns server 202.103.96.68 primary

set ip dns server 202.103.4.238

!

#syslog

set logging level cops 2 default

!

#set boot command

set boot config-register 0x2

set boot system flash bootflash:cat4000.6-3-1.bin

set boot system flash bootflash:cat4000.5-5-8.bin

!

#mls

set mls nde disable

!

#port channel

set port channel 4/1-2 25

!

#http configuration

set ip http server enable

!

#module 1 : 2-port 1000BaseX Supervisor

set udld enable 1/1-2

!

#module 2 empty

!

#module 3 : 6-port 1000BaseX Ethernet

set udld enable 3/6

set trunk 3/3 on dot1q 1-1005

set trunk 3/4 on dot1q 1-1005

set trunk 3/5 on dot1q 1-1005

set trunk 3/6 on dot1q 1-1005

!

#module 4 : 34-port Router Switch Card

set trunk 4/1 nonegotiate dot1q 1-1005

set trunk 4/2 nonegotiate dot1q 1-1005

set port channel 4/1-2 mode on

!

#module 5 empty

!

#module 6 empty

end

ZX_WS4006_1>(enable)

ZX_WS4006_1>(enable) sess 3

Feature not supported on Module 3.

ZX_WS4006_1>(enable) sess 4

Trying IntlgLineCard-4...

Connected to IntlgLineCard-4.

Escape character is '^]'.

User Aclearcase/” target=“_blank” >ccess Verification

Password:

VLAN-gw>en

Password:

VLAN-gw#sh run

Building configuration...

Current configuration:

!

version 12.0

no service pad

service timestamps debug uptime

service timestamps log uptime

service password-encryption

!

hostname VLAN-gw

!

enable secret 5 $1$j6xO$q2wF0qaki76qo6hr3bYlt.

enable password 7 070E25414707

!

ip subnet-zero

no ip domain-lookup

ip name-server 202.103.96.68

ip name-server 202.103.100.100

!

!

!

interface Port-channel1

description This is interface is configured for routing with native vlan 1 to 4

no ip address

no ip redirects

no ip directed-broadcast

hold-queue 300 in

!

interface Port-channel1.1

encapsulation dot1Q 1 native

ip address 192.1.1.254 255.255.255.0 secondary

ip address 192.168.1.254 255.255.255.0

no ip redirects

no ip directed-broadcast

!

interface Port-channel1.2

description This interface is connected to vlan 2 which is connected to vlan

encapsulation dot1Q 2

ip address 192.168.2.254 255.255.255.0

no ip redirects

no ip directed-broadcast

!

interface Port-channel1.3

description This interface is connected to vlan 3 which is connected to vlan 3

encapsulation dot1Q 3

ip address 192.168.3.254 255.255.255.0

no ip redirects

no ip directed-broadcast

!

interface FastEthernet1

description This is the out of band interface that you can use for management

ip address 172.168.1.1 255.255.255.0

no ip directed-broadcast

!

interface GigabitEthernet1

no ip address

no ip directed-broadcast

!

interface GigabitEthernet2

no ip address<

原文转自:www.ltesting.net

篇9:3550emi配置DHCPSERVER!网络知识

相关配置命令: config)#ip dhcp pool [地址池名] (config)#ip dhcp excluded-address [不分配的地址] (dhcp-config) .net work [要分配的地址] [掩码] (dhcp-config)#lease [租约] (dhcp-config)#default-router [默认网关] (dhcp-config)#dns-server[dns

相关配置命令:

config)#ip dhcp pool [地址池名]

(config)#ip dhcp excluded-address [不分配的地址]

(dhcp-config).network [要分配的地址] [掩码]

(dhcp-config)#lease [租约]

(dhcp-config)#default-router [默认网关]

(dhcp-config)#dns-server[dns服务器]

然后要对自动获取地址的vlan 进行设置

(config)#ip helper-address [交换机地址]

再将端口划分到vlan 里

show config:

ip dhcp excluded-address 10.0.199.200 10.0.199.254

!

ip dhcp pool test

network 10.0.199.0 255.255.255.0

default-router 10.0.199.1

dns-server 10.0.199.252

lease 0 0 5

nterface Vlan199

ip address 10.0.199.1 255.255.255.0

ip helper-address 10.0.1.1

原文转自:www.ltesting.net

linux的网络配置命令详解

一台OpenSuSE系统的服务器的网络配置

Cisco网络教材:路由器寄存器的配置

linux下的网络配置工具――iprouteLinux

Ciscoworkswindows5.0安装实录网络知识

RFC28 Time Standards网络知识

无线网桥网络维护知识

linux网络基础之路由器远程配置和更新

植物配置心得

网吧路由器应用优先级配置的操作详解网络技巧

《Cisco2610C的配置实例网络知识(锦集9篇).doc》
将本文的Word文档下载到电脑,方便收藏和打印
推荐度:
点击下载文档

文档为doc格式

点击下载本文文档