【 PT系统测评实验】实验1 交换机基本配置参考答案
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
【PT系统测评实验】实验1 交换机基本配置参考答案交换机SW1:
hostname SW1
!
!
spanning-tree mode pvst
!
interface FastEthernet0/1
duplex full
speed 100
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19 !
interface FastEthernet0/20 !
interface FastEthernet0/21 !
interface FastEthernet0/22 !
interface FastEthernet0/23 !
interface FastEthernet0/24 !
interface GigabitEthernet1/1 !
interface GigabitEthernet1/2 !
interface Vlan1
no ip address
shutdown
!
banner motd ^C Welcome to SW1
^C
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
!
End
主机部分
PC1:
192.168.10.10
255.255.255.0
192.168.10.1
PC2:
192.168.10.20
255.255.255.0
192.168.10.1