ADC SG-1 User Manual

Page 90

Advertising
background image

Chapter 7: Second Level Commands

June 30, 2006

7-10

SG1-UM-8500-03

Usage

interface vlan <slot number> \<port number> \<vlan id> <IP address> <mask>

[name <VLAN name> | QinQ <start ID><range>]

Parameter(s):

<slot number>

Slot number of the physical card.

<port number>

Port number of the card (1 or 2).

<vlan id>

VLAN interface identifier; valid number range is 1 to 4095.

<IP address>

IP address for the VLAN.

<mask>

Subnet mask for the VLAN.

[VLAN name]

It is a unique alphanumeric name assigned to the VLAN (it is 1 ÷ 64 alphabetic characters).

<start ID>

This is the start QinQ VLAN ID; valid number range is 2 to 4095.

<range>

This is the QinQ VLAN range; valid number range is 1 to 4095.

Example(s)

Host(config)# interface vlan 1\2\32 192.168.3.4 255.255.255.0 name ADC-R

Host(config)# interface vlan 1\2\233 24.36.1.12 255.255.255.0 name Kenvelo

Host(config)# interface vlan 3 1\1 192.168.1.1 255.255.255.0 QinQ 20 100

Note:

The system should refuse the VLAN command when wrong slot\port parameters are configured.

Host(config)# vlan 3 1\3

Operation error

Wrong slot\port

Advertising