- unconfig switch all
Restore to factory but retain configured user accounts and passwords
- unconfig switch
Initial configuration
Default username = admin
No password
Change admin password
- conf account admin
List saved config
- show config
Add a VLAN (name is case sensitive)
- create vlan "name"
- conf vlan "name" tag "tag number"
Remove a VLAN
- delete vlan "name"
Configure IP address for switch management - mask must be in decimal form, not CIDR
- conf vlan "name" ipaddress "ip" "mask"
Configure default gateway
- conf iproute add default "gateway address"
Change hostname
- conf snmp sysname "name"
- conf snmp syslocation "location"
Generate SSH key - changing hostname requires a new key to be generated
- enable SSH2
Add a VLAN to a port
- conf vlan "name" add port port number (tagged)
Remove a VLAN from a port
- conf vlan "name" del port port number
View VLAN port information
- show port port number in de
Show port based on MAC address
- show fdb "MAC address"
Add an electronic display name to a port
- conf port "port number" display-string "text"
Remove an electronic display name from a port
- conf port "port number" display-string ""
View the MAC address plugged into a port
- show fdb port "port number"
No comments:
Post a Comment