3com S7906E Manuel De Montage

Page de 2621
 
1-10 
Network diagram  
Figure 1-4 Network diagram for GVRP configuration 
 
 
Configuration procedure  
1)  Configure Device A 
# Enable GVRP globally.  
<DeviceA> system-view 
[DeviceA] gvrp 
# Configure port GigabitEthernet 2/0/1 as a trunk port, allowing all VLANs to pass through.  
[DeviceA] interface GigabitEthernet 2/0/1 
[DeviceA-GigabitEthernet2/0/1] port link-type trunk 
[DeviceA-GigabitEthernet2/0/1] port trunk permit vlan all 
# Enable GVRP on GigabitEthernet 2/0/1.  
[DeviceA-GigabitEthernet2/0/1] gvrp 
# Set the GVRP registration type to forbidden on the port.  
[DeviceA-GigabitEthernet2/0/1] gvrp registration forbidden 
[DeviceA-GigabitEthernet2/0/1] quit 
# Create VLAN 2 (a static VLAN). 
[DeviceA] vlan 2 
2)  Configure Device B 
# Enable GVRP globally.  
<DeviceB> system-view 
[DeviceB] gvrp 
# Configure port GigabitEthernet 2/0/1 as a trunk port, allowing all VLANs to pass through.  
[DeviceB] interface GigabitEthernet 2/0/1 
[DeviceB-GigabitEthernet2/0/1] port link-type trunk 
[DeviceB-GigabitEthernet2/0/1] port trunk permit vlan all 
# Enable GVRP on GigabitEthernet 2/0/1.  
[DeviceB-GigabitEthernet2/0/1] gvrp 
[DeviceB-GigabitEthernet2/0/1] quit 
# Create VLAN 3 (a static VLAN). 
[DeviceB] vlan 3 
3)  Verify the configuration 
# Display dynamic VLAN information on Device A. 
[DeviceA] display vlan dynamic 
 No dynamic vlans exist! 
# Display dynamic VLAN information on Device B.