N2:Ch0 Switch IOS Commands Flashcards
configure terminal
enters global configuration mode.
vlan vlan_id
assigns an id
exit
returns to the previous level; exits session at priv. exec
interface interface_id
access specified interface
switchport mode access
sets a switchport for information access/exchange
switchport access vlan vlan_id
assigns an interface to a specific VLAN
ip address ip_address subnet_mask
assigns ip address / subnet to interface
interface vlan vlan_id
access interface configuration for a VLAN
no shutdown
activates interface
end
returns to priv. exec mode;
copy running-config startup-config
copies running config to the startup config - saves running config
ip default-gateway ip_address
assigns default gateway for switch
duplex {**full | half | auto**}
sets duplex setting of interface to full, half , or auto
speed speed_value
sets speed of interface to 10, 100 or 1000
mdix auto
enables MDIX auto cable simulation/ select