Here are the configuration on Cisco Router to send logging information to Kiwi Syslog Server.
Informaiton:
Syslog server IP address: 192.168.1.200/24
On Cisco Router
Line 1. # config t
Line 2. # service timestamps log datetime msec localtime showtimezone
Line 3. # logging 192.168.1.200
Line 4. # logging trap 7
Line 5. # logging facility local 7
Line 6. # end
Line 7. # show logging
There are 7 options for line 4:
Emergency: 0
Alert: 1
Critical: 2
Error: 3
Warning: 4
Notice: 5
Infomational: 6
Debug: 7
Use the level 7 with caution, because it can generate a large amount of syslog traffic in a busy network.
Showing posts with label Router. Show all posts
Showing posts with label Router. Show all posts
Wednesday, January 23, 2013
Saturday, April 23, 2011
Router Configuration: IP NAT
Command:
ip nat inside source
Mode:
Router(config) #
Syntax:
ip nat inside source {list {access-list-number | name} {pool name | interface dialer-name} [overload] | static local-ip global-ip}
no ip nat inside source {list {access-list-number | name} {pool name | interface dialer-name} [overload] | static local-ip global-ip}
Command Description:
To enable NAT of the inside source address, use the ip nat inside source global configuration command.
Example:
ip nat pool net-208 171.69.233.208 171.69.233.223 prefix-length 28
ip nat inside source list 1 pool net-208
!
interface ethernet 0
ip address 171.69.232.182 255.255.255.240
ip nat outside
!
interface ethernet 1
ip address 192.168.1.94 255.255.255.0
ip nat inside
!
access-list 1 permit 192.168.1.0 0.0.0.255
access-list 1 permit 192.168.2.0 0.0.0.255
!
ip classless
ip route 192.168.0.0 255.255.252.0 e1
ip route 0.0.0.0 0.0.0.0 e0
Original link Soft30
ip nat inside source
Mode:
Router(config) #
Syntax:
ip nat inside source {list {access-list-number | name} {pool name | interface dialer-name} [overload] | static local-ip global-ip}
no ip nat inside source {list {access-list-number | name} {pool name | interface dialer-name} [overload] | static local-ip global-ip}
Command Description:
To enable NAT of the inside source address, use the ip nat inside source global configuration command.
Example:
The following portion of a show running-config translates between inside hosts addressed from either the 192.168.1.0 or 192.168.2.0 networks to the globally unique 171.69.233.208/28 network:
ip nat inside source list 1 pool net-208
!
interface ethernet 0
ip address 171.69.232.182 255.255.255.240
ip nat outside
!
interface ethernet 1
ip address 192.168.1.94 255.255.255.0
ip nat inside
!
access-list 1 permit 192.168.1.0 0.0.0.255
access-list 1 permit 192.168.2.0 0.0.0.255
!
ip classless
ip route 192.168.0.0 255.255.252.0 e1
ip route 0.0.0.0 0.0.0.0 e0
Original link Soft30
Subscribe to:
Posts (Atom)