Python split string, filter function usage, pythonsplit
For an existing string, you need to extract the first segment separated by spaces. The operation is as follows:
>>> Product_model = 'ws-C2960G-24TC-L-Fixed Module 0 ′>>> Product_model.split ('') [0]'Ws-C2960G-24TC-L'
Split () without parameters, all spaces (spa
An existing string, you need to remove the first paragraph separated by a space, as follows
>>> Product_model = ' ws-c2960g-24tc-l–fixed Module 0′>>> product_model.split (") [0]' Ws-c2960g-24tc-l '
Split () with no parameters takes all spaces (spaces, tabs, newline characters) as delimiters, and if these are "spaces,
Cisco switch Product Name Description Catalyst nn xx [-C] [-M] [-A/-EN] NN is the serial number of the switch XX for A fixed configuration switch is the number of ports, for A modular switch, the number of slots C indicates that the fiber-optic interface M indicates that the modular www.2cto.com A and-EN respectively refer to the switch software as the standard board or Enterprise Edition. The WS-C2960-48PST-L structure is as follows: WS-C 2960-48 PST-LWS-C description this product is vswitch 29
Catalyst NN XX [-c] [-m] [-a/-en]
NN is the serial number of the switchXX is the number of ports for a fixed-configured switch, which is the number of slots for a modular switchC logo indicates a fiber-optic interface withM-representation of modularityA and-en respectively refer to the switch software as either a standard board or an Enterprise edition.
The WS-C2960-48PST-L structure is as follows:
Ws-c 2960-48 Pst-l
Ws-c that this type of product
media uplink Port has a two-port Ethernet port and a small pluggable (SFP) Gigabit Ethernet port, one of which is activated when used, but cannot be used at the same time. Network control and bandwidth optimization are achieved through advanced QoS, precise rate limiting, ACL, and multicast services. Network security through multiple authentication methods, data encryption technology, and network access control based on user, port and MAC address simplifies network configuration, upgrades, and
The naming rules for Cisco switches are more complex than the naming rules for routing,Look at these:ws-c2960-24tc-l, WS-C2950G-24-EI-DC, Ws-c2960-24tt-l, Ws-c3750g-24ts-e, Ws-c3750g-24t-s, We didn't find them on the switch, we just saw the Catalyst 2950 series and wrote it all: The Cisco Catalyst 2950 Series, which means the Cisco switch 2950 series, Catalyst This word is the meaning of Cisco switching. Today we're going to talk about a long list of
User Access Verification
Password:
Idc-3750g-12s-01>ping 192.168.50.47
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.50.47, timeout is 2 seconds:
!!!!!
Success rate is percent (5/5), round-trip Min/avg/max = 1/1/1 ms
Hc-3750g-12s-01>sh ARP | In 192.168.50.47
Internet 192.168.50.47 2 0030.4825.4441 ARPA Vlan50
Idc-3750g-12s-01>sh mac address-table Dynamic address 0030.4825.4441
Mac Address Table
-------------------------------------------
Vlan Mac Address Ty
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.