Black Box LEH906A-2SFP Manuel D’Utilisation

Page de 208
724-746-5500   |   blackbox.com 
Page 153
Chapter 7: Command-Line Management
fe1 means port 1.
The switch_a(config-if)# prompt will show on the screen.
switch_a(config)#interface fe1
switch_a(config-if)#
2. Usage:
Use this command to enable or disable the BPDU Guard feature on a port.
Use the no parameter with this command to set the BPDU Guard feature on a port to default.
This command supersedes the bridge level configuration for the BPDU Guard feature. When the enable or disable parameter is 
used with this command, this configuration takes precedence over bridge configuration. However, when the default parameter is 
used with this command, the bridge level BPDU-Guard configuration takes effect.
3. Command Syntax:
spanning-tree portfast bpdu-guard (enabledisabledefault)
no spanning-tree portfast bpdu-guard
4. Example:
The following example enables the BPDU Guard feature on the interface fe1 (port 1):
switch_a(config)#interface fe1
switch_a(config-if)# spanning-tree portfast bpdu-guard enable
switch_a(config-if)#
7.8 VLAN
VLAN Mode Setting, 802.1Q VLAN Setting, 802.1Q Port Setting, Port Based VLAN
802.1Q VLAN Setting
VLAN Database:
1. Command Mode: Configure mode
Logon to Configure Mode (Configure Terminal Mode).
The switch_a(config)# prompt will show on the screen.
switch_a(config)#
2. Usage:
Use vlan database command to enter the VLAN configuration mode.
3. Command Syntax:
vlan database
4. Example:
The following example changes to VLAN configuration mode from Configure mode:
switch_a(config)#vlan database
switch_a(config-vlan)#