Switchconfigvtp mode sets vtp mode switchconfigvtp

Info icon This preview shows pages 16–19. Sign up to view the full content.

Switch(config)#vtp mode transparent/client/server sets VTP mode Switch(config)#vtp domain howtonetwork.com sets VTP domain name Switch(config)#vtp password cisco Switch(config)#ip default-gateway switch default gateway Switch#show vlan brief shows summary of VLAN info Switch#show vtp status shows various VTP info including mode/version Switch#show interfaces trunk shows trunk interfaces Switch#show interfaces trunk <- shows trunk interfaces Switch#show mac-address-table dynamic shows mac table (dynamic)
Image of page 16

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

Cisco CCENT Cram Guide v3.0 © Paul Browning 2017 You can have both a voice VLAN and data VLAN on the same switch interface. Below is the configuration. CDP must be enabled on the switch or at least the interface in order for the voice VLAN to work. Native VLAN The IEEE defined the native VLAN to provide for connectivity to old 802.3 ports that did not understand VLAN tags. By default, VLAN1 is the native VLAN. You can change this with the command: The native VLAN must match on either side of a trunk link. IP Addressing and Subnetting Originally, a range of IP addresses was reserved for use by any person or company who needed them. This was to save IP addressing space. They can’t be routed on the internet so you would need a public address and NAT. RFC 1918 private address ranges: - - - IP address is reserved for loopback testing on interfaces to check the TCP stack is working. IP addresses were put into classes but this is no longer relevant due to VLSM. Here are the various classes along with the default subnet mask and number of networks and hosts per network. Class Format/ Default Mask Leading Bit Pattern Network Address Range Max Networks Max hosts/ nodes N.H.H.H 0 0-126 126 16,777,214 B N.N.H.H 10 128-191 16,384 65,534 N.N.N.H 110 192-223 2,097,152 254 D n/a 1110 224-239 multicast n/a 16 E n/a 11110 240-255 experimental n/a Switch(config-if)#switchport trunk native vlan 10 SW1(config)#vlan10 SW1(config-vlan)#vlan20 SW1(config-vlan)#interface FastEthernet0/6 SW1(config-if)#switchport mode access SW1(config-if)#switchport access vlan20 SW1(config-if)#switchport voice vlan10 A C
Image of page 17