华为2700专网用的配置

<Quidway>system-view 
Enter system view, return user view with Ctrl+Z.
[Quidway]
[Quidway]
[Quidway]
[Quidway]
[Quidway]
[Quidway]
[Quidway]
[Quidway]
[Quidway]
[Quidway]
[Quidway]
[Quidway]
[Quidway]
[Quidway]
[Quidway]
[Quidway]int gi
[Quidway]int GigabitEthernet 0/0/1
[Quidway-GigabitEthernet0/0/1]undo ne au
[Quidway-GigabitEthernet0/0/1]sp
[Quidway-GigabitEthernet0/0/1]speed 100
[Quidway-GigabitEthernet0/0/1]
Jan  1 2008 00:02:03-05:13 Quidway %%01IFNET/4/IF_STATE(l)[5]:Interface GigabitEthernet0/0/1 has turned into UP state.
Jan  1 2008 00:02:03-05:13 Quidway %%01IFNET/4/IF_STATE(l)[6]:Interface Vlanif1 has turned into UP state.quit
[Quidway]quit
<Quidway>sa
Jan  1 2008 00:02:07-05:13 Quidway DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.191.3.1 configurations have been changed. The current change number is 1, the change loop count is 2, and the maximum number of records is 1.ve
<Quidway>save 
The current configuration will be written to the device.
Are you sure to continue?[Y/N]y
Info: Please input the file name(*.cfg,*.zip)[vrpcfg.zip]:
Jan  1 2008 00:02:10-05:13 Quidway %%01CFM/4/SAVE(l)[7]:The user chose Y when deciding whether to save the configuration to the device.
Warning: AutoConfig will stop in the next phase for the manual intervention.
Now saving the current configuration to the slot 0 .
Info: Save the configuration successfully.
<Quidway>

Login authentication



复制下边这段:

sys
int GigabitEthernet 0/0/1
undo ne au
speed 100
quit
quit
save

按Y就保存了!

Quidway]
[Quidway]
[Quidway]
[Quidway]
[Quidway]
[Quidway]
[Quidway]dis cu
#
!Software Version V100R006C05
 sysname Quidway
#
 vlan batch 156
#
 stp disable
#
aaa
 authentication-scheme default
 authorization-scheme default
 accounting-scheme default
 domain default
 domain default_admin
 local-user admin password cipher %@%@5d~9:M^ipCfL\iB)EQd>3Uwe%@%@
 local-user admin service-type http
#
interface Vlanif1
#
interface Vlanif156
 ip address 172.16.156.10 255.255.255.0
#
interface Ethernet0/0/1
 port link-type access
 port default vlan 156                    
#
interface Ethernet0/0/2
#
interface Ethernet0/0/3
#
interface Ethernet0/0/4
#
interface Ethernet0/0/5
#
interface Ethernet0/0/6
#
interface Ethernet0/0/7
#
interface Ethernet0/0/8
#
interface GigabitEthernet0/0/1
 port link-type trunk
 port trunk allow-pass vlan 2 to 4094
#
interface NULL0
#
 snmp-agent
 snmp-agent local-engineid 000007DB7F000001000027F4
 snmp-agent sys-info version v3           
#
user-interface con 0
 authentication-mode password
 user privilege level 15
 set authentication password cipher %@%@PXh/Sxjw.YhM4aA##Vq1,.4qx|p}~Qf5R$@H35G^qQN3.4t,%@%@
user-interface vty 0 4
#
return
[Quidway]dis arp
IP ADDRESS      MAC ADDRESS     EXPIRE(M) TYPE INTERFACE      VPN-INSTANCE      
                                          VLAN 
------------------------------------------------------------------------------
172.16.156.10   bc62-0e1c-cdcb            I -  Vlanif156
------------------------------------------------------------------------------
Total:1         Dynamic:0       Static:0    Interface:1    
[Quidway]dis mac-add
-------------------------------------------------------------------------------
MAC Address    VLAN/VSI                          Learned-From        Type      
-------------------------------------------------------------------------------
0023-5d35-b799 156/-                             GE0/0/1             dynamic   
68f7-28a9-e9b2 156/-                             Eth0/0/1            dynamic   

-------------------------------------------------------------------------------
Total items displayed = 2 

[Quidway]dis ip rout
[Quidway]dis ip routing-table 
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
        Destinations : 4        Routes : 4

Destination/Mask    Proto  Pre  Cost       Flags NextHop         Interface

      127.0.0.0/8   Direct 0    0            D   127.0.0.1       InLoopBack0
      127.0.0.1/32  Direct 0    0            D   127.0.0.1       InLoopBack0
   172.16.156.0/24  Direct 0    0            D   172.16.156.10   Vlanif156
  172.16.156.10/32  Direct 0    0            D   127.0.0.1       InLoopBack0

[Quidway]ping 172.16.156.1
  PING 172.16.156.1: 56  data bytes, press CTRL_C to break
    Request time out
    Request time out
    Request time out
    Request time out
    Request time out

  --- 172.16.156.1 ping statistics ---
    5 packet(s) transmitted
    0 packet(s) received
    100.00% packet loss

[Quidway]ping 172.16.156.10
  PING 172.16.156.10: 56  data bytes, press CTRL_C to break
    Reply from 172.16.156.10: bytes=56 Sequence=1 ttl=255 time=3 ms
    Reply from 172.16.156.10: bytes=56 Sequence=2 ttl=255 time=16 ms
    Reply from 172.16.156.10: bytes=56 Sequence=3 ttl=255 time=2 ms
    Reply from 172.16.156.10: bytes=56 Sequence=4 ttl=255 time=2 ms
    Reply from 172.16.156.10: bytes=56 Sequence=5 ttl=255 time=3 ms

  --- 172.16.156.10 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 2/5/16 ms

[Quidway]

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值