Thursday, 19 March 2026

CISCO CLI Create VLAN, Create DHCP, Create Gateway, Create Encapsulation, Create Trunk and Create Access Part 2

 Configuring Cisco devices involves separate steps on the
switch for VLANs and port modes, and on the router for inter-VLAN routing (encapsulation) and DHCP services. 
Switch Configuration (VLANs, Access, Trunk) 
These commands are executed on the Cisco switch to create VLANs and configure the ports. 

    Enter global configuration mode:
    cisco

    enable
    configure terminal

    Create VLANs:
    cisco

    vlan 10
    name DATA_VLAN
    vlan 20
    name VOICE_VLAN
    exit

    Configure Access Ports (for end devices like PCs/phones):
    cisco

    interface FastEthernet0/1  (or specific interface name)
    switchport mode access
    switchport access vlan 10
    exit

    Configure Trunk Ports (for links to other switches or routers):
    cisco

    interface GigabitEthernet0/1 (or specific interface name)
    switchport mode trunk
    switchport trunk encapsulation dot1q (Needed on some older or multi-layer switches)
    switchport trunk allowed vlan 10,20 (Optional: limits which VLANs are allowed)
    exit

     

Router Configuration (Encapsulation, Gateway, DHCP)
These commands are executed on the router to enable inter-VLAN routing and provide DHCP services. 

    Enter global configuration mode:
    cisco

    enable
    configure terminal

    Configure Encapsulation and Gateway (Router-on-a-stick):
    Create subinterfaces on the router's physical interface (e.g., GigabitEthernet0/0) for each VLAN. Each subinterface will serve as the default gateway for its respective VLAN.
        For VLAN 10:
        cisco

        interface GigabitEthernet0/0.10
        encapsulation dot1Q 10
        ip address 192.168.10.1 255.255.255.0 (This is the **default gateway** for VLAN 10 clients)
        no shutdown
        exit

        For VLAN 20:
        cisco

        interface GigabitEthernet0/0.20
        encapsulation dot1Q 20
        ip address 192.168.20.1 255.255.255.0 (This is the **default gateway** for VLAN 20 clients)
        no shutdown
        exit

    Configure DHCP Server:
    Create a separate DHCP pool for each VLAN's subnet, specifying the default router and DNS server.
        Exclude addresses (optional, but recommended for static IPs like the gateway):
        cisco

        ip dhcp excluded-address 192.168.10.1 192.168.10.5
        ip dhcp excluded-address 192.168.20.1 192.168.20.5

        Create pool for VLAN 10:
        cisco

        ip dhcp pool VLAN10_POOL
        network 192.168.10.0 255.255.255.0
        default-router 192.168.10.1
        dns-server 8.8.8.8 4.4.4.4 (Example public DNS servers)
        exit

        Create pool for VLAN 20:
        cisco

        ip dhcp pool VLAN20_POOL
        network 192.168.20.0 255.255.255.0
        default-router 192.168.20.1
        dns-server 8.8.8.8 4.4.4.4
        exit

    Save the configuration on both devices:
    cisco

    copy running-config startup-config

CISCO CLI Create VLAN, Create DHCP, Create Gateway, Create Encapsulation, Create Trunk and Create Access Part 1

 CISCO cli create VLAN, create DHCP, create gateway Create Encapsulation Create trunk and Create access
To create and configure VLANs, DHCP, gateways, and interface types on a Cisco device, you will use the following CLI commands. These steps assume you are in
Global Configuration Mode (configure terminal). 
1. Create a VLAN
To create a VLAN and assign it a name for easier identification: 
bash

Switch(config)# vlan 10
Switch(config-vlan)# name Sales
Switch(config-vlan)# exit

Use code with caution.

    Verification: Use show vlan brief to see all active VLANs. 

2. Create a Gateway (SVI) 
A Switch Virtual Interface (SVI) acts as the default gateway for devices within that VLAN. 
bash

Switch(config)# interface vlan 10
Switch(config-if)# ip address 192.168.10.1 255.255.255.0
Switch(config-if)# no shutdown
Switch(config-if)# exit

Use code with caution.
3. Create a DHCP Pool 
Configure the switch or router to automatically assign IP addresses to clients in a specific VLAN. 
bash

Switch(config)# ip dhcp excluded-address 192.168.10.1 192.168.10.10
Switch(config)# ip dhcp pool SALES_POOL
Switch(dhcp-config)# network 192.168.10.0 255.255.255.0
Switch(dhcp-config)# default-router 192.168.10.1
Switch(dhcp-config)# dns-server 8.8.8.8
Switch(dhcp-config)# exit

Use code with caution.

    Note: Use ip dhcp excluded-address to reserve IPs for static devices like the gateway. 

4. Create Access and Trunk Ports 
Configure physical interfaces to either connect to an end-device (Access) or another network device (Trunk). 

    Access Port (End-device like a PC):
    bash

    Switch(config)# interface fastEthernet 0/1
    Switch(config-if)# switchport mode access
    Switch(config-if)# switchport access vlan 10

    Use code with caution.
    Trunk Port (Connects to another switch or router):
    bash

    Switch(config)# interface fastEthernet 0/24
    Switch(config-if)# switchport mode trunk
    Switch(config-if)# switchport trunk allowed vlan 10,20

    Use code with caution.
     

5. Create Encapsulation (Router-on-a-Stick) 
On a router, you must define the encapsulation type (usually IEEE 802.1Q) on a sub-interface to route between VLANs. 
bash

Router(config)# interface gigabitEthernet 0/0.10
Router(config-subif)# encapsulation dot1q 10
Router(config-subif)# ip address 192.168.10.1 255.255.255.0

Use code with caution.
Do you need to configure inter-VLAN routing specifically for a Layer 3 switch or a Router-on-a-Stick setup? 

RUIJIE CLI Create VLAN, Create DHCP, Create Gateway, Create Encapsulation, Create Trunk and Create Access

 This guide provides the CLI commands for Ruijie RGOS switches and gateways to create VLANs, DHCP servers, Layer 3 gateways (SVI), encapsulation (802.1Q), and configure trunk/access ports based on standard Ruijie configuration procedures

1. Create VLANs
Create VLAN 10 and VLAN 20. 
cmnd

Ruijie> enable
Ruijie# configure terminal
Ruijie(config)# vlan 10
Ruijie(config-vlan)# name DATA
Ruijie(config-vlan)# exit
Ruijie(config)# vlan 20
Ruijie(config-vlan)# name VOICE
Ruijie(config-vlan)# exit

2. Create Gateway (SVI - Switched Virtual Interface) 
Create the IP address for the VLAN, which serves as the default gateway for client devices. 
cmnd

Ruijie(config)# interface vlan 10
Ruijie(config-if-VLAN 10)# ip address 192.168.10.1 255.255.255.0
Ruijie(config-if-VLAN 10)# no shutdown
Ruijie(config-if-VLAN 10)# exit

3. Create DHCP Server 
Configure the switch to act as a DHCP server for the VLAN. 
cmnd

Ruijie(config)# service dhcp
Ruijie(config)# ip dhcp pool VLAN10_POOL
Ruijie(dhcp-config)# network 192.168.10.0 255.255.255.0
Ruijie(dhcp-config)# default-router 192.168.10.1
Ruijie(dhcp-config)# dns-server 8.8.8.8
Ruijie(dhcp-config)# exit

4. Create Access Port 
Assign a physical port to a specific VLAN. 
cmnd

Ruijie(config)# interface gigabitEthernet 0/1
Ruijie(config-if-GigabitEthernet 0/1)# switchport mode access
Ruijie(config-if-GigabitEthernet 0/1)# switchport access vlan 10
Ruijie(config-if-GigabitEthernet 0/1)# exit

5. Create Trunk Port & Encapsulation 
Configure an uplink port to carry multiple VLANs. Ruijie uses IEEE 802.1Q for encapsulation, which is typically standard. 
cmnd

Ruijie(config)# interface gigabitEthernet 0/24
Ruijie(config-if-GigabitEthernet 0/24)# switchport mode trunk
! Permit only specific VLANs (optional but recommended)
Ruijie(config-if-GigabitEthernet 0/24)# switchport trunk allowed vlan add 10,20
Ruijie(config-if-GigabitEthernet 0/24)# exit

6. Save Configuration
cmnd

Ruijie(config)# exit
Ruijie# write

Key Considerations

    Encapsulation: While Cisco switches often require switchport trunk encapsulation dot1q before switching to trunk mode, Ruijie switches typically default to 802.1Q encapsulation.
    VLAN 1: Do not delete VLAN 1; it is the default management VLAN.
    Gateway Requirement: Ensure you create SVI interfaces on the Core Switch or EG Gateway for traffic to route between VLANs. 

Wednesday, 18 March 2026

Microsoft 365 Admin Exchange Port to Check DNS Record then Go to My Domain Portal to Add the DNS Record

 https://www.youtube.com/watch?v=r3chUhXeALA





These are results for if i purchase microsoft 365 business where to check dns record?

Search instead for if i purcase microsoft 365 business where to check dns record?

AI Overview

To check your DNS records for Microsoft 365 Business, sign in to the Microsoft 365 admin center and navigate to Settings > Domains. Select your domain to view the required TXT, MX, and CNAME records needed for services like email. The records must generally be added at your domain registrar's website. 

Microsoft Learn

Microsoft Learn

 +1

Steps to Check DNS Records in Microsoft 365

Sign in to the Admin Center.

Go to Settings > Domains in the left navigation pane.

Select the domain (e.g., contoso.com) you want to check.

Click DNS records to view the required settings. 

Microsoft Learn

Microsoft Learn

 +1

Where to Manage DNS Records

If you purchased the domain through Microsoft: You can manage DNS records within the Microsoft 365 Admin Center under the Domain settings.

If you purchased through a third party (e.g., GoDaddy, Namecheap): You must log in to that registrar's website to add or edit DNS records.

Troubleshooting: If services are not working, check the DNS status in the admin center, which will list required fixes. 

Microsoft Learn

Microsoft Learn

 +3

Key DNS Record Types to Check

MX Record: Routes email to your inbox.

CNAME Record: Used for Autodiscover (connecting Outlook).

TXT Record: Verifies domain ownership and helps with security (SPF). 

Microsoft Learn

Microsoft Learn

 +4

Monday, 23 February 2026

Easy Active Directory Migration From Windows Server 2012 to Windows Server 2022

 https://www.youtube.com/watch?v=bpJwZNX1MT8

 

 

 

https://www.youtube.com/watch?v=lJOX0GBnen4 

Thursday, 22 January 2026

EATON IPM software Guide

 https://www.eaton.com/au/en-gb/digital/brightlayer/brightlayer-data-centers-suite/disaster-avoidance-software/how-to-download-ipm.html

 

 

 

Friday, 26 December 2025

***How to Remove Windows 11 home Product Key and Add Windows 11 Pro Product key with Command and Restore Back to Windows 11 Home Again

 https://www.youtube.com/watch?v=BAulJJkJCrY&t=447s 

 

 

To remove a Windows 11 Home product key and add a Pro key using the command line, follow these steps in
Command Prompt (Admin):

1. Remove Current Product Key 
Use these commands to uninstall the current key and clear it from the registry: 
  • slmgr /upk — Uninstalls the currently installed product key.
  • slmgr /cpky — Removes the product key from the Windows registry to ensure it is completely cleared. 

2. Add New Windows 11 Pro Key 
You can install your new Pro key directly using the following command:
  • slmgr /ipk <Your-Pro-Product-Key> — Installs the new 25-character product key.
    • Example: slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX 

3. Trigger Activation
After installing the key, force Windows to communicate with Microsoft's servers to activate: 
  • slmgr /ato — Attempts to activate the installed product key online. 

Troubleshooting: Upgrade via Generic Key 
If the Pro key is rejected because the OS is still in "Home" mode, you may need to force the edition upgrade first using a generic Microsoft upgrade key: 
  1. Run changepk.exe /productkey VK7JG-NPHTM-C97JM-9MPGT-3V66T.
  2. Wait for the system to process the upgrade and restart.
  3. Once restarted, use the slmgr /ipk command from Step 2 to enter your purchased Pro key for final activation. 

Note: Always ensure your device has an active internet connection before running the activation (/ato) command. 
These articles explain how to uninstall your current Windows 11 product key and then install and activate a Windows 11 Pro product key using the command line:
 
 
 
 Here is the Command Restore Back to Windows 11 Home 
 
wmic path SoftwareLicensingService get OA3xOriginalProductKey