xxx#vlan1 vs xxx#interface vlan 1 command

sparkeyluvsparkeyluv Member Posts: 9 ■□□□□□□□□□
xxx#vlan1 vs xxx#interface vlan 1 command.. What's the difference?

While configuring vlan I got the below.

OxfordCable(config)#vlan 1
OxfordCable(config-vlan)#no shut
Command is only allowed on VLAN 2..1001.
OxfordCable(config)#int vlan 1
OxfordCable(config-if)#no shut

My question is this, what is the difference between vlan1 the command interface vlan 1?


  • elderkaielderkai Member Posts: 279
    VLAN configuration configures aspects of that particular layer 2 domain itself. VACLs, name, etc.

    Interface Vlan1 configures the SVI, layer 3 interface, that the switch will have in that VLAN. Acts like most other routed interfaces, only it's virtual.
Sign In or Register to comment.