Extreme vswitch basic configuration command

Source: Internet
Author: User
Tags snmp

The basic configuration commands of the Extreme vswitch have previously been summarized in this regard, but I don't think it is comprehensive enough. So I copied a copy online today and pasted it together with what I wrote, easy to view in the future! 1. configure the username and password for www.2cto.com create account [admin | user] <username >{encrypted }{< password >} configure account admin 2. port Configuration config ports <portlist> auto off {speed [10 | 100 | 1000]} duplex [half | full] auto off 3. for Vlan configuration, you must first create three VLANs for both the core and the access layer, and delete all ports that belong to the Default Vlan: config vlan default del port allcreate vlan Servercreate vlan Usercreate vlan Manger defines 802.1q tag config vlan Server tag 10 config vlan Us Er tag 20 config vlan Manger tag 30 set Vlan gateway address: config vlan Server ipa 192.168.41.1/24 config vlan User ipa 192.168.40.1/24 config vlan Manger ipa 192. 168. *. */24 Enable ipforwarding to Enable ip route forwarding, configure config vlan Server add port 1-3 tconfig vlan User add port 1-3 tconfig vlan manger add port 1-3 t4.VRRP configure enable vrrpconfigure vrrp add vlan UserVlanconfigure vrrp vlan userVlan add master vrid 10 192. 168.6.254configure vrrp vlan UserVlan authentication simple-password extremeconfigure vrrp vlan UserVlan vrid 10 priority 200 configure vrrp vlan UserVlan vrid 10 advertisement-interval 15 configure vrrp vlan UserVlan vrid 10 preempt 5. port mirroring configuration enable routing ing to port 3 # select 3 as the mirror port config routing ing add port 1 # Send the traffic of port 1 to 3 config routing ing add port 1 vlan default # Set 1 and vlan default all traffic is sent to 36. port-channel Configuration en Able sharing <port> grouping <portlist> {port-based | address-based | round-robin} 7. stp configuration enable stpdcreate stpd * configure stpd <spanning tree name> add vlan <vlan name> {ports <portlist> [dot1d | emistp | pvst-plus]} configure stpd1 priority 16384 configure vlan marketing add ports 2-3 stpd stpd1 emistp 8. DHCP relay configuration enable bootprelayconfig bootprelay add <dhcp server ip>. DHCP relay. Bootp relay/dhcp relay is used by the host to obtain its IP address. However, in a highly secure network, you must configure it in a safer way, for example, configure dhcp relay through udp-forwarding. Disable bootprelay is an example of replacing enable bootrelay with udp-forwarding. Create udp-profile backbonedhcpconfig backbonedhcp add 67 ipaddress * config user_vlan1 udp-profile configure ingress Enable nat # Enable natStatic NAT Rule Exampleconfig nat add out_vlan_1 map source 192.168.1.12/32 to ingress/32 Dynamic NAT rule Exampleconfig nat add out_vlan_1 map source 192.168.1.0/24 to 216.52.8.1-216.52.8.31Portmap NAT Rule Exampleconfig nat add out_vlan_2 map so Urce 192.168.2.0/25 to 216.52.8.32/28 both portmapPortmap Min-Max Exampleconfig nat add out_vlan_2 map source 192.168.2.128/25 to 216.52.8.64/28 tcp portmap 1024-8192 10. enable OSPF configuration enable ospf process create OSPF area <area identifier> create ospf region configure OSPF routerid [automatic | <routerid>] configure Routeridconfigure ospf add vlan [<vlan name> | all] area <area identifier> {passive} adds a vlan to an Area, equivalent to C Role of network in isco configure ospf area <area identifier> add range <ipaddress> <mask> [advertise | noadvertise] {type-3 | type-7} add a network segment to an Area go, equivalent to the role of network in Cisco configure ospf vlan <vlan name> neighbor add <ipaddress> route re-release configuration in OSPF enable ospf export direct [cost <metric> [ase-type-1 | ase-type-2] {tag <number >}| <route map>] enable ospf export static [cost <metric> [ase-type-1 | ase-type-2] {tag <Number >}| <route map>] enable ospf originate-default {always} cost <metric> [ase-type-1 | ase-type-2] {tag <number >}enable ospf originate-router-id 11. configure enable SNMP accessenable snmp trapscreate access-profile <access profile> type [ipaddress | vlan] config snmp access-profile readonly [<access_profile> | none] to configure the snmp read-only access list, none is to remove the config snmp access-profile readwrite [<access_profile> | none] Is to control the read/write control config snmp add trapreceiver <ip address> {port <udp_port>} community <communitystring> {from <source ip address>} Configure snmp to receive host and group string 12. security Configuration: disable ip-option loose-source-routedisable ip-option strict-source-routedisable ip-option record-timestampdisable ipforwarding broadcastdisable udp-echo-serverdisable irdp vlan <vlan name> disable icmp redirectdisable web Disable the web access switch enable cpu-dos-protect 13. access-Lists configure create access-list icmp destination sourcecreate access-list ip destination source portscreate access-list tcp destination source portscreate access-list udp destination source ports www.2cto.com 14. default route configuration config iproute add default <gateway> 15. restore the factory value, but does not include the user's modification time and user account information. unconfig switch {all} 16. check the configuration of show versionshow config show sessionshow management. View Management Information, and the snmp information show bannershow ports configurationshow ospfshow access-list {<name> | port <portlist>} show access-list-monitorshow ospf area <area identifier> show ospf area detailshow ospf ase- summaryshow ospf interfaces {vlan <vlan name> | area <area identifier>} unconfigure ospf {vlan <vlan name> | area <area identifier>} 17. backup and upgrade software download image [ 

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.