0% found this document useful (0 votes)
49 views4 pages

Master SW Configuration-Edit Hammam

This document contains the configuration of a network switch. It sets the system name and time, configures Ethernet ports and VLANs for management and traffic, sets IP addresses and masks for each VLAN interface, enables NTP, and configures DHCP services including creating dhcpd.conf and dhcpd.pcy files to define the DHCP pool, subnet, and lease times. It restarts and enables the DHCP server, shows assigned IP addresses, and saves the configuration.

Uploaded by

Ali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views4 pages

Master SW Configuration-Edit Hammam

This document contains the configuration of a network switch. It sets the system name and time, configures Ethernet ports and VLANs for management and traffic, sets IP addresses and masks for each VLAN interface, enables NTP, and configures DHCP services including creating dhcpd.conf and dhcpd.pcy files to define the DHCP pool, subnet, and lease times. It restarts and enables the DHCP server, shows assigned IP addresses, and saves the configuration.

Uploaded by

Ali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

User Name: admin

Password : switch

-> show running-directory

-> reload working no rollback-timeout


(if "working" and "certified" not show up after the command "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


(fullduplex/halfduplex )

-> vlan 100 name OAM (management


Vlan)
-> show vlan
-> vlan 400 name AP-TWAG (Tranffic
Vlan)

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


Vlan access to Ethernet port)

-> ip interface VLAN_100 address 10.3.112.x mask 255.255.255.192 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 (tagging for
the vlan)(set trunk Vlan)

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


Vlan)

-> ntp client enable

-> show running-directory (Check


setting saved)

-> show configuration snapshot

-> write memory flash-synchro


(save setting)
-> show interfaces port
(statue of port dawn/up)

-> show interfaces status


(statue of dup)
-> 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 mask 255.255.255.192 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

-> 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