L2 Switching Configuration
Except on the first page, right running head:
Heading1 or Heading1NewPage text (automatic)
185
Alcatel-Lucent
Beta Beta
OmniAccess 5740 Unified Services Gateway CLI Configuration Guide
L2 SWITCHING COMMANDS
TO CONFIGURE AN L2 INTERFACE
EXAMPLE
ALU(config)# interface switchport 1/0
ALU(config-if switchport1/0)#
T
O ADMINISTRATIVELY BRING UP/DOWN THE L2 INTERFACE
E
XAMPLE
ALU(config-if switchport1/0)# no shutdown
T
O CONFIGURE MODE FOR THE L2 INTERFACE
E
XAMPLE
ALU(config-if switchport1/0)# switchport mode trunk
ALU(config-if switchport1/0)# no switchport mode
Command (in CM) Description
interface switchport <slot/
port>
This command is used to configure an
L2 interface.
Command (in ICM) Description
no shutdown This command is used to
administratively bring up the L2
interface.
shutdown This command is used to
administratively bring down the L2
interface.
Command (in ICM) Description
switchport mode {trunk|hybrid} This command is used configure the L2
interface in the trunk or hybrid mode.
no switchport mode This command first removes the hybrid/
trunk mode configured on the interface.
If the interface is configured with access
VLAN configuration, it changes to
access mode
since it takes precedence
over the bridging mode. If no access
VLAN is configured, then the interface
moves to pure bridging mode
.