Common vro configuration commands and simple configuration tutorials, common vro configuration commands

Source: Internet
Author: User

Common vro configuration commands and simple configuration tutorials, common vro configuration commands

View arp table in arp-a on the computer

Arp-s IPadd MAC in computer for arp binding

Arp-d in computer clears arp cache

Router arp-a view arp table

Vroarp arp IPadd MAC for arp binding

Vroclear clear arp-cache clear arp cache

Ip route network mask IPadd configure Static Routing

Show running-config under the permission to view the current configuration (sh run)

Show startup-config under the permission to view saved configurations (sh star)

Copy running-config startup-config under the privilege to save the current configuration
(= Wr = copy run star)

Delete the saved configuration in erase nvram

Line con 0, password, login configuration console port password

Enable password: configure the privileged password

Enable secret password configure privileged ciphertext Password

Service password-encryption encrypt plaintext password

Vro password recovery: press Ctrl + break

Confreg 0x2142 modify register value reset restart

Copy startup-config running-config manually load the configuration file

Config-register 0x2102 change back to register value

Copy running-config startup-config save current configuration

Switch password recovery: Press and hold the mode key

Flash_init initialize flash

Rename flash: config. text flash: config. old

Modify the config. text File Name (so that the configuration file will not be loaded at startup)

Reboot the vswitch

Copy flash: config. text system: running-config
Manually load the configuration file

Int vlan 1 enters vlan1 Configuration Mode

Line vty 0 4 open 0 1 2 3 4 remote port

Ip default-gateway IP Address Configuration switch default gateway

Copy tftp flash upgrade vroios IOS through tftp

Copy flash tftp back up router IOS through tftp

Exit: returns the upper-level mode.

The end is directly returned to the privileged mode.

Disable returns from global to privileged Mode

Vlan database enters vlan configuration mode

Create a vlan

Switchport mode access: configure the interface to access mode

Switchport access vlan 10 assigns vlan10 to an interface

Show vlan brief view vlan Information

Show vlan 10 view vlan10

Show vlan-switch view vlan information (gns3)

Switchport trunk encapsulation isl/dot 1q
Configure vlan encapsulation Mode

Switchport trunk native vlan 1 configure native vlan

Switchport mode trunk configures the interface as a relay mode

Switchport mode dynamic desirable
Configure the interface to dynamic expectation Mode

Switchport mode dynamic auto
Configure the interface to dynamic automatic mode

Int range f0/0-1 simultaneously enters the f0/0 to f0/1 Interface

Ip dhcp pool NAME defines the dhcp address pool

Network network mask defines the network segment allocated by dhcp

Default-router GATEWAY defines dhcp GATEWAY allocation

Dns-server DNS-IP configure dns allocation

Lease DAYS configuration lease period
Ip dhcp excluded-address IPadd
Configure dhcp reserved address

Int f0/0.1 enters the first sub-interface of f0/0
Encapsulation dot1q 10 encapsulate vlan10 labels

Vtp domain NAME: Configure vtp and NAME it
Vtp mode server/client/transparent
Configure vtp Mode

Vtp password configuration vtp password

Show vtp status view vtp configuration confidence

Vtp pruning configuration vtp trim
Note: all uppercase letters are commands that are not fixed.


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.