3com 5500-ei pwr Guia De Referência

Página de 1314
 
1-46 
 
You can map VLANs to the specific MSTIs rapidly by using the vlan-mapping modulo  modulo 
command. The ID of the MSTI to which a VLAN is mapped can be figured out by using the following 
formula: 
(VLAN ID-1) % modulo + 1. 
In this formula, (VLAN ID-1) % modulo yields the module of (VLAN ID-1) with regards to the modulo 
argument. For example, if you set the modulo argument to 16, then VLAN 1 is mapped to MSTI 1, VLAN 
2 is mapped to MSTI 2, …, VLAN 16 is mapped to MSTI 16, VLAN 17 is mapped to MSTI 1, and so on. 
 
Related commands: check region-configuration
revision-level
region-name
active 
region-configuration
Examples 
# Map VLANs to MSTIs, with the modulo being 16. 
<Sysname> system-view  
System View: return to User View with Ctrl+Z. 
[Sysname] stp region-configuration  
[Sysname-mst-region] vlan-mapping modulo 16 
vlan-vpn tunnel 
Syntax 
vlan-vpn tunnel 
undo vlan-vpn tunnel 
View 
System view 
Parameters 
None 
Description 
Use the vlan-vpn tunnel command to enable the VLAN-VPN tunnel function for a switch. 
Use the undo vlan-vpn tunnel command to disable the VLAN-VPN tunnel function. 
The VLAN-VPN tunnel function enables BPDUs to be transparently transmitted between geographically 
dispersed user networks through specified VLAN VPNs in operator’s networks, through which spanning 
trees can be calculated across these user networks and are independent of those of the operator’s 
network. 
By default, the VLAN-VPN tunnel function is disabled.