Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Set the IP 1

Status
Not open for further replies.

omegabetax

Technical User
Jun 20, 2006
54
RO

Hi,

I have a brand new Zyyxel switch. can someone help me to set the IP of the switch ?
On the router I know how. But on the switch the command sh interfaces doesn't help me. Only sh interfacse config no_port. But I need to set the IP of the switch !

# sh ip
IP Interface
IP[192.168.1.1], Netmask[255.255.255.0], VID[1]
This is the default. How can change it ?

Thanks
 
config t
Interface vlan 1
ip address 10.10.1.2 255.255.255.0

You have to assign the ip address to a VLAN interface on the switch. Use VLAN 1...
 
Take a look:

# sh run
Building configuration...

Current configuration:

vlan 1
name 1
normal ""
fixed 1-9
forbidden ""
untagged 1-9
ip address default-management 192.168.1.1 255.255.255.0
exit
S-2108-G# config t
ES-2108-G(config)# interface vlan 1
Invalid command "vlan"

What's wrong ?


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top