You are on page 1of 4

User Name: admin

Password : switch

-> reload working no rollback-timeout

-> show running-directory

------------------------------------
Master and Slave Switch Configuratio
-------------------------------------

-> system name RIYC1W6043_SW2 (site


ID_SW no.)

-> system time 01:43:30 (Set


Current Time)

-> system date 05/08/2019 (set


current date)

-> interfaces 1/1-28 autoneg enable

-> vlan 100 name OAM (management


Vlan)

-> vlan 400 name AP-TWAG (Tranffic


Vlan) - data

-> vlan 400 port default 1/1-24 (Give


Vlan access to Ethernet port) data

-> ip interface VLAN_100 address 10.3.112.x*IP-SW1* mask 255.255.255.192*Subnet


mask* vlan 100 (give management Vlan the IP - Ip is switch IP and
Switch Mask).

-> aaa authentication default local

-> aaa authentication console local

-> aaa authentication ssh local

-> aaa authentication telnet local


-> vlan 100 802.1q 1/25-28 (set trunk
Vlan)

-> vlan 400 802.1q 1/25-28 (set trunk


Vlan)

-> ntp client enable

-> write memory flash-synchro (save


setting)

-> show running-directory (Check


setting saved)

-> show configuration snapshot

-> show interfaces port


-> show interfaces status
-> show vlan
-> show system
-> pwd
-> ls
-> cd working

---------------------------
Master Switch Configuration
------------------------------

-> reload working no rollback-timeout

-> show running-directory

CONFIGURATION STATUS
Running CMM : PRIMARY,
CMM Mode : MONO CMM,
Current CMM Slot : 1,
Running configuration : WORKING,
Certify/Restore Status : CERTIFIED
SYNCHRONIZATION STATUS
Running Configuration : SYNCHRONIZED,

-> ip interface VLAN_400 address 10.3.109.196*Main switch-IP : (direct switch to


MW)* mask 255.255.255.192*Subnet mask* vlan 400 (set data Vlan IP and Mask)
-> (set Management Vlan IP and Mask)

-> pwd (show


current Mode)
/flash

-> cd switch (go to


switch mode)
-> pwd
/flash/switch

-> pwd
/flash/switch

-> ls (show files in


current mode)
pw
Listing Directory /flash/switch:

drw 2048 May 15 02:39 ./


drw 2048 May 15 02:37 ../
-rw 105613 Feb 28 07:05 certs.pem
drw 2048 Dec 31 1999 cloud/
-rw 20 Dec 31 1999 snmp.engine
-rw 0 Feb 28 07:06 pre_banner.txt
-rw 12 Dec 31 1999 last_reboot
-rw 23 Dec 31 1999 dhcpClient.db
-rw 2 Dec 31 1999 stack_topology.txt
-rw 286 May 15 02:41 dhcpd.conf
-rw 76 Dec 31 1999 dhcpd.pcy
-rw 286 May 15 02:41 dhcpd.conf.lastgood
-rw 0 May 15 02:37 dhcpSrv.db

40044544 bytes free

-> vi dhcpd.conf (creat dhcpd.conf


file)

i --> past --> press Esc --> :wq --> enter

-> more dhcpd.conf (show


dhcpd.conf file)

#l parameters
option subnet-mask 255.255.255.192; ---------------> subnet mask
option domain-name-servers 10.3.109.196;-------------> switch IP
subnet 10.3.109.192 netmask 255.255.255.192
{
dynamic-dhcp range 10.3.109.197 10.3.109.254 ----------> pool
{
option routers 10.3.109.193; ------------------------> GW ( router IP )
option vendor-specific [7f040ab7cc01];-------------> fixed
option dhcp-lease-time 20000;----------------------> fixed
}
}

_________________________________________________________________________

-> more dhcpd.pcy (creat


dhcpd.pcy file)
pingDelay = 200
pingAttempts = 3
PingSendDelay = 1000
Defaultlease = 86400

--------------------------------------------

WED MAY 15 02:55:57 : DHCP-SERVER (140) info message:


+++ /flash/switch/dhcpd.conf processed with 1 subnets

-> dhcp-server restart (restart


dhcp server)

-> dhcp-server enable (enable dhcp


server)

->show dhcp-server leases (show AP IP


distriputed by dhcp server)

-> show lanpower 1


> lanpower stop 1
> lanpower start 1

> show lanpower

-> write memory flash-synchro (save


configuration setting)

-> show running-directory

-> show configuration snapshot

-> show interfaces port


-> show vlan
-> show system

--------------------------------------------

END

You might also like