Vro basic commands

Source: Internet
Author: User

Vro basic command vrouter command router> User Mode 1: Enter privileged mode enablerouter> enablerouter #2: enter global configuration mode configure terminalrouter> enablerouter # configure terminalrouter (conf) #3: the name of the vswitch hostname routertake routeras an example router> enablerouter # configure terminalrouter (conf) # hostname routerarouuter (conf) #4: configure the enable password cisco takes cisco as an example router> enablerouter # configure terminalrouter (conf) # hostname routerArouterA (conf) # enable Password cisco 5: configure enable password enable secret ciscolab take the cicsolab as an example router> enablerouter # configure terminalrouter (conf) # hostname routerArouterA (conf) # enable secret ciscolab 6: enter a certain port of the router interface fastehernet 0/17 take port 17 as an example router> enablerouter # configure terminalrouter (conf) # hostname routerArouterA (conf) # interface fastehernet 0/17 routerA (conf-if) # enter a sub-port interface fastethernet 0/17 of the vro. 1. The first sub-Port of port 17 is used as an example ro Uter> enablerouter # configure terminalrouter (conf) # hostname routerArouterA (conf) # interface fastetthernet 0/17. 1 7: Set the port IP address information router> enablerouter # configure terminalrouter (conf) # hostname routerArouterA (conf) # interface fastehernet 0/17 using port 17 as an Example) # ip address 192.168.1.1 255.255.255.255.0 configure the ip address of the switch port and the subnet mask roupid (conf-if) # no shut is configured to be in the running status of roupid (conf-if) # exit 8: view the command showrouter> enablero Uter # show version view all version information in the system show interface vlan 1 view switch ip Protocol configuration information show running-config view switch currently active configuration information show interface fastethernet 0/1 view switch 1 interface Configuration and statistics show mac-address-table view mac address table show mac-address-table aging-time View mac address table automatic aging time show controllers serial + number view serial port type show ip router view route table 9 of A vro: cdp related commands router> enablerouter # show cdp view the global configuration of cdp on the device show cdp interface fastethernet 0/17 view the cdp configuration of port 17 Show cdp traffic display statistics on cdp packages show cdp nerghbors list the 10: csico2600 password of the cisco device connected to the device resume vro restart, press the win + break Key during the startup process to enable the router to enter rom monitor and enter a command at the prompt to modify the value of the configuration register, restart the vroreremmon1> confreg 0x2142remmon2> reset to restart the vro and enter the setup mode. Select "no" and return to the exec mode, in this case, the original configuration of the vro is still saved in startup-config. To restore the vro password, save the configuration in startup-config to running-config, and then reset the enable password, change the configuration register to 0x2102: router> enable router # copy startup-config running-configroute. R # c onfigure terminalrouter (conf) # enable password ciscorouter Uter (conf) # c onfig-register 0x2102 Save the current configuration to startup-config and restart the router. Router # copy running-config startup-config router # reload 11: vrotelnet telnet Remote Logon Settings: router> enrouter # c onfigure terminalrouter (conf) # hostname routerArouterA (conf) # enable password cisco uses cisco as the privileged mode password, and the password is route( conf) # interface fastethernet 0/1 uses port 17 as the telnet Remote logon port, and the routeport (conf-if) # ip address 192.168.1.1 255.255.255.0routerA (conf-if) # no shutrouterA (conf-if) # exitrouterA (conf) line vty 0 4 set 0-4 users can remotely log on via telnet Lu rouyun (conf-line) # loginrouyun (conf-line) # password edge uses edge as the user password for remote logon. Host settings: the ip address of the host 192.168.1.2 must be in the same network segment as the ip address of the switch port. netmask 255.255.255.0gate-way 192.168.1.1 the gateway address is the switch port address. Run: telnet 192.168.1.1 to enter the telnet Remote logon Interface password: edge roupid> enpassword: ciscorou.pdf #12: configure the banner ID of the vro ............... $ In global configuration mode, you can use the "banner" command to configure the prompt information of the vro. All terminals connected to the vro will receive the prompt information. Router> enrouter # c onfigure terminalrouter (conf) # hostname routerArouterA (conf) # banner motd $ This is aptech company 'router! Please don't change the configuration without permission! $13: configure the interface identifier description ......... The Interface ID is used to differentiate the interfaces of A vro. Router> enrouter # c onfigure terminalrouter (conf) # hostname routerArouterA (conf) # interface fastethernet 0/1 the following uses the 0/1 interface as an example to routercontext (conf-if) # description this is a fast Ethernet port used to connecting the company's intranet! 14: The configuration timeout time is used to set how long the console is not configured and the exec session time is automatically returned. The default value is 10 minutes. Router> enrouter # c onfigure terminalrouter (conf) # hostname routerArouterA (conf) # line console 0 routerA (conf-if) # e xec-timeout 0 0 the first "0" represents the minute, and the second "0" represents the second 15: configure the serial port parameters for the two routers to connect through the serial port as a DTE, one is used as DCE. The DCE device must provide the clock frequency and bandwidth to the DTE device. DCE configuration: router> enrouter # c onfigure terminalrouter (conf) # hostname routerArouterA (conf) # interface serial 0/0 routerA (conf_if) # clock rate 64000 provides a clock frequency of 64000 routerA (conf_if) # bandwidth 64 provides 64DTE bandwidth configuration: configure the IP address router> enrouter # c onfigure terminalrouter (conf) # hostname routerBrouterB (conf) # interface serial 0/0 routerB (conf_if) # ip address 192.168.1.1 255.255.255.0

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.