Below we give an example to explain.
1, the
definition of the router machine name
If you want
to define the router machine named huawei2611, use the following command:
Router enable AR1200
Password:******
Router#config terminal
Router (config) #hostname? Huawei2611
2, setting
the privileged mode password
The router operation, type enable to input corresponding password. In order to set the password, should use the following command in the configuration mode:
Router (config) #enable secret mypassword
In order to change the password for mypassword.
3, configure
the Ethernet port information
Enter the
following command in the
configuration mode:
Router (config) #interface Ethernet? 0/0
Router (config-if) #ip address 255.255.255.0 202.102.224.25?
Router (config-if) #ip net inside
4, the
configuration of synchronous port
Router (config) #interface serial 0/0
Router (config-if) #ip address 202.102.211.108 255.255.255.248
Router (config-if) #ip net outside
5, add
static route
In the Internet
access mode, using the static routing, it needs to be a static
route records are added, as follows:
Router (config) #ip router 0.0.0.0 0.0.0.0 202.102.211.107?
6, other
configuration
Router (config) #ip net inside source list 1 ethernet0/0 overload
Router (config) #access-list 1 permit any
Configure router has 2 main types, one is manual configuration, access to the IOS, the router configuration through the command line mode;
Another is to run the Setup program, which is a IOS provides interactive configurationsoftware, suitable for new users on the IOS command is not too familiar, users in the studyIOS configuration command, using manual methods of router
configuration can greatlyimprove
the efficiency of.
IOS has
more than one level Huawei AR2200 of other operations, on different levels, use the command, configuration can not, too.
没有评论:
发表评论