Close

Not a member yet? Register now and get started.

lock and key

Sign in to your account.

Account Login

Forgot your password?

Netapp Cluster Mode Network Komutları / Network Commands

Posted by in NETAPP | Comments

Merhabalar ,

Bu makalede sizlere Clustered DataOntap işletim sistemi üzerinde SSH üzerinde kullandığımız network komutlarını paylaşıyor olacağım. Bu komutları kullanarak dataontap üzerinde network yapılandırmasını yapabilirsiniz.

LACP IFGRP OLUŞTURMA

cluster1::> network port ifgrp create -node cluster1-01 -ifgrp a0a -distr-func ip -mode multimode
cluster1::> network port ifgrp add-port -node cluster1-01 -ifgrp a0a -port e0c
cluster1::> network port ifgrp remove-port -node cluster1-01 -ifgrp a0a -port e0d
cluster1::> network port ifgrp delete -node cluster1-01 -ifgrp a0a

VLAN OLUŞTURMA

cluster1::> network port vlan create -node cluster1-01 -vlan-name a0a-80
cluster1::> network port vlan delete -node cluster1-01 -vlan-name e0c-80
cluster1::> network port modify -node cluster1-01 -port e0b -flowcontrol-admin none
cluster1::> network port vlan delete -node cluster1-01 -vlan-name a0a-80

IPSPACE OLUŞTURMA

cluster1::> network ipspace create -ipspace ipspace1
cluster1::> network ipspace show
cluster1::> network ipspace show -ipspace ipspace1
cluster1::> network ipspace delete -ipspace ipspace1

BROADCAST DOMAIN OLUŞTURMA

cluster1::> network port broadcast-domain create -broadcast-domain bcast1 -mtu 1500 -ports cluster1-01:e0e,cluster1-01:e0f,cluster1-02:e0e, cluster1-02:e0f
cluster1::> network port broadcast-domain add-ports -broadcastdomain bcast1 -ports cluster1-01:e0g,cluster1-02:e0g
cluster1::> network port broadcast-domain add-ports -broadcastdomain Cluster -ports cluster2-03:e0f,cluster2-04:e0f -ipspace Cluster
cluster1::> network port broadcast-domain remove-ports -broadcastdomain bcast1 -ports cluster1-01:e0e
cluster1::> network port broadcast-domain modify -broadcast-domain bcast1 -mtu 9000
cluster1::> network port broadcast-domain show
cluster1::> network port broadcast-domain delete -broadcast-domain bcast1 -ipspace ipspace1

SUBNET OLUŞTURMA

cluster1::> network subnet create -subnet-name sub1 -broadcast-domain bcast1 -subnet 192.0.2.0/24 -gateway 192.0.2.1 -ip-ranges 192.0.2.1-192.0.2.100, 192.0.2.122
cluster1::> network subnet add-ranges -subnet-name sub1 -ip-ranges 192.0.2.82-192.0.2.85
cluster1::> network subnet remove-ranges -subnet-name sub3 -ip-ranges 198.51.100.9
cluster1::> network subnet add-ranges -subnet-name sub3 -ip-ranges 198.51.10.1-198.51.10.50
cluster1::> network subnet modify -subnet-name sub3 -gateway 192.0.3.1
cluster1::> network subnet show
cluster1::> network subnet delete -subnet-name sub1 -ipspace ipspace1

INTERFACE OLUŞTURMA

cluster1::> network interface create -vserver vs1 -lif datalif1 -role data -home-node node-4 -home-port e1c -address 192.0.2.145 -netmask 255.255.255.0 -firewall-policy data -auto-revert true
cluster1::> network interface create -vserver vs0 -lif lif1 -role data -home-node node1 -home-port e0c -address 192.0.2.129 -netmask 255.255.255.128 -dns-zone storage.company.com
cluster1::> network interface modify -vserver vs0 -lif datalif1 -address 172.19.8.1 -netmask 255.255.0.0 -auto-revert true
cluster1::> network interface modify -vserver vserver_name -lif lif_name -auto-revert true
cluster1::> network interface modify -vserver vs0 -lif datalif1 -address 172.19.8.1 -netmask 255.255.0.0
cluster1::> network interface delete -lif *
cluster1::> network interface delete -vserver vs1 -lif mgmtlif2
cluster1::> network interface migrate -vserver vs0 -lif datalif1 -dest-node node0b -dest-port e0d
cluster1::> network interface migrate-all -node local
cluster1::> network interface revert *
cluster1::> network ping -node node-1 -destination 192.0.2.145

FAILOVER GROUP OLUŞTURMA

cluster1::> network interface failover-groups create -vserver vs3 -failover-group fg3 -targets cluster1-01:e0e,cluster1-02:e0e
cluster1::> network interface failover-groups create -failover-group failover-group_2 -node cluster1-01 -port e1e
cluster1::> network interface failover-group rename -failover-group clusterwide -new-name clyde
cluster1::> network interface failover-groups delete -failovergroup failover-group_2 -node cluster1-01 -port e1e
cluster1::> network interface modify -vserver vserver_name -lif lif_name -failover-policy disabled
cluster1::> network interface failover-groups add-targets ~
cluster1::> network interface failover-groups modify ~
cluster1::> network interface failover-groups show
cluster1::> network interface modify-failovergroup -failover-policy
cluster1::> network interface show -fields failover-group,failover-policy
cluster1::> network interface failover-groups rename ~
cluster1::> network interface failover-groups delete ~

FIREWALL OLUŞTURMA

cluster1::> system services firewall policy create -vserver vs1 -policy data_http -service http -allow-list 10.10.0.0/16
cluster1::> system services firewall policy create -vserver vs1 -policy data_http -service https -allow-list 10.10.0.0/16
cluster1::> system services firewall policy show
cluster1::> network interface modify -vserver vs1 -lif data1 -firewall-policy data_http
cluster1::> system services firewall show
cluster1::> system services firewall policy create ~
cluster1::> network interface modify -lif lifname -firewall-policy ~
cluster1::> system services firewall policy modify ~
cluster1::> system services firewall policy show ~
cluster1::> system services firewall policy clone ~
cluster1::> system services firewall policy delete ~

ROUTE OLUŞTURMA

cluster1::> network route create -vserver vs0 -destination 0.0.0.0/0 -gateway 10.61.208.1
cluster1::> network route delete -vserver vs0 -gateway 10.63.0.1 -destination 0.0.0.0/0
cluster1::*> network route show
cluster1::*> network route show-lifs
cluster1::*> network route active-entry show -vserver Data0

cluster1::> network routing-groups create -vserver vs1 -routing-group d192.0.2.166 -subnet 192.0.2.165/24 -role data -metric 20
cluster1::> network routing-groups delete -vserver vs1 -routing-group d192.0.2.165/24
cluster1::> network routing-groups create -vserver vs1 -routing-group d192.0.2.166/24 -subnet 192.0.2.0/24 -role data -metric 10
cluster1::> network routing-groups route create -vserver vs0 -routinggroup d192.0.2.166/24 -destination 0.0.0.0/0 -gateway 192.0.2.1 -metric 10
cluster1::> network routing-groups route delete -vserver vs0 -routinggroup d192.0.2.167/24 -destination 0.0.0.0/0

DNS OLUŞTURMA

cluster1::> vserver services name-service dns create -vserver vs1 -domains lab.company.com -name-servers 10.19.2.30,10.19.2.32 -state enabled
cluster1::> vserver services name-service ns-switch create -vserver vs1 -database hosts -sources files,dns
cluster1::> vserver services name-service dns hosts create ~
cluster1::> vserver services name-service dns hosts modify ~
cluster1::> vserver services name-service dns hosts delete ~
cluster1::> network interface modify -vserver vs1 -lif data1 -dns-zone cifs.company.com
cluster1::> network interface modify -vserver vs1 -lif data1 -dns-zone none
cluster1::> network interface modify -vserver vs0 -lif * -dns-zone none

SNMP OLUŞTURMA

cluster1::> system snmp community add -type ro -community-name comty1 -vserver cluster1
cluster1::> system snmp community show

[[[[[
cluster1::> system services firewall policy show (Açık Olmalı)
cluster1::> system services firewall policy create -policy data1 -service snmp -vserver vs1 -allow-list 0.0.0.0/0
cluster1::> system services firewall policy show -service snmp
cluster1::> network interface modify -vserver vs1 -lif datalif1 -firewall-policy data1
]]]]]

NETWORK DETAYLANDIRMA

cluster1::> network port show
cluster1::> network port vlan show
cluster1::> network port ifgrp show
cluster1::> network port show -instance node1 -port e0a
cluster1::> network port ifgrp show -instance -node cluster1-01

cluster1::> network interface show
cluster1::> network interface show -lif data1 -instance
cluster1::> network interface show -vserver * -lif * -fields failovergroup,failover-policy
cluster1::> network interface show -lif data3 -fields dns-zone
cluster1::> network interface show -fields dns-zone

cluster1::> network route show
cluster1::> network route show-lifs

cluster1::> vserver services name-service dns hosts show
cluster1::> vserver services name-service dns show -vserver vs1
cluster1::> net int show -vserver vs0 -dns-zone storage.company.com

cluster1::> network connections listening show
cluster1::> network connections active show -node node0
cluster1::> network connections active show-lifs
cluster1::> network connections active show-services
cluster1::> network connections active show-protocols
cluster1::> network connections active show-clients

cluster1::> network interface failover-groups show
cluster1::> network interface show -failover
cluster1::> net int show -fields failover-targets
cluster1::> network routing-groups route show
cluster1::> network routing-groups show

cluster1::> vserver services dns hosts show
cluster1::> vserver services dns show

Teşekkürler

Murat AKSU

Leave a Reply