title: FS FSOS Switches
breadcrumbs:
- title: Configuration
- title: Network
---
{% include header.md %}
Using
{:.no_toc}
Info
- Default credentials: Username
admin
and password admin
.
- Default mgmt. IP address:
192.168.1.1/24
- By default, SSH, Telnet and HTTP servers are accessible using the default mgmt. address and credentials.
- The default VLAN is VLAN1.
Initial Setup
- Connect to the switch using serial.
- Using RS-232 w/ RJ45, baud 115200, 8 data bits, no parity bits, 1 stop bit, no flow control.
- Use
Ctrl+H
for backspace.
- Login with username
admin
and password admin
.
- Enter exec mode:
enable
- (Optional) Show version:
show version
- See the note below on how to upgrade it.
- Enable password services:
- Enable prompting for password after command:
service password-hidden
- Enable automatic hashing of passwords (using some weak alg.):
service password-encryption
- Add user:
username <username> password 0 <password>
- Disable admin user:
no username admin
- (Optional) Setup authentication (defaults to local):
- Disable enable authn:
aaa authentication enable default none
- Enable login authn using local users:
aaa authentication login default local
- Disable HTTP server:
no ip http server
no ip http language
- Enable SSH and disable Telnet:
- Enable SSH server (enabled by default):
ip sshd enable
- Set SSH version:
ip sshd version 2
- Disable SSH RC4 cipher:
ip sshd disable-rc4
- Save the current key pair to flash to avoid regenerating it:
ip sshd save
- (Optional) Enable SFTP:
ip sshd sftp
- Disable Telnet:
no ip telnet enable
- Disable unused interfaces:
- Enter physical interface range (e.g.
int range g0/25-28
).
- Disable them:
shutdown
- Setup physical interface (applies motsly to other interfaces too):
- Set description:
description <description>
- Enable or disable:
[no] shutdown
- Setup LAGs:
- Enter port agg. interface:
interface port-aggregator <n>
- Set load balancing/hashing method:
aggregator-group load-balance both-ip
- Change LACP timeout to fast (1s) or slow (30s):
agg-period <seconds>
- Enter a physical interface range.
- Set agg. group and mode:
aggregator-group <n> mode lacp
- Show LACP status:
show aggregator-group brief
- Setup VLANs:
- Define VLAN:
vlan <VID>
- Enter VLAN interface:
interface VLAN<VID>
- TODO Member interfaces etc.
- Setup L3 interface:
- Enter the interface (physical, VLAN, etc.).
- Set the IPv4 address:
ip address <address> <subnet>
- Set the IPv6 address:
ipv6 address <address>/<prefix-length>
- Explicitly enable IPv6:
ipv6 enable
- Disable directed broadcasts:
no ip directed-broadcast
- TODO Test IPv6.
- Disable default VLAN:
- Enter VLAN:
int VLAN1
- Disable it:
shutdown
- TODO Needs testing.
- Set hostname: TODO
- Set mgmt. addresses: TODO
- Set default and static routes: TODO
- Set DNS servers: TODO
- Set time and NTP servers: TODO
- (Optional) Add MOTD:
greeting <text-line>
(for each line, no quotes required)
- Enable LLDP:
lldp run
- Enable SNMP:
- Enable RO for
public
community: snmp-server community 0 public ro
- TODO Filter slow OIDs.
- Setup STP (802.1W/RSTP): TODO
- Enable flow control:
- Enter a physical interface range.
- Enable auto mode:
flow-control auto
- Enable storm control:
- Enter an interface range.
- Enable for broadcast:
storm-control broadcast threashold <n>
(units of 64kb/s)
- Enable for unknown-destination unicast:
storm-control unicast threashold <n>
(units of 64kb/s)
- (Optional) Enable for multicast:
storm-control multicast threashold <n>
(units of 64kb/s)
- TODO Test.
- Enable port security:
- Enter an interface range.
- Enable dynamic mode:
switchport port-security mode dynamic
- Enable maximum addresses:
switchport port-security dynamic maximum <1>
- TODO Test timeout etc.
- Setup IGMP and MLD snooping: TODO
- Setup security mechanisms (DHCP snooping, IPSG, DAI, IPv6 stuff, etc.): TODO
- (Optional) Setup RADIUS: TODO
- (Optional) Setup TACACS+:
- Enable and set server:
tacacs-server host <server> key 0 <key-or-prompt>
- Set login authn to use TACACS+ and fallback to local:
aaa authentication login default group tacacs+ local
- TODO Set authz too?
- TODO Add accounting too?
- TODO Test.
- Set terminal idle timer:
- Enter console line:
line console 0
- Set timeout:
exec-timeout <seconds>
- Enter VTY lines:
line vty 0 31
- Set timeout (again).
- Save the config:
write all
Commands
- Configuration:
- Show startup config:
show configuration
- Show running config:
show running-config
- Show interface config:
show {conf | run} <interface>
- Save configuration:
write all
- Format system:
format
(TODO: Does it keep the software image?)
- Interfaces:
- Show L2 brief:
show int brief
- Show L3 brief:
show ip int brief
- LACP:
- Show semi-detailed overview:
show aggregator-group [n] brief
- Show member ports:
show aggregator-group [n] summary
- Reboot:
reboot
Configuration Mode
- Enter interface range:
interface range <type><slot>/<port-range>[,<port-range>]*
(e.g. interface range g0/1-3,5
)
Tasks
Configure With ZTP
TODO
Upgrade Firmware
Via Web Panel
- Log into the Web panel.
- Go to "System Mgr.", "System Software".
- Select the software image (
FS-something.bin
) and check automatic reboot.
- Start the upgrade and do not leave the webpage until it tells you to.
- Verify.
Via CLI
- Put the image file on a TFTP server.
- Download it to the switch:
copy tftp:<file> flash:<file> <host>
- Make sure it has a descriptive name like
S3700-24T4F_V63289.bin
.
- Set to boot the new image (conf mode):
boot system flash <file>
- Reboot:
reboot
- Verify:
show version
{% include footer.md %}