Cisco switch port link type description: vlan description

Source: Internet
Author: User
Tags cisco switch

Cisco switch port link type description: vlan description 1. an Access port can only belong to one VLAN and is generally used to connect to a computer. 2. A Trunk port can belong to multiple VLANs and can receive and send packets from multiple VLANs. It is generally used for ports connected between switches. 3. A Hybrid port can belong to multiple VLANs. It can receive and send packets from multiple VLANs. It can be used to connect switches or to users' computers. Configuration of Telnet logon mode when the Authentication mode is Scheme # telnet server enable # local-user guestservice-type telnetlevel 3 password simple 123456 # create and describe Vlan # system-view # Enter configuration options command Line [SwitchA] vlan 100 # create the current VLAN [SwitchA-vlan100] description Dept1 # description of the current VLAN [SwitchA-vlan100] port GigabitEthernet 1/0/1 # Add the current port to the same VLAN? Configure the port as the Trunk port, and allow VLAN10 and VLAN20 through [SwitchA] interface GigabitEthernet 1/1 # enter the current port [SwitchA-GigabitEthernet1/1] port link-type trunk # set the current port to relay [SwitchA-GigabitEthernet1/1] port trunk permit vlan all # Allow all VLANs through [SwitchA-vlan100] quit # exit DHCP typical configuration example: # [SwitchA] dhcp server ip-pool 0 # create DHCP group [SwitchA-dhcp-pool-0] network 10.1.1.0 mask 255.255.0 # address pool range [SwitchA-dhcp-pool-0] domain-name aabbcc.com # WINS server location Address [SwitchA-dhcp-pool-0] dns-list 10.1.1.2 # DNS server address [SwitchA-dhcp-pool-0] nbns-list 10.1.1.4 # From DNS preparation [SwitchA] dhcp server forbidden-ip 10.1.1.2 # Not involved Address Allocation address (Reserved address) [SwitchA] dhcp server detect # configure the pseudo server detection function. [SwitchA-dhcp-pool-0] quit # exit Configuration Service Option [SwitchA] dhcp enable # enable DHCP service link aggregation typical configuration link aggregation is to aggregate multiple physical Ethernet ports together to form a logical Aggregation group, the upper layer entities of the link aggregation service are used to treat multiple physical links in the same aggregation group as one logical link. Link aggregation allows inbound/outbound loads to be shared among the member ports in the aggregation Group to increase bandwidth. In addition, member ports in the same aggregation group are dynamically backed up to improve connection reliability. # Create L2 aggregation Port 1. System-view [DeviceA] interface bridge-aggregation 1 # create a port aggregation group [DeviceA-Bridge-Aggregation1] quit # Add Ethernet ports Ethernet2/0/1 to Ethernet2/0/3 to aggregation Group 1. [DeviceA] interface ethernet 2/0/1 [DeviceA-Ethernet2/0/1] port link-aggregation group 1 # Add to port aggregation group [DeviceA-Ethernet2/0/1] interface ethernet 2/0/2 # enter port [DeviceA-Ethernet2/ 0/2] port link-aggregation group 1 # Add to port aggregation group [DeviceA-Ethernet2/0/2] interface ethernet 2/0/3 [DeviceA-Ethernet2/0/3] port link-aggregation group 1 using dynamic aggregation mode # create l2 aggregation Port 1, and configure it to the dynamic aggregation mode. System-view [DeviceA] interface bridge-aggregation 1 [DeviceA-Bridge-Aggregation1] link-aggregation mode dynamic [DeviceA-Bridge-Aggregation1] quit layer-3 switching IP routing configuration :( 1) configure the ip address interface Vlan-interface300 for each interface # ip address 1.1.2.3 255.255.255.0 # specify the ip address for the VLAN # (2) configure the static route # configure the default route on Switch. System-view [SwitchA] ip route-static 0.0.0.0 0.0.0.0 1.1.4.2 # configure the default route # configure two static routes on Switch B. System-view [SwitchB] ip route-static 1.1.2.0 route 255.255.0 1.1.4.1 # static Routing [SwitchB] ip route-static 1.1.3.0 route 255.255.0 1.1.5.6 # static Routing

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.