Code generator for Cisco
First of all, choose the device you are working on.
Choose type of hardware
> Cisco Switch 2960
> Cisco Router 1941
Then choose the modules you want. After that, copy-paste the code from the "Code" column.
Choose moduleHostname Hostname Banner (MOTD) Enable password Enable secret Encrypt all passwords Console password VTY password Disable DNS lookup Enable IPv6 IPv6 link-local address Save Configurations Reload VLAN Shutdown interfaces Interfaces Default gateway Loopback Interface Static routing Default static routing EIGRP OSPF Switchport: Mode Access Switchport: Mode Trunk Switchport: Mode Dynamic Auto/Diserable Spanning-Tree Protocol (STP) Interfaces (STP) Configure SSH ACL GLBP Port security |
Change settingsHostname is: Hostname is: Password is: Encrypted password is: Console password is: VTY password is: Starting from: to: Configure VLANs
Shutdown interfacesStarting from FastEthernet0/ to FastEthernet0/ and from GigabitEthernet0/ to GigabitEthernet0/ Interfaces
IPv6 link-local address: on interface: Default gatewayDefault gateway is: Loopback InterfaceNumber: IP address: Subnet: Static routingIP address: Subnet: Exit interface (ip or name): Default static routingExit interface (ip or name): EIGRPNumber: IP address: Wildcard: OSPFBe sure you first configured an interface!
Switchport Mode AccessStarting from FastEthernet0/ to FastEthernet0/ Access VLAN: (if multiple: manually copy line and change number) Switchport Mode TrunkStarting from FastEthernet0/ to FastEthernet0/ Native VLAN: Allowed VLAN: (if multiple: manually copy line and change number) Switchport Mode DynamicStarting from FastEthernet0/ to FastEthernet0/ Mode: Spanning-Tree Protocol (STP)Interface vlan: Mode: (optional) Root (optional) Priority: Interfaces (STP)
Configure SSHBe sure you first configured a name, passwords (with encryption), a management interface (e.g. interface vlan 99 with IP) and a default-gateway! Domain name: Number of bits: Username: Password: VTY: Starting from: to: ACLIn column 'Address/host/any' you can write an address (e.g. 10.230.1.1) or the words 'host' or 'any'. Standard: Extended:
|
Codeenable configure terminal
|
Not enough options or modules? Copy-paste the code in a texteditor (e.g. Notepad) and add your own code.