清理CPE

host# show running-config interface

host# con ter
host(config)# no in vxlan3
host(config)# no in vxlan1000

Interface can’t by deleted for Interface used by NAT.
host(config)# no in vxlan1000
Interface can’t by deleted for Interface used by NAT.

host(config)# l2tp
% Command incomplete.
host(config)# l2tp nat
% Unknown command.
host(config)#

host(config)# show ip nat rule
ip nat source pon0 any any any interface 1
ip nat source vxlan1000 any any any interface 2
!
host(config)# no ip nat 2
host(config)#

host(config)# no interface vxlan1000
ip nat source l2tpc0 any any any interface 120

host(config)# no ip 120
% Unknown command.
host(config)# no ip nat 120

host(config)# show tunnel-node
NAME TYPE SOURCE PEER REF
tunnel1 vxlan 120.0.0.61 2
host(config)# no tunnel tunnel1
ERROR Code
tunnle tunnel1 can not be create .

host(config)# exit
host# show running-config interface

查出CPE内容
interface vlan1
instance num 1
ip address 192.168.1.1/24
dhcpserver enable
ip-pool 192.168.1.2 192.168.1.100 2 days 0 hours 0 mins
network 192.168.1.1/24
default-router 192.168.1.1
dns-server 192.168.1.1
ip dhcp option125 match-data HGW-CT
ip dhcp option125 field_type 2 enable
no ipv6 nd suppress-ra
ipv6 dns-server proxy
!
no access ssh
!
interface 3gppp
!
no access http
no access https
no access telnet
no access ssh
!
interface ath0
!
bind vlan 1
no access https
no access telnet
no access ssh
!
interface ath1
!
no access https
no access telnet
no access ssh
!
interface ath2
!
no access https
no access telnet
no access ssh
!
interface ath3
!
no access https
no access telnet
no access ssh
!
interface ath4
!
no access https
no access telnet
no access ssh
!
interface eth1
aliasname LAN1
loopback-detect enable
!
!
interface eth2
aliasname LAN2
loopback-detect enable
!
!
interface eth3
aliasname LAN3
loopback-detect enable
!
!
interface eth4
aliasname LAN4
loopback-detect enable
!
!
interface eth5
aliasname LAN5
loopback-detect enable
!
!
interface eth6
aliasname LAN6
loopback-detect enable
!
!
interface eth7
aliasname LAN7
loopback-detect enable
!
!
interface eth8
aliasname LAN8
loopback-detect enable
!
!
interface ip6tnl0
mtu 1452
!
!
interface pon0
aliasname WAN0
mtu 1492
instance num 1
serv-type internet
package mode PPPoE
ip address pppoe
pppoe username raisecom
pppoe password secret xFCuxDKKEUgj0u8YYua49I/egoxKg85yWE3QrkBtKDaQcRsEAeAXJCMVKBEJJRA
pppoe mtu 1492
pppoe distance 10
pppoe default_gateway
pppoe dns
!
no access http
no access https
no access telnet
no access ssh
no access ping
!
interface pon0.46
mtu 1492
instance num 2
ip address 10.0.51.84/16
mac address c8:50:e9:7d:0c:3f
priority-id 0
serv-type management
package mode IPoE
!
no access ssh
!
interface sit0
mtu 1480
!
!

host# config terminal
host(config)# show tunnel-node
NAME TYPE SOURCE PEER REF
tunnel1 vxlan 120.0.0.61 2

host(config)# no tunnel
TUNNELID
host(config)# no tunnel tunnel1
ERROR Code
tunnle tunnel1 can not be create .

host(config)#
host(config)# no tunnel tunnel1
ERROR Code
tunnle tunnel1 can not be create .

host(config)# show tunnel-node
NAME TYPE SOURCE PEER REF
tunnel1 vxlan 120.0.0.61 2

host(config)# exit
host# show running-config interface

host# config ter
host(config)# show ip nat rule
ip nat source pon0 any any any interface 1
!
host(config)#
host(config)#
host(config)#
host(config)# show tunnel-node
NAME TYPE SOURCE PEER REF
tunnel1 vxlan 120.0.0.61 2
host(config)#
host(config)#
host(config)#
host(config)# no tunnel
TUNNELID
host(config)# no tunnel tunnel1
ERROR Code
tunnle tunnel1 can not be create .
host(config)#
host(config)#
host(config)# exit
host# no tunnel tunnel1
% Unknown command.
host#
host#
host#
host# diagnose
Password:
/ #
/ #
/ # cd /tmp/yuma
/tmp/yuma # cat startup-cfg.xml

<?xml version="1.0" encoding="UTF-8"?> Default-IP-Routing-Table 128.59.105.24 255.255.255.0 Default-IP-Routing-Table 120.0.0.62 tunnel1 ianaift:tunnel vxlan 120.0.0.61 vxlan1000 ianaift:other
120.0.0.64 255.255.255.0
true vxlan3 ianaift:other
192.168.152.2 255.255.255.0
3 access-mode-vlan disable 1000 access-mode-vlan disable tunnel1 3 disable tunnel1 1000 disable /tmp/yuma # /tmp/yuma # /tmp/yuma # /tmp/yuma # cd /comfig /bin/sh: cd: can't cd to /comfig /tmp/yuma # cd /config /config # rm -rf netconf.tar /config # /config # /config # /config # exit host# write terminal !config mac-autoassign enable tcp nf liberal off memory usage thresh 95 cpu usage thresh 80 session limit disable user administrator telecomadmin local secret L2H/kIxvkeF0LK6ZDRMRe1HeSC+Z6QpQpDSc7GREqNPQFgGSlUQawkIHctW3eAy authorized-table telecomadmin user administrator useradmin local secret Dnhxbm4WXxWaEQ1xDcnrWmQQcm+BgSkFuhMu4o4QbphniFVTqm7qw1dpjOZYk2j authorized-table useradmin 1 ! admin auth retry 5 admin auth block 60 ip dhcp client unicast disable ip dhcp server unicast enable dnsproxy-enable timezone 57 ntp time.windows.com 1440 ntp backup time.nist.gov 1440 ntp server-type 0 ! ! ! guish timeout 5 ! --More-- (4% of 14255 bytes) host# host# host# write file Building configuration...

Current configuration:
host#
host#
host#
host#
host#
host# cd /config
% Unknown command.
host# diagnose
Password:

/ #
/ # reboot

猜你喜欢

转载自blog.csdn.net/shifengwang123/article/details/90053703