Thursday, March 24, 2011

configure switch 3com

dah lama simpan p tak upload kat blog

ka sini nak share command2 die:


1. create ip address
== == == === === ==

[switch] interface vlan 1
[switch interface vlan-1] ip address 10.x.x.n 24
[switch] display ip interface

test: ping 10.0.0.x


2. enable telnet
==================

[switch] server enable
[switch] user interface vty 0 4
[switch-ui-vty0-4] authentication-mode passwd
[switch-ui-vty0-4] user privilage level 0
[switch-ui-vty0-4] exit

3. create vlan

create accsess port 1
=====================

[switch] interface vlan 1
[switch-vlan1] ip address 10.0.1.g 24
[switch-vlan1] quit


creater accsess port 2
======================

[switch] interface vlan 2
[switch-vlan2]port gig s/0/5
[switch-vlan2] quit

configure port gig s/0/10 as trunk and configure its Vlans
==========================================================

[switch] interface interface gig s/0/10
[switch-gigs/0/10] port link-type trunk
[switch-gigs/0/10] port trunk permit vlan all
[switch-gigs/0/10] quit


verify the configuration
=========================

[switch] dis interface gig s/0/5
[switch] dis interface gig s/0/10
[switch] dis vlan all

nak undo kan balik port dgn vlan itu
====================================

[switch] undo port link-type
[switch] undo vlan2


dis saved configuration
reset saved configuration
dis interface br
dis current
reset arp -all : untuk melihat ip ape yg lalu kat switch

No comments: