vlan id ip vs. ip interface
Posted: 02 Mar 2016 07:08
Hi,
I can see in my configuration ("show configuration snapshot") those lines (only parts displayed):
! VLAN :
vlan 1 enable name "VLAN 1"
vlan 2 enable name "VLAN 2"
vlan 2 ip 10.10.55.0 255.255.255.0
! IP :
ip service all
ip interface "iprint" address 10.10.50.1 mask 255.255.255.0 vlan 1 ifindex 1
So the question is what is/are difference/s between those two, "vlan id ip" and "ip interface"?
I know what ip interface is used for, but what about "vlan id ip"? What is that, what is it used for?
I can see in my configuration ("show configuration snapshot") those lines (only parts displayed):
! VLAN :
vlan 1 enable name "VLAN 1"
vlan 2 enable name "VLAN 2"
vlan 2 ip 10.10.55.0 255.255.255.0
! IP :
ip service all
ip interface "iprint" address 10.10.50.1 mask 255.255.255.0 vlan 1 ifindex 1
So the question is what is/are difference/s between those two, "vlan id ip" and "ip interface"?
I know what ip interface is used for, but what about "vlan id ip"? What is that, what is it used for?