beautypg.com

ADC SG-1 User Manual

Page 90

background image

Chapter 7: Second Level Commands

June 30, 2006

7-10

SG1-UM-8500-03

Usage

interface vlan \ \

[name | QinQ ]

Parameter(s):

Slot number of the physical card.

Port number of the card (1 or 2).

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

IP address for the VLAN.

Subnet mask for the VLAN.

[VLAN name]

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

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

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