일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
- 2차전직
- 도미네이션즈
- 치루
- 창세기전
- 달빛조각사
- 몬스터스트라이크
- 족저근막염
- 후기
- 걷기앱
- 국립경주박물관
- 한국대중음악박물관
- 아가시온
- 샤오미
- VDI
- 쿠폰
- AIA Vitality
- 울산박물관
- 후쿠오카
- 피쉬아일랜드
- 반구대암각화
- 워리어
- 브이포
- 주식
- axe
- AT&T
- 창세기전 모바일
- v4
- 스피릿위시
- 리니지2레볼루션
- 버그
- Today
- Total
일상다반사 로그
VMware - Network Commands 본문
vSwitch
List Standard Virtual Switches
# esxcli network vswitch standard list
List Distributed Virtual Switches
# esxcli network vswitch dvs vmware list
Add/Remove virtual Switch
# esxcli network vswitch standard [ add | remove ]
--vswitch-name <name>
List All Physical Network Adapters
# esxcli network nic list
Add/Remove Uplink to Virtual Switch
# esxcli network vswitch standard [ add | remove ]
--uplink-name=<vmnic> --vswitch-name <name>
Set MTU for Virtual Switch
# esxcli network vswitch standard set --mtu=[900]
--vswitch-name <name>
List Network Policy Settings
# esxcli network vswitch standard policy [ failover |
security | shapping ] get
Portgroup
List Portgroups
# esxcli network vswitch standard portgroup list
Add/Remove Portgroup
# esxcli network vswitch standard portgroup [ add | remove ]
--portgroup-name <portgroup> --vswitch-name <name>
Set Portgroup VLAN ID
# esxcli network vswitch standard portgroup [ add | remove ]
--portgroup-name <portgroup> --vlan-id=<vlan>
VMKernel Interface
Add VMKernel Interface
# esxcli network ip interface add --interface-name=<vmk>
--portgroup-name=<portgroup> --mtu=<mtu>
Set IP Address for VMkernel Interface
# esxcli network ip interface [ ipv4 | ipv6 ] set
--interface-name=<vmk> --ipv4=<ipaddress>
--netmask=<netmask> --type=[ static | dhcp ]
Tag VMkernel Interface Traffic Type
# esxcli network ip interface tag add --interface-
name=vmk1 --tagname=[ Management ] VMotion | faultToler-
anceLogging | vSphereReplication ]
List all VMkernel Interfaces
# esxcli network ip interface list
Other Network Configurations
Add/Remove DNS servers
# esxcli network ip dns server [ add | remove ]
--server=<ipaddress>
List DNS Servers
# esxcli network ip dns server list
Add/Remove Network Routes
# esxcli network ip route [ ipv4 | ipv6 ] [ add | remove ]
--network=<network/CIDR> --gateway=<gateway>
Add/Remove NTP servers(vCLI only)
# vicfg-ntp [ --add | --delete ] <ipaddress>
List NTP Servers(vCLI only)
# vicfg-ntp --list
Start NTP Service(vCLI only)
# vicfg-ntp --start
Network Statistics
NIC Statistics
# esxcli network nic list
# esxcli network nic stats get --nic-name=<vmnic>
VLAN Statistics
# esxcli network nic vlan stats set --enabled=true --nic-name=<vmnic>
# esxcli network nic vlan stats get --nic-name=<vmnic>
VM Port Statistics
# esxcli network vm list
# esxcli network vm port list --world-id=<worldId>
# esxcli network port stats get --portid=<portId>
'IT > VMWARE' 카테고리의 다른 글
VMware - Virtual Machine Commands (0) | 2017.07.15 |
---|---|
VMware esxi Host Commands (0) | 2017.07.11 |