⺣ - רҵ·ĵϷƽ̨

ǰλãҳ > 神州数码DCRS-5960_VLAN和MAC地址操作.word - 百度文库

神州数码DCRS-5960_VLAN和MAC地址操作.word - 百度文库

  • 62 Ķ
  • 3
  • 2025/6/4 19:45:40

VLANMACַ 1 VLAN no name

3.ΪVLAN佻˿ VLANģʽ switchport interface no switchport interface

4.ý˿ ˿ģʽ switchport mode {trunk | access | hybrid}

5.Trunk˿ ˿ģʽ switchport trunk allowed vlan {WORD | all | add WORD | except WORD | remove WORD} no switchport trunk allowed vlan switchport trunk native vlan no switchport trunk native vlan

6.Access˿ ˿ģʽ switchport access vlan no switchport access vlan

7. Hybrid˿ ˿ģʽ ǰ˿ڼ/˳ָVLAN /ɾTrunk˿ͨVLAN /ɾTrunk˿ڵPVID õǰ˿ΪTrunkAccess˿ڻHybrid˿ڡ ΪVLAN佻˿ڡ

1-3

VLANMACַ 1 VLAN switchport hybrid allowed vlan {WORD | all | add WORD | except WORD | remove WORD} /ɾHybrid˿{tag | untag} no switchport hybrid allowed vlan switchport hybrid native vlan no switchport hybrid native vlan

8. 򿪻رVLANڹ ˿ģʽ vlan ingress enable no vlan ingress enable

9. Private VLAN VLANģʽ private-vlan {primary | isolated | community} no private-vlan

10. Private VLANİ󶨲 VLANģʽ private-vlan association no private-vlan association

11. ָڲVLAN ID ȫģʽ vlan <2-4094> internal

ָڲVLANIDš /ɾPrivate VLANİ󶨹ϵ ǰVLANΪPrivate VLAN 򿪼رVLANڹ /ɾ˿ڵPVID taguntagʽͨVLAN 1.1.3 VLANӦ

1-4

VLANMACַ 1 VLAN

VLAN100 VLAN2 PC PC Switch A Trunk Link

Switch B

Workstation Workstation PC VLAN200 PC PC VLAN2 PC Workstation VLAN100 Workstation

ͼ 1-2 VLANӦͼ

PC PC VLAN200

ھȫӦõҪҪеΪ3VLANVLAN2VLAN100VLAN200ҪVLANԽABֱһ̨VLANֻҪڽ䴫䣬ͿҪ Ŀ VLAN2 VLAN100 VLAN200 Trunk port

̨Trunk portΪTrunk linkڳؿ罻vlan豸ӵĸVLANĶ˿ϣ͹ӦVLAN֮С

ڱУ1ź12Ŷ˿ڿУΪ˿ڻ;

ò£ A:

Switch (config)#vlan 2

Switch (Config-Vlan2)#switchport interface ethernet 1/0/2-4 Switch (Config-Vlan2)#exit

˵ AءBؽ24˿ AءBؽ57˿ AءBؽ810˿ AءBؽ11˿ 1-5

VLANMACַ 1 VLAN Switch (config)#vlan 100

Switch (Config-Vlan100)#switchport interface ethernet 1/0/5-7 Switch (Config-Vlan100)#exit Switch (config)#vlan 200

Switch (Config-Vlan200)#switchport interface ethernet 1/0/8-10 Switch (Config-Vlan200)#exit

Switch (config)#interface ethernet 1/0/11

Switch (Config-If-Ethernet1/0/11)#switchport mode trunk Switch (Config-If-Ethernet1/0/11)#exit Switch (config)# B:

Switch (config)#vlan 2

Switch (Config-Vlan2)#switchport interface ethernet 1/0/2-4 Switch (Config-Vlan2)#exit Switch (config)#vlan 100

Switch (Config-Vlan100)#switchport interface ethernet 1/0/5-7 Switch (Config-Vlan100)#exit Switch (config)#vlan 200

Switch (Config-Vlan200)#switchport interface ethernet 1/0/8-10 Switch (Config-Vlan200)#exit

Switch (config)#interface ethernet 1/0/11

Switch (Config-If-Ethernet1/0/11)#switchport mode trunk Switch (Config-If-Ethernet1/0/11)#exit

1.1.4 Hybrid˿ڵĵӦ

1-6

  • ղ
  • Υٱ
  • Ȩ
ĵ10.00 Ԫ VIP
ߣ...

92ƪĵ

ĵ飺

VLANMACַ 1 VLAN no name 3.ΪVLAN佻˿ VLANģʽ switchport interface no switchport interface 4.ý˿ ˿ģʽ switchport mode {trunk | access | hybrid} 5.Trunk˿ ˿ģʽ switchport trunk allowed vlan {WORD | all | add WORD | except WORD | remove WORD} no switchport trunk allowed vla

οͿͨغɸƺŰ棩
ƪ
ʱؼۣ10 Ԫ/ ԭ:20Ԫ
VIP
ؼۣ29 Ԫ/ ԭ:99Ԫ
0.3 Ԫ/ ÿ150
ȫվɸ
VIP
ؼۣ29 Ԫ/ ԭ:99Ԫ
0.3 Ԫ/ ÿ150
ȫվɸ
עĵпܡֻĿ¼ݲȫ֮ǰעѸ޷ػ⣬ϵЭ㴦
΢ţfanwen365 QQ370150219
Copyright © ⺣ All Rights Reserved. ICP16052595-3 վͼ ͷQQ370150219 䣺370150219@qq.com