beautypg.com

Comtrol ES7510 User Manual

Page 156

background image

156 - VLAN (CLI)

RocketLinx ES7510 User Guide: 2000544 Rev. B

Configuration Using the Command Line Interface (CLI)

VLAN Port Configuration (continued)

Display – Port
Egress Rule (Egress
rule, IP address,
status)

Switch# show running-config

……

!

interface fastethernet1

switchport access vlan 1

switchport access vlan 3

switchport trunk native vlan 2

…….

interface vlan1

ip address 192.168.250.8/24

no shutdown

VLAN Configuration

Create VLAN (2)

Switch(config)# vlan 2

vlan 2 success

Switch(config)# interface vlan 2

Switch(config-if)#

Note: In the CLI configuration, you should first create a VLAN interface. Then you can

start to add/remove ports. The default status of the created VLAN is unused
until you add member ports to it.

Remove VLAN

Switch(config)# no vlan 2

no vlan success

Note: You can only remove the VLAN when the VLAN is in unused mode.

VLAN Name

Switch(config)# vlan 2

vlan 2 has exists

Switch(config-vlan)# name v2

Switch(config-vlan)# no name

Note: Use no name to change the name to default name, VLAN VID.

VLAN description

Switch(config)# interface vlan 2

Switch(config-if)#

Switch(config-if)# description this is the VLAN 2

Switch(config-if)# no description ->Delete the description.

IP address of the
VLAN

Switch(config)# interface vlan 2

Switch(config-if)#

Switch(config-if)# ip address 192.168.250.18/24

Switch(config-if)# no ip address 192.168.250.8/24 ->Delete the IP

address

Create multiple
VLANs (VLAN 5-8)

Switch(config)# interface vlan 5-8

Shutdown VLAN

Switch(config)# interface vlan 2

Switch(config-if)# shutdown

Switch(config-if)# no shutdown ->Turn on the VLAN