![background image](http://html1.mh-extra.com/html/smc-networks/6724al2/6724al2_management-manual_1300175311.webp)
VLAN C
OMMANDS
3-123
Example
The following example adds a VLAN, using VLAN ID 105 and name
RD5. The VLAN is activated by default.
Related Commands
show vlan (3-131)
interface vlan
Use this command to enter interface configuration mode for VLANs, and
configure a physical interface.
Syntax
interface vlan
vlan-id
vlan-id
- ID of the configured VLAN. (Range: 1-4094, no leading
zeroes)
Default Setting
None
Command Mode
Global Configuration
Example
The following example shows how to set the interface configuration mode
to VLAN 1, and then assign an IP address to the VLAN:
Related Commands
shutdown (3-94)
Console(config)#vlan database
Console(config-vlan)#vlan 105 name RD5 media ethernet
Console(config-vlan)#
Console(config)#interface vlan 1
Console(config-if)#ip address 192.168.1.254 255.255.255.0
Console(config-if)#
Summary of Contents for 6724AL2
Page 2: ......
Page 404: ...COMMAND LINE INTERFACE 3 216 ...
Page 406: ...TROUBLESHOOTING A 2 ...
Page 418: ...GLOSSARY Glossary 8 ...
Page 422: ...INDEX Index 4 ...
Page 423: ......