文档介绍:锐捷网络实验手册
锐捷网络实验手册
1 / 35
锐捷网络实验手册
锐捷网络老化时间
SW1( config)# ma c-address -table ag
注 : 将互换机 MAC地点老化时间设置为 10 秒
SW1(conf i g) #end
ing- t i m e
锐捷网络实验手册
锐捷网络实验手册
35 / 35
锐捷网络实验手册
注:从互换机全局配置模式返回至特权模式
SW1#s how mac- addres s-tab le
注:显示互换机 MA C 地点表的记录
测试结果
从 PC上 TELNET到互换机 .
考证命令
show i nt f0/1
show ip i nt
show r un
ping
elnet
锐捷网络实验手册
锐捷网络实验手册
35 / 35
锐捷网络实验手册
实验二 V LA N配置
1. VLA N /- 本互换机隔绝
网络拓扑
PC 1
S2126
PC 2
G
实验项目 ?
LAN/802.1Q-本互换机隔绝测试实验环境 ?
PC1连结在互换机的 0/5 口; PC2连结在互换机的0/ 15 口实验配置
S2126G #configu
re term ina l
注 : 进入互换机全局配置模式
S2 126G (config
)# vlan
10
注 : 创立 vlan 10
S2126G(con f ig -vlan) # name t est 10
注:将 Vlan 1 0命名为 te s t 1 0
S212 6G( confi
g)# v lan 20
注:创立vl an 20
S2126G(c onfi g-vl an)#
nam e test20
注:将 Vlan 20 命名为 test 20
S2126G(confi g- if)#
int
er face
fasteth er ne t
0/5
注:进入 f ast et he r net 0/ 5的接口配置模式
S2126 G(config-if)#
swit c h acc ess vlan 10
注:将 f ast ethernet 0
/5 端口加入v l a n 10 中
锐捷网络实验手册
锐捷网络实验手册
15 / 35
锐捷网络实验手册
S21 26G(c onf i
g-if)#
inte
rf ace
fastet
h er ne t
0/15
锐捷网络实验手册
锐捷网络实验手册
16 / 35
锐捷网络实验手册
注:进入 f a ste thernet 0/ 15 的接口配置模式
S2126G(config-if) # switch acce ss v lan 20
注:将 faste ther net 0/15 端口加入 vl an 2 0中
实验过程 ?
锐捷网络实验手册
锐捷网络实验手册
35 / 35
锐捷网络实验手册
清空互换机原有vla
rnet0/1 5口加入 vlan
n 配置 , 将
20 。
fastethern
et0/5
口加入
vlan 10 ,
将f ast eth e
锐捷网络实验手册
锐捷网络实验手册
35 / 35
锐捷网络实验手册
实验结果 ?
锐捷网络实验手册
锐捷网络实验手册
35 / 35
锐捷网络实验手册
PC1地点设成
192.