Computer networks, new technology, CMS, and more; is the main focus of this website.
Showing posts with label configuring. Show all posts
Showing posts with label configuring. Show all posts
Wednesday, October 29, 2014
Huawei AR 18-33 L3 configuration
In some situation you need to configure this modem as a layer 3 device so this is a sample configuration Huawei AR 18-33 Layer3 configuration:
# sysname Quidway
# super password level 3 simple admin
# bridge enable
# interface Ethernet1/0
# ip address 192.168.200.1 255.255.255.252
# interface Atm2/0
shdsl wire 2
pvc 0/35
map ip inarp
# ip address 10.51.182.122 255.255.255.248
# interface Tunnel0
mtu 1476
ip address 172.19.20.58 255.255.255.252
source 10.51.182.122
destination 10.30.71.10
# interface NULL0
# interface LoopBack100
ip address 79.127.125.10 255.255.255.255
# ip route-static 0.0.0.0 0.0.0.0 10.51.182.121 preference 60
# ip route-static xx.127.80.0 255.255.255.128 192.168.200.2 preference 60
# user-interface con 0
set authentication password simple admin
# user-interface vty 0 4
# set authentication password simple admin
return
<Quidway>
Cisco URL filtering configuration
Cisco URL filtering configuration
This is my show run for this purpose:
sh run
Building configuration...
Current configuration : 1489 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
ip subnet-zero
!
!
ip cef
!
!
no ip domain lookup
ip inspect name test http urlfilter
ip urlfilter max-request 500
ip urlfilter max-resp-pak 150
ip urlfilter cache 4500
ip urlfilter exclusive-domain permit www.yahoo.com
ip urlfilter exclusive-domain permit www.360.yahoo.com
ip urlfilter exclusive-domain permit acc.asiatech.ir
ip urlfilter audit-trail
ip urlfilter urlf-server-log
ip urlfilter server vendor websense 192.168.10.3
!
!
voice-card 0
no dspfarm
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.10.1 255.255.255.0
ip nat inside
ip inspect test in
no ip virtual-reassembly
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 172.16.28.220 255.255.255.0
ip nat outside
no ip virtual-reassembly
duplex auto
speed auto
!
interface Serial0/0/0
no ip address
shutdown
no fair-queue
clock rate 2000000
!
interface Serial0/0/1
no ip address
shutdown
clock rate 2000000
!
ip classless
ip route 0.0.0.0 0.0.0.0 172.16.28.1
!
!
ip http server
no ip http secure-server
ip nat inside source list 1 interface FastEthernet0/1 overload
!
access-list 1 permit 192.168.10.0 0.0.0.255
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
login
!
scheduler allocate 20000 1000
!
end
Router#
Router#
This is my show run for this purpose:
sh run
Building configuration...
Current configuration : 1489 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
ip subnet-zero
!
!
ip cef
!
!
no ip domain lookup
ip inspect name test http urlfilter
ip urlfilter max-request 500
ip urlfilter max-resp-pak 150
ip urlfilter cache 4500
ip urlfilter exclusive-domain permit www.yahoo.com
ip urlfilter exclusive-domain permit www.360.yahoo.com
ip urlfilter exclusive-domain permit acc.asiatech.ir
ip urlfilter audit-trail
ip urlfilter urlf-server-log
ip urlfilter server vendor websense 192.168.10.3
!
!
voice-card 0
no dspfarm
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.10.1 255.255.255.0
ip nat inside
ip inspect test in
no ip virtual-reassembly
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 172.16.28.220 255.255.255.0
ip nat outside
no ip virtual-reassembly
duplex auto
speed auto
!
interface Serial0/0/0
no ip address
shutdown
no fair-queue
clock rate 2000000
!
interface Serial0/0/1
no ip address
shutdown
clock rate 2000000
!
ip classless
ip route 0.0.0.0 0.0.0.0 172.16.28.1
!
!
ip http server
no ip http secure-server
ip nat inside source list 1 interface FastEthernet0/1 overload
!
access-list 1 permit 192.168.10.0 0.0.0.255
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
login
!
scheduler allocate 20000 1000
!
end
Router#
Router#
Configuring CISCO switch to run SDM
Configuring switch to run SDM
Follow the instructions below to configure a switch to run SDM.
Step 1:
Connect to your switch using Telnet, SSH or via console.
Enter the global configuration mode using the command:
Router>enable
Router#conf terminal
Router(config)#
Step 2 :
Enable the router's HTTP/HTTPS server, using the following Cisco IOS commands:
Router(config)# ip http server
Router(config)# ip http authentication local
Note:- HTTPS is enabled only for crypto enabled IOS images.
Step 3:
Create a user with privilege level 15.
Router(config)#aaa new-model
Router(config)#aaa authentication login default local
Router(config)# username <username> privilege 15 password 0 <password>
Note:- Replace <username> and <password> with the username and password that you want to configure.
Step 4:
Configure SSH and Telnet for local login and privilege level 15:
Router(config)# line vty 1 15
Router(config-line)# privilege level 15
Router(config-line)# login authentication default
Router(config-line)# transport input telnet
Router(config-line)# exit
Step 5: (Optional)
Enable local logging to support the log monitoring function:
Router(config)# logging buffered 51200 warning
Subscribe to:
Posts (Atom)