작성일 댓글 남기기

NOKIA Configuration

컨피그 예시이므로 참고

Generated SAT JAN 01 02:29:09 2000 UTC

exit all
configure

————————————————–

echo “System Configuration”

————————————————–

system
    name "hostname#1"
    dns
    exit
    snmp
        shutdown
    exit
    time
        sntp
            shutdown
        exit
        zone UTC 
    exit
    thresholds
        rmon
        exit
    exit
exit

————————————————–

echo “System Security Configuration”

————————————————–

system
exit

————————————————–

echo “Log Configuration”

————————————————–

log 
exit 

————————————————–

echo “System Security Cpm Hw Filters and PKI Configuration”

————————————————–

system
    security
    exit
exit

————————————————–

echo “VLAN-Filter Configuration”

————————————————–

filter
exit

————————————————–

echo “QoS Policy Configuration”

————————————————–

qos
exit

————————————————–

echo “Card Configuration”

————————————————–

card 1
    card-type iom-sar
    mda 1
        mda-type a6-eth-10G
        no shutdown
    exit
    mda 2
        mda-type a6-eth-10G
        no shutdown
    exit
    mda 3
        mda-type a8-1gb-sfp
        no shutdown
    exit
    no shutdown
exit

————————————————–

echo “Port Configuration”

————————————————–

port 1/1/1
    ethernet
        mode network
        mtu 9212
    exit
    no shutdown
exit
port 1/1/2
    shutdown
    ethernet
    exit
exit
port 1/1/3
    shutdown
    ethernet
    exit
exit
port 1/1/4
    shutdown
    ethernet
    exit
exit
port 1/1/5
    ethernet
        mode network
        mtu 9212
        lldp
            dest-mac nearest-bridge
                admin-status tx-rx
                notification
                tx-tlvs port-desc sys-name sys-desc sys-cap
            exit
        exit
    exit
    no shutdown
exit
port 1/1/6
    ethernet
        mode network
        mtu 9212
        lldp
            dest-mac nearest-bridge
                admin-status tx-rx
                notification
                tx-tlvs port-desc sys-name sys-desc sys-cap
            exit
        exit
    exit
    no shutdown
exit
port 1/2/1
    shutdown
    ethernet
    exit
exit
port 1/2/2
    shutdown
    ethernet
    exit
exit
port 1/2/3
    shutdown
    ethernet
    exit
exit
port 1/2/4
    shutdown
    ethernet
    exit
exit
port 1/2/5
    ethernet
        mode network
        mtu 9212
        lldp
            dest-mac nearest-bridge
                admin-status tx-rx
                notification
                tx-tlvs port-desc sys-name sys-desc sys-cap
            exit
        exit
    exit
    no shutdown
exit
port 1/2/6
    ethernet
        mode network
        mtu 9212
        lldp
            dest-mac nearest-bridge
                admin-status tx-rx
                notification
                tx-tlvs port-desc sys-name sys-desc sys-cap
            exit
        exit
    exit
    no shutdown
exit
port 1/3/1
    shutdown
    ethernet
    exit
exit
port 1/3/2
    shutdown
    ethernet
    exit
exit
port 1/3/3
    shutdown
    ethernet
    exit
exit
port 1/3/4
    shutdown
    ethernet
    exit
exit
port 1/3/5
    shutdown
    ethernet
    exit
exit
port 1/3/6
    shutdown
    ethernet
    exit
exit
port 1/3/7
    shutdown
    ethernet
    exit
exit
port 1/3/8
    shutdown
    ethernet
    exit
exit

————————————————–

echo “External Alarm Configuration”

————————————————–

external-alarms
exit

————————————————–

echo “Network Security Configuration”

————————————————–

security
    logging
    exit
    begin
    commit
exit

————————————————–

echo “Management Router Configuration”

————————————————–

router management
exit

————————————————–

echo “Router (Network Side) Configuration”

————————————————–

router Base
    interface "ge-1/1/1"
        no shutdown
    exit
    interface "ge-1/1/5"
        address 1.1.1.1/30
        port 1/1/5
        bfd 10 receive 10 multiplier 3 type np
        no shutdown
    exit
    interface "ge-1/1/6"
        port 1/1/6
        bfd 10 receive 10 multiplier 3 type np
        no shutdown
    exit
    interface "ge-1/2/5"
        address 1.1.2.1/30
        port 1/2/5
        bfd 10 receive 10 multiplier 3 type np
        no shutdown
    exit
    interface "ge-1/2/6"
        port 1/2/6
        bfd 10 receive 10 multiplier 3 type np
        no shutdown
    exit
    interface "system"
        no shutdown
    exit

————————————————–

echo “OSPFv2 Configuration”

————————————————–

    ospf
        router-id 1.1.2.1
        traffic-engineering
        area 0.0.0.0
            interface "system"
                interface-type point-to-point
                no shutdown
            exit
            interface "ge-1/1/1"
                interface-type point-to-point
                metric 101
                no shutdown
            exit
            interface "ge-1/1/5"
                interface-type point-to-point
                bfd-enable 
                no shutdown
            exit
            interface "ge-1/1/6"
                interface-type point-to-point
                bfd-enable 
                no shutdown
            exit
            interface "ge-1/2/5"
                interface-type point-to-point
                bfd-enable 
                no shutdown
            exit
            interface "ge-1/2/6"
                interface-type point-to-point
                bfd-enable 
                no shutdown
            exit
        exit
        no shutdown
    exit

————————————————–

echo “MPLS Configuration”

————————————————–

    mpls
        shutdown
        interface "system"
            no shutdown
        exit
        interface "ge-1/1/5"
            no shutdown
        exit
        interface "ge-1/2/5"
            no shutdown
        exit
    exit

————————————————–

echo “RSVP Configuration”

————————————————–

    rsvp
        shutdown
        interface "system"
            no shutdown
        exit
        interface "ge-1/1/5"
            bfd-enable
            no shutdown
        exit
        interface "ge-1/2/5"
            bfd-enable
            no shutdown
        exit
    exit

————————————————–

echo “MPLS LSP Configuration”

————————————————–

    mpls
    exit
exit

————————————————–

echo “Service Configuration”

————————————————–

service
    customer 1 create
        description "Default customer"
    exit
exit

————————————————–

echo “Router (Service Side) Configuration”

————————————————–

router Base

————————————————–

echo “OSPFv2 Configuration”

————————————————–

    ospf
        router-id 1.1.2.1
        no shutdown
    exit

————————————————–

echo “Network Security Zone Configuration”

————————————————–

exit

————————————————–

echo “System Sync-If-Timing Configuration”

————————————————–

system
    sync-if-timing
        begin
        commit
    exit
exit

————————————————–

echo “System Time Configuration”

————————————————–

system
    time
    exit
exit

exit all

Finished SAT JAN 01 02:29:09 2000 UTC