Cisco Switches

Hostname:

HOSTNAME (NAME)

Connection banner:

BANNER MOTD #BANNER#

Login banner:

BANNER LOGIN #BANNER#

Vlan 1:

INT VLAN 1
IP ADDRESS (IP ADDRESS) (SUBNET MASK)
NO SHUT
EXIT

Default gateway:

IP DEFAULT-GATEWAY (DEFAULT GATEWAY IP)

Inlog timeout:

LOGIN BLOCK-FOR (TIMEOUT IN SEC.) ATTEMPTS (AANTAL POGINGEN) WITHIN (AANTAL SECONDEN)

Router ENCRYPTED password:

SERVICE PASSWORD-ENCRYPTION
ENABLE SECRET (PASSWORD)

Console password:

LINE CON 0
EXEC-TIMEOUT (MIN.) (SEC.)
PASSWORD (WACHTWOORD)
LOGIN
END

SSH / Telnet password:

LINE VTY 0 14
EXEC-TIMEOUT (MIN.) (SEC.)
PASSWORD (WACHTWOORD)
LOGIN
LOGGING SYNCHRONOUS
END

ACL:

IP ACCESS-LIST STANDARD (NAME)
PERMIT (ALLOWED IP-RANGE)
EXIT

LINE VTY 0 14 
ACCESS-CLASS (NAME) IN/OUT

Create VLAN:

INT VLAN (VLAN NR.)
DESC (VLAN DESCRIPTION)
EXIT

Add VLAN to interface:

INT RANGE (BEGIN INTERFACE) (END INTERFACE)
SWITCHPORT MODE ACCESS
SWITCHPORT ACCESS VLAN (VLAN NR.)
EXIT

INT (INT NR.)
SWITCHPORT MODE ACCESS
SWITCHPORT ACCESS VLAN (VLAN NR.)
EXIT

Add trunk:

INT (INTERFACE CONNECTED TO ROUTER OR SWITCH)
SWITCHPORT MODE TRUNK