Skip to content

Instantly share code, notes, and snippets.

@boina-n
Created October 22, 2017 16:20
Show Gist options
  • Save boina-n/16e291eecce9eaa3e5fbabcf1dc07cd0 to your computer and use it in GitHub Desktop.
Save boina-n/16e291eecce9eaa3e5fbabcf1dc07cd0 to your computer and use it in GitHub Desktop.
LineSwitch5510
LineSwitch5510
-------------------
Model : Ethernet Routing Switch 5510-48T
Most important things to check on switch's are :
* port description nor reason to make sure you working on the right port
* port vlan's to add or remove a port
* port state and status { status is what have been forced by the user }
* port speed, make sure you're not confusing the current port speed and supported speed
*
Method of productivity :
1 - first note all the ports to be issued. then list them all in a one shot with :
ex : config ethernet 3/5,3/15,4/13,4/8,2/1,2/5,3/2 info
2 - Make sure they are all down and the names are correct.
3 - make a count based on the task list.
---Show Commands :
------------------
global show command :
show interfaces [2,13]
-
show ports vlan & description (name) :
show vlan interface info [19]
-
Check port configuration :
show interfaces [2,13]
-
Check port state :
show interfaces [2,13]
-
Check port status :
show interfaces [2,13]
-
check port speed :
show interfaces [2,13]
-
show vlan id :
show vlan vid {vlandID}
-
show port interface MAC@ :
show mac-address-table port [18,13]
-
show port ip :
show ports info ip port 3/5
---Config commands :
--------------------
global show command :
config ethernet 3/5 ethernet info
configure link state :
config ethernet 3/5 state <disable | enable>
configure speed duplex :
config ethernet 3/5 auto-negotiate <disable | enable>
configure name (description) :
config ethernet 3/5 name <name>
configure duplex mode :
config ethernet 3/5 duplex enable | disable >
configure flow control :
config ethernet 3/5 tx-flow-control <enable | disable >
configure default vlan id :
config ethernet 3/5 default-vlan-id <vid>
remove port from a vlan :
config vlan 129 ports remove 3/5 member portmember
add port from a vlan :
config vlan 129 ports add 3/5 member portmember
Exemple of sequence for de-configuring ports :
-------------------------------------------
config ethernet 3/5,3/15,4/13,4/8,2/1,3/2,2/5 auto-negotiate enable
config ethernet 3/5,3/15,4/13,4/8,2/1,3/2,2/5 tx-flow-control disable
config ethernet 3/5,3/15,4/13,4/8,2/1,3/2,2/5 name libre
config vlan 129 ports remove 3/5,3/15,4/13,4/8,2/1,3/2,2/5
check them all with :
config ethernet 3/5,3/15,4/13,4/8,2/1,3/2,2/5 info
Coming soon for configuring port : ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment