查看交换机配置
ND_ZHL_SW3>enable
ND_ZHL_SW3#show running
首先:看那些端口是上联口trunk口
ND_ZHL_SW3>enable
ND_ZHL_SW3#
ND_ZHL_SW3#show vlan trunk
VLAN Name IsDynamic PvidPorts UntagPorts TagPorts
十大必看玄幻小说
--------------------------------------------------------------------------------
1 VLAN0001 NO
30 VLAN0030 NO
100 VLAN0100 NO fei_1/24 (注:24为trunk口那么,就要设置成上联口promis)
ND_ZHL_SW3#
第一:设置交换机端口隔离
ND_ZHL_SW3>enable
ND_ZHL_SW3#
ND_ZHL_SW3#configure terminal生蚝怎么清洗
ND_ZHL_SW3(config)#vlan private-map session-id 1 isolate fei_1/1-23 promis fei_1/24
(注: fei_1/1-23是批量设置成隔离口,有多个上联口的话要分开写例如把23,24口设置成上
联口,1到22是隔离口要这样写
ND_ZHL_SW3(config)#vlan private-map session-id 1 isolate fei_1/1-21 promis fei_1/22,fei_1/23,fei_1/24 )
圣诞礼物推荐>高圆圆男友ND_ZHL_SW3(config)#exit
ND_ZHL_SW3#write
第二:取消交换机端口隔离锦户亮陈坤
ND_ZHL_SW3>enable
ND_ZHL_SW3#configure terminal
Enter configuration commands, one per line. End with CTRL/Z.
ND_ZHL_SW3(config)#no vlan private-map session-id 1
ND_ZHL_SW3(config)#exit
ND_ZHL_SW3#write
...[OK]
ND_ZHL_SW3#
第三:查看隔离端口设置情
ND_ZHL_SW3>enable
ND_ZHL_SW3#
ND_ZHL_SW3#show vlan private-map
Session Isolate_Ports Promis_Ports Community_ports Vlan_Cfg Vlan
------------------------------------------------------------------------------
1 fei_1/1-22 fei_1/23-24 0
小学元宵节的古诗30首附加一:备份交换机的配置文件。
ND_ZHL_SW2#copy flash: /cfg/startrun.dat tftp: //192.168.5.200/startrun.dat
附加二:恢复交换机的配置文件。
ND_ZHL_SW2#copy tftp: //10.145.138.35/startrun.dat flash: /cfg/startrun.dat
附加三:重起交换机。
ND_ZHL_SW3#reload
Proceed with reload? [yes/no]:y
Write DHCP snooping database to flash?[Y:write manually,N:reload directly]:n
发布评论