Академический Документы
Профессиональный Документы
Культура Документы
HUAWEI
Understand VLAN generation background Understand VLAN protocol Understand GVRP protocol
datacomm.huawei.com
HUAWEI
Broadcast
datacomm.huawei.com
HUAWEI
B r o a d c a s t
datacomm.huawei.com
HUAWEI
F in a n c ial Departm e n t
HUAWEI
F in a n c ial Departm e n t
VLAN Table
Port
Ethernet Switch
ostA
HostB
HostC
HostD
datacomm.huawei.com
VLAN Table
Ethernet Switch
IP Protocol
VLAN Table
Ethernet Switch
Host D 1.1.2.99
datacomm.huawei.com
IEEE802.1Q Overview
HUAWEI
E
VLAN structure
I
Services provided by VLAN VLAN involved protocols and algorithms
datacomm.huawei.com
T C I
k B a c k b o n eL in
Access Link
datacomm.huawei.com
HUAWEI
vlan 2
E thernetfram e w ithvlanlflag
E thernetfram e w ithvlan2flag
vlan 1
vlan 2
datacomm.huawei.com
vlan 1
Broadcast message transmit
Trunk Link
vlan 5
vlan2
vlan 1
vlan 3
vlan2
vlan 1
vlan5
vlan 5
vlan 2
datacomm.huawei.com
Enter into the VLAN configuration mode; if the designated VLAN is not created, then create it:
[no] vlan vlan_id
HUAWEI
Usage: open/close VLAN trunk functions of Ethernet interface, based on the IEEE802.1Q standard. Command format:
trunk { vlan_list | all } no trunk [ vlan_list | all ]
Default value:
Close VLAN trunk functions in default
Command mode:
datacomm.huawei.com
HUAWEI
Q u idway(config)#Vlan 4 Q u idway(config-vlan4)#port e 0/9 to 0/10 interface ethernet0/2 Q u idway(config)# trunk all Q u idway(config-if-Ethernet0/2)# exit Q u idway(config-if-Ethernet0/2)# show interface e thernet0/2 Q u idway(config)# ... ... PVIDis1 ... ... It is a vlan trunking port, vlan(s) passing this port: 1(default vlan), 4-5 vlan(s) allowed to pass this port: 1(default vlan), 2-4000 ... ... datacomm.huawei.com
GARP Basis
HUAWEI
a: Indicate a certain property that needs to be registered A: Claim about the property Property will be broadcast to the whole network through GARP "claim-register-claim"
datacomm.huawei.com
GARP Basis
HUAWEI
datacomm.huawei.com
GVRP Configurations
HUAWEI
1. O p e n /closeGVRPprotocol gvrp{enable|disable} enable O p e nG V R P disable C loseG V R P nogvrp 2.AftersettingtheGVRPregistrationtypeGVRPstartofevery channellink,theusercanfurthersettheregistrationtypeofGVRP. gvrp registration { norm a l | fixed | forbidden } normal It is allowedtodynamicallycreate,register,andcancel VLANatthisinterface.norm a l is the default registration m odeofthe in terface. fixed It is allowedtomanuallycreateorregisterVLAN,and proventcancellationofVLANandknownsVLANatothertrunk in terfaces. forbidden It w il cancelallVLANsexceptVLAN1,andprohibit creationandregistrationofanyotherVLANatthisinterface. no gvrp registration
datacomm.huawei.com
vlan5~10
Port1
Port1 Port2
A
Port2 Port3
B
Port3
Port1
Port1
Port1
Port1
vlan5~10
vlan15~20
vlan15~20
vlan25~30
datacomm.huawei.com
vlan5~10
A
Port 2
B
Port 3
Port 1
Port 1
Port 1
Port 1
vlan5~10
vlan15~20
vlan15~20
vlan25~30
datacomm.huawei.com
vlan5~10
Port 1
Port 1 Port 2
A
Port 2 Port 3
B
Port 3 Port 1 Forbid
Port 1
Port 1
Port 1
vlan5~10
vlan15~20
vlan15~20
vlan25~30
datacomm.huawei.com
vlan5~10
A
Port 2
B
Port 3 Port 1
Port 1
vlan5~10
vlan15~20
vlan15~20
vlan25~30
datacomm.huawei.com
Summary
HUAWEI
datacomm.huawei.com