0% found this document useful (0 votes)
323 views3 pages

Alcatel OS6200 VLAN & IP Configuration Guide

Uploaded by

sol
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
323 views3 pages

Alcatel OS6200 VLAN & IP Configuration Guide

Uploaded by

sol
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Alcatel-Lucent Layer 2 Switch OS6200 Series

// Make new host name


Console# enable
Console(config)# hostname <name>
// Create new vlan(s)
Console(config)# vlan database
Console(config-vlan)# vlan <id_1>
Console(config-vlan)# vlan <begin_id – end_id>
Console(config-vlan)# vlan <id_1>,<id_10>,<id_100>
Console(config-vlan)# exit
Console(config)#
// Delete existing vlan(s)
Console(config)# vlan database
Console(config-vlan)# no vlan <id_1>
Console(config-vlan)# no vlan <begin_id – end_id>
Console(config-vlan)# no vlan <id_1>,<id_10>,<id_100>
Console(config-vlan)# exit
Console(config)#
// Show vlan(s)
Console(config)# exit
Console# show vlan
// Assign port(s) to vlan
// Access port
Console# configure
Console(config)# interface ethernet e1
Console(config-if)# switchport access vlan <id>
Console(config-if)# exit
Console(config)# interface range ethernet e(2-5)
Console(config-if)# switchport access vlan <id>
Console(config-if)# exit
Console(config)# interface range ethernet e6,e(7-9),e(11-12)
Console(config-if)# switchport access vlan <id>
Console(config-if)# exit
Console(config)# exit
Console# show vlan
// Trunk port
Console# configure
Console(config)# interface ethernet g1
Console(config-if)# switchport mode trunk
Console(config-if)# switchport trunk allowed vlan add [ all | <begin_id – end_id>]
Console(config-if)# exit
Console(config)# interface range ethernet g(2-3)
Console(config-if)# switchport mode trunk
Console(config-if)# switchport trunk allowed vlan add [ all | <begin_id – end_id>]
Console(config-if)# exit
Console(config)# exit
Console# show vlan
// Not assign port(s) to vlan
// Not access port
Console# configure
Console(config)# interface ethernet e1
Console(config-if)# no switchport access vlan
Console(config-if)# exit
Console(config)# interface range ethernet e(2-5)
Console(config-if)# no switchport access vlan
Console(config-if)# exit
Console(config)# interface range ethernet e6,e(7-9),e(11-12)
Console(config-if)# no switchport access vlan
Console(config-if)# exit
Console(config)# exit
Console# show vlan
// Not trunk port
Console# configure
Console(config)# interface ethernet g1
Console(config-if)# switchport trunk allowed vlan remove [ all | <begin_id – end_id>]
Console(config-if)# no switchport mode
Console(config-if)# exit
Console(config)# interface range ethernet g(2-3)
Console(config-if)# switchport trunk allowed vlan remove [ all | <begin_id – end_id>]
Console(config-if)# no switchport mode
Console(config-if)# exit
Console(config)# exit
Console# show vlan
// Assign IP address to vlan
Console# configure
Console(config)# interface vlan <id>
Console(config-if)# ip address <ipv4_address> /<subnet_mask>
Console(config-if)# exit
Console(config)# interface vlan <id>
Console(config-if)# ip address <ipv4_address> <subnet_mask>
Console(config-if)# exit
// Not assign IP address to vlan
Console# configure
Console(config)# interface vlan <id>
Console(config-if)# no ip address
Console(config-if)# exit
// Assign IP address default gateway
Console(config)# ip default-gateway <ipv4_address>
// Not assign IP address default gateway
Console(config)# no ip default-gateway
Console(config)# exit
// Show IP address
Console# show ip interface
// Create new Account is supported for Authentication (telnet, HTTP)
Console# configure
Console(config)# username <new_username> password <new_password> level 15
Console(config)# ip http server
Console(config)# ip http authentication local
// Remove existing account is supported for Authentication (telnet, HTTP)
Console(config)# no username <new_username>
Console(config)# exit
// Save configuration
Console# copy running-config startup-config
// Delete configuration
Console# delete startup-config
// Show configuration
Console# show running-config
// Show interface status
Console# show interface status
// Show AOS version
Console# show version
// Reload switch
Console# reload

You might also like