0% found this document useful (0 votes)
162 views

Switch Commands PDF

1) The document provides basic commands for configuring an Extreme switch, including commands for enabling port mirroring, naming ports, setting port speeds and duplex, viewing port errors, configuring VLANs, enabling routing, and turning on the OSPF routing protocol. 2) Key commands covered include commands for resetting the switch configuration, enabling port mirroring, naming ports, setting port speeds and duplex, adding and removing ports from VLANs, assigning VLAN tags, enabling VLAN trunking, enabling IP forwarding to allow routing between VLANs, and configuring OSPF routing between VLANs. 3) The document provides examples of using commands like "config port", "config mirroring", "config vlan",

Uploaded by

actall4me
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
162 views

Switch Commands PDF

1) The document provides basic commands for configuring an Extreme switch, including commands for enabling port mirroring, naming ports, setting port speeds and duplex, viewing port errors, configuring VLANs, enabling routing, and turning on the OSPF routing protocol. 2) Key commands covered include commands for resetting the switch configuration, enabling port mirroring, naming ports, setting port speeds and duplex, adding and removing ports from VLANs, assigning VLAN tags, enabling VLAN trunking, enabling IP forwarding to allow routing between VLANs, and configuring OSPF routing between VLANs. 3) The document provides examples of using commands like "config port", "config mirroring", "config vlan",

Uploaded by

actall4me
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

1/20/2015

CopyPasteDocument's:BasicCommandofExtremeswitch

CopyPasteDocument's
CatatanKecil|BerbagiCerita

BasicCommandofExtremeswitch
BasicCommandofExtremeswitch

BasicsoftheCLI
SYNTAXHELPER
TheCLIhasabuiltinsyntaxhelper.Ifyouareunsureofthecompletesyntaxforaparticular
command,enterasmuchofthecommandaspossibleandpress[Return].Thesyntaxhelper
providesalistofoptionsfortheremainderofthecommand.Thesyntaxhelperalsoprovides
assistanceifyouhaveenteredanincorrectcommand.
COMMANDCOMPLETIONWITHSYNTAXHELPER
ExtremeWareprovidescommandcompletionbywayofthe[Tab]key.Ifyouenterapartial
command,pressingthe[Tab]keypostsalistofavailableoptions,andplacesthecursoratthe
endofthecommand.
ABBREVIATEDSYNTAX
Abbreviatedsyntaxisthemostunambiguous,shortestallowableabbreviationofacommandor
parameter.Typically,thisisthefirstthreelettersofthecommand.
Whenusingabbreviatedsyntax,youmustenterenoughcharacterstomakethecommand
unambiguousanddistinguishabletotheswitch.
COMMANDSHORTCUTS
Allnamedcomponentsoftheswitchconfigurationmusthaveauniquename.
Componentsarenamedusingthecreatecommand.Whenyouenteracommandtoconfigurea
namedcomponent,youdonotneedtousethewholekeywordofthecomponent.Forexample,
tocreateaVLAN,youmustenterauniqueVLANname:
createvlanengineering
OnceyouhavecreatedtheVLANwithauniquename,youcantheneliminatethekeywordvlan
fromallothercommandsthatrequirethenametobeentered.Forexample,insteadofentering
theswitchcommand
configvlanengineeringdeleteport1:3,4:6
youcouldenterthefollowingshortcut:
configengineeringdeleteport1:3,4:6
Similarly,ontheSummitswitch,insteadofenteringthecommand
configvlanengineeringdeleteport13,6
youcouldenterthefollowingshortcut:
configengineeringdeleteport13,6
SUMMITSWITCHNUMERICALRANGES
CommandsthatrequireyoutoenteroneormoreportnumbersonaSummitswitchusethe
parameterinthesyntax.Aportlistcanbearangeofnumbers,forexample:
port13
Youcanaddadditionalportnumberstothelist,separatedbyacomma:
http://oriedza.blogspot.in/2011/12/basiccommandofextremeswitch.html?m=1

1/5

1/20/2015

CopyPasteDocument's:BasicCommandofExtremeswitch

port13,6,8
NAMES
Allnamedcomponentsoftheswitchconfigurationmusthaveauniquename.Namesmust
beginwithanalphabeticalcharacterandaredelimitedbywhitespace,unlessenclosedin
quotationmarks.
BasicsoftheWebBrowserinterface
EachswitchhasabuiltinHTTPserverthatdrivesthewebbasedGUIinterface.Toaccessthe
GUIinterfacesimplyopenawebbrowserandpointtotheIPAddressoftheswitch.Nowthe
switchhasaneasypointandclickmeansofconfiguration.
ThingstodowithportsonanExtremeswitch
ResettingBacktoFactoryConfigs.
Toresettheswitchbacktofactoryconfigs,andkeeptheuseraccountinformantiontypethe
command:
Unconfswitch
Toresttheswitchbacktofactoryconfigsandremovetheusersaccountinformationtypethe
command:
Unconfswitchall
MirroringPorts
Portmirroringconfigurestotheswitchtocopyalltrafficassociatedwithoneormoreports.The
monitorportcanthenbeconnectedtoaSnifferorRMONprobeforanalysis.Thetrafficfiltercan
bedefinedbasedononeofthefollowingcriteria:
PhysicalportAlldatathattraversesthatport,regardlessoftheVLAN,iscopiedtothemirror
port
VLANAlldatathattraversestheVLAN,regardlessofthephysicalport,iscopiedtothemirror
port.
VirtualPostAlldataspecifictoaVLANonaspecificportiscopiedtothemirrorport.
Note:Theportyouconfiguretobethemirrorportmustbeactivepriortoenablingitformirroring.
Thefollowingexampleselectsport3asthemirrorportandsendsalltrafficcomingintooutof
port1tothemirrorport
enablemirroringtoport3
configmirroringaddport1
ThefollowingexamplesendsalltrafficfortheDefaultVLANtothemirrorport
configmirroringaddvlandefault
Thefollowingexamplesendsalltrafficcomingintoandoutofport1andtheDefaultVLANto
themirrorport.
configmirroringaddport1vlandefault
Todisablemirroring:
Disablemirroring
NamingPorts
Youcannameswitchportsinordertokeeptrackofwhatispluggedintothem,orforpersonal
records.
Tonameaporttypethecommand:
Configportdisplaystring
Toresetportnametype:
unconfigportdisplaystring
http://oriedza.blogspot.in/2011/12/basiccommandofextremeswitch.html?m=1

2/5

1/20/2015

CopyPasteDocument's:BasicCommandofExtremeswitch

SettingSpeedandDuplexonaport
Tosetaportfor100Megfullduplextypethecommand:
Configportautooffduplexfullspeed100
Tosetaportfor10MegHalfduplextypethecommand:
Configportautooffduplexhalfspeed10
Toresettheportabletoautonegotiationtypethecommand:
Configportautoon
LookingatPortErrors
Note:Ifyouwanttolookatallports,simplyleaveouttheportnumberandtheswitchwilldisplay
allports.Alsoyoucanspecifyportgroups.(i.e.port119,20,34,46,etc)
Showportcollision
Showportconfiguration
Showportinfodetail
Showportpacket
Showportrxerror
Showportstat
Showporttxerror
Showportutil(usethespacebartoscrollthroughdifferentutilizationscreens)
ConfiguringVLANSonanExtremeSwitch
WithallswitchesfromExtremeNetworksthereisnoneedtocreatearouterinterfaceinorder
touseVLANS.Sinceeveryportcanbearouterandtheroutingmechanismisbuiltintothe
switchfabric,VLANconfigurationhasbecomeincrediblyeasy.Whentheswitchisfirststarted
upourofthebox,thereisasingleVLANcalledDefault(VLAN1)andcontainsallportsonthe
switch.IfyoudesiretoaddportstootherVLANS,youmustfirstdeletetheportoutoftheVLAN
theyarein.(forsecuritypurposes).
VLANBasics
CreatingaVLAN
Typethecommand:
CreatevlanNote:thenamecanbeanyuniquenametheuserdesires.
GivingtheVLANanIPAddress
Typethecommand:
Configvlanipx.x.x.x/xxNote:Thenetworkmaskcanbeeitherslashnotationordotted
decimel,(i.e./24or255.255.255.0)
AddingportstothatVLAN
Typethecommand:
ConfigvlanaddportnNote:Youcanalsoaddmultipleportsbyusingcommasordashes.(i.e.
port148or1,2,8,10or110,520)
DeletingportsoutofaVLAN
Typethecommand:
Configvlandeleteportn
AssigningtagsanddesignatingTrunk(uplink)ports
BedefaultwhenyouaddportstoaVLAN,theyareaddeduntagged.Mostuserportswillbe
untagged.ThereasonforaddingtagstoportsistoallowmultipleVLANtraffictotraversethose
ports,aswithtrunkports.Trunkports(orUplinks)cancontainseveralthousandVLANSona
singlelink.ThisisusefulifyouhavemorethanoneVLANatanedgeswitch.Inordertohave
http://oriedza.blogspot.in/2011/12/basiccommandofextremeswitch.html?m=1

3/5

1/20/2015

CopyPasteDocument's:BasicCommandofExtremeswitch

morethanoneVLANonauplinkyouwillneedtoaddan802.1qtagtoport.Pleasebeaware
thatCiscosVLANnumbersshouldbethesameasastandard802.1qtagnumber.(I.e.ifyou
wanttotrunkaCiscoswitchusingVlan500andVlan600toanotherstandardsbasedswitch,the
VLANtagsshouldmatchup.Tag500andTag600shouldbeonthattrunk)
Addinga802.1qtagtoaVLAN
Typethecommand:
ConfigvlanaddtagNote:thisnumbercanbeanynumberbetween2and4096.
Makingaportatrunkport
Typethecommand:
Configvlanaddportntagged
Howtoloadshareports(akaFastEtherchannel)
Todefinealoadsharinggroup,youassignagroupofportstoasinglelogicalportnumber.
Toenableordisableloadsharingusethefollowingcommands.
Enablesharinggrouping
Todisablesharing:
Disablesharing
Forexample
Enablesharing2grouping28
RoutingonanExtremeNetworksswitch
EveryswitchfromExtremeisalayer3switch.Toenablerouting,obviouslyyouneedmorethan
1VLANwithanIPaddressontheswitch.OnceyouhaveyourdesirednumberofVLANS
created,withtheirownuniqueIPaddress,youissueasinglecommandtoenablerouting.
Howtoturnonrouting
Typethecommand:
Enableipforwarding
Note:youcanalsoturnonoroffroutingforanysinglevlanontheswitch.
(i.e.enableipforwardingvlanordisableipforwardingvlan)
YouarenowroutingbetweenVLANS.
RoutingProtocols(gettingroutingtoworkwithotherswitches)
AllExtremeNetworksswitchessupportstaticroutes,Ripv1/v2,OSPF,BGPandISIS.Justlike
anyrouteryoumustusearoutingprotocolinorderforrouters/switchestosharerouting
information.
TurningonOSPF
Typethecommand:
configospfaddvlanarea0.0.0.0
ThisaddseachVLANtotheOSPFArea0
YoucanalsoaddalltheVLANSbytypingthecommand:
Configospfaddvlanallarea0.0.0.0
NowyouenableOSPFbytyping:
EnableOSPF
YounowhaveOSPFrunningonyourswitch.
Thefollowingisasampleconfiguration:
createvlanHQ_10_0_2
createvlanHQ_10_0_3
createvlanLA_161_48_2
http://oriedza.blogspot.in/2011/12/basiccommandofextremeswitch.html?m=1

4/5

1/20/2015

CopyPasteDocument's:BasicCommandofExtremeswitch

createvlanChi_160_26_26
configvlanHQ_10_0_2ipaddress10.0.2.1255.255.255.0
configvlanHQ_10_0_3ipaddress10.0.3.1255.255.255.0
configvlanLA_161_48_26ipaddress161.48.2.26255.255.255.0
configvlanChi_160_26_26ipaddress160.26.2.1255.255.255.0
createospfarea0.0.0.5
createospfarea0.0.0.6
enableipforwarding
configospfarea0.0.0.6stubnosummarystubdefaultcost10
configospfaddvlanLA_161_48_2area0.0.0.6
configospfaddvlanChi_160_26_26area0.0.0.5
configospfaddvirtuallink160.26.25.10.0.0.5
configospfaddvlanall
enableospf

Berbagi

Beranda

Lihatversiweb
DiberdayakanolehBlogger.

http://oriedza.blogspot.in/2011/12/basiccommandofextremeswitch.html?m=1

5/5

You might also like