- Đặt tên cho VPC
VPCS> set pcname PC001
- Đặt IP cho VPC với các thông tin:
IP address: 192.168.0.10
Subnet mask: 255.255.255.0
Default gateway: 192.168.0.254
PC001> ip 192.168.0.10/24 192.168.0.254Checking for duplicate address...
PC1 : 192.168.0.10 255.255.255.0 gateway 192.168.0.254
- Đặt IP cho VPC bằng DHCP
PC001> dhcpDDORA IP 192.168.101.1/24 GW 192.168.101.254
- Lưu cấu hình
PC1> saveSaving startup configuration to startup.vpc
. done
- Ngắt kết nối telnet session
PC1> disconnectPC1>
Good-bye
- Ping port
IT_01> ping 192.168.100.12 -p 8084 bytes from 192.168.100.12 icmp_seq=1 ttl=254 time=1.619 ms
84 bytes from 192.168.100.12 icmp_seq=2 ttl=254 time=1.901 ms
84 bytes from 192.168.100.12 icmp_seq=3 ttl=254 time=2.263 ms
84 bytes from 192.168.100.12 icmp_seq=4 ttl=254 time=2.086 ms
84 bytes from 192.168.100.12 icmp_seq=5 ttl=254 time=2.057 ms
- Ping port TCP
IT_01> ping 192.168.100.12 -p 80 -3Connect 80@192.168.100.12 seq=1 ttl=254 time=3.232 ms
SendData 80@192.168.100.12 seq=1 ttl=254 time=1.363 ms
Close 80@192.168.100.12 seq=1 ttl=254 time=3.288 ms
Connect 80@192.168.100.12 seq=2 ttl=254 time=3.181 ms
SendData 80@192.168.100.12 seq=2 ttl=254 time=2.415 ms
Close 80@192.168.100.12 seq=2 ttl=254 time=4.069 ms
Connect 80@192.168.100.12 seq=3 ttl=254 time=3.213 ms
SendData 80@192.168.100.12 seq=3 ttl=254 time=3.409 ms
Close 80@192.168.100.12 seq=3 ttl=254 time=4.858 ms
Connect 80@192.168.100.12 seq=4 ttl=254 time=3.161 ms
SendData 80@192.168.100.12 seq=4 ttl=254 time=3.227 ms
Close 80@192.168.100.12 seq=4 ttl=254 time=4.850 ms
Connect 80@192.168.100.12 seq=5 ttl=254 time=2.416 ms
SendData 80@192.168.100.12 seq=5 ttl=254 time=3.208 ms
Close 80@192.168.100.12 seq=5 ttl=254 time=3.296 ms
No comments:
Post a Comment