Configuration of VLAN interface IP addresses of Cisco switches

Source: Internet
Author: User
Tags cisco switch

Cisco switch VLAN interface IP Address Configuration 1. vswitch VLAN Interface static IP Address Configuration switch VLAN Interface static IP Address Configuration function requirements and networking description "Configure Environment Parameters" www.2cto.com 1. switchA is a layer-3 switch. the Ethernet port E0/1 connecting PC1 to SwitchA belongs to the Ethernet port E0/2 connecting VLAN103. PC2 to SwitchA and the IP address of VLAN Interface 10 of VLAN204. SwitchA is 10.1.1. IP address of VLAN Interface 20 (1/24)
The address is 255.1.1.1/24, for gateways of PC1 and PC2 respectively, "Networking requirements" PC1 and PC2 can use SwitchA to configure interconnection data. "VLAN Interface static IP address configuration process" creates VLAN interfaces and configures IP addresses. Www.2cto.com [SwitchA-related configuration] 1. create (enter) VLAN10 [SwitchA] vlan 102. add E0/1 to VLAN10 [SwitchA-vlan10] port Ethernet 0/13. create (enter) VLAN interface 10 [SwitchA] interface Vlan-interface 104. configure IP address [SwitchA-Vlan-interface10] ip address 10.1.1 for VLAN Interface 10. 1 rows before 05. create (enter) VLAN20 [SwitchA] vlan 206. add E0/2 To VLAN20 [SwitchA-vlan20] port Ethernet 0/27. create (enter) VLAN interface 20 [SwitchA] interface Vlan-interface 208. configure IP address [SwitchA-Vlan-interface20] ip address limit 1.1 for VLAN Interface 20. 1. 255.255.255.0 [Supplement] the VLAN Virtual Interface of the switch is carried over the physical port, that is, the physical port contained in a VLAN.
After the VLAN is UP, the virtual connection of the VLAN is UP. For a layer-3 Switch, multiple VLANs can be created.
The interface is configured with an IP address, which can be accessed between VLAN interfaces by default.
For vswitches, IP addresses configured for VLAN interfaces can only be used for management. 2. VLAN Interface dynamic acquisition IP Address Configuration "configuration Environment Parameters" 1. SwitchA is a layer-2 switch, management VLAN is VLAN102.SwitchA's Ethernet port E0/1 is a Trunk port, connected to SwitchB, while SwitchB
For the DHCP Server function "Networking requirements" SwitchA VLAN Interface 10 dynamic acquisition of IP Address Data configuration steps "VLAN Interface dynamic acquisition of IP address configuration process" Configure dynamic acquisition of IP addresses on the VLAN interface. [SwitchA configuration] 1. set port E0/1 to trunk and allow all VLANs to be created through [SwitchA-Ethernet0/1] port link-type trunk [SwitchA-Ethernet0/1] port trunk permit vlan all2) VLAN10 [SwitchA] vlan 103. create (enter) VLAN interface 10 [SwitchA] interface Vlan-interface 104. for VLAN Interface 10 Configuration ip address [SwitchA-Vlan-interface10] ip address dhcp-alloc [note] although the VLAN interface of the switch dynamic acquisition of the ip address, but cannot obtain the gateway address, so also need
Manually add a static default route on the vswitch.

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.