Reference Guide
OS10(conf-range-eth1/1/1-1/1/4)# show configuration
!
interface ethernet1/1/1
no shutdown
switchport access vlan 1
!
interface ethernet1/1/2
no shutdown
switchport access vlan 1
!
interface ethernet1/1/3
no shutdown
switchport access vlan 1
!
interface ethernet1/1/4
no shutdown
switchport access vlan 1
OS10(conf-range-eth1/1/1-1/1/4)#
Supported releases 10.4.0E(R1) or later
default vlan-id
Recongures the VLAN ID of the default VLAN.
Syntax
default vlan-id vlan-id
Parameters vlan-id — Enter the default VLAN ID number (1 to 4093).
Default VLAN 1
Command Mode CONFIGURATION
Usage Information By default, VLAN 1 serves as the default VLAN for switching untagged L2 trac on OS10 ports in trunk or access
mode. If VLAN 1 is used for data trac for network-specic needs, recongure the VLAN ID of the default VLAN.
The command recongures the access VLAN ID (default VLAN) of all ports in switchport access mode.
Example
OS10(config)# default vlan-id 10
OS10(config)# do show running-configuration
...
!
interface vlan1
no shutdown
!
interface vlan10
no shutdown
!
interface ethernet1/1/1
no shutdown
switchport access vlan 10
!
interface ethernet1/1/2
no shutdown
switchport access vlan 10
!
interface ethernet1/1/3
no shutdown
switchport access vlan 10
!
interface ethernet1/1/4
no shutdown
switchport access vlan 10
Interfaces 99