Cisco ACE的应用主要使用http、https、telnet、icmp、snmp、实时流协议(RSTP)和域名系统(dns)等协议,实现了多种内容交换,并使用了完全常规参数表达(regex),包括URL、cookies、方法、标头,主机标头和消息。下面我们来看一下Cisco ACE升级配置:
Cisco ACE升级——在交换机上配置
- Router# config
- Router(config)# svclc vlan-group 3 3
- /*将VLAN3分配给VLAN-GROUP 3
- Router(config)# svc module 1 vlan-group 3
- /*将交换机的模块1(ACE板)分配置VLAN-GROUP 3
- Router(config)#int gi 9/48
- Router(config-if)switchport
- Router(config-if)swi acc vlan 3
- Router(config-if)no shut
- /*将9/48口也划入VLAN3 ,并在此接口上接PC,为PC配置地址30.30.30.3/24.
- ACE板可以和VLAN3 中机器通信。
- Router(config)#svclc vlan-group 3 ?
- WORD
- vlan range (2-1001,1006-4094) ex: 1-65,72,300-320
- Router(config)#svclc vlan-group 3 3
- Router(config)#svc module 1 vlan-group 3
- Router(config)#do show svc vlan
- Display vlan-groups created by both ACE module and FWSM commands
- Group
- Created by
- vlans
- -----
- ----------
- -----
- 3
- ACE
- 3
- Router(config)#do show svc mo
- Module Vlan-groups
- ------ -----------
- 01
- 3
- Router(config)#
Cisco ACE升级——在ACE板上配置:
- switch/Admin(config)# do show vlan
- Vlans configured on SUP for this module
- vlan3
- switch /Admin(config)# interface vlan 3
- switch /Admin(config-if)# ip address 30.30.30.2 255.255.255.0
- switch /admin(config-if)# no shutdown
- switch /Admin(config)# class-map type management match-any remote
- switch/Admin(config-cmap-mgmt)# match protocol telnet any
- switch/Admin(config-cmap-mgmt)# match protocol ssh any
- switch/Admin(config-cmap-mgmt)# match protocol icmp any
- switch/Admin(config-cmap-mgmt)# exit
- switch/Admin(config)#
- switch/Admin(config)# policy-map type management first-match remote
- switch/Admin(config-pmap-mgmt)#
- switch/Admin(config-pmap-mgmt)# class remote
- switch/Admin(config-pmap-mgmt-c)#
- switch/Admin(config-pmap-mgmt-c)# permit
- switch/Admin(config-pmap-mgmt-c)# exit
- switch/Admin(config-pmap-mgmt)# exit
- switch/Admin(config)#
- switch/Admin(config)# interface vlan 3
- switch/Admin(config-if)#
- switch/Admin(config-if)# service-policy input remote
查看配置信息:
- switch/Admin(config-if)# do show run
- Generating configuration…
- login timeout 0
- boot system image:c6ace-t1k9-mz.3.0.0_A1_6_3a.bin
- class-map type management match-any remote
- 2 match protocol telnet any
- 3 match protocol ssh any
- 4 match protocol icmp any
- 5 match protocol http any
- policy-map type management first-match remote
- class remote
- permit
- interface vlan 3
- ip address 30.30.30.2 255.255.255.0
- service-policy input remote
- no shutdown
- username admin password 5 $faXJEFBj$TJR1Nx7sLPTi5BZ97v08c/
- role Admin domain
- default-domain
- username www password 5 $UZIiwUk7$QMVYN1JASaycabrHkhGcS/
- role Admin domain de
- fault-domain
- switch/Admin(config-if)
Cisco ACE升级——配置完成准备升级:
- switch/Admin(config-if)# do show
- boot
- /*查看ACE板引导信息
- BOOT variable = "disk0:c6ace-t1k9-mz.3.0.0_A1_6_3a.bin"
- Configuration register is 0x1
- 从TFTP(30.30.30.3)上升级
- switch/Admin# copy tftp: image:
- Enter source filename[]? c6ace-t1k9-mz.A2_1_2.bin
- Enter the destination filename[]? [c6ace-t1k9-mz.A2_1_2.bin]
- Address or name of remote host[]? 30.30.30.3
- Trying to connect to tftp server……
- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- TFTP get operation was successful
- switch/Admin# show image:
- 30374383
- Dec 8 10:06:59 2008 c6ace-t1k9-mz.A2_1_2.bin
- 28822200
- Sep 13 17:13:00 2008 c6ace-t1k9-mz.3.0.0_A1_6_3a.bin
- Usage for image: filesystem
- 399998976 bytes total used
- 638976000 bytes free
- 1038974976 bytes available
- switch/Admin#
Cisco ACE升级——修改启动文件:
- switch/Admin# confi t
- Enter configuration commands, one per line.
- End with CNTL/Z.
- switch/Admin(config)# boot
- system ?
- image:
- Image name to boot
- switch/Admin(config)# boot system image:c6ace-t1k9-mz.A2_1_2.bin
- switch/Admin(config)# do show boot
- BOOT variable = "disk0:c6ace-t1k9-mz.3.0.0_A1_6_3a.bin;disk0:c6ace-t1k9-mz.A2_1_2.bin"
- Configuration register is 0x1
- switch/Admin(config)# no boot stem disk0: image:c6ace-t1k9-mz.3.0.0_A1_6_3a.bin
- switch/Admin(config)# do show boot
- BOOT variable = "disk0:c6ace-t1k9-mz.A2_1_2.bin"
- Configuration register is 0x1
- switch/Admin(config)# do copy run star
- Generating configuration…
- running config of context Admin saved
Cisco ACE升级——重启ACE板:
switch/Admin(config)# reload
Cisco ACE升级配置就为大家叙述完了,希望读者已经掌握和理解。
【编辑推荐】