思科交换机命令配置命令

帐号:密码:下次自动登录{url:/nForum/slist.json?uid=guest&root=list-section}{url:/nForum/nlist.json?uid=guest&root=list-section}
贴数:1&分页:&发信人: cdroom (阿拉丁), 信区: Networking
标&&题: Cisco C3550三层交换机配置经验(原创)
发信站: BBS 水木清华站 (Wed Sep&&8 14:38:23 2004), 转信 && 本人是个网络菜鸟,对交换机路由器等设备配置曾一头雾水,通过最近做的几个项目
对此有点认识,现将自己的配置方法和经验附上,以Cisco3550交换机为例。
不对的地方,请指正。 && 一个新的3550交换机配置流程,请按以下顺序配置: && 一、&&&&VLAN划分
以特权模式身份(即看提示符为#:这样)通过串口的终端方式连接交换机,按照下列方式操作:
1.进入配置状态,f和t之间有一空格
2.输入:vlan database
3.输入VLAN号码和名称,如:vlan 10 name test
假定你打算分5个VLAN,就需要输入5次上面的语句,输完后输入apply写入。
#:vlan 10 name test1
#:vlan 20 name test2
#:vlan 30 name test3
#:vlan 40 name test4
#:vlan 50 name test5
#:apply && 附:如果想删除某个VLAN,比如删除上面的vlan50,输入no vlan 50即可 && 4.完成VLAN输入后,输入EXIT退出配置状态,在#状态下输入wr保存
现在你可以用sh vlan命令,看一下你刚划分的VLAN。 && 至此VLAN划分完了,下一步是把交换机上的端口指定给某个VLAN。 && 二、&&&&VLAN端口配置
1.同样进入配置状态,f和t之间有一空格
2.进入某端口命令
#:interface fastethernet 0/3&&&&&&&&&& (进入交换要第3个端口,可简写为:int fast 0/10)
#:switchport access vlan 10&&&&&&&&&&&&(将此端口分配给vlan10)
#:no shutdown&&&&&&&&&&(激活此端口,可简写为:no shut)
#:exit&&&&&&&& (退出conf t模式)
#:wr&&&&&&&&&& (保存上面配置)
3.如果你想将其它端口分配给某个VLAN,重复上在步骤 && OK,现在继续下一步给VLAN分配一个IP地址。 && 三、&&&&给VLAN分配IP地址
每个VLAN的IP地址以后就是这个VLAN网段下面机器的网关地址。
1.还是进入配置状态,f和t之间有一空格
2.进入VLAN接口
#:int vlan10&&&&&&&&&& (进入VLAN10,int是interface简写了)
#:ip address 192.168.0.10 255.255.255.0&&&&&&&&&&&&&&&&(addresss可简写为add,给vlan10分配的ip和掩码)
#:no shut&&&&&&(激活)
如果有多个VLAN,重复上面步骤 && 四、&&&&路由配置
#:ip classless
#:ip route 0.0.0.0 0.0.0.0 192.168.0.1&&&&&&&& (上层网关地址) && 五、生成树拓扑
如果3550下在还接其它交换机,需要把3550设置根交换机,以便生成树拓扑。
生成树拓扑命令:
1.进入配置状态,f和t之间有一空格
#:spanning-tree vlan 10 root primary
如果有多个vlan,每个VLAN都要输入此命令,把VLAN号改一下即可。 && 五、&&&&如果每个VLAN相互通信,需要输入:
1.进入配置状态,f和t之间有一空格
#:ip routing
#:wr && ok,至此,你已经完成3550交换机配置。 && ------------------------------
附一个完整的3550交换机配置文件:
Using 3472 out of 393216 bytes
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
hostname c3550
enable secret 5 $1$EYhz$x48Na6Imhow07zQL0GMMc1
enable password 123456
ip subnet-zero
ip routing
spanning-tree mode pvst
spanning-tree extend system-id
spanning-tree vlan 10 priority 24576
spanning-tree vlan 20 priority 24576
spanning-tree vlan 30 priority 24576
spanning-tree vlan 40 priority 24576
spanning-tree vlan 50 priority 24576
spanning-tree vlan 60 priority 24576
spanning-tree vlan 100 priority 24576
interface FastEthernet0/1 &&switchport access vlan 100 &&switchport mode access &&no ip address
interface FastEthernet0/2 &&switchport access vlan 100 &&switchport mode access &&no ip address
interface FastEthernet0/3 &&switchport mode dynamic desirable &&no ip address
interface FastEthernet0/4 &&switchport mode dynamic desirable &&no ip address
interface FastEthernet0/5 &&switchport access vlan 10 &&switchport mode access &&no ip address
interface FastEthernet0/6 &&switchport access vlan 10 &&switchport mode access &&no ip address
interface FastEthernet0/7 &&switchport access vlan 20 &&switchport mode access &&no ip address
interface FastEthernet0/8 &&switchport access vlan 20 &&switchport mode access &&no ip address
interface FastEthernet0/9
switchport access vlan 30 &&switchport mode access &&no ip address
interface FastEthernet0/10 &&switchport access vlan 30 &&switchport mode access &&no ip address
interface FastEthernet0/11 &&switchport access vlan 40 &&switchport mode access &&no ip address
interface FastEthernet0/12 &&switchport access vlan 40 &&switchport mode access &&no ip address
interface FastEthernet0/13 &&switchport access vlan 50 &&switchport mode access &&no ip address
interface FastEthernet0/14 &&switchport access vlan 50 &&switchport mode access &&no ip address
interface FastEthernet0/15 &&switchport access vlan 60 &&switchport mode access &&no ip address
interface FastEthernet0/16 &&switchport access vlan 60 &&switchport mode access &&no ip address
interface FastEthernet0/17 &&switchport mode dynamic desirable &&no ip address
interface FastEthernet0/18 &&switchport mode dynamic desirable &&no ip address &&no ip address
interface FastEthernet0/19 &&switchport mode dynamic desirable &&no ip address
interface FastEthernet0/20 &&switchport mode dynamic desirable &&no ip address
interface FastEthernet0/21 &&switchport mode dynamic desirable &&no ip address
interface FastEthernet0/22 &&switchport mode dynamic desirable &&no ip address
interface FastEthernet0/23 &&switchport mode dynamic desirable &&no ip address
interface FastEthernet0/24 &&switchport mode dynamic desirable &&switchport mode dynamic desirable &&no ip address
interface GigabitEthernet0/1 &&switchport mode dynamic desirable &&no ip address
interface GigabitEthernet0/2 &&switchport mode dynamic desirable &&no ip address
interface Vlan1 &&no ip address &&shutdown
interface Vlan10 &&ip address 172.22.10.1 255.255.255.0
interface Vlan20 &&ip address 172.22.20.1 255.255.255.0
interface Vlan30 &&ip address 172.22.30.1 255.255.255.0
interface Vlan40 &&ip address 172.22.40.1 255.255.255.0
interface Vlan50 &&ip address 172.22.50.1 255.255.255.0
interface Vlan60 &&ip address 172.22.60.1 255.255.255.0
interface Vlan100 &&ip address 172.1.1.1 255.255.0.0
! && ip classless
ip route 0.0.0.0 0.0.0.0 172.1.1.2
ip http server
line con 0
line vty 0 4 &&password 123456 &&login
line vty 5 15 &&password 123456 &&login
end &&&& -- && ※ 来源:·BBS 水木清华站 smth.org·[FROM: 61.153.142.*]
&文章数:1&分页:
抽奖到手软!将狂欢进行到底!?é?? Search &
°??à±????? Browse by Category
..... ?? 3/4 ???
.......... Access
.......... Microsoft SQL Server
.......... Oracle
..... ???? 1/4
.......... ?·??AE÷
.......... VPN
..........
1/2 >>>>>>>>ú
..... JAVA????·???AE÷
.......... WebLogic
.......... Websphere
..... ?? 1/4 ?/?? 1/4 ?
.......... Lotus Domino
.......... Lotus Notes
.......... Microsoft Exchange
.......... Microsoft Outlook
..... ?? 1/4 ?
.......... ?¨? 1/2 >>ú
.......... ±? 1/4 ?± 3/4
.......... ?ò??>>ú
.......... ?ae???è±,
.......... ·???AE÷
............... ??Windows Server 2003 ????·??????í?? 1/4 ? 1/4 ??????í?ó
..... AE???
..... °ì?<<?í 1/4 ?
.......... Excel
.......... Powerpoint
.......... Project
.......... Visio
.......... Word
..... ??×÷?u??
.......... AIX
.......... Microsoft Windows 98/ME/2K/XP
.......... Microsoft Windows Server
.......... Solaris
.......... Unix/Linux
..... ??? 3/4 °??<<
..... ·??????í
..... ?¤ 3/4 ss?í 1/4 ?
.......... ×??ae?í 1/4 ?
..... ?¤×÷??u?
..... ?u?¨ 1/4
.: Cisco?·??AE÷ 1/2 >>>>>>>>ú?????ü???ó?<<
Cisco?·??AE÷ 1/2 >>>>>>>>ú?????ü???ó?<<
?ò??± 3/4 ??×? 1/2 ü?? 1/2 ???CCNPu??à?u?????>>?(C)?ü???????>>?<<???????ù??·?? 1/4 ??AE????????????ó 1/4 ?? 1/4 ??????1. switch?????ü??
(1)??? 1/2 ×?>>>>?ü??
??>>§??? 1/2 ----???¨??? 1/2 ,?????ü??&enable&
???¨??? 1/2 ----?<< 3/4 ???????? 1/2 ,?????ü??&config t&
?<< 3/4 ???????? 1/2 ---- 1/2 ?????? 1/2 ,?????ü??&interface+ 1/2 ????à??+ 1/2 ?????&
?<< 3/4 ???????? 1/2 ----?ss????? 1/2 ,?????ü??&line+ 1/2 ????à??+ 1/2 ?????&
??>>§??? 1/2 :?é????? 1/4 >>?u?????.
???¨??? 1/2 :?é???ù????????u÷????±??ae????????
?<>ò 1/2 >>>>>>>>úu??ù?? 1/2 ???
1/2 ?????? 1/2 ?????????>>,? 1/2 ???u?????
?ss????? 1/2 ?????·??AE÷ 1/2 ??????AEu? 1/2 ???????
?¨2?(C)?????ü??
show running config ??? 3/4 ?ù??u?????
show versin ??? 3/4 °ae± 3/4 ???? 1/4 ??aeAE÷?u
shut down ??±? 1/2 ???
no shutdown ?ò?? 1/2 ???
ip add +ipu??· ????IPu??·
secondary+IPu??· ?? 1/2 ???????u???,?IPu??·
show interface+ 1/2 ????à??+ 1/2 ????? ?é?? 1/2 ??????í??
show controllers interface ?é?? 1/2 ?????·???DCEu???
show history ?é???ú?· 1/4 ?? 1/4
show terminal ?é?????? 1/4 ?? 1/4 ?ó??
hostname+?÷>>ú?? ?????·??AE÷>>ò 1/2 >>>>>>>>úu?±ê??
config memory ??,?±??ae??NVRAM??u?AE???????
exec timeout 0 0 ?è?????AE?¨>>á>>°???±??0
service password-encryptin ???¤ 1/4 ????ù??????
enable password +???? ?????÷??????
ena sec +???? ????????????
line vty 0 4/15
1/2 ???telnet 1/2 ???
password +???? ????telnet????
line aux 0
1/2 ???AUX 1/2 ???
password +???? ????????
line con 0
1/2 ???CON 1/2 ???
password +???? ????????
bandwidth+??×? ???????í
no ip address ? 3/4 ????????u?IPu??·
show startup config ?é??NVRAM??u?????????
copy run-config atartup config ±??ae????u 1/2 NVRAM
write ±??ae????u 1/2 NVRAM
erase startup-config ????NVRAM??u?????????
show ip interface brief ?é?? 1/2 ???u?????????
banner motd # +???? + # ?????·??AE÷>>ò 1/2 >>>>>>>>úu??è??????
description+???? ???? 1/2 ??????è??????
vlan database
1/2 ???VLAN?? 3/4 ?????? 1/2
vlan +vlan??+ ???AE ?? 1/2 ¨VLAN
switchport access vlan +vlan?? ??VLAN???? 1/2 ???
interface vlan +vlan??
1/2 ???VLAN 1/2 ?????? 1/2
ip add +ipu??· ??VLAN???????íIPu??·
vtp+service/tracsparent/client ????SWu?VTP?¤×÷??? 1/2
vtp +domain+?ò?? ????SWu?VTP?ò??
vtp +password +???? ????SWu?????
switchport mode trunk AE????? 1/4 ?
no vlan +vlan?? ? 3/4 ??VLAN
show spamming-tree vlan +vlan?? ?é??VLA???ú???÷?é
2. ?·??AE÷?????ü??
ip route+·??±??????+×???????+???>>??u??· ???? 3/4 ???/?????·??
show ip route ?é???·??±í
show protocols ??? 3/4 ???ù??u?±>>???·???-?é?? 1/2 ????????(C)?-?é±>>?è??
show ip protocols ??? 3/4 ??±>>???????·??AE÷??u??·???????-?é,???±,????????·???????-?é??????
u??¨?±AE÷
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; u?????
router rip
1/4 ¤>>?RIP?-?é
network +?±?????? ·?? 1/4 ?±??????
interface lookback 0
1/4 ¤>>??ss 1/4 - 1/2 ???
passive-interface + 1/2 ????à??+ 1/2 ????? ???? 1/2 ?????±>>????? 1/2
debug ip +?-?é ?????é???·??,ü??????
undebug all ??±??ù??DEBUG????
router eigrp +as??
1/4 ¤>>?EIGRP?·???-?é
network +????+×??????? ·?? 1/4 ?±??????
show ip eigrp neighbors ?é???? 3/4 ?±í
show ip eigrp topology ?é????AE?±í
show ip eigrp traffic ?é??·???°ü????
router ospf +process-ID
1/4 ¤>>?OSPF?-?é
network+?±??????+area+???ò?? ·?? 1/4 ?±??????
show ip ospf ??? 3/4 OSPFu? 1/2 ???????ROUTER-ID
encapsulation+·?×°,?? 1/2
,ü,?·?×°,?? 1/2
no ip admain-lookup ??±??·??AE÷u??ò???é??
ip routing ?????? 1/2 >>>>>>>>ú??AE????·??????
show user ?é??SWu????ss??>>§
clear line +?ss?·?? ?????ss?·
3. ???? 1/2 >>>>>>>>ú?????ü??
?????>>×é????????
configure terminal
1/2 ???????×???
nterface range {port-range}
1/2 ???×é????×???
????????????
configure terminal
1/2 ???????×???
interface {{fastethernet | gigabitethernet} interface-id} | {vlan vlan-id} | {port-
channel port-channel-number}
1/2 ???????????×???
no switchport °????í????±?????????
ip address ip_address subnet_mask ????IPu??·??????
no shutdown
1/4 ¤>>?????
&#160;&#160;&#160;&#160; ????
&#160;&#160;&#160;&#160; Switch(config)# interface gigabitethernet0/2
&#160;&#160;&#160;&#160; Switch(config-if)# no switchport
&#160;&#160;&#160;&#160; Switch(config-if)# ip address 192.20.135.21 255.255.255.0
&#160;&#160;&#160;&#160; Switch(config-if)# no shutdown
configure terminal
1/2 ???????×???
vlan vlan-id ?????>>,?VLAN??, ?>>?ó 1/2 ???vlan???????????????>>,???u?VLAN??>>ò 3/4 ?u??? 1/2 ?????,?
name vlan-name ????)?????>>,?VLAN?????????>>??????VLAN?????±??u???×???VLAN???°?ae??0???ú
u?4?>>??????VLAN0004??VLAN4u??±????×?
mtu mtu-size (????) ,?±?MTU?ó??
&#160;&#160;&#160;&#160; ??
&#160;&#160;&#160;&#160; Switch# configure terminal
&#160;&#160;&#160;&#160; Switch(config)# vlan 20
&#160;&#160;&#160;&#160; Switch(config-vlan)# name test20
&#160;&#160;&#160;&#160; Switch(config-vlan)# end
&#160;&#160;&#160;&#160; >>ò
&#160;&#160;&#160;&#160; Switch# vlan database
&#160;&#160;&#160;&#160; Switch(vlan)# vlan 20 name test20
&#160;&#160;&#160;&#160; Switch(vlan)# exit
1/2 <>,?VLAN
configure terminal
1/2 ???????×???
interface interface-id
1/2 ?????·???u?????
switchport mode access ?¨????????
switchport access vlan vlan-id °?????·???,????>>VLAN
&#160;&#160;&#160;&#160; ??
&#160;&#160;&#160;&#160; Switch# configure terminal
&#160;&#160;&#160;&#160; Enter configuration commands, one per line. End with CNTL/Z.
&#160;&#160;&#160;&#160; Switch(config)# interface fastethernet0/1
&#160;&#160;&#160;&#160; Switch(config-if)# switchport mode access
&#160;&#160;&#160;&#160; Switch(config-if)# switchport access vlan 2
&#160;&#160;&#160;&#160; Switch(config-if)# end
&#160;&#160;&#160;&#160; Switch#
????VLAN trunk
configure terminal
1/2 ???????×???
interface interface-Id
1/2 ???????????×???
switchport trunk encapsulation {isl | dot1q | negotiate}????trunk·?×°ISL >>ò 802.1Q >>ò
switchport mode {dynamic {auto | desirable} | trunk} ????????trunk??? 1/2 ??
dynamic auto??×????-????·?????trunk
dynamic desirable??°??????è????trunk??????· 1/2 ??????trunk, desirable, ????Native VLAN
?¨802.1q?(C)
>>ò×?????? 1/2 ??trunk???è???????????AEu?trunk· 1/2 ? 1/2 ?????>>?í>>á??· 1/2 ??????·???trunk
switchport access vlan vlan-id ????) ?,?¨?>>,??±??VLAN, ???????????>>????trunk
switchport trunk native vlan vlan-id ?,?¨802.1Q native VLAN??
&#160;&#160;&#160;&#160; ????
&#160;&#160;&#160;&#160; Switch# configure terminal
&#160;&#160;&#160;&#160; Enter configuration commands, one per line. End with CNTL/Z.
&#160;&#160;&#160;&#160; Switch(config)# interface fastethernet0/4
&#160;&#160;&#160;&#160; Switch(config-if)# switchport mode trunk
&#160;&#160;&#160;&#160; Switch(config-if)# switchport trunk encapsulation dot1q
&#160;&#160;&#160;&#160; Switch(config-if)# end
?¨??TRUNK???íu?VLAN
configure terminal×?
1/2 ???????×???
interface interface-id
1/2 ???????????
switchport mode trunk ????????????trunk
switchport trunk allowed vlan {add | all | except | remove} vlan-list????) ????trunk??
?íu?VLAN.????add, all, except, remove?? 1/2 ?×?
no switchport trunk allowed vlan ???í?ù??VLAN?¨??
&#160;&#160;&#160;&#160; ??
&#160;&#160;&#160;&#160; Switch(config)# interface fastethernet0/1
&#160;&#160;&#160;&#160; Switch(config-if)# switchport trunk allowed vlan remove 2
&#160;&#160;&#160;&#160; Switch(config-if)# end
????Native VLAN?¨802.1q?(C)
configure terminal
1/2 ???????×???
interface interface-id
1/2 ?????????802.1qtrunku?????
switchport trunk native vlan vlan-Id ????native VLAN??
no switchport trunk native vlan ?????????ü??>>?u 1/2 ?±??u?×???
????>>ù???????¨?uu?,??? 3/4 ù??
configure terminal
1/2 ???Switch 1????×???
vtp domain domain-name ????VTP?ò
vtp mode server
1/2 <<Switch 1??????VTP server.
show vtp status ?é?¤VTPu?????
show vlan ?é?¤VLAN
configure terminal
1/2 ???????×???
interface fastethernet 0/1
1/2 ???F0/1????
switchport trunk encapsulation {isl | dot1q | negotiate}????trunk·?×°
switchport mode trunk ??????trunk
show interfaces fastethernet0/1 switchport ?é?¤VLAN????
°?????? 1/2 ?è??????,??? 3/4 ù??u? 1/2 ??? 1/2 ???????
???í?>>,? 1/2 >>>>>>>>ú?? 1/2 ?????????
show vlan u±trunk?? 3/4 -AE???????switch2???é?¤?? 3/4 -?§u 1/2 ?àu?vlan????
configure terminal ??Switch 1?? 1/2 ???????×???
interface fastethernet0/1
1/2 ?????????u?????
spanning-tree vlan 8 port-priority 10
1/2 <<?????¨?u10,???VLAN 8.
spanning-tree vlan 9 port-priority 10
1/2 <<?????¨?u10,???VLAN 9.
spanning-tree vlan 10 port-priority 10
1/2 <<?????¨?u10,???VLAN 10.
interface fastethernet0/2
1/2 ???F0/2
spanning-tree vlan 3 port-priority 10
1/2 <<?????¨?u10,???VLAN 3.
spanning-tree vlan 4 port-priority 10
1/2 <<?????¨?u10,???VLAN 4
spanning-tree vlan 5 port-priority 10
1/2 <<?????¨?u10,???VLAN 5
spanning-tree vlan 6 port-priority 10
1/2 <<?????¨?u10,???VLAN 10
show running-config ?é?¤????
copy running-config startup-config ±??ae????
????STP?· 3/4 ??uu?,??? 3/4 ù??
Trunk1×ssVLAN8?-10??Trunk2×ssVLAN2?-4
configure terminal
1/2 ??? Switch 1????×???
interface fastethernet 0/1
1/2 ???F0/1
switchport trunk encapsulation {isl | dot1q | negotiate}????·?×°
switchport mode trunk ????Trunk,?±????ISL·?×°
exit ??>>?
??F0/2??????,?2?-4? 1/2 ?è
exit ??>>?
show running-config ?é?¤????
show vlan?é?¤switch1 ?? 3/4 -?§u 1/2 Vlan
configure terminal
1/2 ???????×???
interface fastethernet 0/1
1/2 ???F0/1
spanning-tree vlan 2 cost 30 ?è??Vlan2?ú???÷?· 3/4 ??u??30
spanning-tree vlan 3 cost 30 ?è??Vlan3?ú???÷?· 3/4 ??u??30
spanning-tree vlan 4 cost 30 ?è??Vlan4?ú???÷?· 3/4 ??u??30
??switch1u?F0/2????,?9?-11? 1/2 ?è?è??VLAN8,9??10?ú???÷?· 3/4 ??u??30
show running-config ?é?¤????
copy running-config startup-config ±??ae????
????:CISCO?ü?? 1/4 ??????·???????-?é 1/4 °????
&#160;&#160;&#160;&#160; *ip route?ü??
Router(config)# ip route &??? 1/4 ????>>ò×?????& [×???????] &???>>?·??AE÷IPu??· | ??± 3/4 u?????
u?u??·& [???í 3/4 à??0~255????????1]
&#160;&#160;&#160;&#160; ?¨×??? 3/4 ???u??·?????(C)
&#160;&#160;&#160;&#160; *ip default-network?ü??
Router(config)# ip default-network &??±ê??????&
&#160;&#160;&#160;&#160; (×????????·???-????????AE???u??>>,??????·????×÷?????·??????)
Router(config)# ip route 0.0.0.0 0.0.0.0 &???>>?·??AE÷IPu??· | ??± 3/4 u?????u?u??·&
&#160;&#160;&#160;&#160; (×????>>???>>,??<<??u??·?±?????????·??AE÷??u?????)
&#160;&#160;&#160;&#160; *?????·???????-?é
&#160;&#160;&#160;&#160; *????router??network?ü??
Router(config)# router &?·???-?érip | igrp | eigrp | ospf | is-isu?& [×??÷?u????]
Router(config-router)# network &?± 1/2 ??à??u????????·???-?éu???????&
Router(config-router)# network &?± 1/2 ??à??u????????·???-?éu???????&
&#160;&#160;&#160;&#160; *?·???????-?éRIP
Router(config)# router rip
Router(config-router)# network &?± 1/2 ??à??u?????rip?-?éu????à±???????&
Router# show ip protocols
Router# show ip route
Router# debug ip rip
&#160;&#160;&#160;&#160; *?????????·???-?éIGRP
Router(config)# router igrp &×??÷?u????&
Router(config-router)# network &?± 1/2 ??à??u?????igrp?-?éu????à±???????&
Router# show ip interface
Router# show ip protocols
Router# show ip route
Router# debug ip rip
&#160;&#160;&#160;&#160; *????????????
&#160;&#160;&#160;&#160; ????????????u??>>,?×???????
Router# ping &??????u??÷>>ú | ??????u?IPu??·&
Router# show ip route
Router# show interface &??????u? 1/2 ???&
Router# show run
&#160;&#160;&#160;&#160; *IPu???????????
&#160;&#160;&#160;&#160;
1/4 ì?é????u??·??
Router# show ip route &??????u?IPu??·&
27.4.4 ,ú×??·??(Tracing the Route)
SUN-A& traceroute &??????u??÷>>ú | ??????u?IPu??·&
C:\windows\& winipcfg
C:\windows\& ipconfig
C:\windows\& ipconfig / all
C:\windows\& tracert &??????u??÷>>ú | ??????u?IPu??·&
&#160;&#160;&#160;&#160; ?????(C)??u?ping??,ú×??? 1/2 ???
Router# ping
&#160;&#160;&#160;&#160; *AE??ü????u?????
&#160;&#160;&#160;&#160; ?>>,?u??· 1/2 ????¨ARP?(C)u?????
Router# show arp
Router# show interface &??????u? 1/2 ???&
C:\windows\& arp -a
SUN-A& arp ¨Ca
&#160;&#160;&#160;&#160; ?é?¤?????u??u??·??±í
C:\windows\& netstat ¨Crn
C:\windows\& route ¨Cf add 0.0.0.0 mask 0.0.0.0 &?è???í 1/4 ???u?????u??·&
C:\windows\& route [¨Cf ] [[print | add | delete | change] [destination] [mask
netmask] [gateway]]
C:\windows\& route add mask &????????& &????ipu??·&
C:\windows\& route delete mask &????????& &????ipu??·&
C:\windows\& nbtstat &?à??u?????&
SUN-A& netstat -rn?·??AE÷
CISCO 1/2 >>>>>>>>ú?????ü???ó?<>ù??IOSu? 1/2 >>>>>>>>ú???è???÷>>ú??/?u????:
switch(config)# hostname hostname
??>>ù??CLIu? 1/2 >>>>>>>>ú???è???÷>>ú??/?u????:
switch(enable) set system name name-string
2.??>>ù??IOSu? 1/2 >>>>>>>>ú???è??u?? 1/4 ????:
switch(config)# enable password level 1 password
??>>ù??CLIu? 1/2 >>>>>>>>ú???è??u?? 1/4 ????:
switch(enable) set password
switch(enable) set enalbepass
3.??>>ù??IOSu? 1/2 >>>>>>>>ú???è??????·???:
switch(config)# interface vlan 1
switch(config-if)# ip address ip-address netmask
switch(config-if)# ip default-gateway ip-address
??>>ù??CLIu? 1/2 >>>>>>>>ú???è??????·???:
switch(enable) set interface sc0 ip-address netmask broadcast-address
switch(enable) set interface sc0 vlan
switch(enable) set ip route default gateway
4.??>>ù??IOSu? 1/2 >>>>>>>>ú??AE?????????CDP????:
switch(config-if)# cdp enable
switch(config-if)# no cdp enable
?????é??Cisco?? 1/2 ??è±,u?CDP?¨,ae????:
switch# show cdp interface [type modle/port]
switch# show cdp neighbors [type module/port] [detail]
??>>ù??CLIu? 1/2 >>>>>>>>ú??AE?????????CDP????:
switch(enable) set cdp {enable|disable} module/port
?????é??Cisco?? 1/2 ??è±,u?CDP?¨,ae????:
switch(enable) show cdp neighbors[module/port] [vlan|duplex|capabilities|detail]
5.>>ù??IOSu? 1/2 >>>>>>>>úu??????è??:
switch(config-if)# description description-string
>>ù??CLIu? 1/2 >>>>>>>>úu??????è??:
switch(enable)set port name module/number description-string
6.??>>ù??IOSu? 1/2 >>>>>>>>ú???è??????????:
switch(config-if)# speed{10|100|auto}
??>>ù??CLIu? 1/2 >>>>>>>>ú???è??????????:
switch(enable) set port speed moudle/number {10|100|auto}
switch(enable) set port speed moudle/number {4|16|auto}
7.??>>ù??IOSu? 1/2 >>>>>>>>ú???è?????<<??u????·??? 1/2 :
switch(config-if)# duplex {auto|full|half}
??>>ù??CLIu? 1/2 >>>>>>>>ú???è?????<<??u????·??? 1/2 :
switch(enable) set port duplex module/number {full|half}
8.??>>ù??IOSu? 1/2 >>>>>>>>ú?????? 3/4 ???VLAN:
switch# vlan database
switch(vlan)# vlan vlan-num name vla
switch(vlan)# exit
switch# configure teriminal
switch(config)# interface interface module/number
switch(config-if)# switchport mode access
switch(config-if)# switchport access vlan vlan-num
switch(config-if)# end
??>>ù??CLIu? 1/2 >>>>>>>>ú?????? 3/4 ???VLAN:
switch(enable) set vlan vlan-num [name name]
switch(enable) set vlan vlan-num mod-num/port-list
9. ??>>ù??IOSu? 1/2 >>>>>>>>ú??????VLAN?? 1/4 ??ss:
switch(config)# interface interface mod/port
switch(config-if)# switchport mode trunk
switch(config-if)# switchport trunk encapsulation {isl|dotlq}
switch(config-if)# switchport trunk allowed vlan remove vlan-list
switch(config-if)# switchport trunk allowed vlan add vlan-list
??>>ù??CLIu? 1/2 >>>>>>>>ú??????VLAN?? 1/4 ??ss:
switch(enable) set trunk module/port [on|off|desirable|auto|nonegotiate]
Vlan-range [isl|dotlq|dotl0|lane|negotiate]
10.??>>ù??IOSu? 1/2 >>>>>>>>ú??????VTP???í?ò:
switch# vlan database
switch(vlan)# vtp domain domain-name
??>>ù??CLIu? 1/2 >>>>>>>>ú??????VTP???í?ò:
switch(enable) set vtp [domain domain-name]
1.??>>ù??IOSu? 1/2 >>>>>>>>ú??????VTP ??? 1/2 : switch# vlan database switch(vlan)# vtp domain domain-name switch(vlan)# vtp {sever|cilent|transparent} switch(vlan)# vtp password password ??>>ù??CLIu? 1/2 >>>>>>>>ú??????VTP ??? 1/2 : switch(enable) set vtp [domain domain-name] [mode{ sever|cilent|transparent }][password password]
12. ??>>ù??IOSu? 1/2 >>>>>>>>ú??????VTP°ae± 3/4 : switch# vlan database switch(vlan)# vtp v2-mode ??>>ù??CLIu? 1/2 >>>>>>>>ú??????VTP°ae± 3/4 : switch(enable) set vtp v2 enable
13. ??>>ù??IOSu? 1/2 >>>>>>>>ú??AE???VTP 1/4 ???: switch# vlan database switch(vlan)# vtp pruning ??>>ù??CL I u? 1/2 >>>>>>>>ú??AE???VTP 1/4 ???: switch(enable) set vtp pruning enable
14.??>>ù??IOSu? 1/2 >>>>>>>>ú?????????<<??u?: switch(config-if)# port group group-number [distribution {source|destination}] ??>>ù??CLIu? 1/2 >>>>>>>>ú?????????<<??u?: switch(enable) set port channel moudle/port-range mode{on|off|desirable|auto}
15.??>>ù??IOSu? 1/2 >>>>>>>>ú??u÷??,ù?· 3/4 ???± 3/4 : switch(config-if)# spanning-tree [vlan vlan-list] cost cost ??>>ù??CLIu? 1/2 >>>>>>>>ú??u÷??,ù?· 3/4 ???± 3/4 :
switch(enable) set spantree portcost moudle/port cost switch(enable) set spantree portvlancost moudle/port [cost cost][vlan-list]
16.??>>ù??IOSu? 1/2 >>>>>>>>ú??u÷??????ID: switch(config-if)# spanning-tree[vlan vlan-list]port-priority port-priority ??>>ù??CLIu? 1/2 >>>>>>>>ú??u÷??????ID: switch(enable) set spantree portpri {mldule/port}priority switch(enable) set spantree portvlanpri {module/port}priority [vlans]
17. ??>>ù??IOSu? 1/2 >>>>>>>>ú????,?STP?±??: switch(config)# spanning-tree [vlan vlan-list] hello-time seconds switch(config)# spanning-tree [vlan vlan-list] forward-time seconds ` switch(config)# spanning-tree [vlan vlan-list] max-age seconds ??>>ù??CLIu? 1/2 >>>>>>>>ú????,?STP?±??: switch(enable) set spantree hello interval[vlan] switch(enable) set spantree fwddelay delay [vlan] switch(enable) set spantree maxage agingtiame[vlan]
18. ??>>ù??IOSu? 1/2 >>>>>>>>ú??????AE???>>ò 1/2 ???Port Fast ???÷: switch(config-if)#spanning-tree portfast ??>>ù??CLIu? 1/2 >>>>>>>>ú??????AE???>>ò 1/2 ???Port Fast ???÷: switch(enable) set spantree portfast {module/port}{enable|disable}
19. ??>>ù??IOSu? 1/2 >>>>>>>>ú??????AE???>>ò 1/2 ???UplinkFast ???÷: switch(config)# spanning-tree uplinkfast [max-update-rate pkts-per-second] ??>>ù??CLIu? 1/2 >>>>>>>>ú??????AE???>>ò 1/2 ???UplinkFast ???÷: switch(enable) set spantree uplinkfast {enable|disable}[rate update-rate] [all-protocols off|on]
20. ???? 1/2 <>>>>>>>ú???????>>,? 1/4 ???u??ü?? 1/2 >>>>>>>>ú,?×????,????í 1/2 ???·????>>,?IPu??·,?>>?ó?????????ü??: switch(config)# cluster enable cluster-name
21. ???????>>???? 1/4 ????·??? 3/4 ??VLAN,???????????ü??: switch(enable) clear trunk module/port vlan-range
22. ??show vtp domain ??? 3/4 ???í?òu?VTP????.
23. ??show vtp statistics??? 3/4 ???í?òu?VTP????.
24. ??Catalyst 1/2 >>>>>>>>ú???¨??TrBRFu??ü??????: switch(enable) set vlan vlan-name [name name] type trbrf bridge bridge-num[stp {ieee|ibm}]
25. ??Catalyst 1/2 >>>>>>>>ú???¨??TrCRFu??ü??????: switch (enable) set vlan vlan-num [name name] type trcrf {ring hex-ring-num|decring decimal-ring-num} parent vlan-num
26. ???? 1/2 ¨??TrBRF VLAN?(R)?ó, 3/4 ?????,??ü·??? 1/2 >>>>>>>>ú????.???????<>>>>>,?????????????ü??,?VLAN·???????: switch(enable) set vlan vlan-num mod-num/port-num
27. ?ü??show spantree??? 3/4 ?>>,? 1/2 >>>>>>>>ú????u?STP×???.
28. ?????>>,?ELANu?LES??BUS,?????????????ü??: ATM (config)# interface atm number.subint multioint ATM(config-subif)# lane serber-bus ethernet elan-name
29. ????LECS: ATM(config)# lane database database-name ATM(lane-config-databade)# name elan1-name server-atm-address les1-nsap-address ATM(lane-config-databade)# name elan2-name server-atm-address les2-nsap-address ATM(lane-config-databade)# name ?-
30. ?? 1/2 ¨?ê?? 3/4 ????ó,±??????÷ 1/2 ?????AE???LECS.?ü??????: ATM(config)# interface atm number ATM(config-if)# lane config database database-name ATM(config-if)# lane config auto-config-atm-address
1/2 <>,??>>??u?ATM×? 1/2 ?????.?ü??????: ATM(config)# interface atm number.subint multipoint ATM(config)# lane client ethernet vlan-num elan-num
32. ??show lane server ??? 3/4 LESu?×???.
33. ??show lane bus??? 3/4 busu?×???.
34. ??show lane database??? 3/4 LECS?? 3/4 ?????????.
35. ??show lane client??? 3/4 LECu?×???.
36. ??show module??? 3/4 ??°?×°u????é??±í.
37. ?????í 1/2 ??? 1/2 ¨????VLANu??? 1/2 ?: router# configure terminal router(config)# interface media module/port router(config-if)# description description-string router(config-if)# ip address ip-addr subnet-mask router(config-if)# no shutdown
38. ???? 1/4 ????·?? 1/2 ¨????VLANu??? 1/2 ?: router(config)# interface module/port.subinterface router(config-ig)# encapsulation[isl|dotlq] vlan-number router(config-if)# ip address ip-address subnet-mask
39. ??LANE ?? 1/2 ¨????VLANu??? 1/2 ?: router(config)# interface atm module/port router(config-if)# no ip address router(config-if)# atm pvc 1 0 5 qsaal router(config-if)# atm pvc 2 0 16 ilni router(config-if)# interface atm module/port.subinterface multipoint router(config-if)# ip address ip-address subnet-mask router(config-if)# lane client ethernet elan-num router(config-if)# interface atm module/port.subinterface multipoint router(config-if)# ip address ip-address subnet-name router(config-if)# lane client ethernet elan-name router(config-if)# ?-
40. ???????·?????íAE÷?? 1/2 ????????·??????,??????????IOS?ü???? 1/2 ???: router(config)# ip routing router(config)# router ip-routing-protocol router(config-router)# network ip-network-number router(config-router)# network ip-network-number
41. ?????????·??: switch(enable) set ip route default gateway
42. ???>>,??·?????íAE÷·???VLANID,???? 1/2 ?????? 1/2 ???????????ü??: router(config)# interface interface number router(config-if)# mls rp vlan-id vlan-id-num
43. ???·?????íAE÷AE???MLSP: router(config)# mls rp ip
44. ????°??>>,?????u??·?????íAE÷ 1/2 ????? 1/2 >>>>>>>>ú°????????>>,?VTP?ò??: router(config)# interface interface number router(config-if)# mls rp vtp-domain domain-name
45. ?é???,?¨u?VTP?òu?????: router# show mls rp vtp-domain vtp domain name
46. ???·?¨RSM>>ò?·??AE÷??u????í 1/2 ???,?????? 1/2 ?????? 1/2 ???????????ü??: router(config-if)#mls rp management-interface
47. ?? 1/4 ì?éMLS-RPu??????é???? router# show mls rp
1/4 ì?é???¨ 1/2 ?????u?MLS?????? router# show mls rp interface interface number
49. ??????MLS-SE???è???÷?????????>>???????>>,??·?????íAE÷ 1/2 ??????è??·?????±í?? set mls flow [destination|destination-source|full]
50. ????MLS??????·?????±í???? 1/4 ae???????????<< 3/4 ???? 1/2 ???????????ü???? router(config)# mls rp ip input-acl
51. u±??,? 1/2 >>>>>>>>úu?u?3?? 1/2 >>>>>>?§?§?±?????? 1/2 >>>>>>>>úu????¨??? 1/2 ???????????ü???? switch(enable) set mls enable
52. ????,?±???>>??± 1/4 ?u??u?????????¨??? 1/2 ???????????ü???? switch(enable) set mls agingtime agingtime
53. ?è???ì????>>??? switch(enable) set mls agingtime fast fastagingtime pkt_threshold
54. ?·?¨???(C)MLS-RP??MLS-SE??????MLS????????? 3/4
1/2 >>>>>>>>ú??????±í??u????????·?¨?? switch(enable) show mls include
55. ??? 3/4 MLS,ss??>>??ae 1/4 ?? 1/4 ?? switch(enable) show mls entry
56. ???ü??show in arp??? 3/4 ARP,ss??>>??ae??u???????
57. ??°??·??AE÷??????HSRP±,·?×éu????±???????? 1/2 ?????????? 1/2 ?????????aeu??ü???? router(config-if)# standby group-number ip ip-address
58. ???????>>,??·??AE÷????>>?,?×?·??·??AE÷u? 1/2 ??<<???? 1/2 ?????????? 1/2 ???? router(config-if)# standy group-number preempt
59. ·????± 1/4 ???±????± 1/4 ?????????????u??? router(config-if)# standy group-number timers hellotime holdtime
60. ????HSRP,ú×??? router(config-if)# standy group-number track type-number interface-priority
61. ????? 3/4 HSRP?·??AE÷u?×????? router# show standby type-number group brief
62. ???ü??show ip igmp?·?¨u±??u??é??AE÷??
63. AE???IP×é???·???????? router(config)# ip muticast-routing
64. AE??? 1/2 ?????u?PIM?? dalllasr1&(config-if)# ip pim {dense-mode|sparse-mode|sparse-dense-mode}
65. AE??????è-?í????? 1/2 ??u?PIM?? router# ip multicast-routing router# interface type number router# ip pim sparse-dense-mode
66. ???uPIMu??????? dallasr1&# show ip pim interface[type number] [count]
67. ??? 3/4 PIM?? 3/4 ??? dallasr1&# show ip neighbor type number
68. ????????RPu?u??·???ü???????? dallasr1&# ip pim rp-address ip-address [group-access-list-number][override]
69. ?????>>,?????u?RP?? dallasr1&# ip pim rp-address ?¨,aeRP???ü?ù·???u?×é·??§?? dallasr1&# ip pim send-rp-announce type number scope ttl group-list access-list-number ?????í·??§×é?¨,aeRPu?u??·?? dallasr1&# ip pim send-rp-announce ethernet0 scope 16 group-list1 dallasr1&# access-list 1 permit 266.0.0.0 0.255.255.255 ?è?¨?>>,?RP?????ú?í?? dallasr1&# ip pim send-rp-discovery scope ttl ???u×éu 1/2 RPu??????? dallasr1&# show ip pim rp mapping dallasr1&# show ip pim rp [group-name|group-address] [mapping]
70. ???·??AE÷ 1/2 ????????ü??ip multicast ttl-threshold ttl-value?è?¨TTL·§?u?? dallasr1&(config-if)# ip multicast ttl-threshold ttl-value
71. ??show ip pim neighbor??? 3/4 PIM?? 3/4 ?±í??
72. ??? 3/4 ×é???¨???·??±í??u?,÷?? 1/4 ?? 1/4 ?? dallasr1&show ip mroute [group-name|group-address][scoure][summary][count][active kbps]
73. ?? 1/4 ?? 1/4 ?>>,??·??AE÷ 1/2 ?????·???u??<<??IP×é??°ü?? dallasr1& #debug ip mpacket [detail] [access-list][group]
74. ????CISCO?·??AE÷??????CGMP?? dallasr1&(config-if)# ip cgmp
75.?????>>,?×é???·??AE÷?????(R) 1/4 ??????>>,????¨u?×é??×é?? dallasr1&(config-if)# ip igmp join-group group-address
76. ??±? CGMP?? dallasr1&(config-if)# no ip cgmp
77. AE??? 1/2 >>>>>>>>ú??u?CGMP?? dallasr1&(enable) set cgmp enable
78. ???uCatalyst 1/2 >>>>>>>>ú??CGMPu??????é???? catalystla1&(enable) show config set prompt catalystla1& set interface sc0 192.168.1.1 255.255.255.0 set cgmp enable
79. CGMP????u??è???? Dallas_SW(enable) set cgmp leave
80. ??Cisco?è±,????,????AE?????????? R1(config)# line console 0 R1(config-line)# login R1(config-line)# password Lisbon R1(config)# enable password Lilbao R1(config)# login local R1(config)# username student password cisco
81. ??Cisco?è±,???è?????AE?¨ 1/4 °vty????u?>>á>>°???±?? R1(config)# line console 0 R1(config-line)# exec-timeout 5 10 R1(config)# line vty 0 4 R1(config-line)# exec-timeout 5 2
82. ??Cisco?è±,???è?¨???¨ 1/4 ??? R1(config)# privilege configure level 3 username R1(config)# privilege configure level 3 copy run start R1(config)# privilege configure level 3 ping R1(config)# privilege configure level 3 show run R1(config)# enable secret level 3 cisco
83. ?????ü??privilege ???¨????,????¨ 1/4 ???????u??ü???? router(config)# privilege mode level level command
84. ?è?¨??>>§???¨ 1/4 ??? router(config)# enable secret level 3 dallas router(config)# enable secret san-fran router(config)# username student password cisco
85. ±ê? 3/4 ?è??????? 3/4 ?? R1(config)# banner motd ?(R)unauthorized access will be prosecuted!??
86. ?è??vty·????? R1(config)# access-list 1 permit 192.168.2.5 R1(config)# line vty 0 4 R1(config)# access-class 1 in
87. ????HTTP·????? Router3(config)# access-list 1 permit 192.168.10.7 Router3(config)# ip http sever Router3(config)# ip http access-class 1 Router3(config)# ip http authentication local Router3(config)# username student password cisco
88. ??AE???HTTP·??????? 1/4 ü???????ü???? switch(config)# ip http sever
89. ??>>ù??set?ü??u? 1/2 >>>>>>>>ú????setCL1AE????????u????°??<<?? switch(enable) set port security mod_num/port_num?-enable mac address switch(enable) show port mod_num/port_num ??>>ù??CiscoIOS?ü??u? 1/2 >>>>>>>>ú??AE????????u????°??<<?? switch(config-if)# port secure [mac-mac-count maximum-MAC-count] switch# show mac-address-table security [type module/port]
90. ???ü??access-list??±ê× 1/4 ?¨????????±í???? 1/2 ¨?>>?? 1/4 ?? 1/4 ?? Router(config)# access-list access-list-number {permit|deny} source-address [source-address]
91. ???ü??access-list???(C)???¨????????±í???? 1/2 ¨?>>?? 1/4 ?? 1/4 ?? Router(config)#
access-list access-list-number
{permit|deny{protocol|protocol-keyword}}{source
source-wildcard|any}{destination
destination-wildcard|any}[protocol-specific options][log]
92. ?????????·??,ü?????????·??,ü??u?×?>>ù± 3/4 u??ü??,?? 1/2 ???? R1(config-router)#distribute-list access-list-number|name in [type number]
93. ?????????·??,ü?????????·??,ü??u?×?>>ù± 3/4 u??ü??,?? 1/2 ???? R1(config-router)#distribute-list access-list-number|name out [interface-name] routing-process| autonomous-system-number
94. set snmp?ü???????? set snmp community {read-only|ready-write|read-write-all}[community_string]
95. set snmp trap ?ü??,?? 1/2 ?????? set snmp trap {enable|disable} [all|moudle|classis|bridge|repeater| auth|vtp|ippermit|vmps|config|entity|stpx] set snmp trap rvcr_addr rcvr_community
96. AE???SNMP chassis ????: Console&(enable) set snmp trap enable chassis
97. AE????ù??SNMP chassis ????: Console&(enable) set snmp trap enable
1/2 ???SNMP chassis ????: Console&(enable) set snmp trap disable chassis
99. ,?SNMP???? 1/2 ???±í 1/4 ??>>?? 1/4 ?? 1/4 ?? Console&(enable) set snmp trap 192.122.173.42 public
100. show snmp ???? 1/2 á????
101. ?ü??set snmp rmon enable u????? 1/2 á????
102. ??? 3/4 SPAN?????? Consile& show span
?>>?(C)>>????·??AE÷?ü??:
? 3/4 ???è±,???? reset saved-configuration
??AE? reboot
??u±?°?????? 1/4 ? display current-configuration
,??è±,?? sysname
±??ae???? save
1/2 ??????¨??? 1/2
sysview >>????>>??2????? 1/2
?>>??cisco enale?(R)?ó>>???conf t
?¨??acl acl nubmere XXXX?¨3000?????(C) 1/2 ??????ó rule permit/deny IP/TCP/UDPu? source XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX(·??ò) destination XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX(·??ò) eq ×??? >>????????>>??deny any any
·?>>?? 1/2 ?????? 1/4 ???ACL [Quidway-Ethernet0/0]firewall packet-filter 3000 inbound
·?>>?? 1/2 ?????? 1/4 ???>>§ local-user XXX?¨??>>§???(C) password simple XXX?¨?????(C) local-user XXX service-type ppp
? 3/4 ???????ü?? undo?¨?à?AE??ciscou?no?(C)
3/4 ????·?? ip route-static 0.0.0.0 0.0.0.0 XXX.XXX.XXX.XXX
??vpdn??>>§?è??aclu? 1/2 ??? inte***ce Virtual-Template1
?é???·??±í display ip routing-table
?è?¨telnet???? user-inte***ce vty 0 4 user privilege level 3 set authentication password simple XXX
AE???/??±? AE??? un shut ??±? shut
????nat?è?? acl number 3000 rule 0 permit ip source XXX.XXX.XXX.XXX rule 1 permit ip source XXX.XXX.XXX.XXX rule 2 permit ip source XXX.XXX.XXX.XXX inte***ce Ethernet1/0 des cription ====To-Internet(WAN)==== ip address XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX nat outbound 3000 ipsec policy policy1 ????acl??×? ·???aclu?IPu??·?????????¨×??? ????u?ACL??????deny any any?(C)?>>·???u?IPu??·?>>????????
?? 1/2 ¨vlan [shzb-crsw-s6506-1]vlan 100 >>???vlan?>>?§??name
1/2 <<port·???vlan ?? 1/2 ¨??vlan?ó
1/2 ???vlan??? 1/2
[shzb-crsw-s6506-1-vlan100]port GigabitEthernet 1/0/1 to GigabitEthernet 1/0/8 ±í? 3/4 ??G1/0/1 u 1/2 1/0/8·???VLAN 100
?? 1/2 ¨trunk inte***ce GigabitEthernet1/0/1 duplex full speed 1000 * port link-type trunk * port trunk permit vlan all port link-aggregation group 1 ??*??u????? 1/2 ¨trunk???·u??? 3/4 ?
vlanu??·?,?¨ inte***ce Vlan-inte***ce2 des cription server ip address XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX vrrp vrid 2 virtual-ip XXX.XXX.XXX.XXX vrrp vrid 2 priority 120 vrrp vrid 2 preempt-mode timer delay 10 AE???vrrp?? 3/4 ??,?¨vrrp ?à?AE??hsrp ????vrrp??×???u???>>????>>?§??pvst ?>>???>>?¨?ê?<>?¨?ê?<<??±,·? ???÷vrrp?è±,?????,?¨ stp instance 0 root primary stp TC-protection enable stp enable ????vrrp?è±,?????,?¨ stp instance 0 root secondary stp TC-protection enable stp enable
1/2 >>>>>>>>ú???ae°óacl ?×?? 1/2 ??? 1/2 ?????? 1/2 ??????qos?ü?? [shzb-crsw-s6506-1-GigabitEthernet1/0/1]qos ???????????ü?? [shzb-crsw-s6506-1-qoss-GigabitEthernet1/0/1]packet-filter inbound ip-group 3000 >>??? 1/2 >>>>>>>>ú?>>???,?¨inbound· 1/2 ?ò
AE???ospf [shzb-crsw-s6506-1]ospf 100 [shzb-crsw-s6506-1-ospf-100]area 0 [shzb-crsw-s6506-1-ospf-100-area-0.0.0.0]network XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX ????ospf??·?? 1/4
[shzb-crsw-s6506-1-ospf-100-area-0.0.0.0]quit [shzb-crsw-s6506-1-ospf-100]import-route static
1/2 ¨??link?-group?¨?à?AE??ciscou?channel?-group?(C)
link-aggregation group 1 mode manual ?>>?ó 1/2 ??? 1/2 ??? port link-aggregation group 1
AE???VRRP?(R)?°±??????? vrrp ping-enable ??u???>>§??ping????
??AE??????????à??????
5 - ·??????? Very Helpful
3 - ???(C)???? Somewhat Helpful
1 - ?>>???? Not Helpful
? 1/4 ?AE 1/2 >>>>>>>>ú?????ü???ó?<<
(No rating)&
11-27-2014
Views: 154
&?>>????? 1/2 ?ü????& 1....
(No rating)&
Views: 272
(No rating)&
Views: 238
??>>§AE???
.: .: .: .: .:
±± 3/4 (C)>>¤? 1/2 ?AE 1/4
1/4 ?????<<? 3/4
Novots Technologies Limited

我要回帖

更多关于 思科交换机命令 的文章

 

随机推荐