Monday, October 9, 2023

Turn off pop notifications in chrome browser from major news outlets

 On Chrome browser, go to settings

select privacy and security

select site settings

select Java Script


Select Don't allow sites to use Javascript



This change will affect other sites to send notifications, if you want notifications, you may need revert the change


Tuesday, March 14, 2023

Fix Cisco ASA ASDM Client for Windows 11 and Windows 10 H2 build error "this APP can't run on your PC"

 

When you install ASDM client on your new  laptop running Windows 10 or  Windows 11, you will get the following error

message

"this APP can't run on your PC"

To run the ASDM client on your laptop, please follow the following steps

uninstall any old versions of JRE

Download and install the 64bit version of JRE from Oracle

Install the ASDM client using DM-launcher.msi file

once the installation is completed, you will get the error message that you cannot run on this PC

from Windows start, find the file location of ASDM

Windows opens the file location, identify the target

target will be a long file name with invisible.vbs.run.bat

replace the target with

C:\Windows\System32\wscript.exe invisible.vbs run.bat

click apply 

now you will be able to launch ASDM, if the ASA is running newer code, you need to download the latest ASDM client from ASA.



Sunday, April 3, 2022

AWS CLI CHEAT SHEET

 


 aws --version

 

 aws configure


aws configure --profile "testfile"


aws configure output format jason


Specify your AWS Region


aws configure region "name"

 AWS  RUN Command

Create EC2 instance

ws ec2 run-instances \


    --image-id ami-name \


    --instance-type t2.micro \


    --key-name MyKeyPair

--security-group-ids sg-007e43f80a1958f29 \

--subnet-id subnet-name \

 

aws s3 ls --profile "name"

CloudFront

List CloudFront distributions and origins


aws cloudfront list-distributions 


CloudWatch

List information about an alarm

aws cloudwatch describe-alarms 


aws cloudwatch delete-alarms --alarm-names "name"

DynamoDB

List DynamoDB tables


aws dynamodb list-tables 

aws dynamodb scan --table-name events

aws dynamodb scan --table-name events --select 

aws ebs complete-snapshot "ID"

Start a Snapshot

aws ebs start-snapshot --volume-size 100G



List VPCs and CIDR IP Bloc

aws ec2 describe-vpcs | jq -r '.Vpcs[]|.VpcId+" "+(.Tags[]|select(.Key=="Name").Value)+" "+.CidrBlock'


List Subnets for a VPC


aws ec2 describe-subnets --filter Name=vpc-id,Values=vpc-0d1c1cf4e980ac593 | jq -r '.Subnets[]|.SubnetId+" "+.CidrBlock+" "+(.Tags[]|select(.Key=="Name").Value)'


List Security Groups

aws ec2 describe-security-groups | jq -r '.SecurityGroups[]|.GroupId+" "+.GroupName'


Edit Security Groups of an Instance


aws ec2 modify-instance-attribute --instance-id i-0dae5d4daa47fe4a2 --groups ID


Add Rule to Security Group

aws ec2 authorize-security-group-ingress --group-id "name" --protocol tcp --port 443 --cidr 10.0.0.1

Delete Rule from Security Group

aws ec2 revoke-security-group-ingress --group-id name --protocol tcp --port 443 --cidr 10.0.0.1

Edit Rules of Security Group

aws ec2 update-security-group-rule-descriptions-ingress --group-id sg-02a63c67684d8deed --ip-permissions 'ToPort=443,IpProtocol=tcp,IpRanges=[{CidrIp=102.171.186.133/32,Description=name}]'

 

Delete Security Group


aws ec2 delete-security-group --group-id name


aws ecs create-cluster --cluster-name=NAME --generate-cli-skeleton


Create an ECS service


aws ecs create-service

 

EKS

Create a cluster


aws eks create-cluster --name 


Delete a cluster

aws eks delete-cluster --name 



aws eks tag-resource --resource-arn  --tags name

 

Untag a resource


aws eks untag-resource --resource-arn (resource_ARN) --tag-keys name

 



aws iam list-groups | jq -r .Groups[ ].GroupName

 


Add/Delete groups


aws iam create-group --group-name (groupName)

 

Add policy to a group


aws iam attach-group-policy --group-name (groupname) --policy-arn arn:aws:iam::aws:policy/name

 

Add user to a group


aws iam add-user-to-group --group-name (groupname) --user-name (username)

 

Remove user from a group


aws iam remove-user-from-group --group-name (groupname) --user-name (username)

 


List users in a group


aws iam get-group --group-name (groupname)

 

List groups for a user


aws iam list-groups-for-user --user-name (username)

 


Attach/detach policy to a group


aws iam attach-group-policy --group-name (groupname) --policy-arn arn:aws:iam::aws:policy/DynamoDBFullAccess

aws iam detach-group-policy --group-name (groupname) --policy-arn arn:aws:iam::aws:policy/DynamoDBFullAccess

 

 

IAM User

List userId and UserName


aws iam list-users | jq -r ‘.Users[ ]|.UserId+” “+.UserName’

 


Get single user


aws iam get-user --user-name 

 


Add user


aws iam create-user --user-name 

 


Delete user


aws iam delete-user --user-name (username)


 

Route53

Create hosted zone


aws route53 create-hosted-zone --name xxx.com


Delete hosted zone


aws route53 delete-hosted-zone --id 

 

Get hosted zone


aws route53 get-hosted-zone --id 


List hosted zones


aws route53 list-hosted-zones

 

Create a record set


To do this you’ll first need to create a JSON file with a list of change items in the body and use the CREATE action. For example the JSON file would look like this.


{

     "Comment": "CREATE/DELETE/UPSERT a record",

     "Changes": [{

     "Action": "CREATE",

          "ResourceRecordSet":{

               "Name": "a.example.com",

               "Type": "A",

               "TTL": 300,

          "ResourceRecords":[{"Value":"1.4.4.4"}]

}}]

}


Update a record set


To do this you’ll first need to create a JSON file with a list of change items in the body and use the UPSERT action. This will either create a new record set with the specified value, or updates a record set if it already exists. For example the JSON file would look like this.


{

     "Comment": "CREATE/DELETE/UPSERT a record",

     "Changes": [{

     "Action": "UPSERT",

          "ResourceRecordSet":{

               "Name": "a.example.com",

               "Type": "A",

               "TTL": 300,

          "ResourceRecords": [{"Value":"1.1.1.1"}]

}}]

}

Once you have a JSON file with the correct information like above you will be able to enter the command


aws route53 change-resource-record-sets --hosted-zone-id (zone-id) --change-batch file://exampleabove.json

 

Delete a record set


To do this you’ll first need to create a JSON file with a list of the record set values you want to delete in the body and use the DELETE action. For example the JSON file would look like this.


{

     "Comment": "CREATE/DELETE/UPSERT a record",

     "Changes": [{

     "Action": "DELETE",

          "ResourceRecordSet": {

               "Name": "a.example.com",

               "Type": "A",

               "TTL": 300,

          "ResourceRecords": [{"Value":"1.1.1.1"}]

}}]


aws route53 change-resource-record-sets --hosted-zone-id (zone-id) --change-batch file://example.json

 

S3

List Buckets


aws s3 ls

aws s3 mb s3://bucket-name

make_bucket: bucket-name

 

Delete Bucket


aws s3 rb s3://bucket-name --force

 

Download S3 object to local


aws s3 cp s3://bucket-name

download: ./backup.tar from s3://bucket-name/backup.tar 


Upload local file as S3 object


aws s3 cp backup.tar s3://bucket-name

upload: ./backup.tar to s3://bucket-name/backup.tar


Delete S3 object


aws s3 rm s3://bucket-name/file.gz .

delete: s3://bucket-name/file.gz


Download bucket to local


aws s3 sync s3://bucket-name/ /media/pasport-ultra/backup

 

Upload local directory to bucket


aws s3 sync (directory) s3://bucket-name/

 

Share S3 object without public access


aws s3 presign s3://bucket-name/file-name --expires-in (time value)

https://bucket-name.s3.amazonaws.com/file-name.pdf?AWSAccessKeyId=(key)&Expires=(value)&Signature=(value)

 

 

Sunday, September 19, 2021

kmode exception not handled Windows 10 BSOD

 kmode exception not handled   Windows 10 BSOD

When you do a windows update, sometimes you may be hit with kmode exception blue screen error code. This error code appears mostly in windows 10 devices. Before you make any changes

1. backup the data to an external hard drive

2. type memory diagnostics on the search bar

3. You may get the following screen


4. click restart now and check for programs

The machine will reboot and start the diagnostics and follow the prompts.

Most of the time, errors will disappear.

If the error still exists, update the BIOS, drivers or if It is a Dell laptop, run the Dell utility for updates.

Once the updates are done, reboot the laptop

Wednesday, February 10, 2021

Cisco ise 2.7 Cisco switch Tacacs configuration

 Cisco switches Tacacs configuration



tacacs-server host ip.addr timeout 4 key 0 cisco123 single-connection

tacacs-server host ip.addr timeout 4 key 0 cisco123 single-connection

tacacs-server retransmit tries

!

aaa new-model

aaa authentication login default group (name) tacacs+ local

aaa authentication enable default group tacacs+ enable

aaa authorization exec default group tacacs+ local if-authenticated

aaa authorization commands 1 default group tacacs+ if-authenticated

aaa authorization commands 15 default group tacacs+ if-authenticated

aaa accounting exec default start-stop group tacacs+

aaa accounting commands 1 default start-stop group tacacs+

aaa accounting commands 15 default start-stop group tacacs+

!

ip tacacs source-interface vrf management0

Saturday, February 6, 2021

ISE 2.7 TACACS CONFIGURATION

  ISE TACACS Configuration Template:


Layer-3 and Layer-2 switches: -

Define TACACS SERVER: -

aaa group server tacacs+ ISE-GROUP(NAME)

 

 server-private <primary ISE server  NODE IP > key <plain key>

 server-private <secondary ISE Server NODE IP > key <plain key>

 

 

AAA Login Commands: -

aaa new-model

aaa authentication login ISEauth group ISE-GROUP(NAME) local

 

aaa authorization exec ISEauth group ISE-GROUP local if-authenticated

 

line vty 0 15

 login authentication ISEauth

 authorization exec ISEauth

 

 

AAA Command Authorization Config: -

you can monitor and restrict the commands that have been issued in the Switch.

aaa authorization commands 1 default group ISE-GROUP local if-authenticated

aaa authorization commands 15 default group ISE-GROUP local if-authenticated

aaa authorization config-commands

Login Accounting Logs sent to ISE server: -

"Exec accounting” will capture details about user accessing the shell prompt where you run all the commands & “command accounting” keep track of what commands users execute on a Cisco device.

aaa accounting exec default start-stop group ISE-GROUP(NAME)

aaa accounting commands 1 default start-stop group ISE-GROUP

aaa accounting commands 15 default start-stop group ISE-GROUP



 

 

 

 

ASA Firewall Configuration: -

Define TACACS SERVER: -

·        max-failed-attempts: -  The default value is three.

·        reactivation-mode: -There are two different AAA server reactivation modes in ASA:

timed mode and depletion mode. 

                                                           

aaa-server TACACS protocol tacacs+

 aaa-server TACACS+ max-failed-attempts 3

 reactivation-mode timed

aaa-server TACACS (inside) host <primary ISE server NODE IP>

 timeout 5

 key *****

aaa-server TACACS (inside) host <secondary ISE server NODE IP>

 timeout 5

 key *****

AAA Login Commands: -

aaa authentication http console TACACS LOCAL

aaa authentication ssh console TACACS LOCAL

aaa authentication enable console TACACS LOCAL

aaa authentication telnet console TACACS LOCAL

aaa authentication serial console TACACS LOCAL

aaa authorization exec authentication-server

 

 

 

 

AAA Command Authorization Config: -

 you can monitor and restrict the commands that have been issued in the ASA.

aaa authorization command TACACS LOCAL

Login Accounting Logs sent to ISE server: -

aaa accounting telnet console TACACS

aaa accounting ssh console TACACS

aaa accounting command privilege 15 TACACS

 




CISCO ISE 2.7 CHEAT SHEET

 

Cisco ISE 2.7  HANDY COMMANDS


ISE COMMANDS

sh app stat ise    >> ISE services STATUS

 

ISE PROCESS NAME                       STATE            PROCESS ID 

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

Database Listener                      running          3424       

Database Server                        running          77 PROCESSES

Application Server                     running          31299      

Profiler Database                      running          4867       

ISE Indexing Engine                    running          799        

Backup database

 

 

To stop ISE services

application stop ise

application start ise

 

 

admin# application stop ise

 

Stopping ISE Monitoring & Troubleshooting Log Collector...

Stopping ISE Monitoring & Troubleshooting Log Processor...

 

Start ise

admin# application start ise

 

 

 

show run   >>> running config

 

 

Repository

repository name

  url sftp://ip address /home/directory name

 

de1-poda/admin# configure terminal

 

Enter configuration commands, one per line.  End with CNTL/Z.

 

node1-poda/admin(config)# repository name

 

node1-poda/admin(config-Repository)# url ftp://ip.addr/  or sftp

 

node1-poda/admin(config-Repository)# user name password plain password

 

node1-poda/admin(config-Repository)# exit

 

node1-poda/admin(config)# exit

 

 

backup name repository  name  ise-config encryption-key plain Password

 

show repository  name

 

 

Logs

admin# sh logging application appserver/catalina.out tail

admin# sh logging application replication.log tail

 

admin# sh logging

ADEOS Platform log:

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

 

2019-11-19T00:45:01.846708-06:00 dfd-cscise01 logger: List of new hosts: 172.23.

1.30 172.21.1.85 172.22.1.30 172.16.203.30 172.16.50.50

2019-11-19T00:45:01.863927-06:00 dfd-cscise01 logger: host is 172.16.50.50

2019-11-19T00:45:01.866095-06:00 dfd-cscise01 logger: Rule exists for 172.16.50.

50 already

 

 


Monday, August 10, 2020

Linux Cent OS Network Handy commands

 

Linux Cent OS Network Handy commands


tcp connection details:

sof -i

COMMAND   PID     USER   FD   TYPE    DEVICE SIZE/OFF NODE NAME

ssh     15465 shgeorge    3r  IPv4 628118962      0t0  TCP 172.21.1.100:42329->sdc-f5-dmz-ltm-01-ve.aim.local:ssh (ESTABLISHED)

lsof -i :ssh

COMMAND   PID     USER   FD   TYPE    DEVICE SIZE/OFF NODE NAME

ssh     15465 shgeorge    3r  IPv4 628118962      0t0  TCP 172.21.1.100:42329->sdc-f5-dmz-ltm-01-ve.aim.local:ssh (ESTABLISHED)


 netstat -an | grep LISTEN

tcp        0      0 192.168.100.1:53            0.0.0.0:*                   LISTEN      

tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN      

tcp        0      0 0.0.0.0:58811               0.0.0.0:*                   LISTEN      

tcp        0      0 127.0.0.1:199               0.0.0.0:*                   LISTEN      

tcp        0      0 127.0.0.1:5900              0.0.0.0:*                   LISTEN      

tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   LISTEN      

tcp        0      0 :::22                       :::*                        LISTEN      

tcp        0      0 :::111                      :::*                        LISTEN      

tcp        0      0 :::58992                    :::*                        LISTEN      

unix  2      [ ACC ]     STREAM     LISTENING     17044  /var/lib/libvirt/qemu/sdc-securid-vm.deerfield.aim.local.monitor

unix  2      [ ACC ]     STREAM     LISTENING     221367479 /var/run/salt/minion/minion_event_942f3619a7_pull.ipc

unix  2      [ ACC ]     STREAM     LISTENING     14014  /var/run/rpcbind.sock


biggest top 10 directories

du -hs */ | sort -nr | head


biggest file

ls -lS | head


 ls -lS | head


Linux Firewall

eg. permit udp/69

iptables -D INPUT -p udp –dport 69 -j ACCEPT


# Allows connections to SSH/SFTP/SCP

-A INPUT -j ACCEPT -p tcp --dport 22

# Allow ping 

-A INPUT -p icmp -j ACCEPT


openssl

open key file 

openssl req -nodes -newkey rsa:2048 -keyout myserver.key -out server.csr



search a file *.xml


find . -name *.xml

  find files bigger than 10,000 bytes


find . -size +10000c -size -50000c -print

 

 Top 10 directories

biggest top 10 directories

du -hs */ | sort -nr | head


Server Performance Using vmstat Command

vmstat -a

ZIP  a file


gzip -ztf archive.tar.gz


unzip tar file

tar:

tar -tf archive.tar

Saturday, August 8, 2020

Vue Prometric online exam Tips

 

Pearson Vue Prometric online exam:

I tried to take one of the online exam offers by Vue Prometric

During the sign-in process using my Windows 10 laptop, it failed

When I tried to download the Vue software file OnVue-3.25.24.exe, anti-virus software made it an unsafe file and could not run the .exe file. I had to switch it to Macbook pro and able to run the file. Please do the following to run the file

Windows 10:

Turn off the anti-virus software, instead of click download, open the download link in another tab.

Install the .exe file

MacBook Pro

Unzip and install the file, give allow permission to run

During the Mic test, speak loudly to pass.

Also; turn on facetime, otherwise webcam won’t pass.

I had to wait 30 minutes to get the online proctor even though Vue screen says 15 Minutes.

Tuesday, August 4, 2020

PALO ALTO Firewall Handy Commands PAN-OS 9.1

show routing route   >> route

ping source 203.0.11.1 host 8.8.8.8  > ping a host

show system statistics application

show log system subtype equal HA    > HA
show log system subtype equal HA




Time                Severity Subtype Object EventID ID Description
===============================================================================
2016/07/01 00:24:55 info     ha             ha1-lin 0  HA1 link up
2016/07/01 00:25:12 info     ha             state-c 0  HA Group 1: Moved from state Initial to state Active-P

show system disk-space

show running resource-monitor

show system resource followsho 
show log [ system | traffic | threat ] direction equal backward –   >> log

show log system direction equal backward 

show log system severity equal critical

show log system subtype equal LACP start-time equal 2019/05/13@18:20:00   > specific date and time


show system info –provides the system’s management IP, serial number and code version
show system statistics – shows the real-time throughput on the device
show system software status – shows whether various system processes are running
show jobs processed – used to see when commits, downloads, upgrades, etc. are completed
show system disk--space-- show percent usage of disk partitions
show system logdb--quota – shows the maximum log file sizes
debug dataplane internal vif link – show management interface (eth0) counters
show system resources -- shows processes running in the management plane similar to “top” command
show running resource--monitor – used to see the resource utilization in the data plane, such as dataplane CPU utilization

NAT
show running nat--policy-- shows current NAT policy table
show running ippool-- use to see if NAT pool leak
test nat--policy--match – simulate traffic going through the device, what NAT policy will it match?

Routing
show routing route – displays the routing table
test routing fib--lookup virtual--router <VR_name> ip <IP_addr_trying_reach> -- finds which route in the routing table will be used to reach the IP address that you are testing

Policies
show running security--policy – shows the current policy set
test security--policy--match from trust to untrust destination <IP>-- simulate a packet going through the system, which policy will it match?


URL
test url <url or IP> – used to test the categorization of a URL on the FW

Agent
show pan--agent user--IDs -- used to see if the FW has pulled groups from the PANAgent
show user ip--user--mapping – used to see IP to username mappings on the FW
clear user--cache all – clears the user--ID cache

show user user-id-agent statistics
show user group name "AD\name-of-the-group"

LOG

show log [ system | traffic | threat ] direction equal backward – will take you to the end of the specified log
show log [ system | traffic | threat ] direction equal forward – will take you to beginning of the specified log

Update / Downgrade

request content upgrade install file <filename>
request content downgrade install previous –downgrade to the previous content version

License

request license info – shows the license installed on the device

IPSec
To view detailed debug information for IPSec tunneling:
          1. debug ike global on debug
          2. less mp--log ikemgr.log


TCPDUMP
tcpdump filter “src net <ip/netmask>”
tcpdump snaplen 1500 filter “src net <ip/netmask>”

view-pcap filename.pcap


VPN

show vpn flow Shows encap/decap counters
show vpn gateway Shows list of IKE gateway configurations.
show vpn ike-sa Shows IKE Phase 1 SA
show vpn ipsec-sa Shows IPSEC Phase 2 SA.
show vpn tunnel Shows list of auto-key IPSec tunnel configurations.
show log system subtype equal vpn direction equal backward
clear vpn ike-sa gateway <value>
clear vpn ipsec-sa tunnel <value>
test vpn ike-sa gateway <value>
test vpn ipsec-sa tunnel <value


System details

show system info                   //shows the uptime of the device
show system environmentals         //e.g. power supply failures
show ntp
show session info                  //packet rate, number of sessions, fastpath active, etc.
show session id <id>
show interface { all | <interface-name> }
show routing route                 //routing table (all routes)
show routing fib                   //forwarding table (only used routes)
show routing protocol <protocol> ...
show arp { all | <interface-name> }
show neighbor interface { all | <interface-name> }   //IPv6 neighbor cache
show mac all                       //only with layer 2 interfaces
show jobs all
show jobs id <id>
show running resource-monitor      //resource statistics
show system resource follow        //="top", CPU usage and processes
show system disk-space             //="df -h"
debug software restart <service>   //Restart a certain process
request restart system             //Reboot the whole device


HA

show high-availability all
show high-availability state
show high-availability link-monitoring
show high-availability path-monitoring
show high-availability control-link statistics
show high-availability state-synchronization
request high-availability state suspend
request high-availability state functional
request high-availability state peer suspend
request high-availability state peer functional

SCP


scp export log system to username@host://ip address of the server/home/username/filename
scp import software from username@host://ip address of the server/home/username/file name




Friday, March 31, 2017

ISR 4300 series router- copper gig Interface Freezes during Reboot

ISR 4300 router series copper gig interface port where Switch stack is connected become inactive when both router and Cisco switch stack are rebooted at the same time. This behavior does not happen all the time but occasionally. This problem happens in remote branches where the router and switches are not protected by a good UPS. The router does not generate any error codes and Cisco TAC may not be able to find the cause. Assume the LAN switch stack is connected to router interface Gi0/0/2.


To resolve this issue, please do the following as workaround

Conf t
int gi 0/0/2
Shut
no nego auto
no shut
Exit
int gi 0/0/2
Shut
nego auto
No shut
Exit
If the interface does not come UP, save the router config and reload the router.

Monday, March 20, 2017

EM script Dual ISP

track 130 interface GigabitEthernet0/0/0 line-protocol

interface GigabitEthernet0/0/0
description Isp1

ip route 0.0.0.0 0.0.0.0 10.10.10.1 name isp1
ip route 0.0.0.0 0.0.0.0 148.20.20.2 250 name isp2

event manager session cli username "xxxxxxxxx"
event manager applet  ISP-down
 event track 130 state down
 action 1.2 cli command "en"
 action 1.3 cli command "xxxxxxxx"
 action 1.5 cli command "conf t"
 action 1.6 cli command "no ip route 0.0.0.0 0.0.0.0 10.10.10.1 name ISP1"
 action 1.7 cli command "ip route 0.0.0.0 0.0.0.0 148.20.20.2 name ISP2"
 action 2.0 cli command "exit"
 action 2.5 syslog msg "Moved the traffic to ISP2"
event manager applet CTL-up
 event track 130 state up
 action 1.2 cli command "en"
 action 1.3 cli command "xxxxx"
 action 1.5 cli command "conf t"
 action 1.6 cli command "ip route 0.0.0.0 0.0.0.0 148.20.20.2 250 name ISP1"
 action 1.7 cli command "ip route 0.0.0.0 0.0.0.0 10.10.10.1 name ISP1"
 action 2.0 cli command "exit"
 action 2.5 syslog msg "Moved the traffic to ISP1"
!
end

Thursday, April 30, 2015

f5 tmos commands

Log in to the Traffic Management Shell (tmsh) by entering the following command:
Tmsh
delete a partition

 To delete the VLAN named vlan-rd1234 that belongs to administrative partition named ResourceA, type the following command:
delete /net vlan /ResourceA/vlan-rd1234
Delete the affected route domain, using the following command syntax:
delete /net route-domain //

For example, to delete the affected route domain named rd1234 that belongs to administrative partition named ResourceA, type the following command:
delete /net route-domain /ResourceA/rd1234

Save the configuration using the following command:
save /sys config
Create a partition
create /auth

For example, to create a new administrative partition named ResourceA, type the following command:

create /auth partition ResourceA
Change tmsh path to the desired administrative partition, using the following command syntax:

cd /

For example, to change to the tmsh path to administrative partition named ResourceA, type the following command:

cd /ResourceA
Under the desired administrative partition created in Step 3, create the required VLAN, using the following command syntax:

create /net vlan interfaces add { } tag

For example, to create the VLAN named vlan-rd1234 with network interface 1.1 and tag it with a VLAN ID 1234, type the following command:

create /net vlan vlan-rd1234 interfaces add { 1.1 } tag 1234
Create the required route-domain and add the VLAN created in Step 4, using the following command syntax:

create /net route-domain { id vlans add { } }

For example, to create the route-domain named rd1234 with ID value 1234 and add the VLAN vlan-rd1234 as a member to the route-domain, type the following command:

create /net route-domain rd1234 { id 1234 vlans add { vlan-rd1234 } }
Set the route domain created in Step 5 as the Partition Default Route Domain, using the following command syntax:

modify /auth partition default-route-domain

For example, to set the partition named ResourceA to use route domain ID 1234 as the partition default route domain, type the following command:

modify /auth partition ResourceA default-route-domain 1234
Create the desired self IP address with the VLAN create in Step 4, using the following command syntax:

create /net self / vlan

For example, to create a self IP address of 10.0.0.100 with netmask 255.255.255.0 with the VLAN vlan-rd1234, type the following command:

create /net self 10.0.0.100/255.255.255.0 vlan vlan-rd1234
Continue to create any additional required self IP addresses.
Save the configuration, using the following command:

save /sys config

Change to the top-level administrative partition using the following command:
cd /
List the self IP address that is currently configured in the BIG-IP system, by typing the following command:
list /net self recursive
Create  VLAN
To create a VLAN on an untagged interface, use the following command syntax:

create net vlan interfaces add { }

For example:

create net vlan test-vlan interfaces add { 1.1 }
Save the change by typing the following command:

save /sys config
You can view the BIG-IP systems VLAN configuration by typing the following command:

show net vlan
Modifying the untagged interface associated with an existing VLAN

Impact of procedure: The impact of this procedure depends on the specific environment. F5 recommends testing any changes during a maintenance window, with consideration to the possible impact on your specific environment.

Log in to the Traffic Management Shell (tmsh) by typing the following command:

tmsh
To modify the untagged interface for a VLAN, use the following command syntax:

modify net vlan interfaces replace-all-with { }

For example:

modify net vlan test-vlan interfaces replace-all-with { 1.3 }
Save the change by typing the following command:

save /sys config
You can view the BIG-IP systems VLAN configuration by typing the following command:

show net vlan
Creating a VLAN with a tagged interface

Impact of procedure: The impact of this procedure depends on the specific environment. F5 recommends testing any changes during a maintenance window, with consideration to the possible impact on your specific environment.
Log in to the Traffic Management Shell (tmsh) by typing the following command:
tmsh
To create a VLAN with a tagged interface, use the following command syntax:
create net vlan interfaces add { { tagged }} tag
For example:
create net vlan test-vlan interfaces add { 1.1 { tagged }} tag 4093
Save the change by typing the following command:
save /sys config
You can view the BIG-IP systems VLAN configuration by typing the following command:
show net vlan
Modifying a VLAN to be associated with another tagged interface

Impact of procedure: The impact of this procedure depends on the specific environment. F5 recommends testing any changes during a maintenance window, with consideration to the possible impact on your specific environment.

To modify the VLAN associated with an existing tagged interface, use the following command syntax:

modify net vlan interfaces replace-all-with { { tagged }} tag

For example:

tmsh modify net vlan test-vlan interfaces replace-all-with { 1.3 { tagged }} tag 4093
Save the change by typing the following command:

save /sys config
You can view the BIG-IP systems VLAN configuration by typing the following command:

show net vlan
Modifying the VLAN tag number on an existing tagged interface

Impact of procedure: The impact of this procedure depends on the specific environment. F5 recommends testing any changes during a maintenance window, with consideration to the possible impact on your specific environment.

Log in to the Traffic Management Shell (tmsh) by typing the following command:

tmsh
To modify the VLAN tag number on an existing tagged interface, use the following command syntax:

modify net vlan tag

For example:

modify net vlan test-vlan tag 4092
Save the change by typing the following command:

save /sys config
You can view the BIG-IP systems VLAN configuration by typing the following command:

show net vlan
list ltm rule UDP_TUNNEL_DISCOVER_NODE to show IRule
run util bash to change to bash 
show sys connection cs-client-addr 10.30.164.xxx%338 all-properties
show net arp for mac-address
List auth partition/user/
modify ltm node POLICY-03 state user-down
cd /PARTITION
show sys connection | grep 10.30.xxx.1
list ltm rule [[partition name]]
list ltm node/node monitor/pool/pool members
ping 172.16.38.11%338
tcpdump -ni 0.0 host 172.yy.xx.11
tcpdump -ni 0.0:p dst host 172.xx.yy.20
tcpdump  -ni  /partiotin name/vlan name host 172.xx.xx.14

show ltm persistence persist-records client-addr 172.16.xxx.yyy
show ltm persistence persist-records
delete ltm persistence persist-records NAME
list net vlan/route/route-domain/self
show net arp/
show ltm node/pool/rule/policy/snat/snat-translation/virtual/virtual-address
/ect/init.d/ntpd dtop or start
TMM Traffic manager micro cirnal
tail -f  /var/log/ltm 
run cm config-sync to-group F5_HA
show ltm pool http_ACTIVE detail
show net route static/dynamic
show net arp | grep MAC ADDRESS

list ltm data-group
run util bash
PROD_F5_BACKUP
save /sys ucs backup.ucs
y
run util bash
SCP file transfer:
scp -P 22 /var/local/ucs/backip.ucs Guest@ftpserver:/${NodeCaption}-${Date}-${Time}.ucs
run util bash
cd /var/local/ucs
 SCP :
scp -P 22 cs_backup.ucs Guest@ftp server:/

show interfaces | include line_protocol|input_rate|output_rate

 create VIP
create ltm virtual XIPLINK_AC2_VIP6 destination 172.16.13.212:any ip-protocol udp persist replace-all-with {  STICKY_MASK24 } pool  XS-03 source 0.0.0.0/0 VLANS ADd {  XIPLINK_CLIENT  } vlans-enabled

Add monitor to pool
modify ltm pool XS-03 monitor



CREATE LTM NODE
create ltm node PIL_VM_trest_91 address 172.17.x.x
create ltm node PIL_VM_trest_92 address 172.7.x.x
create ltm pool trest members add {PIL_VM_trest_91:any PIL_VM_trest_92:any }
create ltm virtual trest POOl trest destination 172.x.x.x.30:any source 0.0.0.0/0 vlans-enabled vlans add { trest_CLIENT_522 } ip-protocol tcp
modify ltm pool trest members none
show sys connection cs-client-addr 10.x.x.85%338


Turn off pop notifications in chrome browser from major news outlets

 On Chrome browser, go to settings select privacy and security select site settings select Java Script Select Don't allow sites to use J...

Turn off pop notifications in chrome browser from major news outlets