interface system x440

  • 0
  • 1
  • Problem
  • Updated 3 years ago
Hi,

On the siwtch 800 series, i associated a vlan created and a ip @ with the system.

#Config ipif System ipaddress 192.168.1.254/24
#config ipif System vlan admin

Is there any command which approach those ones on switch x440?
Photo of frederic ragot

frederic ragot

  • 140 Points 100 badge 2x thumb

Posted 3 years ago

  • 0
  • 1
Photo of Zelnosky, Kevin

Zelnosky, Kevin, Employee

  • 1,124 Points 1k badge 2x thumb
Frederic,

You can use the following command to apply an IP address to a VLAN:

config vlan <vlan name> ipaddress <ip> <netmask>

For example, out of the box there is the "Default" VLAN, you would use the following syntax:

config vlan Default ipaddress 192.168.0.1 255.255.255.0
Photo of Burak Kale

Burak Kale

  • 280 Points 250 badge 2x thumb
Hi;

You can configure a vlan ipaddress or if you have a management network you can configure the management port . But in both cases commands are same.

Management  port works under a different virtual router so you can have a out of band management if you have a seperate management network.

create vlan admin tag 100
configure vlan admin ipaddress 192.168.1.254 255.255.255.0

Regards.
Photo of Paul Russo

Paul Russo, Alum

  • 9,694 Points 5k badge 2x thumb
Hello Frederic

the commands are

create vlan admin
config admin ipa 192.168.1.254/24

that creates the VLAN and assigns the IP address.  If you need IPForwarding (routing) turned on use the command en ipf for enable ipforwarding.

to assign a tag the command is configure admin tag x

hope that helps

P
Photo of Patrick Voss

Patrick Voss, Alum

  • 11,594 Points 10k badge 2x thumb
If I am understanding you correctly you are looking to create a vlan and add an IP Address. These are the commands to do so in EXOS:

create vlan <VLAN NAME> tag <TAG#>
configure vlan <VLAN NAME> ipaddress <IP ADDRESS>/<SUBNET MASK>
Photo of frederic ragot

frederic ragot

  • 140 Points 100 badge 2x thumb
thx for reply.

I'll need more test.
I explain :
If i create another vlan and  an IP@, can we connect and configure the switch on these new vlan?
My goal is to manage my switch with only one vlan.

regards
Photo of Paul Russo

Paul Russo, Alum

  • 9,694 Points 5k badge 2x thumb
Hello Federic. Yes any VLAN with an IP is an Avenue to manage the switch. If you don't want that access then will need to create an Access lost to block it.

Thanks
P
Photo of Burak Kale

Burak Kale

  • 280 Points 250 badge 2x thumb
You can use a different virtual router for that vlan or you can use access-lists to prevent access.

There is not host vlan feature on the XOS.

Regards,

Burak.
Photo of Zelnosky, Kevin

Zelnosky, Kevin, Employee

  • 1,124 Points 1k badge 2x thumb
As Burak stated, if you want to isolate your management VLAN, you may want to just use the "mgmt" vlan as it resides on the VR-Mgmt.

The only downside is that most management ports only go up to 100 instead of gig.
Photo of Paul Russo

Paul Russo, Alum

  • 9,694 Points 5k badge 2x thumb
I may have misread the question.  You can use the Management Out of Band port to manage the switch which would then be tied to a separate network. or you can just assign one IP to any switch to manage inband.

I thought the questions was if I have multiple VLANs with and IP address will all of them be allowed to be managed the switch and the answer is yes.  the only way to restrict that access is to use an access profile/list.

Thanks
P
Photo of frederic ragot

frederic ragot

  • 140 Points 100 badge 2x thumb
You can find in management module of the configuration:
#create trusted_host network 192.168.1.0/24 telnet http https

regards
(Edited)
Photo of frederic ragot

frederic ragot

  • 140 Points 100 badge 2x thumb
sorry, my mistake.

the command just up there is for 800 series switch.
Still searching equivalent on x440 switch.