cisco362145034503配置实例.docx
- 文档编号:2124162
- 上传时间:2023-05-02
- 格式:DOCX
- 页数:17
- 大小:16.85KB
cisco362145034503配置实例.docx
《cisco362145034503配置实例.docx》由会员分享,可在线阅读,更多相关《cisco362145034503配置实例.docx(17页珍藏版)》请在冰点文库上搜索。
cisco362145034503配置实例
路由器
UserAccessVerification
Password:
Router>en
Password:
Router#shrun
Buildingconfiguration...
Currentconfiguration:
!
version12.0
serviceconfig
servicetimestampsdebuguptime
servicetimestampsloguptime
noservicepassword-encryption
!
hostnameRouter
!
enablesecret5$1$EquO$SRkNp.arQ30KRRWkl8xVV1
!
ipsubnet-zero
noipfinger
!
!
!
!
!
interfaceFastEthernet0/0
ipaddress192.168.100.1255.255.255.0
iphelper-address110.111.112.3
noipdirected-broadcast
noipmroute-cache
full-duplex
nocdpenable
nomopenabled
!
interfaceATM1/0
ipaddress10.130.22.2255.255.255.0
ipaccess-group101in
ipaccess-group101out
noipredirects
noipunreachables
noipdirected-broadcast
noatmilmi-keepalive
pvc15/50
protocolip10.130.22.1broadcast
!
!
ipclassless
iproute0.0.0.00.0.0.010.130.22.1
iproute110.111.112.0255.255.255.0192.168.100.3
iproute110.111.46.0255.255.255.0192.168.100.3
iproute110.111.47.0255.255.255.0192.168.100.3需要指定小范围
iproute172.16.0.0255.255.0.0192.168.100.3针对三层交换,路由需要回指
iproute192.168.0.0255.255.0.0192.168.100.3不起作用
noiphttpserver
!
access-list100permitipanyany
snmp-serverengineIDlocal000000090200000628D632C0
snmp-servercommunityszzRO
!
linecon0
exec-timeout00
transportinputnone
lineaux0
linevty04
access-class50in
password719szzsjz
login
!
end
Router#
主4503交换
11203每次启动都进rom,需要boot才能进IOS,config-register是0x2102正确的是0x2101
路由追踪命令:
tracert目的地址
UserAccessVerification
Password:
zhl>en
Password:
zhl#shrun
Buildingconfiguration...
Currentconfiguration:
4855bytes
!
version12.2
noservicepad
servicetimestampsdebuguptime
servicetimestampsloguptime
noservicepassword-encryption
servicecompress-config
!
hostnamezhl
!
boot-start-marker
boot-end-marker
!
enablesecret5$1$ulmR$faZIdRpZ7Ln4AtdPelgds.
!
noaaanew-model
ipsubnet-zero
!
!
nofileverifyauto
spanning-treemodepvst
spanning-treeextendsystem-id
powerredundancy-moderedundant
!
!
!
vlaninternalallocationpolicyascending
!
interfaceFastEthernet1
ipaddress10.1.8.41255.255.0.0
speedauto
duplexauto
!
interfaceGigabitEthernet1/1
switchportaccessvlan47
switchportmodeaccess
!
interfaceGigabitEthernet1/2
switchportaccessvlan47
switchportmodeaccess
!
interfaceGigabitEthernet1/3
switchportaccessvlan47
switchportmodeaccess
!
interfaceGigabitEthernet1/4
switchportaccessvlan47
switchportmodeaccess
!
interfaceGigabitEthernet1/5
switchportaccessvlan47
switchportmodeaccess
!
interfaceGigabitEthernet1/6
switchportaccessvlan47
switchportmodeaccess
!
interfaceGigabitEthernet1/7
switchportaccessvlan47
switchportmodeaccess
!
interfaceGigabitEthernet1/8
switchportaccessvlan112
switchportmodeaccess
!
interfaceGigabitEthernet1/9
switchportaccessvlan112
switchportmodeaccess
!
interfaceGigabitEthernet1/10
switchportaccessvlan46
switchportmodeaccess
!
interfaceGigabitEthernet1/11
descriptiontokjl
switchporttrunkencapsulationdot1qtrunk口封装
switchportmodetrunk
!
interfaceGigabitEthernet1/12
noswitchport
ipaddress192.168.100.3255.255.255.0三层口
!
interfaceGigabitEthernet1/13
!
interfaceGigabitEthernet1/14
!
interfaceGigabitEthernet1/15
!
interfaceGigabitEthernet1/16
!
interfaceGigabitEthernet1/17
!
interfaceGigabitEthernet1/18
!
interfaceGigabitEthernet1/19
!
interfaceGigabitEthernet1/20
!
interfaceVlan1
ipaddress192.168.101.1255.255.255.0vlan建立
!
interfaceVlan112
ipaddress110.111.112.1255.255.255.0
iphelper-address110.111.112.7指定dhcp服务器
!
interfaceVlan4
ipaddress110.111.46.1255.255.255.0
iphelper-address110.111.112.7
!
interfaceVlan47
ipaddress110.111.47.1255.255.255.0
iphelper-address110.111.112.7
!
interfaceVlan48
noipaddress
!
interfaceVlan100
ipaddress172.16.100.1255.255.255.0
ipaccess-group100in访问控制列表绑定到vlan接口
!
interfaceVlan121
ipaddress172.16.121.1255.255.255.0
ipaccess-group100in
!
interfaceVlan122
ipaddress172.16.122.1255.255.255.0
ipaccess-group100in
!
interfaceVlan123
ipaddress172.16.123.1255.255.255.0
ipaccess-group100in
!
interfaceVlan131
ipaddress172.16.131.1255.255.255.0
ipaccess-group100in
!
interfaceVlan132
ipaddress172.16.132.1255.255.255.0
ipaccess-group100in
!
interfaceVlan133
ipaddress172.16.133.1255.255.255.0
ipaccess-group100in
!
interfaceVlan141
ipaddress172.16.141.1255.255.255.0
ipaccess-group100in
!
interfaceVlan142
ipaddress172.16.142.1255.255.255.0
!
interfaceVlan143
ipaddress172.16.143.1255.255.255.0
ipaccess-group100in
!
interfaceVlan151
ipaddress172.16.151.1255.255
ipaccess-group100in
!
interfaceVlan152
ipaddress172.16.152.1255.255.255.0
ipaccess-group100in
!
interfaceVlan161
ipaddress172.16.161.1255.255.255.0
ipaccess-group100in
!
interfaceVlan162
ipaddress172.16.162.1255.255.255.0
ipaccess-group100in
!
interfaceVlan163
ipaddress172.16.163.1255.255.255.0
ipaccess-group100in
!
interfaceVlan171
ipaddress172.16.171.1255.255.255.0
ipaccess-group100in
!
interfaceVlan172
ipaddress172.16.172.1255.255.255.0
ipaccess-group100in
!
interfaceVlan173
ipaddress172.16.173.1255.255.255.0
ipaccess-group100in
!
interfaceVlan200
ipaddress172.16.200.1255.255.255.0
ipaccess-group100in
!
iproute0.0.0.00.0.0.0192.168.100.1启动iprouting
iproute110.111.0.0255.255.0.0192.168.100.1
iphttpserver浏览器访问交换机
!
!
access-list100permitip172.16.0.00.0.255.255host110.111.112.2
access-list100permitip172.16.0.00.0.255.255host110.111.112.3
access-list100permitip172.16.0.00.0.255.255host110.111.112.4
access-list100permitip172.16.0.00.0.255.255host110.111.112.5
access-list100permitip172.16.0.00.0.255.255host110.111.112.6
access-list100permitip172.16.0.00.0.255.255host110.111.112.7
access-list100permitip172.16.0.00.0.255.255host110.111.112.8
access-list100permitip172.16.0.00.0.255.255host110.111.112.9
access-list100permitip172.16.0.00.0.255.255host110.111.112.10
access-list100permitip172.16.0.00.0.255.255host110.111.112.11
access-list100permitip172.16.0.00.0.255.255host110.111.112.12
access-list100permitip172.16.0.00.0.255.255host110.111.112.13
access-list100permitip172.16.0.00.0.255.255host110.111.112.14
access-list100permitip172.16.0.00.0.255.255host110.111.112.15
access-list100denyip172.16.0.00.0.255.255any
!
!
!
linecon0
stopbits1
linevty04
passwordletmein
login
!
!
end
zhl#shvtpsta
zhl#shvtpstatus
VTPVersion:
2
ConfigurationRevision:
22
MaximumVLANssupportedlocally:
1005
NumberofexistingVLANs:
27
VTPOperatingMode:
Server
VTPDomainName:
szz
VTPPruningMode:
Disabled
VTPV2Mode:
Enabled
VTPTrapsGeneration:
Disabled
MD5digest:
0xB10x640x0A0xC70xB80xBA0xFB0xCE
Configurationlastmodifiedby192.168.101.1at10-30-0822:
12:
09
LocalupdaterIDis192.168.101.1oninterfaceVl1(lowestnumberedVLANinterfa
cefound)
zhl#
从4503交换
UserAccessVerification
Password:
kjl>en
Password:
kjl#shrun
Buildingconfiguration...
Currentconfiguration:
1983bytes
!
version12.2
noservicepad
servicetimestampsdebuguptime
servicetimestampsloguptime
noservicepassword-encryption
servicecompress-config
!
hostnamekjl
!
boot-start-marker
boot-end-marker
!
enablesecret5$1$v6nr$bg4ZpI6IczFufJekU2LB70
!
noaaanew-model
ipsubnet-zero
!
!
nofileverifyauto
spanning-treemodepvst
spanning-treeextendsystem-id
powerredundancy-moderedundant
!
!
!
!
vlaninternalallocationpolicyascending
interfaceGigabitEthernet1/1
switchporttrunkencapsulationdot1q
switchportmodetrunk
!
interfaceGigabitEthernet1/2
switchporttrunkencapsulationdot1q
switchportmodetrunk
!
interfaceGigabitEthernet1/3
switchporttrunkencapsulationdot1q
switchportmodetrunk
!
interfaceGigabitEthernet1/4
switchporttrunkencapsulationdot1q
switchportmodetrunk
!
interfaceGigabitEthernet1/5
switchporttrunkencapsulationdot1q
switchportmodetrunk
!
interfaceGigabitEthernet1/6
switchporttrunkencapsulationdot1q
switchportmodetrunk
!
interfaceGigabitEthernet1/7
switchporttrunkencapsulationdot1q
switchportmodetrunk
!
interfaceGigabitEthernet1/8
switchportaccessvlan112
switchportmodeaccess
!
interfaceGigabitEthernet1/9
switchportaccessvlan112
switchportmodeaccess
!
interfaceGigabitEthernet1/10
switchportaccessvlan112
switchportmodeaccess
!
interfaceGigabitEthernet1/11
switchportaccessvlan112
switchportmodeaccess
!
interfaceGigabitEthernet1/12
switchporttrunkencapsulationdot1q
switchportmodetrunk
!
interfaceGigabitEthernet1/13
!
interfaceGigabitEthernet1/14
!
interfaceGigabitEthernet1/15
!
interfaceGigabitEthernet1/16
!
interfaceGigabitEthernet1/17
!
interfaceGigabitEthernet1/18
!
interfaceGigabitEthernet1/19
!
interfaceGigabitEthernet1/20
!
interfaceVlan1
ipaddress192.168.101.2255.255.255.0管理地址
noipredirects
!
iproute110.111.0.0255.255.0.0192.168.101.1两个11203的话需要回指
noiphttpserver
!
!
!
!
!
linecon0
stopbits1
linevty04
passwordletmein
login
!
!
end
kjl#
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- cisco362145034503 配置 实例