Preparing for network transformation

  Office building to be renovated at the same time to transform the existing network, currently Cisco core switch is the follow-up with Huawei's products replace, in order not to affect the office, first set up a network based on the existing network configuration with Huawei's products in the temporary office, the now the computer user plug the Internet cable to move past can be like the original Internet.
  Specifically:
  1, provided a Trunk port;
    interface of GigabitEthernet 0/0/49
    Port Link Trunk-type // set Trunk
    Port VLAN Trunk the allow All-Pass through VLAN // allow all
or
    interface the GigabitEthernet0 / 0/49
    Port Link-type Trunk
    Port VLAN Trunk pass the allow-2 // 12 is to allow access to Vlan12 by Vlan2

  2, configure routing
    ip route-static 0.0.0.0 0.0.0.0 // static routing routing address
  3, set the switch address, address management, open access mode;

  4, each arranged on the interface (port) of Vlan, corresponding to the existing of Vlan, IP address binding, No. Mac address, an interface (port).
    No. interface Vlan
    ip address subnet mask, gateway address
    into the interface to specific binding to Vlan.
    the GigabitEthernet0 interface / 0 /. 1
    Port-type Link Access
    Port default VLAN. 5
    IP Source Check enable the bind-User
    IP address binding, Mac address, port,
    user-bind static ip-address IP address mac-address Mac address interface GigabitEthernet 0/0 / 1 vlan ID
    as the previous need to remove the binding may enter the
    undo user-b static ip-address #ip address; // delete port, MAC address binding, may output address mac-address #mac
    user-bind static ip -address #ip address mac-address #mac address; // ip address and mac address specified binding, binding can type port, ip, mac free combination

常用命令:
quit              //退出配置界面
save              //保存设置
display this      //显示当前接口或者Vlan的配置
display Current   //显示系统当前的配置
undo 操作         //删除操作
与思科操作类似,不熟悉命令后面加?,记不全命令加Tab。

Guess you like

Origin blog.51cto.com/dawn0919/2427583