Thursday, 10 March 2016

Configuring Vlan in Alcatel Switches

Configure VLANs

A layer 2 VLAN is created with vlan <vlan_number> enable name “VLAN name” 

Removed with no vlan <vlan_number>. 

show vlan lists all the VLANs, 

show vlan <vlan_number> shows the details of <vlan_number>.

 A layer 3 VLAN is created using:
  • ip interface “interface name” vlan <vlan_number> address <address> mask <netmask>
and removed with:
  • no ip interface “interface name”
Port association:
  • To associate a port with a specific VLAN: vlan <vlan_number> port default <slot>/<port>
  • To list the ports and their association: show vlan port
  • To list the ports of a specified vlan: show vlan <vlan_number> port
  • To show a given port: show vlan port <slot>/<port>
Tagging of ports :
  • Tag a port: vlan <vlan_number> 802.1Q <slot>/<port> [<“comment”>]
  • Remove a tag: vlan <vlan_number> no 802.1Q <slot>/<port>

2 comments:

  1. ...यह कामण्ड्स बहुत ही उपयोगी है..

    ReplyDelete