Essential Juniper EX Series Switch Commands: Configuration and Troubleshooting
General Juniper EX Series Switch Commands
Basic Commands
Show MAC Address Table
show ethernet-switching table brief
Show Directly Connected Switches
show lldp neighbors
Configure VLAN
set vlans Floor_Users vlan-id 90 set vlans Floor_Users l3-interface vlan.90 set interfaces vlan unit 90 family inet address 10.10.10.254/24
Assign VLAN to Port
set interfaces unit 0 family ethernet-switching vlan members
Upgrade Juniper EX Series Switch
(May be needed – set system services ftp, when upgrading 8200 need to upgrade
Read MoreDiscrete Mathematics Cheat Sheet: Key Concepts & Formulas
Discrete Mathematics Cheat Sheet
Propositional Logic
Consistent – Set of statements that are all satisfiable and all true for the same set of propositional variables
Satisfiable – Evaluates to true for at least one set of variables
Tautology – All true
Logically Correct Argument – Every situation that makes all premises true, conclusion also true
Contradiction – All false
Proof
Induction – Basis: show P(1), assume P(x) (inductive hypothesis), Inductive: show P(x+1) using P(x)
Direct – Arbitrary entity x
Read MoreEntity Framework Core Tutorial: Getting Started
1. Install Entity Framework
Install-Package Microsoft.EntityFrameworkCore.Sqlite
Install-Package Microsoft.EntityFrameworkCore.Tools –Pre
Tip
In a real application, you would put each class in a separate file and put the connection string in the App.Config
file and read it out using ConfigurationManager
. For the sake of simplicity, we are putting everything in a single code file for this tutorial.
2. Create Your Model
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
namespace
Read More
Essential C++ Programs: From Compound Interest to Structures
COMPOUND INTEREST
#include
#include
#include
int main()
{
float P,R,T,CI;
cout<“enter principal,=”” rate=”” and=”” time=”” :=””>”enter>
cin>>P>>R>>T;
CI=P*pow((1+R/100),T) – P;
cout<“compound interest=”” is=”” :=””>”compound><>
getch();
return 0;
}
FACTORIAL OF A NUMBER
#include
#include
void main()
{
int number,factorial=1;
cout < “enter=”” number=”” to=”” find=”” its=
Read MoreA Comprehensive Guide to Machine Learning: Algorithms, Applications, and Techniques
Need for Machine Learning
Machine learning is capable of performing tasks that are too complex for humans. It is widely used in many industries, including:
- Healthcare
- Finance
- E-commerce
Using machine learning offers several benefits:
- Saves time and money
- Serves as an important tool for data analysis and visualization
Use Cases
- Self-driving cars
- Cyber fraud detection
- Friend suggestions on Facebook
- Facial recognition systems
Advantages of Machine Learning
- Rapid increase in data production
- Solving complex problems
Principles and Styles of Software Architecture
Principles of Architecture
- Abstraction
- Encapsulation
- Separation of Responsibilities
- Coupling and Cohesion
- No Duplication
- Parameterization and Configurability
- Clarity and Simplicity
- Separation of Interface and Implementation
Benefits of Studying Software Architecture
Understanding the details of selected architectures helps determine the best design alternatives.
Impact of Architecture on Software
Software architecture allows us to reason and plan for:
- System Reliability
- Evolution
- Reuse
- Efficiency
- Improved Maintenance
- Etc.