As a network-managed switch, it is common to manage ports.
Today, a colleague changes to the office and works on the Internet. All the Network Ports in the new office are Intranet ports. In this case, if the switch corresponding to the network cable is not a manageable switch, we need to re-jumper the network. Jump the network cable to the vswitch corresponding to the Internet. Fortunately, this terminal is connected to a network management switch. How can I operate it?
First, connect our local database to the port that needs to change the network. Then, when we log on to the corresponding vswitch, you will not tell me that the vswitch corresponding to this terminal port is unknown? If this is the case, it means that your basic environment is poor, the wiring is not identified, and there is no corresponding data .)
1. After Entering the vswitch, we may ping your local IP address through the ping command. Ensure Data Communication
[CW] ping 192.168.1.2
PING 192.168.1.2: 56 data bytes, press CTRL_C to break
Reply from 192.168.1.2: bytes = 56 Sequence = 1 ttl = 128 time = 460 MS
Reply from 192.168.1.2: bytes = 56 Sequence = 2 ttl = 128 time = 30 MS
Reply from 192.168.1.2: bytes = 56 Sequence = 3 ttl = 128 time = 30 MS
Reply from 192.168.1.2: bytes = 56 Sequence = 4 ttl = 128 time = 40 MS
Reply from 192.168.1.2: bytes = 56 Sequence = 5 ttl = 128 time = 1 MS
--- 192.168.1.2 ping statistics ---
5 packet (s) transmitted
5 packet (s) received
0.00% packet loss
Round-trip min/avg/max = 1/112/460 MS
2. view the mac address of the local machine in the cmd command line of the local machine. Ipconfig
IPv4 address ............: 192.168.1.2
Subnet mask ......: 255.255.255.0
Gateway ................: 192.168.1.1
Physical address...
3. Use display mac-address 000B-09CF-A877 in the vswitch
MAC Address VLAN/pevlan cevlan Port Type LSP/LSR-ID
VSI/si mac-Tunnel
-------------------------------------------------------------------------------
000b-09cf-a877 1--Eth0/0/1 dynamic 0 /-
4. Here we can get the result. The terminal corresponds to the eth0/0/1 port. Is there a problem here that this port only corresponds to my terminal point? What if the port is still connected to a HUB or a silly Layer 2? It is a little difficult to change the network. There is still a solution here. Use display mac-address | include 0/0/1 to view the MAC address of this port.
[CW-Vlanif1] display mac-address | include 0/0/1
MAC address table of slot 0:
-------------------------------------------------------------------------------
MAC Address VLAN/pevlan cevlan Port Type LSP/LSR-ID
VSI/si mac-Tunnel
-------------------------------------------------------------------------------
000b-09cf-a877 1--Eth0/0/1 dynamic 0 /-
5. We can get the required information from the above steps. We only need to change the eht0/0/1 port to the Internet vlan, and port default vlan 2 can be used.
[CW] interface Eth0/0/1
[CW-Ethernet0/0/1] port default vlan 2
This article is from the "large group" blog, please be sure to keep this source http://52czy.blog.51cto.com/3704825/1294786