博达交换机组播及VLAN配置

Switch>ena
Switch#Jan 1 00:02:28 Unknown user enter privilege mode from console 0, level =
15

Switch#config (进入)
Switch_config#ip igmp-snooping querier (打开)
Switch_config#ip igmp-snooping (打开组播)
Switch_config#ip igmp-snooping ?
vlan -- Config igmp-snooping vlan
timer -- Config igmp-snooping timer
dlf-drop -- Drop the packet when destination looking-up failure(dlf)
querier -- IGMP querier configuration
SVL_mode -- IGMP-snooping work at Share-Vlan-Learning mode
-- Enable igmp-snooping globally
Switch_config#ip igmp-snooping dlf-drop (打开)
Switch_config#ip igmp-snooping timer?
timer -- Config igmp-snooping timer
Switch_config#ip igmp-snooping timer ?
router-age -- Config igmp-snooping router age
response-time -- Config igmp-snooping response age
Switch_config#ip igmp-snooping timer router-age 10 (设置时间为10s)
Switch_config#show ip igmp-snooping
Global IGMP snooping configuration:
-----------------------------------
Globally enable : Enabled
Dlf-frames filtering : Enabled
Querier : Enabled
Querier address : 10.0.0.200
Router age : 10 s
Response time : 15 s

Vlan 1:
----------
Running
Routers: SWITCH(querier);
Switch_config#show vlan (查看VLAN)
VLAN Status Name Ports
---- ------- -------------------------------- ---------------------------------
1 Static Default G0/1, G0/2, G0/3, G0/4, G0/5
G0/6, G0/7, G0/8, G0/9, G0/10
G0/11, G0/12, G0/13, G0/14, G0/15
G0/16, G0/17, G0/18, G0/19, G0/20
G0/21, G0/22, G0/23, G0/24
Switch_config#vlan 2 (创建VLAN2)
Switch_config_vlan2#quit
Switch_config#show vlan
VLAN Status Name Ports
---- ------- -------------------------------- ---------------------------------
1 Static Default G0/1, G0/2, G0/3, G0/4, G0/5
G0/6, G0/7, G0/8, G0/9, G0/10
G0/11, G0/12, G0/13, G0/14, G0/15
G0/16, G0/17, G0/18, G0/19, G0/20
G0/21, G0/22, G0/23, G0/24
2 Static VLAN0002
Switch_config#int g0/2 (进入2端口)
Switch_config_g0/2#switchport p
port-security pvid
Switch_config_g0/2#switchport pvid vlan 2
switchport pvid vlan 2
^
Parameter invalid
Switch_config_g0/2#switchport pvid vlan2
switchport pvid vlan2
^
Parameter invalid
Switch_config_g0/2#switchport pvid ?
<1-4094> -- VLAN ID of the VLAN
Switch_config_g0/2#switchport pvid 2 (设置2端口为VLAN2)
Switch

_config_g0/2#show vlan (查看VLAN)
VLAN Status Name Ports
---- ------- -------------------------------- ---------------------------------
1 Static Default G0/1, G0/3, G0/4, G0/5, G0/6
G0/7, G0/8, G0/9, G0/10, G0/11
G0/12, G0/13, G0/14, G0/15, G0/16
G0/17, G0/18, G0/19, G0/20, G0/21
G0/22, G0/23, G0/24
2 Static VLAN0002 G0/2
Switch_config_g0/2#no vlan 2
no vlan 2
^
Unknown command
Switch_config_g0/2#quit (退出VLAN 2)
Switch_config#no vlan 2 (删除VLAN2)
% pvid 2 on G0/2 not exits, pvid restore default(vlan 1)
Switch_config#show vlan
VLAN Status Name Ports
---- ------- -------------------------------- ---------------------------------
1 Static Default G0/1, G0/2, G0/3, G0/4, G0/5
G0/6, G0/7, G0/8, G0/9, G0/10
G0/11, G0/12, G0/13, G0/14, G0/15
G0/16, G0/17, G0/18, G0/19, G0/20
G0/21, G0/22, G0/23, G0/24
Switch_config#

相关文档
最新文档